pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Two PLIST issues on Debian (devel/gettext, lang/mono)



On 2019-06-27 14:32, Jason Bacon wrote:
On 2019-06-18 08:58, Ottavio Caruso wrote:
On Tue, 18 Jun 2019 at 14:50, Ottavio Caruso
<ottavio2006-usenet2012%yahoo.com@localhost> wrote:
On Tue, 18 Jun 2019 at 13:54, Jason Bacon <outpaddling%yahoo.com@localhost> wrote:

Is gettext 0.20.1 installing for anyone on Linux?
I've just launched a "bmake update" because I changed my mk.conf. I'll
update soon.
No, I'm back to square one:



=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat
`/home/oc/pkgsrc/work/devel/gettext/work/.destdir/opt/pkg/lib/preloadable_libintl.so'
=> Checking file-check results for gettext-0.20.1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/home/oc/pkgsrc/work/devel/gettext/work/.destdir/opt/pkg:
ERROR: /home/oc/pkgsrc/work/devel/gettext/work/.destdir/opt/pkg/lib/preloadable_libintl.so
*** Error code 1

Stop.
bmake[2]: stopped in /home/oc/pkgsrc/current/pkgsrc/devel/gettext
*** Error code 1

Stop.
bmake[1]: stopped in /home/oc/pkgsrc/current/pkgsrc/devel/gettext
*** Error code 1

Stop.
bmake: stopped in /home/oc/pkgsrc/current/pkgsrc/devel/gettext


Finally got around to looking into this today...

lib/preloadable_libintl.so is installed by gettext-tools, which builds from the same upstream source as gettext.

The upstream configure system installs it only from within work/gettext-0.20.1/gettext-tools.?? It's unconditionally disabled in the only other place it's mentioned, under work/gettext-0.20.1/gettext-tools.

Why it's listed in PLIST for both packages is a mystery to me.?? I think the solution is to just remove it from devel/gettext as follows:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/gettext/Makefile,v
retrieving revision 1.85
diff -u -r1.85 Makefile
--- Makefile?????? 27 May 2019 13:21:41 -0000?????? 1.85
+++ Makefile?????? 27 Jun 2019 19:20:44 -0000
@@ -28,11 +28,6 @@

??.include "../../mk/bsd.prefs.mk"

-PLIST_VARS+=?????? glibc
-.if ${OPSYS} == "Linux"
-PLIST.glibc=?????? yes
-.endif
-
??do-install:
???????? cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS DESTDIR=${DESTDIR} ???????? cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install DESTDIR=${DESTDIR}
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/gettext/PLIST,v
retrieving revision 1.20
diff -u -r1.20 PLIST
--- PLIST?????? 27 May 2019 13:21:41 -0000?????? 1.20
+++ PLIST?????? 27 Jun 2019 19:20:44 -0000
@@ -1,5 +1,4 @@
??@comment $NetBSD: PLIST,v 1.20 2019/05/27 13:21:41 ryoon Exp $
-${PLIST.glibc}lib/preloadable_libintl.so
??share/gettext/ABOUT-NLS
??share/gettext/config.rpath
??share/gettext/projects/GNOME/team-address

Apologies for the stray question marks again.?? These are due to some odd interaction between Thunderbird and Yahoo mail that I haven't had time to track down.?? Rest assured the actual patch is clean.

Home | Main Index | Thread Index | Old Index