Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335150 - nspluginwrapper 1.3.0 fail to compile
Summary: nspluginwrapper 1.3.0 fail to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-29 19:18 UTC by al1ta
Modified: 2011-05-26 17:55 UTC (History)
4 users (show)

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 al1ta 2010-08-29 19:18:20 UTC
nspluginwrapper fail to compile. Problem is the same on 1.2.2-r2 and 1.3.0. I'm using gcc 4.4.3 an gentoo amd64 10.0

/usr/include/bits/string3.h:83: warning: memset used with constant zero length parameter; this could be due to transposed parameters
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfreetype.so.6, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib32/libgtk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib32/libcairo.so.2: undefined reference to `FT_Set_Transform'
/usr/lib32/libcairo.so.2: undefined reference to `FT_Load_Sfnt_Table'
/usr/lib32/libcairo.so.2: undefined reference to `FT_Set_Char_Size'
..
..
/usr/lib32/libfontconfig.so.1: undefined reference to `FT_Has_PS_Glyph_Names'
/usr/lib32/libfontconfig.so.1: undefined reference to `FT_Get_Sfnt_Name_Count'
collect2: ld returned 1 exit status
make: *** [npviewer.bin] Error 1
make: *** Waiting for unfinished jobs....
npplayer-npw-player.o: In function `on_stream_open_cb':
npw-player.c:(.text+0x1c11): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
rm test-rpc-types-server.o test-rpc-nested-1-client.o test-rpc-nested-2-client.o test-rpc-concurrent-client.o test-rpc-common-server.o test-rpc-common-client.o test-rpc-nested-2-server.o rpc-client.o test-rpc-types-client.o test-rpc-concurrent-server.o rpc-server.o debug-client.o test-rpc-nested-1-server.o debug-server.o
emake failed

libgtk-x11-2.0.so is present on /usr/lib32

ls -al /usr/lib32/libgtk-x11*      
lrwxrwxrwx 1 root root      26 Aug 29 18:40 /usr/lib32/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.1800.9
lrwxrwxrwx 1 root root      26 Aug 29 18:40 /usr/lib32/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.1800.9
-rwxr-xr-x 1 root root 3834244 Jun 11 11:05 /usr/lib32/libgtk-x11-2.0.so.0.1800.9

I've got installed emul-linux-x86-gtklibs

[ebuild   R   ] app-emulation/emul-linux-x86-gtklibs-20100611
Comment 1 Ross Smith 2010-08-29 19:26:25 UTC
Would you please post your emerge --info as well please.   I am also curios as to why this was marked as being a problem with the Release Media?
Comment 2 bogdan 2010-09-29 19:43:34 UTC
I had a similar problem, and hopefully you'll fix yours as I did
post the output of ldd /usr/lib32/libcairo.so.2
and ldd /usr/lib32/libfontconfig.so.1

and see that none of them are pointing to a library other than ones residing in /usr/lib32

In my case, those libraries linked to /lib32/libfreetype.so.6 which was an old stale library 
readelf -s /lib32/libfreetype.so.6 | grep grep FT_Load_Sfnt_Table
returned nothing, so I removed it. and now things run fine 
hope it helps
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2010-12-02 04:11:53 UTC
@bug-wranglers:

Sorry but this one passed under our radar.
Comment 4 hugh 2011-02-16 02:58:45 UTC
I'm having the exact same problem

spiffy / # emerge --info =www-plugins/nspluginwrapper-1.3.0
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-1.12.14
Timestamp of tree: Wed, 16 Feb 2011 02:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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="/var/lib/layman/cryptelium /var/lib/layman/piczu /var/lib/layman/mozilla /var/lib/layman/voyageur /usr/local/portage"
SYNC="rsync://rsync11.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cleartype cli consolekit cracklib crypt cups cxx dbus device-mapper dga directfb dri encode fat fbcon ffmpeg firefox flac fontconfig fortran gcj gdbm gpm gtk gtk2 iconv ipv6 jpeg lcdfilter libnotify lirc lmsensors lock mmx modules mpe mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png policykit pppd python readline session smp sound sse sse2 sse3 ssl ssse3 startup-notification svg sysfs system-sqlite tcpd threads thunar truetype udev unicode vdpau vorbis vpdau x264 xcomposite xfce xorg xv xvid 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="menu trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Patrick McLean gentoo-dev 2011-05-26 17:55:56 UTC
I haven't been able to reproduce this. Please test with =www-plugins/nspluginwrapper-1.4.0-r1