pkgsrc-Bugs archive

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

Re: pkg/54193 (textproc/icu fails to build)



The following reply was made to PR pkg/54193; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54193 (textproc/icu fails to build)
Date: Sun, 12 May 2019 11:12:16 +0200

 Comparing the build logs on amd64 and sparc64, besides the obvious
 configure differences (detecting endianess, build and target machine
 types, ...) and a few C++ warnings not seen on amd64, the first real
 difference is right where sparc64 fails:
 
 
  c++ -I/usr/include -I/usr/pkg/include/python3.7 -D_REENTRANT  -DU_HAVE_ELF_H=1 -DU_HAVE_NETBSD_ATOMIC_OPS=1 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0  -I. -I../../c
 ommon -I../../i18n  "-DU_BUILD=\"sparc64--netbsd\"" "-DU_HOST=\"sparc64--netbsd\"" "-DU_CC=\"gcc\"" "-DU_CXX=\"c++\"" -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_
 FROM_STRING_EXPLICIT=explicit -DU_ATTRIBUTE_DEPRECATED= -DU_TOOLUTIL_IMPLEMENTATION -O2 -pipe -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/python3.7 -W -Wa
 ll -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -std=c++11    -c -DPIC -fPIC -o flagparser.o flagparser.cpp
 @@ -2167,7415 +2175,14 @@
  gmake[2]: Entering directory '/usr/pkgobj/textproc/icu/work/icu/source/data'
  rm -rf icupkg.inc
  gmake[2]: Leaving directory '/usr/pkgobj/textproc/icu/work/icu/source/data'
 -/bin/sh ../mkinstalldirs ./out/tmp ./out/build/icudt64l
 -mkdir ./out
 -mkdir ./out/tmp
 -mkdir ./out/build
 -mkdir ./out/build/icudt64l
 -Unpacking ./in/icudt64l.dat and generating out/tmp/icudata.lst (list of data files)
 [..]
 -pkgdata: cd ../lib/ && rm -f libicudata.so.64 && ln -s libicudata.so.64.2 libicudata.so.64
 -pkgdata: cd ../lib/ && rm -f libicudata.so && ln -s libicudata.so.64.2 libicudata.so
 -echo timestamp > packagedata
 +gmake[1]: *** No rule to make target 'out', needed by 'out/icudt64b.dat'.  Stop.
 
 
 The "Unpacking ...." comes from this:
 
 #####################################################
 # General data build rules
 
 ## Files to remove for 'make clean'
 CLEANFILES = *~ icupkg.inc *.x
 
 ifeq ($(ICUDATA_SOURCE_ARCHIVE),)
 build-local: $(SO_VERSION_DATA) $(ICUDATA_ALL_OUTPUT_FILES) $(PKGDATA_LIST) $(OS390LIST)
         echo timestamp > $@
 else
 build-local: $(SO_VERSION_DATA) $(PKGDATA_LIST) $(OS390LIST)
         echo timestamp > $@
 $(PKGDATA_LIST): $(SRCLISTDEPS) $(ICUDATA_SOURCE_ARCHIVE)
 ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES)
         $(MKINSTALLDIRS) $(OUTTMPDIR) $(BUILDDIR)
         @echo "Unpacking $(ICUDATA_SOURCE_ARCHIVE) and generating $@ (list of data files)"
         @-$(RMV) $@
         $(INVOKE) $(TOOLBINDIR)/icupkg -d $(BUILDDIR) --list -x \* $(ICUDATA_SOURCE_ARCHIVE) -o $@
 else
         @echo "$@" > $@
 endif
 endif
 
 in source/data/Makefile - and then my gmake fu is too weak.
 
 Martin
 


Home | Main Index | Thread Index | Old Index