pkgsrc-Users archive

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

pkg_install-20090911 not building on AIX 5.3



Hi - I just attempted to build the latest pkg_install on AIX and received these problems in the build phase.


The first attempt was simply a:

  $ bmake pacakge

for which I received these errors...

creating libarchive.la
(cd .libs && rm -f libarchive.la && ln -s ../libarchive.la libarchive.la)
cd /usr/pkgobj/pkgtools/pkg_install/work/libfetch && /usr/bin/env MACHINE_ARCH=powerpc OPSYS=AIX USETOOLS=no CC=cc CFLAGS=-q64\ -qarch=ppc64\ -qstrict\ -qcpluscmt\ -qkeyword=inline\ -ma CPPFLAGS=-D_LARGEFILE_SOURCE\ -D_LARGE_FILES\ -D_FILE_OFFSET_BITS=64\ -DDEF_UMASK=0022\ -I/usr/pkgobj/pkgtools/pkg_install/work/bzip2\ -I/usr/pkgobj/pkgtools/pkg_install/work/zlib\ -I/usr/pkgobj/pkgtools/pkg_install/work/libarchive/libarchive\ -I/usr/pkgobj/pkgtools/pkg_install/work/libfetch\ -DHAVE_NBCOMPAT_H=1\ -I/usr/pkgobj/pkgtools/pkg_install/work/libnbcompat CXX=c++ CXXFLAGS=-q64\ -qarch=ppc64\ -qstrict\ -qcpluscmt\ -qkeyword=inline\ -ma COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkgobj/pkgtools/pkg_install/work/bzip2\ -L/usr/pkgobj/pkgtools/pkg_install/work/zlib\ -L/usr/pkgobj/pkgtools/pkg_install/work/libarchive/.libs\ -L/usr/pkgobj/pkgtools/pkg_install/work/libfetch\ -L/usr/pkgobj/pkgtools/pkg_install/work/libnbcompat\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgobj/pkgtools/pkg_install/work/.wrapper/bin:/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/bin:/usr/pkgobj/pkgtools/pkg_install/work/.xlc/bin:/usr/pkgobj/pkgtools/pkg_install/work/.tools/bin:/usr/pkg/bin:/opt/freeware/bin:/opt/freeware/sbin:/usr/ud71/bin:/usr/local/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/home/louisg/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/etc CXXCPP=cpp HOME=/usr/pkgobj/pkgtools/pkg_install/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R6 X11PREFIX=/usr/pkg PKGMANDIR=man MAKECONF=/dev/null OBJECT_FMT=XCOFF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\ system\ -m\ 555 BSD_INSTALL_SCRIPT=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 555 BSD_INSTALL_LIB=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 555 BSD_INSTALL_DATA=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 444 BSD_INSTALL_MAN=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 444 BSD_INSTALL=/usr/pkg/bin/install-sh BSD_INSTALL_PROGRAM_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_GAME=/usr/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\ system\ -m\ 555 BSD_INSTALL_GAME_DATA=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 444 BSD_INSTALL_GAME_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 INSTALL_INFO= MAKEINFO=/usr/pkgobj/pkgtools/pkg_install/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/lib/pkgconfig:/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgobj/pkgtools/pkg_install/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/bmake -f Makefile depend all /usr/pkgobj/pkgtools/pkg_install/work/libfetch/errlist.sh ftp_errlist FTP /usr/pkgobj/pkgtools/pkg_install/work/libfetch/ftp.errors > ftperr.h /usr/pkgobj/pkgtools/pkg_install/work/libfetch/errlist.sh http_errlist HTTP /usr/pkgobj/pkgtools/pkg_install/work/libfetch/http.errors > httperr.h cc -q64 -qarch=ppc64 -qstrict -qcpluscmt -qkeyword=inline -ma -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgobj/pkgtools/pkg_install/work/bzip2 -I/usr/pkgobj/pkgtools/pkg_install/work/zlib -I/usr/pkgobj/pkgtools/pkg_install/work/libarchive/libarchive -I/usr/pkgobj/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/usr/pkgobj/pkgtools/pkg_install/work/libnbcompat -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -DFTP_COMBINE_CWDS -c common.c /usr/pkgobj/pkgtools/pkg_install/work/.xlc/bin/xlc: 1501-210 (S) command option Wstrict-prototypes contains an incorrect subargument
*** Error code 40

Stop.
bmake: stopped in /usr/pkgobj/pkgtools/pkg_install/work/libfetch
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install




... for the second attempt, I used:

  $ WARNS=0 NOGCCERROR=1 USE_DESTDIR=yes bmake package

and received this error...




(cd .libs && rm -f libarchive.la && ln -s ../libarchive.la libarchive.la)
cd /usr/pkgobj/pkgtools/pkg_install/work/libfetch && /usr/bin/env MACHINE_ARCH=powerpc OPSYS=AIX USETOOLS=no CC=cc CFLAGS=-q64\ -qarch=ppc64\ -qstrict\ -qcpluscmt\ -qkeyword=inline\ -ma CPPFLAGS=-D_LARGEFILE_SOURCE\ -D_LARGE_FILES\ -D_FILE_OFFSET_BITS=64\ -DDEF_UMASK=0022\ -I/usr/pkgobj/pkgtools/pkg_install/work/bzip2\ -I/usr/pkgobj/pkgtools/pkg_install/work/zlib\ -I/usr/pkgobj/pkgtools/pkg_install/work/libarchive/libarchive\ -I/usr/pkgobj/pkgtools/pkg_install/work/libfetch\ -DHAVE_NBCOMPAT_H=1\ -I/usr/pkgobj/pkgtools/pkg_install/work/libnbcompat CXX=c++ CXXFLAGS=-q64\ -qarch=ppc64\ -qstrict\ -qcpluscmt\ -qkeyword=inline\ -ma COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkgobj/pkgtools/pkg_install/work/bzip2\ -L/usr/pkgobj/pkgtools/pkg_install/work/zlib\ -L/usr/pkgobj/pkgtools/pkg_install/work/libarchive/.libs\ -L/usr/pkgobj/pkgtools/pkg_install/work/libfetch\ -L/usr/pkgobj/pkgtools/pkg_install/work/libnbcompat\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgobj/pkgtools/pkg_install/work/.wrapper/bin:/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/bin:/usr/pkgobj/pkgtools/pkg_install/work/.xlc/bin:/usr/pkgobj/pkgtools/pkg_install/work/.tools/bin:/usr/pkg/bin:/opt/freeware/bin:/opt/freeware/sbin:/usr/ud71/bin:/usr/local/sbin:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/home/louisg/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/etc CXXCPP=cpp HOME=/usr/pkgobj/pkgtools/pkg_install/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R6 X11PREFIX=/usr/pkg PKGMANDIR=man MAKECONF=/dev/null OBJECT_FMT=XCOFF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_LIB=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_DATA=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 644 BSD_INSTALL_MAN=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 644 BSD_INSTALL=/usr/pkg/bin/install-sh BSD_INSTALL_PROGRAM_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_GAME=/usr/pkg/bin/install-sh\ -c\ -s\ -o\ root\ -g\ system\ -m\ 755 BSD_INSTALL_GAME_DATA=/usr/pkg/bin/install-sh\ -c\ -o\ root\ -g\ system\ -m\ 644 BSD_INSTALL_GAME_DIR=/usr/pkg/bin/install-sh\ -d\ -o\ root\ -g\ system\ -m\ 755 INSTALL_INFO= MAKEINFO=/usr/pkgobj/pkgtools/pkg_install/work/.tools/bin/makeinfo PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/lib/pkgconfig:/usr/pkgobj/pkgtools/pkg_install/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgobj/pkgtools/pkg_install/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/bmake -f Makefile depend all bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 6: warning: String comparison operator should be either == or != bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 6: Malformed conditional (${WARNS} > 0) bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 12: warning: String comparison operator should be either == or != bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 12: Malformed conditional (${WARNS} > 1)
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /usr/pkgobj/pkgtools/pkg_install/work/libfetch
*** Error code 1

Stop.





Any help would be great. It would also be a big help to get the fix into pkgsrc-2009Q3 if possible.

Louis

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index