swi-prolog 5.6.39 fails to build Reproducible: Always Use flags: emerge -av swi-prolog [ebuild U ] dev-lang/swi-prolog-5.6.39 [5.6.25] USE="gmp readline zlib -X -berkdb -debug% -doc -java -minimal -odbc -ssl* -static -tetex -threads" 0 kB Error messages !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" Emerge info Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.22-gentoo-r6 i686) ================================================================= System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.73GHz Timestamp of tree: Thu, 27 Sep 2007 14:50:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.3-r1, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mfpmath=sse -msse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl bash-completion bitmap-fonts cli cracklib crypt cups fortran gdbm gpm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 132112 [details] build.log
i686-pc-linux-gnu-gcc -c -I. -I/var/tmp/portage/dev-lang/swi-prolog-5.6.39/work/pl-5.6.39/src -I/var/tmp/portage/dev-lang/swi-prolog-5.6.39/work/pl-5.6.39/src/rc -O2 -march=pentium-m -mfpmath=sse -msse2 -pipe -fno-strict-aliasing -fPIC pl-pro.c -o pl-pro.o pl-pro.c: In function 'pl_abort': pl-pro.c:241: error: incompatible type for argument 1 of 'clearSegStack' make: *** [pl-pro.o] Error 1
Exactly the same happens with dev-lang/swi-prolog-5.6.40 with the default set of use flag [ebuild U ] dev-lang/swi-prolog-5.6.40 [5.6.25] USE="readline ssl zlib -X -berkdb -debug% -doc -gmp* -java -minimal -odbc -static -tetex -threads" 0 kB and also with all turned off [ebuild U ] dev-lang/swi-prolog-5.6.40 [5.6.25] USE="-X -berkdb -debug% -doc -gmp* -java -minimal -odbc -readline* -ssl* -static -tetex -threads -zlib*" 0 kB
Thanks for the bug report! This is now fixed in CVS.