Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211497

Summary: dev-libs/libmowgli-0.6.0 fails to build with the 'examples' flag set
Product: Gentoo Linux Reporter: Konrad Karczewski <konrad.karczewski>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Konrad Karczewski 2008-02-26 10:49:51 UTC
On ppc, x86 and amd64 the error pasted below shows up. It's not happening after setting USE='-examples'

Entering directory lineardict.
Successfully generated dependencies.
lineardict.c: In function 'test_strings':
lineardict.c:53: warning: passing argument 1 of 'mowgli_dictionary_create' from incompatible pointer type
lineardict.c:54: warning: implicit declaration of function 'mowgli_dictionary_set_linear_comparator_func'
lineardict.c: In function 'int_comparator':
lineardict.c:85: warning: cast from pointer to integer of different size
lineardict.c:86: warning: cast from pointer to integer of different size
lineardict.c: In function 'test_integers':
lineardict.c:97: warning: passing argument 1 of 'mowgli_dictionary_create' from incompatible pointer type
lineardict.c:100: warning: passing argument 3 of 'mowgli_dictionary_add' makes pointer from integer without a cast
lineardict.c:101: warning: passing argument 3 of 'mowgli_dictionary_add' makes pointer from integer without a cast
lineardict.c:102: warning: passing argument 3 of 'mowgli_dictionary_add' makes pointer from integer without a cast
lineardict.c:103: warning: passing argument 3 of 'mowgli_dictionary_add' makes pointer from integer without a cast
lineardict.c:109: warning: cast from pointer to integer of different size
lineardict.c: In function 'main':
lineardict.c:119: warning: control reaches end of non-void function
Successfully compiled lineardict.c.
lineardict.o: In function `test_integers':
lineardict.c:(.text+0x40): undefined reference to `mowgli_dictionary_set_linear_comparator_func'
lineardict.o: In function `test_strings':
lineardict.c:(.text+0x100): undefined reference to `mowgli_dictionary_set_linear_comparator_func'
collect2: ld returned 1 exit status
Failed to link lineardict!
make[7]: *** [lineardict] Error 1
make[6]: *** [all] Error 1
make[5]: *** [subdirs] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make: *** [all] Error 1


Reproducible: Always

Steps to Reproduce:
1.USE='examples' emerge libmowgli
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 10:51:48 UTC

*** This bug has been marked as a duplicate of bug 208255 ***
Comment 2 Konrad Karczewski 2008-02-26 11:16:02 UTC
This ebuild is now stable on amd64, ppc and x86 and this issue persists - it should either be turned back to ~ for these archs or 0.6.1 should be stabilised. The original bug is closed as 'resolved fixed' and I cannot reopen it. Unless this is addressed in some way you'll get a lot of duplicates if this bug is closed as well - it does not show up in the search if you don't look for closed bugs...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 11:19:43 UTC
Yeah it's fixed in 0.6.1 as the previous bug says.


*** This bug has been marked as a duplicate of bug 208255 ***
Comment 4 Konrad Karczewski 2008-02-26 11:26:56 UTC
And 0.6.1 is ~amd64, ~x86 and ~ppc - so the 'stable' build is BROKEN. It should have been left in unstable state not stabilized