Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271431 - net-misc/tigervnc-0.0.90 fail to compile with undefined reference errors
Summary: net-misc/tigervnc-0.0.90 fail to compile with undefined reference errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Raúl Porcel (RETIRED)
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 16:20 UTC by Paul Varner (RETIRED)
Modified: 2009-10-10 11:02 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,682.55 KB, text/plain)
2009-05-27 16:22 UTC, Paul Varner (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2009-05-27 16:20:40 UTC
../../dix/.libs/libdix.a(dixfonts.o): In function `InitFonts':
dixfonts.c:(.text+0x931): undefined reference to `PrinterFontRegisterFpeFunctions'
dixfonts.c:(.text+0x936): undefined reference to `FontFileCheckRegisterFpeFunctions'
dixfonts.c:(.text+0x93f): 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/tigervnc-0.0.90/work/tigervnc/unix/xserver/hw/vnc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-0.0.90/work/tigervnc/unix/xserver/hw/vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/tigervnc-0.0.90/work/tigervnc/unix/xserver/hw'
make: *** [all-recursive] Error 1
 *
 * ERROR: net-misc/tigervnc-0.0.90 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2741:  Called die
 * The specific snippet of code:
 *           emake || die "emake server failed";
 *  The die message:
 *   emake server failed
 *
 

Reproducible: Always

Steps to Reproduce:
1. emerge tigervnc
2.
3.

Actual Results:  
compilation fails

Expected Results:  
compilation success

emerge -pv =net-misc/tigervnc-0.0.90
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD] net-misc/tigervnc-0.0.90 [0.0.90_p3751] USE="opengl server xorgmodule" 0 kB

emerge --info
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2218-with-gentoo-2.0.1
Timestamp of tree: Wed, 27 May 2009 07:45:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 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.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/chroot/dns /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/bind /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
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"
LINGUAS="en en_US"
MAKEOPTS="-j5"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gnome /usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 arts berkdb branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog java java6 jpeg kde kdeprefix libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xscreensaver xulrunner 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 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 en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paul Varner (RETIRED) gentoo-dev 2009-05-27 16:22:17 UTC
Created attachment 192612 [details]
build.log
Comment 2 Anton Romanov 2009-05-28 07:48:37 UTC
looks like a dupe of #264276
Comment 3 Paul Varner (RETIRED) gentoo-dev 2009-05-28 16:33:09 UTC
It is a dupe in the sense that compiling with <libXfont-1.4.0 works.
Comment 4 RB 2009-05-28 17:11:02 UTC
Confirmed - compiles perfectly well against x11-libs/libXfont-1.3.4.  Upstream
bug 2798021.
Comment 5 RB 2009-05-29 15:35:35 UTC
Upstream closed the ticket as invalid, says to either use X.org 1.6 or patch unix/xserver/dix/dixfonts.c.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2009-05-31 15:34:34 UTC
Well, guess that now that we have xorg-server-1.6* in the tree(although masked) i could do a xorg-server-1.6-based ebuild of tigervnc.
Comment 7 Daniel Lin 2009-06-23 18:23:16 UTC
--- net-misc/tigervnc/tigervnc-0.0.90.ebuild
+++ net-misc/tigervnc/tigervnc-0.0.90.ebuild
@@ -9 +9 @@
-XSERVER_VERSION="1.5.3"
+XSERVER_VERSION="1.6.1"
@@ -117,3 +117,3 @@
        if use server ; then
-               epatch xserver15.patch
+               epatch xserver16.patch
                cd xserver

On my system with =x11-base/xorg-server-1.6.1.901-r3 and other Xorg 7.4ish bits, this seems to build just fine.

Since xorg-server-1.6 is now out of package.mask, and both it and tigervnc are ~arch, there shouldn't be any issues making this change, right?
Comment 8 Daniel Lin 2009-10-09 21:16:57 UTC
net-misc/tigervnc-1.0.0-r1 (using xorg-server-1.6) is in the tree --
shouldn't this bug be closed now?