pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55404: textproc/icu fails to compile on Linux (Gentoo)
>Number: 55404
>Category: pkg
>Synopsis: textproc/icu fails to compile on Linux (Gentoo)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 20 22:00:01 +0000 2020
>Originator: adr
>Release: pkgsrc current
>Organization:
>Environment:
Linux gentoo1 5.7.0-rc4-1-ARCH #1 SMP PREEMPT Tue May 5 01:29:48 UTC 2020 armv7l ARMv7 Processor rev 5 (v7l) Allwinner sun8i Family GNU/Linux
>Description:
Building textproc/icu on gentoo fails at genrb:
[...]
c++ ... uconv.cpp
cc ... uwmsg.c
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH ../../bin/gen
rb -e UTF-8 -s resources -d uconvmsg root.txt
../../bin/genrb: error while loading shared libraries: ../../lib/libicudata.so.67: intern
al error
>How-To-Repeat:
bmake
>Fix:
RCS file: /cvsroot/pkgsrc/textproc/icu/Makefile,v
retrieving revision 1.133
diff -u -r1.133 Makefile
--- Makefile 2 Jun 2020 08:34:35 -0000 1.133
+++ Makefile 20 Jun 2020 21:57:08 -0000
@@ -134,5 +134,13 @@
SUBST_SED.icu-config+= -e '/l$${ICUPREFIX}/ s/$${ICULIBSUFFIX_VERSION}//g'
.endif
+.if ${OPSYS} == "Linux"
+SUBST_CLASSES+= mh-linux
+SUBST_MESSAGE.mh-linux+=Fixing icudata linking.
+SUBST_STAGE.mh-linux= pre-configure
+SUBST_FILES.mh-linux= config/mh-linux
+SUBST_SED.mh-linux+= -e 's/LDFLAGSICUDT=-nodefaultlibs -nostdlib/LDFLAGSICUDT=/'
+.endif
+
.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index