Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211330 - media-gfx/inkscape-0.45.1-r1 fails to compile
Summary: media-gfx/inkscape-0.45.1-r1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 02:26 UTC by Andreas Proteus
Modified: 2008-03-29 19:18 UTC (History)
2 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 Andreas Proteus 2008-02-25 02:26:50 UTC
When emerging inkscape, the compilation fails with an error right at the end of the process when it is creating the man page and the desktop icon. See error report.
Please note that manual compilation of the sources by unpacking, ./configure && make, works without errors.  
Also note although the emerge fails if one enters the /var/tmp/portage/.../work/inscape-0.4.5.1/ directory and gives: make install the package installs successfuly.

Reproducible: Always

Steps to Reproduce:
1. emerge inkscape
2.
3.

Actual Results:  
Inkscape fails to install

Expected Results:  
Inkscape should have been installed.

make[2]: Entering directory `/var/tmp/portage/media-gfx/inkscape-0.45.1-r1/work/inkscape-0.45.1'
set -e; \
    d=`sed -n 's,/,-,g;s,.*\$[D]ate: \(..........\).*,\1,p' inkscape.pod`; \
    pod2man inkscape.pod \
      | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$d"'" "Inkscape-0.45.1" "Inkscape"/' \
      | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "./AUTHORS");$_ = join(",\n", map { chomp; $_ } <FOO>) . "\n"; }' \
      | perl ./fix-roff-punct \
      | perl -CI ./utf8-to-roff \
      > tmp.$$ \
     && mv -f tmp.$$ inkscape.1
LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po inkscape.desktop.in inkscape.desktop
Generating and caching the translation database
Too late for "-CI" option at ./utf8-to-roff line 1.
make[2]: *** [inkscape.1] Error 9
make[2]: *** Waiting for unfinished jobs....
Merging translations into inkscape.desktop.
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.1-r1/work/inkscape-0.45.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.45.1-r1/work/inkscape-0.45.1'
make: *** [all] Error 2
ERROR: media-gfx/inkscape-0.45.1-r1 failed.
Call stack:
ebuild.sh, line   49:  Called src_compile
environment, line 2547:  Called gnome2_src_compile
environment, line 1928:  Called die
The specific snippet of code:
emake || die "compile failure"
The die message:
compile failure
#--------------------------------------------------------------------------
Portage 2.1.4.4 (!../usr/portage/profiles/default-linux/x86/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.24-gentoo-r2-ufb-02 i686)
=================================================================
System uname: 2.6.24-gentoo-r2-ufb-02 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Sun, 24 Feb 2008 22:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ "
LANG="el_GR.ISO-8859-7"
LINGUAS="en el"
MAKEOPTS="-j7"
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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/mnt/nfs_portage/local/layman/sajinet /mnt/nfs_portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa arts bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups curl dbus dri dvd fam ffmpeg flac fontconfig fortran gdbm gif gpm gtk hal iconv isdnlog java jpeg kde mad midi mmx mono mp3 mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl opengli openmp oss pam pcre pdf perl png pppd python qt3 rdesktop readline reflection samba session slang spl sse ssl ssse3 svg tcpd tetex tiff tk truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xine xorg xpm xprint xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 michael@smith-li.com 2008-02-25 03:55:50 UTC
What happens if you run it with fewer jobs in parallel?

It works for me with MAKEOPTS='-j3', please try that.
Comment 2 Andreas Proteus 2008-02-25 04:46:25 UTC
No joy.  Same error even when I remove the -nj completely.
I am using a high j value because I distcc between 3 multicore computers.

When I compile inkscape outside portage, I have aliased make as follows:
alias make='make CC="ccache distcc" -j7'
and it compiles succesfully.  
Something is going on with the ebuild.

(In reply to comment #1)
> What happens if you run it with fewer jobs in parallel?
> 
> It works for me with MAKEOPTS='-j3', please try that.
> 

Comment 3 Markus Meier gentoo-dev 2008-03-22 11:41:35 UTC
does it work if you emerge it without distcc?
is it any better with media-gfx/inkscape-0.46?
Comment 4 Andreas Proteus 2008-03-24 04:57:27 UTC
Same problem with inkscape-0.46-r1.
I dissabled distcc and ccache.
I also dissabled completely the MAKEOPTS flag.
see emerge --info output, and ebuild error report attached below.

One interesting point is that the ebuild fails just before make install.  If I then enter the /var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46-r1 directory and give: make install, the package install and works fine.  Portage of course knows nothing about this.

I hope this helps.

#######  build.log
file=`echo uk | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file uk.po
file=`echo vi | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file vi.po
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
          && rm -f $file && /usr/bin/gmsgfmt -o $file zh_TW.po
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46/po'
make[2]: Entering directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46'
set -e; \
        d=`sed -n 's,/,-,g;s,.*\$[D]ate: \(..........\).*,\1,p' inkscape.pod`; \
        pod2man inkscape.pod \
          | sed 's/^\.TH .*/.TH INKSCAPE 1 "'"$d"'" "Inkscape-0.46" "Inkscape"/' \
          | perl -pe 'if (/^\[\% .*INCLUDE.*AUTHORS.* \%\]/) { open(FOO, "./AUTHORS");$_ = join(",\n", map { chomp; $_ } <FOO>) . "\n"; }' \
          | perl ./fix-roff-punct \
          | perl -CI ./utf8-to-roff     \
          > tmp.$$ \
         && mv -f tmp.$$ inkscape.1
Too late for "-CI" option at ./utf8-to-roff line 1.
make[2]: *** [inkscape.1] Error 9
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r1/work/inkscape-0.46'
make: *** [all] Error 2
##############################################################
# emerge --info
Portage 2.1.4.4 (!../usr/portage/profiles/default-linux/x86/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.24-gentoo-r3-ufb-01 i686)
=================================================================
System uname: 2.6.24-gentoo-r3-ufb-01 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Mon, 24 Mar 2008 02:47:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ "
LANG="el_GR.ISO-8859-7"
LINGUAS="en el"
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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/mnt/nfs_portage/local/layman/sajinet /mnt/nfs_portage/local/layman/jokey /mnt/nfs_portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa arts bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups curl dbus dri dvd fam ffmpeg flac fontconfig fortran gdbm gif gpm gtk hal iconv isdnlog java jpeg kde mad midi mmx mono mp3 mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl opengli openmp oss pam pcre pdf perl png pppd python qt3 rdesktop readline reflection samba session slang spl sse ssl ssse3 svg tcpd tetex tiff tk truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xine xorg xpm xprint xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en el" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Comment 5 Markus Meier gentoo-dev 2008-03-29 17:35:04 UTC
I suspect that your perl is somehow broken. which version are you using (emerge -pv perl please)? have you run 'perl-cleaner' recently?
It is strange that it works when you 'make install' it manually. You don't have a perl installation in /usr/local ?
Comment 6 Andreas Proteus 2008-03-29 19:04:42 UTC
(In reply to comment #5)
# emerge -vp perl
dev-lang/perl-5.10.0  USE="berkdb doc gdbm ithreads -build -debug -perlsuid" 0 kB 

I have recently upgraded to perl-5.10.0 from ovelay and no other perl installation exists in the system. Do you think it may have something to do with this?

I have already run perl-cleaner and so far I had no problems with perl-5.10.0 with the exceprion of dev-perl/math-pari which I had to patch.
Comment 7 Markus Meier gentoo-dev 2008-03-29 19:18:37 UTC
(In reply to comment #6)
> (In reply to comment #5)
> # emerge -vp perl
> dev-lang/perl-5.10.0  USE="berkdb doc gdbm ithreads -build -debug -perlsuid" 0
> kB 
> 
> I have recently upgraded to perl-5.10.0 from ovelay and no other perl
> installation exists in the system. Do you think it may have something to do
> with this?

I think that this is the problem. This explains why there is a difference, when emerging it with portage and compiling it manually.

I'm closing this bug, as your installed version of perl is not (yet) in the official tree and I'm unable to reproduce it with dev-lang/perl-5.8.8-r4.