Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195477 - net-dialup/penggy-0.2.1 fails to compile
Summary: net-dialup/penggy-0.2.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: guile-1.8
  Show dependency tree
 
Reported: 2007-10-11 08:20 UTC by Christian Heim (RETIRED)
Modified: 2007-10-12 03:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,70.90 KB, text/plain)
2007-10-11 08:21 UTC, Christian Heim (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heim (RETIRED) gentoo-dev 2007-10-11 08:20:49 UTC
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
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-10-11 08:21:09 UTC
Created attachment 133122 [details]
build.log
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-10-11 08:23:00 UTC
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
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-11 09:50:16 UTC
What flags did you build guile with? emerge -vp output would help.
Comment 4 Christian Heim (RETIRED) gentoo-dev 2007-10-11 11:07:04 UTC
(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
Comment 5 Christian Heim (RETIRED) gentoo-dev 2007-10-11 18:24:58 UTC
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.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-12 03:29:50 UTC
I added a check to the ebuild as well.