Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303197 - x11-libs/libXpm-3.5.8 needs solaris fix included in libXpm-3.5.7
Summary: x11-libs/libXpm-3.5.8 needs solaris fix included in libXpm-3.5.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Solaris
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 11:20 UTC by Rutger van Bergen
Modified: 2010-04-07 21:51 UTC (History)
1 user (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 Rutger van Bergen 2010-02-02 11:20:31 UTC
The ebuild for libXpm-3.5.8 should be modified to include the solaris-specific fix that is included in the 3.5.7 ebuild. It concerns the following code:

src_compile() {
        # the gettext configure check and code in sxpm are incorrect; they assume
        # gettext being in libintl, whereas Solaris has gettext by default
        # resulting in libintl not being added to LIBS
        [[ ${CHOST} == *-solaris* ]] && append-libs -lintl
        x-modular_src_compile
}

Currently, the build of libXpm-3.5.8 on x86-solaris fails during linking, because libintl is not included. When the mentioned code is included in the 3.5.8 ebuild, the build does succeed.

Reproducible: Always

Steps to Reproduce:
emerge libXpm-3.5.8
Actual Results:  
Emerge failed

Expected Results:  
Successful Emerge

emerge --info:
Portage 2.2.00.15274-prefix (prefix/sunos/solaris/5.11/x86, gcc-4.2.4, unavailable, 5.11 i86pc)
=================================================================
System uname: Solaris-2.11-i86pc-i386-32bit-ELF
Timestamp of tree: Mon, 01 Feb 2010 20:35:11 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.5
sys-devel/gcc:       4.2.4-r01.2, 4.4.2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="~x86-solaris"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i386-pc-solaris2.11"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
CHOST="i386-pc-solaris2.11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS=""
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/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="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X branding cracklib cxx firefox gif gtk java java6 jpeg jpeg2k modules mono mp3 mp4 ncurses nls nsplugin offensive ogg perl prefix qt4 readline samba sqlite ssl truetype unicode x86-solaris zlib" 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="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-07 21:51:14 UTC
Fixed in CVS.