Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412085 - emerge dev-libs/expat-2.1.0 fails, when set USE="-unicode"
Summary: emerge dev-libs/expat-2.1.0 fails, when set USE="-unicode"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 11:25 UTC by Yuta SATOH
Modified: 2012-04-15 13:29 UTC (History)
1 user (show)

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


Attachments
sample patch for expat-2.1.0.ebuild (412085.patch,478 bytes, patch)
2012-04-15 11:27 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-04-15 11:25:14 UTC
Title is all.

Reproducible: Always

Steps to Reproduce:
1. ACCEPT_KEYWORDS=~x86-fbsd USE="-unicode" emerge dev-libs/expat

Actual Results:  
>>> Emerging (1 of 1) dev-libs/expat-2.1.0
 * expat-2.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                          [ ok ]

<snip>

/bin/bash ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf /var/tmp/portage/dev-libs/expat-2.1.0/image//usr/bin/xmlwf
libtool: install: warning: `libexpat.la' has not been installed in `/usr/lib64'
libtool: install: /usr/bin/install -c xmlwf/.libs/xmlwf /var/tmp/portage/dev-libs/expat-2.1.0/image//usr/bin/xmlwf
/usr/bin/install -c -m 644 /var/tmp/portage/dev-libs/expat-2.1.0/work/expat-2.1.0/doc/xmlwf.1 /var/tmp/portage/dev-libs/expat-2.1.0/image//usr/share/man/man1
 * ERROR: dev-libs/expat-2.1.0 failed (install phase):
 *   unable to read SONAME from libexpatu.so
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_install
 *   environment, line 2291:  Called gen_usr_ldscript '-a' 'expat' 'expatu' 'expatw'
 *   environment, line 1526:  Called die
 * The specific snippet of code:
 *                       [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
 *
 * If you need support, post the output of 'emerge --info =dev-libs/expat-2.1.0',
 * the complete build log and the output of 'emerge -pqv =dev-libs/expat-2.1.0'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/expat-2.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/expat-2.1.0/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/expat-2.1.0/work/expat-2.1.0'
Comment 1 Yuta SATOH 2012-04-15 11:27:47 UTC
Created attachment 309035 [details, diff]
sample patch for expat-2.1.0.ebuild
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-04-15 11:43:26 UTC
Thanks for the patch. Applied to 2.1.0.
Comment 3 Alexis Ballier gentoo-dev 2012-04-15 12:51:13 UTC
actually, i added that gen_usr_ldscript call for libexpat and nothing more because i dumped libbsdxml in freebsd which was a copy of libexpat, but then we need libexpat in /. there's no need for libexpatu or libexpatw, i'm going to simplify it and just let libexpat in /
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-04-15 12:56:49 UTC
(In reply to comment #3)
> actually, i added that gen_usr_ldscript call for libexpat and nothing more
> because i dumped libbsdxml in freebsd which was a copy of libexpat, but then
> we need libexpat in /. there's no need for libexpatu or libexpatw, i'm going
> to simplify it and just let libexpat in /

well this all was clear to me, but I did a design choice of keeping the library installations of libexpat, libexpatu, and libexpatw uniform

but i'm not going to fight you on this one if you like it better this way :)
Comment 5 Alexis Ballier gentoo-dev 2012-04-15 13:29:30 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > actually, i added that gen_usr_ldscript call for libexpat and nothing more
> > because i dumped libbsdxml in freebsd which was a copy of libexpat, but then
> > we need libexpat in /. there's no need for libexpatu or libexpatw, i'm going
> > to simplify it and just let libexpat in /
> 
> well this all was clear to me, but I did a design choice of keeping the
> library installations of libexpat, libexpatu, and libexpatw uniform

this makes sense too, but for me, the smaller / is, the better :)