Building of dev-lang/swi-prolog-5.6.32 fails with # emerge -avuD world ... [ebuild U ] dev-lang/swi-prolog-5.6.32 [5.6.31] USE="X berkdb doc readline ssl tetex zlib -debug -gmp -java -minimal -odbc -static -threads" 0 kB ... pl-rl.c: In Funktion »pl_rl_write_history«: pl-rl.c:178: Fehler: »errno« nicht deklariert (erste Benutzung in dieser Funktion) pl-rl.c:178: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt pl-rl.c:178: Fehler: für jede Funktion in der er auftritt.) pl-rl.c: In Funktion »pl_rl_read_history«: pl-rl.c:196: Fehler: »errno« nicht deklariert (erste Benutzung in dieser Funktion) Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/swi-prolog-5.6.32 emerge --info Portage 2.1.2.2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 10 Apr 2007 07:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 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.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de en" 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="X acpi aiglx alsa amd64 bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups directfb doc dri dvd dvdr eds emacs emboss encode firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog jpeg lm_sensors lzw lzw-tiff midi mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcmcia pcre perl png pppd python quicktime readline reflection samba sdl session skey spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="vga nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please, set your locales to C when reporting bugs.
(In reply to comment #1) > Please, set your locales to C when reporting bugs. > sorry # LC_ALL=C emerge =dev-lang/swi-prolog-5.6.32 ... pl-rl.c: In function 'pl_rl_write_history': pl-rl.c:178: error: 'errno' undeclared (first use in this function) pl-rl.c:178: error: (Each undeclared identifier is reported only once pl-rl.c:178: error: for each function it appears in.) pl-rl.c: In function 'pl_rl_read_history': pl-rl.c:196: error: 'errno' undeclared (first use in this function)
(In reply to comment #2) > (In reply to comment #1) > > Please, set your locales to C when reporting bugs. > > > > sorry > > # LC_ALL=C emerge =dev-lang/swi-prolog-5.6.32 > ... > pl-rl.c: In function 'pl_rl_write_history': > pl-rl.c:178: error: 'errno' undeclared (first use in this function) > pl-rl.c:178: error: (Each undeclared identifier is reported only once > pl-rl.c:178: error: for each function it appears in.) > pl-rl.c: In function 'pl_rl_read_history': > pl-rl.c:196: error: 'errno' undeclared (first use in this function) Same error, but .33 was released. Trying that now!
Thanks for the bug report. This is now fixed in CVS; you may need to wait an hour or two for the updated patchset to hit the mirrors. Keri