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

Bug 309437

Summary: app-office/abiword-plugins-2.6.4 doesn't compile without having net-dns/libidn installed
Product: Gentoo Linux Reporter: Elias Probst <mail>
Component: [OLD] GNOMEAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-office/abiword-plugins-2.6.4 - build.log

Description Elias Probst 2010-03-15 03:50:42 UTC
app-office/abiword-plugins-2.6.4 seems to be missing some configure options in the ebuild as it doesn't compile as long as net-dns/libidn isn't installed.




Reproducible: Always

Steps to Reproduce:
1. Make sure net-dns/libidn isn't installed
2. emerge abiword-plugins

Actual Results:  
See attached build.log (build fails because of missing libidn).

Expected Results:  
Successful build of app-office/abiword-plugins-2.6.4.

Obviously the app-office/abiword-plugins-2.6.4 ebuild is missing support for the 'idn' USE flag.

When having USE="-idn" set (no libidn installed) the ebuild should set the right configure options to ensure a successful build.

emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.29-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 11 Mar 2010 21:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.2.3, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm sun-prerelease-jdk7"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going --load-average=2.5"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j6"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/external"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addbookmarks alias alsa amd64 async audiofile automount autoreplace avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cli connectionstatus consolekit contactnotes cracklib crypt css cups cxx dbus disk-partition divx dri dts dvb dvd dvdr emboss encode evo exif extrafilters fam fame fbcondecor ffmpeg fftw firefox flac fortran gdbm geoip gif glitz gphoto2 grammar hal highlight history iconv icu imagemagick inkjar iproute2 irc jabber java jingle jpeg jpeg2k kde kerberos lame latex lcms libnotify libsamplerate lzo mad math mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap multilib multiuser musepack musicbrainz mysql ncurses network nfs nls nowlistening nptl nptlonly nsplugin ogg openal opengl openmp ots pam pcre pdf perl plugins png policykit postscript ppds pppd python qt qt3support qt4 quicktime rar rdesktop readline reflection ruby samba sdl semantic-desktop session smp sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification statistics stream svg symlink sysfs syslog tcpd texteffect theora thesaurus threads thunar tiff translator truetype unicode usb v4l v4l2 vcd vim-syntax visualization vorbis vram wavpack wmf wmp wordperfect x264 xcb xml xorg xulrunner xv xvid xvmc 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Elias Probst 2010-03-15 03:51:27 UTC
Created attachment 223577 [details]
app-office/abiword-plugins-2.6.4 - build.log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-15 10:17:36 UTC
Looks like you are right:

$ qlist abiword |egrep "*.so" |xargs readelf -d |egrep "soname|idn"
 0x0000000e (SONAME)                     Library soname: [libabiword-2.6.so]
 0x00000001 (NEEDED)                     Shared library: [libidn.so.11]
Comment 3 Pacho Ramos gentoo-dev 2010-09-03 15:29:45 UTC
abiword-2.8.6 looks to compile fine without net-dns/libidn

Please retry with that version and reopen if still failing