Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320035 - doc USE flag triggers build failure for =gpe-base/libeventdb-0.90
Summary: doc USE flag triggers build failure for =gpe-base/libeventdb-0.90
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: GPE Desktop project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 18:58 UTC by Guenther Brunthaler
Modified: 2010-05-26 14:39 UTC (History)
0 users

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


Attachments
config.log of the failed build (config.tar.lzma,6.30 KB, application/octet-stream)
2010-05-26 13:09 UTC, Guenther Brunthaler
Details
Output of emerge --info (emerge-info.txt.lzma,2.77 KB, application/octet-stream)
2010-05-26 13:10 UTC, Guenther Brunthaler
Details
Build log (gpe-base:libeventdb-0.90:20100526-130141.log.lzma,2.52 KB, application/octet-stream)
2010-05-26 13:10 UTC, Guenther Brunthaler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Brunthaler 2010-05-16 18:58:52 UTC
When trying to

$ USE=doc emerge -1 =gpe-base/libeventdb-0.90

the build fails with an error message; see related bug # 320029 for more details.


Reproducible: Always

Steps to Reproduce:
See above

Actual Results:  
Build failure

Expected Results:  
Should build fine

When emerged without the doc USE flag, the build finished without problems.
Comment 1 Angelo Arrifano (RETIRED) gentoo-dev 2010-05-26 12:40:43 UTC
I cannot reproduce this one.

Does it build fine for you with
MAKEOPTS="-j1" USE="doc" emerge -1 =gpe-base/libeventdb-0.90
Comment 2 Guenther Brunthaler 2010-05-26 13:04:09 UTC
(In reply to comment #1)
> I cannot reproduce this one.
> 
> Does it build fine for you with
> MAKEOPTS="-j1" USE="doc" emerge -1 =gpe-base/libeventdb-0.90

No, this time the -j1 didn't do the magic trick... it still does not build.

I'll attach the build logs etc. for your reference.
Comment 3 Guenther Brunthaler 2010-05-26 13:09:44 UTC
Created attachment 232985 [details]
config.log of the failed build

Created by

$ find /var/tmp/portage/gpe-base/libeventdb-0.90/work -name config.log | tar --lzma -cf config.tar.lzma -T -
Comment 4 Guenther Brunthaler 2010-05-26 13:10:20 UTC
Created attachment 232987 [details]
Output of emerge --info
Comment 5 Guenther Brunthaler 2010-05-26 13:10:58 UTC
Created attachment 232989 [details]
Build log

LZMA-compressed
Comment 6 Guenther Brunthaler 2010-05-26 13:15:51 UTC
I was using the USE flags "doc" as well as "nls". My locale is

LANG=de_AT.utf8

Perhaps the problem is NLS-related? The locale might have some impact on document content generation.
Comment 7 Angelo Arrifano (RETIRED) gentoo-dev 2010-05-26 13:34:32 UTC
from your build.log:
gtk-doc: Linking scanner
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o libeventdb-scan .libs/libeventdb-scan.o  /usr/lib64/libgobject-2.0.so -L/usr/lib64 /usr/lib64/libglib-2.0.so /usr/lib64/libsqlite.so -leventdb 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -leventdb
collect2: ld returned 1 exit status
- -

Here is the problem.. Since I already had libeventdb installed on the system, the linker was using /usr/lib64/libeventdb.so to build scanner.

If you do
USE="-doc" emerge -1 libeventdb
USE="doc" emerge -1 libeventdb

it will work.

But this is wrong, wrong wrong. I'll try to come up with a fix and inform upstream about this.
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2010-05-26 14:39:04 UTC
It is fixed on the portage tree.

Thanks for reporting.