Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274814 - dev-libs/{nss,nspr} hardcode -R paths in pkgconfig files
Summary: dev-libs/{nss,nspr} hardcode -R paths in pkgconfig files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-20 14:18 UTC by Jacob Godserv
Modified: 2010-01-27 15:37 UTC (History)
0 users

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


Attachments
build.log (build.log,70.10 KB, text/plain)
2009-06-20 14:18 UTC, Jacob Godserv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2009-06-20 14:18:08 UTC
Looks like pidgin is trying to link to NSS using the -R option. Build.log will be attached shortly.

/Users/jacob/Library/Gentoo/bin/bash ../../../libtool --silent --tag=CC --mode=link x86_64-apple-darwin9-gcc  -g -O2 -pipe -march=nocona   -o ssl-nss.la -rpath /Users/jacob/Library/Gentoo/usr/lib/purple-2 -module -avoid-version ssl_nss_la-ssl-nss.lo -L/Users/jacob/Library/Gentoo/usr/lib -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -Wl,-R/Users/jacob/Library/Gentoo/usr/lib/nss -Wl,-R/Users/jacob/Library/Gentoo/usr/lib/nspr -L/Users/jacob/Library/Gentoo/usr/lib/nss -L/Users/jacob/Library/Gentoo/usr/lib/nspr -lssl3 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4   -lutil -lpthread -lresolv  -framework IOKit -framework CoreFoundation
ld: unknown option: -R/Users/jacob/Library/Gentoo/usr/lib/nss
collect2: ld returned 1 exit status
make[5]: *** [ssl-nss.la] Error 1
make[5]: Leaving directory `/Users/jacob/Library/Gentoo/var/tmp/portage/net-im/pidgin-2.5.6/work/pidgin-2.5.6/libpurple/plugins/ssl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/Users/jacob/Library/Gentoo/var/tmp/portage/net-im/pidgin-2.5.6/work/pidgin-2.5.6/libpurple/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/Users/jacob/Library/Gentoo/var/tmp/portage/net-im/pidgin-2.5.6/work/pidgin-2.5.6/libpurple'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/Users/jacob/Library/Gentoo/var/tmp/portage/net-im/pidgin-2.5.6/work/pidgin-2.5.6/libpurple'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Users/jacob/Library/Gentoo/var/tmp/portage/net-im/pidgin-2.5.6/work/pidgin-2.5.6'
make: *** [all] Error 2
 * ERROR: net-im/pidgin-2.5.6 failed:
 *   compile failure
 *
 * Call stack:
 *               ebuild.sh:  42: <call src_compile>
 *             environment:3456: <call gnome2_src_compile>
 *             environment:2498:     emake || die "compile failure"
 *
 * If you need support, post the topmost build error, and the call stack if relevant.

Reproducible: Always

Steps to Reproduce:
1. ./startprefix
2. emerge -1 '=net-im/pidgin-2.5.6'



$ emerge --info
Portage 2.2.00.13629-prefix (prefix/darwin/macos/10.5/x64, gcc-4.2.1, unavailable, 9.7.1 i386)
=================================================================
System uname: Darwin-9.7.1-i386-64bit
Timestamp of tree: Sat, 20 Jun 2009 13:42:27 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r01.1
dev-python/pycrypto: 2.0.1-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x64-macos"
CBUILD="x86_64-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona -msse4.1"
CHOST="x86_64-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -msse4.1"
DISTDIR="/Users/jacob/Library/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/jacob/Library/Gentoo"
FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/Users/jacob/Library/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/jacob/Library/Gentoo/"
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="/Users/jacob/Library/Gentoo/var/tmp"
PORTDIR="/Users/jacob/Library/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/jacob/Library/Gentoo/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="a52 aac aqua bash-completion cjk coreaudio cracklib divx fac midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl theora unicode x64-macos xulrunner xvid zlib" 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="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jacob Godserv 2009-06-20 14:18:37 UTC
Created attachment 195282 [details]
build.log
Comment 2 Jacob Godserv 2009-06-20 14:42:33 UTC
OK, found part of the problem: usr/lib/pkgconfig/nss.pc has the -R option, and that's where pidgin gets it from.

nspr.pc has this as well. Should that be a separate bug report?
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-27 15:37:19 UTC
this seems fixed, sorry for neglecting the issue.