Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277128 - net-misc/vnc-4.1.3-r2 fails to compile with --as-needed
Summary: net-misc/vnc-4.1.3-r2 fails to compile with --as-needed
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 04:33 UTC by Andrew D Kirch
Modified: 2010-01-24 17:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew D Kirch 2009-07-09 04:33:19 UTC
libtool: link: ( cd ".libs" && rm -f "libvnc.la" && ln -s "../libvnc.la" "libvnc.la" )
libtool: link: i686-pc-linux-gnu-g++ -O2 -march=pentium4 -pipe -rdynamic -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o .libs/Xvnc Xvnc-xvnc.o Xvnc-dpmsstubs.o Xvnc-stubs.o Xvnc-miinitext.o Xvnc-fbcmap_mi.o  ../../fb/.libs/libfb.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../glx/.libs/libglx.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../dix/.libs/libxpstubs.a ./.libs/libvnccommon.a ../../../../common/rfb/.libs/librfb.so ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a /usr/lib/libXfont.so /usr/lib/libfreetype.so -lbz2 /usr/lib/libfontenc.so -lz /usr/lib/libpixman-1.so -lcrypto /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lm -lrt
../../dix/.libs/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x9c9): undefined reference to `PrinterFontRegisterFpeFunctions'
dixfonts.c:(.text+0x9d1): undefined reference to `FontFileCheckRegisterFpeFunctions'
dixfonts.c:(.text+0x9d9): undefined reference to `check_fs_register_fpe_functions'
collect2: ld returned 1 exit status
make[3]: *** [Xvnc] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw/vnc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw/vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw'
make: *** [all-recursive] Error 1
 *
 * ERROR: net-misc/vnc-4.1.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2680:  Called die
 * The specific snippet of code:
 *           emake || die "emake server failed";
 *  The die message:
 *   emake server failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/vnc-4.1.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/vnc-4.1.3-r2/temp/environment'.
 *

>>> Failed to emerge net-misc/vnc-4.1.3-r2, Log file:

>>>  '/var/tmp/portage/net-misc/vnc-4.1.3-r2/temp/build.log'

 * Messages for package net-misc/vnc-4.1.3-r2:

 * Forcing on xorg-x11 for new enough glxtokens.h...
 *
 * ERROR: net-misc/vnc-4.1.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2680:  Called die
 * The specific snippet of code:
 *           emake || die "emake server failed";
 *  The die message:
 *   emake server failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/vnc-4.1.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/vnc-4.1.3-r2/temp/environment'.
 *

 * IMPORTANT: 3 news items need reading for repository 'funtoo'.
 * Use eselect news to read news items.


Reproducible: Always




Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.0
Timestamp of tree: Mon, 06 Jul 2009 05:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0-r2
sys-apps/openrc:     0.4.2-r1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/root/portage"
PORTDIR_OVERLAY="/root/portdir_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib abiword acl acpi alsa amrnb amrwb audiofile bash-completion berkdb bindist bl bluetooth branding bzip2 cairo ccache cdaudio cddb cdio cdparanoia cdr cdrom cli consolekit cracklib crypt cups dbus dga directfb diskio dri dts dv dvb dvd dvdr dvdread eds embedded emboss enca encode esd evo fam ffmpeg firefox firefox3 flac flash font-server fontconfig fontforge foomaticdb fortran ftp gdbm ggi gif gnome gnutls gpm groupwise grub gstreamer gtk hal iconv inquisitio ipv6 isdnlog jack java jpeg kde kdebuild kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kdrive ladspa libcaca libnotify lirc live lm_sensors logrotate lzo mad md5sum mdnsresponder-compat midi mmx mmxext mng mp2 mp3 mpeg mudflap musepack nas ncurses nemesi networkmanager nls nptl nptlonly ntp objc ogg openal opengl openmp oss pam pcre pdf perl png portage ppds pppd prediction pulseaudio python qa qq qt3 qt3support qt4 quicktime radio rar readline redland reflection rtc samba sasl sdl server session silc snmp speech spell spl srt sse sse2 ssl startup-notification svg svga sysfs tcl tcpd tiff tk truetype unicode usb v4l v4l2 vorbis win32codecs winpopup x264 x86 xanim xchatdccserver xft xine xinerama xinetd xml xorg xscreensaver xulrunner xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Andersen 2009-07-31 20:02:05 UTC
Hi,

I have the exact same compile error, and no clue why - I'm attaching my emerge --info here for reference...


Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Fri, 31 Jul 2009 04:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/config /usr/share/mythtv"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/mnt/portage/distfiles"
FEATURES="ccache collision-protect fixpackages protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http:// mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo "
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage"
PORTDIR_OVERLAY="/mnt/portage-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="2 X a52 aac aalib acl acpi alsa arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dga divx4linux dri dts dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gpm hal iconv isdnlog java jpeg kde kdeenablefinal libnotify lirc mad midi mikmod mmx mmx2 mp3 mpeg mudflap mythtv ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session slang spell spl sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vcd vorbis win32codecs x264 x86 xml xml2 xorg xulrunner xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Enrique Domínguez 2009-10-08 15:58:25 UTC
Hi, same here:
../../dix/.libs/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x9c9): undefined reference to `PrinterFontRegisterFpeFunctions'
dixfonts.c:(.text+0x9d1): undefined reference to `FontFileCheckRegisterFpeFunctions'
dixfonts.c:(.text+0x9d9): undefined reference to `check_fs_register_fpe_functions'
collect2: ld returned 1 exit status
distcc[29722] ERROR: compile (null) on localhost failed
make[3]: *** [Xvnc] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw/vnc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw/vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/vnc-4.1.3-r2/work/vnc-4_1_3-unixsrc/unix/xorg-x11-server-source/hw'
make: *** [all-recursive] Error 1
 * 
 * ERROR: net-misc/vnc-4.1.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2732:  Called die
 * The specific snippet of code:
 *           emake || die "emake server failed";
 *  The die message:
 *   emake server failed

and emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 08 Oct 2009 02:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
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/lib/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="en es es_ES"
MAKEOPTS="-j11"
PKGDIR="/usr/local/portage/binpackages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acpi alsa apic berkdb cli cracklib cups custom-cflags custom-optimization dbus doc gdbm gnome gpm gtk hal iconv isdnlog mmx mmxext modules mudflap ncurses nls nptl nptlonly nvidia opengl openmp pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode x86 xorg xvmc zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 David K. Thompson 2009-10-15 19:25:09 UTC
Work around for me:
emerge -1 =x11-libs/libXfont-1.3.4
Comment 4 Steve Arnold archtester gentoo-dev 2009-11-25 08:07:24 UTC
I'd say this has nothing to do with -as-needed since I got the same error with --no-as-needed.  I'd recommend closing this as a duplicate of bug #264276 but it's your call.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2010-01-24 17:42:24 UTC
net-misc/vnc is going away