net-dialup/penggy-0.2.1 fails to compile when building the installcd like this: if i486-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. -I../lib -I../intl -DPKGDATADIR=\"/usr/share/penggy\" -DSYSCONFDIR=\"/etc\" -mtune=i486 -O2 -pipe -fforce-addr -Wall -MT window.o -MD -MP -MF ".deps/window.Tpo" \ -c -o window.o `test -f 'window.c' || echo './'`window.c; \ then mv ".deps/window.Tpo" ".deps/window.Po"; \ else rm -f ".deps/window.Tpo"; exit 1; \ fi In file included from sighndl.c:43: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from getpass.c:47: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from options.c:66: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from log.c:42: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from engine.c:61: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from misc.c:74: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from main.c:45: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from resolver.c:38: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from buffer.c:56: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from checkopt.c:62: ../include/log.h:48: warning: conflicting types for built-in function 'log' In file included from options.c:431: options.c: In function `parse_command_line': options.c:436: warning: passing arg 1 of `set_opt_param_long' discards qualifiers from pointer target type i486-pc-linux-gnu-gcc -mtune=i486 -O2 -pipe -fforce-addr -Wall -o penggy buffer.o misc.o options.o getpass.o checkopt.o main.o utils.o log.o engine.o resolver.o sighndl.o stream.o window.o ../src/fdo/libfdo.a ../src/fdo/atoms/libatoms.a ../src/iptunnel/libiptunnel.a ../lib/lib.a ../src/modem/libmodem.a ../src/tcpip/libtcpip.a ../src/tun/libtun.a ../src/p3/libp3.a ../src/flap/libflap.a -lc -lguile -lltdl -lgmp -lcrypt -lm -lltdl ../src/modem/libmodem.a(script.o): In function `chat_send': script.c:(.text+0x109): undefined reference to `gh_scm2newstr' ../src/modem/libmodem.a(script.o): In function `compare_elem': script.c:(.text+0x1f1): undefined reference to `gh_scm2newstr' ../src/modem/libmodem.a(script.o): In function `compare_buf': script.c:(.text+0x320): undefined reference to `gh_length' script.c:(.text+0x360): undefined reference to `SCM_STRINGP' ../src/modem/libmodem.a(script.o): In function `do_else': script.c:(.text+0x3e2): undefined reference to `gh_length' ../src/modem/libmodem.a(script.o): In function `chat_try': script.c:(.text+0x46a): undefined reference to `gh_scm2int' ../src/modem/libmodem.a(script.o): In function `chat_connect': script.c:(.text+0x595): undefined reference to `gh_call0' collect2: ld returned 1 exit status make[3]: *** [penggy] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-dialup/penggy-0.2.1/work/penggy-0.2.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-dialup/penggy-0.2.1/work/penggy-0.2.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/penggy-0.2.1/work/penggy-0.2.1' make: *** [all] Error 2
Created attachment 133122 [details] build.log
Guess I should mention this is using a i486-pc-linux-gnu-gcc hardened compiler. miranda / # emerge --info Portage 2.1.3.9 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.20-hardened-r10 i686) ================================================================= System uname: 2.6.20-hardened-r10 i686 unknown Timestamp of tree: Sun, 07 Oct 2007 13:00:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i486-pc-linux-gnu" CFLAGS="-mtune=i486 -O2 -pipe -fforce-addr" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mtune=i486 -O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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.gentoo.org/gentoo-portage" USE="fbcon ipv6 livecd ncurses nls pam readline socks5 ssl x86" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
What flags did you build guile with? emerge -vp output would help.
(In reply to comment #3) > What flags did you build guile with? emerge -vp output would help. miranda / # emerge -pv guile These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-scheme/guile-1.8.2 USE="nls -debug -debug-freelist -debug-malloc -deprecated -discouraged -elisp -networking -regex -threads" 3,675 kB
OK, I just added =dev-scheme/guile-1.8 deprecated to the base/package.use as this seems to be the cause, and a lot of other ebuilds are affected.
I added a check to the ebuild as well.