Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318569 - dev-libs/fribidi-0.19.2 - ../lib/.libs/libfribidi.so: undefined reference to `g_assert'
Summary: dev-libs/fribidi-0.19.2 - ../lib/.libs/libfribidi.so: undefined reference to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 10:24 UTC by vp
Modified: 2010-11-04 08:18 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,32.13 KB, text/plain)
2010-05-05 10:26 UTC, vp
Details
fribidi-0.19.2-glib.patch (fribidi-0.19.2-glib.patch,702 bytes, text/plain)
2010-11-02 03:32 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
fribidi-0.19.2.ebuild-glib.patch (fribidi-0.19.2.ebuild-glib.patch,1.11 KB, text/plain)
2010-11-02 03:33 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vp 2010-05-05 10:24:56 UTC
fribidi-0.19.2 fails to compile 


x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib -I../charset -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -O2  -Wall -ansi  -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib -I../charset -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -O2  -Wall -ansi  -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2  -Wall -ansi   -Wl,-O1,--as-needed -o fribidi fribidi-main.o getopt.o getopt1.o ../lib/libfribidi.la -lglib-2.0    
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -Wall -ansi -Wl,-O1 -Wl,--as-needed -o .libs/fribidi fribidi-main.o getopt.o getopt1.o  ../lib/.libs/libfribidi.so -lglib-2.0
../lib/.libs/libfribidi.so: undefined reference to `g_assert'
collect2: ld returned 1 exit status
make[2]: *** [fribidi] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2/work/fribidi-0.19.2/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2/work/fribidi-0.19.2'
make: *** [all] Error 2

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib -I../charset -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -O2  -Wall -ansi  -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib -I../charset -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=native -O2  -Wall -ansi  -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2  -Wall -ansi   -Wl,-O1,--as-needed -o fribidi fribidi-main.o getopt.o getopt1.o ../lib/libfribidi.la -lglib-2.0    
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -Wall -ansi -Wl,-O1 -Wl,--as-needed -o .libs/fribidi fribidi-main.o getopt.o getopt1.o  ../lib/.libs/libfribidi.so -lglib-2.0
../lib/.libs/libfribidi.so: undefined reference to `g_assert'
collect2: ld returned 1 exit status
make[2]: *** [fribidi] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2/work/fribidi-0.19.2/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2/work/fribidi-0.19.2'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. MAKEOPTS="-j1" emerge fribidi
2.
3.

Actual Results:  
compile error

Expected Results:  
compile cleanly

emerge --info
Portage 2.2_rc67-r6 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-tuxonice-r1 x86_64)
=================================================================
System uname: Linux-2.6.33-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_U9400_@_1.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 05 May 2010 07:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/var/portage/portage"
PORTDIR_OVERLAY="/var/portage/layman/zugaina /var/portage/layman/multilib /var/portage/layman/multilib /var/portage/layman/bazaar /var/portage/layman/bazaar /var/portage/layman/emacs /var/portage/layman/emacs /var/portage/layman/x11 /var/portage/layman/x11 /var/portage/layman/sabayon /var/portage/layman/sabayon /var/portage/layman/gamerlay /var/portage/layman/gamerlay /var/portage/layman/gamerlay /var/portage/layman/kde /var/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aim aio alltargets alsa amd64 applet async audiofile avahi bash-completion bazaar berkdb bidi bluetooth branding bzip2 cairo caps ccache cdda cddb cdr chm cjk cleartype cli common-lisp consolekit cracklib crypt css cups curl custom-cpuopts cxx dbus devhelp dhcpcd dri dts dv dvb dvd dvdr dvi eds elisp emacs emboss emerald encode esd exchange exif faac faad fam fame fat fbcon fbcondecor fbsplash festival ffmpeg fftw firefox flac flash fuse gallium gconf gd gdbm gdu gif git glade glitz gmail gmp gnome gnome-keyring gnuplot gnutls google-gadgets graphviz grub gs gsf gsm gtk gtkhtml guile hal hddtemp hfs iconv icq icu idn imap ipv6 irc irda jabber java java6 javascript jfs jingle jpeg jpeg2k kde kernel-patch kipi kvm lame laptop lcd lcms libcaca libnotify lj llvm lm_sensors logrotate lzo mad mail matroska mbrola mikmod mmx mng modules mono motif mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib multitarget musepack musicbrainz mysql nautilus ncurses network networking networkmanager new-login nfs nls nptl nptlonly nsplugin ntfs ofx ogg openal openexr opengl openmp optimization pam pango parted pcmcia pcre pda pdf perl php phyp pidgin png policykit portage ppds pppd pth python qemu qt3support qt4 quicktime quotas rar rdesktop readline reflection resolvconf rss samba sasl scanner schroedinger sdl secure-delete session slp sms speex spell spl sse sse2 ssl startup-notification stream subversion svg symlink sysfs syslog taglib tcpd theora tiff truetype udev uml unicode upnp usb v4l v4l2 valgrind virtualbox visibility voice vorbis wifi wmf x264 xcb xcomposite xfs xinerama xml xorg xpm xrandr xulrunner xv xvid xvmc yahoo youtube zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="audio audio_alsa serial" QEMU_SOFTMMU_TARGETS="i386 arm m68k x86_64" QEMU_USER_TARGETS="i386 arm m68k x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 vp 2010-05-05 10:26:53 UTC
Created attachment 230419 [details]
build.log

build.log
Comment 2 Arttu Valo 2010-05-05 18:16:04 UTC
I think they have fixed this in their cvs (sorry, cannot test it right now):

http://webcvs.freedesktop.org/fribidi/fribidi2/lib/fribidi-types.h?r1=1.12&r2=1.13
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-11-02 03:32:11 UTC
Created attachment 252847 [details]
fribidi-0.19.2-glib.patch

The commit pointed to by arttuv69 does solve the problem. Here it is in cleanish patch form.
Comment 4 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-11-02 03:33:21 UTC
Created attachment 252849 [details]
fribidi-0.19.2.ebuild-glib.patch

The changes I made to the ebuild when confirming that attachment 252847 [details] worked.
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2010-11-04 08:18:10 UTC
in cvs. thanks