when trying to emerge isdn4k-utils without installed X or tcl (USE="-X"), it fails building vbox3. looking at the sources, package vbox3 depends on tcl to build tclscript.c Reproducible: Always Steps to Reproduce: 1. USE="-X" ACCEPT_KEYWORDS="~x86" emerge =net-dialup/isdn4k-utils-3.2_p1-r4 Actual Results: ebuild failed to build. tclscript.c:259: error: syntax error before "data" tclscript.c: In function `vbox_modem_command': tclscript.c:263: error: `objc' undeclared (first use in this function) tclscript.c:265: error: `objv' undeclared (first use in this function) tclscript.c:265: warning: passing arg 2 of `modem_command' makes pointer from integer without a cast tclscript.c:265: warning: passing arg 3 of `modem_command' makes pointer from integer without a cast tclscript.c:269: error: `intp' undeclared (first use in this function) tclscript.c:273: error: `TCL_OK' undeclared (first use in this function) tclscript.c: At top level: tclscript.c:282: error: syntax error before "data" tclscript.c: In function `vbox_voice': tclscript.c:291: error: `objc' undeclared (first use in this function) tclscript.c:293: error: `objv' undeclared (first use in this function) tclscript.c:293: warning: assignment makes pointer from integer without a cast tclscript.c:294: warning: assignment makes pointer from integer without a cast tclscript.c:309: error: `intp' undeclared (first use in this function) tclscript.c:338: warning: assignment makes pointer from integer without a cast tclscript.c:418: error: `TCL_OK' undeclared (first use in this function) tclscript.c: At top level: tclscript.c:436: error: syntax error before "data" tclscript.c: In function `vbox_breaklist': tclscript.c:443: error: `objc' undeclared (first use in this function) tclscript.c:445: error: `objv' undeclared (first use in this function) tclscript.c:445: warning: assignment makes pointer from integer without a cast tclscript.c:463: error: `intp' undeclared (first use in this function) tclscript.c:466: error: `TCL_OK' undeclared (first use in this function) tclscript.c:471: warning: assignment makes pointer from integer without a cast tclscript.c:472: warning: assignment makes pointer from integer without a cast make[3]: *** [tclscript.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r4/work/vbox3-0.1.9/vboxgetty' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r4/work/vbox3-0.1.9/vboxgetty' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/isdn4k-utils-3.2_p1-r4/work/vbox3-0.1.9' make: *** [all-recursive-am] Error 2 !!! ERROR: net-dialup/isdn4k-utils-3.2_p1-r4 failed. !!! Function src_compile, Line 89, Exitcode 2 !!! (no error message) Expected Results: ebuild should compile fine. however it would be nice not to depend on tcl for isdn4k-utils. perhaps isdn4k-utils and vbox3 could be seperated. Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.25-gentoo-r3) ================================================================= System uname: 2.4.25-gentoo-r3 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apm berkdb crypt cups cyrpt foomaticdb gdbm imap ldap libg++ libwww maildir mmx ncurses nls pam perl python readline samba slang spell sse ssl tcpd usb x86 xml2 zlib"
This one fails because isdn4k-tool needs tcl and there are no dependencies for it. please add dev-lang/tcl to depend :)
please add X to your use flags. Ok it should break if you don't though. Added tcl to dependancies reguardless of X use flag Thansk for the bug report.