Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253524 - kde-base/ksvg-3.5.10 does not build/install correctly
Summary: kde-base/ksvg-3.5.10 does not build/install correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 09:35 UTC by Johannes Truschnigg
Modified: 2009-04-30 12:02 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Truschnigg 2009-01-03 09:35:03 UTC
In the process of rebuilding my whole system overnight, I discovered that ksvg won't build for me any more (it did so before though, since I had it installed).

The ebuild craps out with the following:
3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=native -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o QtUnicode.lo QtUnicode.cpp
Converter.cpp:26:35: error: fribidi/fribidi_types.h: No such file or directory
make[4]: *** [Converter.lo] Error 1
make[4]: Leaving directory `/var/tmp/paludis/kde-base-ksvg-3.5.10/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/var/tmp/paludis/kde-base-ksvg-3.5.10/work/ksvg-3.5.10/ksvg/impl/libs/libtext2path'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/paludis/kde-base-ksvg-3.5.10/work/ksvg-3.5.10/ksvg/impl/libs'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/kde-base-ksvg-3.5.10/work/ksvg-3.5.10/ksvg/impl'
make: *** [install-recursive] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2



Reproducible: Always

Steps to Reproduce:
1. paludis -i kde-base/ksvg || emerge kde-base/ksvg

Actual Results:  
The package does not install correctly.

Expected Results:  
ksvg should be installed.

There are no USE-flags set that influence the package in question.
Comment 1 Allen Brooker (AllenJB) 2009-01-03 10:08:29 UTC
I wasn't able to reproduce this. Please give us more information by posting the output of "emerge --info" and "emerge -pv fribidi ksvg" (or equivalent commands).

You could also try running "revdep-rebuild" (or equivalent) to see if that wishes to rebuild any packages.
Comment 2 Gergely Csépány 2009-01-08 16:23:42 UTC
I was able to reproduce it, and found a workaround: 
The compile error happens only with fibidi-0.19.1, but after downgrading fibidi to 0.10.9 it compiled successfully. 
Checking the output of the fribidi-0.19.1 emerge, I found that there is really no such file in the list of merged files, as it can be seen in the output of downgrading from 0.19.1->0.10.9:

this is the relevant header file in 0.10.9:
>>> /usr/include/fribidi/fribidi_types.h

these are the header files in 0.19.1:
--- replaced obj /usr/include/fribidi/fribidi.h
<<<          obj /usr/include/fribidi/fribidi-unicode.h
<<<          obj /usr/include/fribidi/fribidi-unicode-version.h
<<<          obj /usr/include/fribidi/fribidi-types.h
<<<          obj /usr/include/fribidi/fribidi-shape.h
<<<          obj /usr/include/fribidi/fribidi-mirroring.h
<<<          obj /usr/include/fribidi/fribidi-joining.h
<<<          obj /usr/include/fribidi/fribidi-joining-types.h
<<<          obj /usr/include/fribidi/fribidi-joining-types-list.h
<<<          obj /usr/include/fribidi/fribidi-flags.h
<<<          obj /usr/include/fribidi/fribidi-enddecls.h
<<<          obj /usr/include/fribidi/fribidi-deprecated.h
<<<          obj /usr/include/fribidi/fribidi-config.h
<<<          obj /usr/include/fribidi/fribidi-common.h
<<<          obj /usr/include/fribidi/fribidi-char-sets.h
<<<          obj /usr/include/fribidi/fribidi-char-sets-list.h
<<<          obj /usr/include/fribidi/fribidi-bidi.h
<<<          obj /usr/include/fribidi/fribidi-bidi-types.h
<<<          obj /usr/include/fribidi/fribidi-bidi-types-list.h
<<<          obj /usr/include/fribidi/fribidi-begindecls.h
<<<          obj /usr/include/fribidi/fribidi-arabic.h

There is no fribidi_types.h in this list, and that's why ksvg failes to compile.
It shows that fribidi-0.19.1 and ksvg-3.5.10 are incompatible at the moment.
Comment 3 Steve Kutnar 2009-01-11 16:06:05 UTC
I can confirm this compilation problem with ksvg as well.  I am not yet at a point to do the workaround, but I'm pretty confident that will resolve it.

I know it's out of scope here, but I wonder if it would make sense to have fribidi slotted.  Who maintains it in Gentoo?  See the following text from fribidi.org:

"The latest stable release in the 0.10 series is fribidi-0.10.9.tar.gz (md5sum, signed by Behdad Esfahbod) from August 9, 2007. This release is based on Unicode 5.0.0 character database.

There is a release of the fribidi2 modules available now, which is fribidi-0.19.1.tar.gz (md5sum, signed by Behdad Esfahbod) from January 15, 2008. This release is based on Unicode 5.0.0 character database too and is supposed to be fully API/ABI compatible with the 0.10 series and may need some testing before fully replacing the 0.10 series."
Comment 4 Simon C. Ion 2009-01-28 05:09:46 UTC
I can confirm Johannes Truschnigg's issue. Gergely Csépány's workaround resolves the issue for me. I'm running on a ~x86 Gentoo system.

emerge --info:
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-tuxonice i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-glibc2.0
Timestamp of tree: Wed, 28 Jan 2009 02:10:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -ggdb"
CHOST="i686-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 /var/bind /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi bash-completion berkdb bzip2 caps cdr cli cracklib crypt cups dbus dri dvd ffmpeg flac fortran gdbm gnutls gpm gtk hal iconv ieee1394 inotify ipv6 isdnlog java jpeg kde kerberos lame ldap mad matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcmcia pcre perl png postgres pppd pulseaudio python qt qt3 qt4 readline reflection samba sdl session sndfile speex spell spl sse sse2 sse3 ssl svg sysfs tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wifi win32codecs wireless x86 xinerama xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 404 Error 2009-01-31 01:21:05 UTC
same here. Fribidi bug reported!
Comment 6 Bob Raitz 2009-01-31 08:31:40 UTC
I have this one as well.

bam-bam ~ # emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Sat, 31 Jan 2009 05:40:01 +0000
distcc 3.1 i486-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i486-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/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/mnt/auto/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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/local/portage"
SYNC="rsync://192.168.0.130/gentoo-portage"
USE="X a52 aac acl acpi alsa ao audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt css cups dbus dlloader dri dts dv dvd dvdr dvdread eds encode fam fbcon ffmpeg fftw flac foomaticdb fortran gdbm gif gimp gpm gsl gtk hal iconv ipv6 isdnlog jack jpeg kde ladspa lame ldap libsamplerate mad midi mikmod mmx mp3 mpeg mudflap nas ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python qt3 quicktime readline reflection samba sdl session slang slp sndfile spell spl sse sse2 ssl swat sysfs tcpd theora tiff truetype udev unicode usb v4l v4l2 vidix vorbis win32codecs wxwindows x264 x86 xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 404 Error 2009-02-12 04:22:15 UTC
Related to #257024 (see last message of the bug). 

Cannot add the dependency between #257024 and #253524 as I am not the reporter or assignee.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-02-16 03:00:32 UTC
The newer file is fribidi/fribidi-types.h
Comment 9 Vladimir Berezhnoy 2009-04-10 23:01:36 UTC
I'm confirming this bug
Comment 10 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2009-04-15 08:08:40 UTC
(In reply to comment #9)
> I'm confirming this bug
> 

I'm confirming too.

Btw, add =fribidy-0.10.* to dependency list.
Comment 11 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-04-30 12:02:42 UTC
patch from bug 260837 solved it, in CVS