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
<> wrote:
On Tue, 18 Jun 2019 at 13:54, Jason Bacon <> 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
=> Checking file-check results for gettext-0.20.1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
ERROR: /home/oc/pkgsrc/work/devel/gettext/work/.destdir/opt/pkg/lib/
*** Error code 1

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

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

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

Finally got around to looking into this today...

lib/ 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/"

-PLIST_VARS+=?????? glibc
-.if ${OPSYS} == "Linux"
-PLIST.glibc=?????? yes
???????? 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 $

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