Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208255 - stabilize dev-libs/libmowgli-0.6.1 (0.6.0 fails to compile with USE=examples)
Summary: stabilize dev-libs/libmowgli-0.6.1 (0.6.0 fails to compile with USE=examples)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
: 208439 211497 211511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-31 00:03 UTC by Juergen Rose
Modified: 2008-03-01 20:15 UTC (History)
2 users (show)

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


Attachments
The result of emerge libmowgli &> libmowgli.buildlog.txt (libmowgli.buildlog.txt,14.67 KB, text/plain)
2008-01-31 06:59 UTC, Juergen Rose
Details
qlist -eo libmowgli (with USE=examples) (libmowgli-USE-examples,1.46 KB, text/plain)
2008-02-26 13:06 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-01-31 00:03:18 UTC
emerge libmowgli fails with:

Successfully linked dicttest.
Leaving directory dicttest.
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+0x2d): undefined reference to `mowgli_dictionary_set_linear_comparator_func'
lineardict.o: In function `test_strings':
lineardict.c:(.text+0xe0): undefined reference to `mowgli_dictionary_set_linear_comparator_func'
collect2: ld returned 1 exit status
Failed to link lineardict!
make[7]: *** [lineardict] Error 1


Reproducible: Always




root@condor:/root(6)# emerge --info
 * Overlay eclass overrides eclass from PORTDIR:
 * 
 *   '/usr/portage/local/layman/science/eclass/fortran.eclass'
 * 
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to run `emerge --regen` after each time that you run `emerge
 * --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
 * would like to disable this warning.
Portage 2.1.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Wed, 30 Jan 2008 23:29:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r8, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/All"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles -
-exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage /usr/local/portage/xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beag
le berkdb bitmap-fonts bjam blas bluetooth bonobo boo bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl da
ap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo ex
amples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz g
ml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http hvm iconv icq id3
 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libgda
 libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4li
ve mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly ntfs numarray
 numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-l
atex proj projectx pstricks python qhull quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp 
smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk t
ruetype truetype-fonts type1-fonts unicode userlocales utempter v4l2 vorbis wmf wxwindows xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvm
c zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear m
eter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_defaul
t authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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_bala
ncer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KER
NEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa
 fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2008-01-31 00:31:37 UTC
Sorry, I need the full buildlog, not an excerpt from it.

emerge libmowgli &> libmowgli.buildlog.txt

Please attach that here.
Comment 2 Juergen Rose 2008-01-31 06:59:35 UTC
Created attachment 142256 [details]
The result of emerge libmowgli &> libmowgli.buildlog.txt
Comment 3 Billy DeVincentis 2008-01-31 10:59:36 UTC
I have the exact same problem. Same result, fails around lineardict.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-01-31 18:34:26 UTC
Reproducible: Always
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2008-01-31 22:10:27 UTC
The issue is known and the necessary commits have been made upstream. I'm awaiting a 0.6.1 tarball.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2008-01-31 23:00:13 UTC
(In reply to comment #5)
> The issue is known and the necessary commits have been made upstream. I'm
> awaiting a 0.6.1 tarball.

Nice. :)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-02-01 16:12:40 UTC
*** Bug 208439 has been marked as a duplicate of this bug. ***
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2008-02-01 16:25:38 UTC
1.6.1 is now in portage. Thank you for your bug report and sorry for the inconvenience.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 10:51:48 UTC
*** Bug 211497 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 11:19:43 UTC
*** Bug 211497 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 11:29:33 UTC
Reopen for 0.6.1 stabilization.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 11:39:52 UTC
*** Bug 211511 has been marked as a duplicate of this bug. ***
Comment 13 Tony Vroon (RETIRED) gentoo-dev 2008-02-26 11:48:24 UTC
AMD64, PPC, X86 done.
Comment 14 Tony Vroon (RETIRED) gentoo-dev 2008-02-26 11:52:55 UTC
Sorry about that folks, should have tested with USE=examples. The 3 architectures affected by my stabilization yesterday are now good to go.
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-26 13:06:42 UTC
Created attachment 144673 [details]
qlist -eo libmowgli (with USE=examples)

(In reply to comment #14)
> Sorry about that folks, should have tested with USE=examples. The 3
> architectures affected by my stabilization yesterday are now good to go.

1) Isn't that what arch teams are for?
2) USE=examples gives me exactly the same filelist as USE=-examples (see attachment).
3) Why are we apparently rushing to get this stable?
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-26 13:16:27 UTC
(In reply to comment #15)
> 2) USE=examples gives me exactly the same filelist as USE=-examples (see
> attachment).

Actually, this is the case as well with version 0.5.0 - there the examples do get built but are never installed.
Comment 17 Tony Vroon (RETIRED) gentoo-dev 2008-02-26 13:19:09 UTC
> 3) Why are we apparently rushing to get this stable?

Other software depends on it, and it has been in the tree long enough. It doesn't help that people do not file bugs until the software is marked stable.


Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-26 13:24:57 UTC
(In reply to comment #17)
> > 3) Why are we apparently rushing to get this stable?
> 
> Other software depends on it, and it has been in the tree long enough. It
> doesn't help that people do not file bugs until the software is marked stable.

0.5.0 is stable and doesn't have this problem so I don't see why 0.6.* suddenly needs to go stable.

I discovered the answer to 1) by scouring through the "duplicate" bugs. That still leaves 2) (reworded: why do we need USE=examples at all if it doesn't even install the examples but only builds them - which again says to me that stabilisation should probably not be rushed).
Comment 19 Tony Vroon (RETIRED) gentoo-dev 2008-02-26 13:40:09 UTC
> 0.5.0 is stable and doesn't have this problem so I don't see why 0.6.* 
> suddenly needs to go stable.

Memory leak fixes that improve the stability of applications using libmowgli (particularly newer versions of Audacious, which have started using more of the mowgli functionality).
I could remove the examples USE-flag, yes. Talking to upstream to see why the install of these binaries got overlooked though.
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-26 13:56:27 UTC
*sigh*

Stable for HPPA.
Comment 21 Ferris McCormick (RETIRED) gentoo-dev 2008-02-26 15:19:06 UTC
Sparc stable (but I wonder why it does not install the examples).
Comment 22 Raúl Porcel (RETIRED) gentoo-dev 2008-03-01 20:15:32 UTC
alpha stable, closing