Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332705 - dev-libs/xalan-c-1.11.0_pre705082 doesn't compile with --as-needed
Summary: dev-libs/xalan-c-1.11.0_pre705082 doesn't compile with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on: 382781
Blocks:
  Show dependency tree
 
Reported: 2010-08-14 09:28 UTC by Thomas
Modified: 2011-12-18 20:43 UTC (History)
0 users

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


Attachments
Build log (build.log,22.40 KB, text/plain)
2010-08-14 14:29 UTC, Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2010-08-14 09:28:11 UTC
I think the summary is pretty good, uh, summary of the problem.

dev-libs/xalan-c-1.11.0_pre705082 is the latest stable version on amd64.
dev-libs/xalan-c-1.11.0_pre705082 doesn't compile (or link, rather) with the default amd64 profile.

Not sure whether the solution is to patch the (quite old) _pre705082 or make 1.11.0_pre797991, which works (at least to merge, I've yet to test everything out), stable.

Reproducible: Always

Steps to Reproduce:
1. Use amd64 (as I can't test on other architectures) with the default/linux/amd64/10.0 profile (possibly/likely others)
2. emerge -av '=dev-libs/xalan-c-1.11.0_pre705082'
3. The build should fail.
Actual Results:  
Build failure due to --as-needed.

Expected Results:  
Package should build and install successfully.

emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.28-gentoo x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 13 Aug 2010 23:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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"
CXXFLAGS="-O2 -pipe -mtune=nocona"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo http://ftp.ds.karen.hj.se/gentoo/ http://ftp.ing.umu.se/linux/gentoo/"
LANG="sv_SE.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US sv sv_SE"
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="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/webapps-experimental /var/lib/layman/nx /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X amd64 apache2 bash-completion berkdb bzip2 cdr cli cracklib crypt curl cxx dhcp dri dvdr examples ftp gdbm geoip gpm gtk iconv imlib iproute2 ithreads javascript jpeg lm_sensors maildir mmx modules mp3 mppe-mppc mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl png pop pop3 pppd python qt qt3support qt4 readline reflection ruby sasl session smtp spl sse sse2 ssl subversion svg svnserve sysfs tcpd threads truetype type1 unicode urandom vda vhosts xattr xorg 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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 sv sv_SE" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dane Smith (RETIRED) gentoo-dev 2010-08-14 14:17:28 UTC
Thomas,
Can you please attach /var/tmp/portage/dev-libs/xalan-c-1.11.0_pre705082/temp/build.log

Thanks
Comment 2 Thomas 2010-08-14 14:29:38 UTC
Created attachment 242947 [details]
Build log

Ah, I figured the log would be gone now that I had installed the newer version, or I would've submitted it with the bug.

I removed the first 3 lines due to color escape codes; they were
CPV:  dev-libs/xalan-c-1.11.0_pre705082
REPO: gentoo
USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
Comment 3 Dane Smith (RETIRED) gentoo-dev 2010-08-14 14:31:45 UTC
Thank you =)

Assigning to maintainers.
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2011-08-04 12:45:11 UTC
ok, xalan-c-1.11.0_pre797991 is stable for amd64 and x86, leaving sparc as the only arch left having to mark it stable.
But since xalan-c <1.11.0_pre1153059 does not compile on gcc-4.6 I'd say we wait the usual 30 days and call for stabilization on 1.11.0_pre1153059.

Leaving this bug open until then.
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2011-12-18 20:43:45 UTC
Finally done.