Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239008 - media-gfx/inkscape-0.46-r2 fails to compile with perl-5.10
Summary: media-gfx/inkscape-0.46-r2 fails to compile with perl-5.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 251340 (view as bug list)
Depends on: 289151
Blocks:
  Show dependency tree
 
Reported: 2008-09-29 08:36 UTC by Michele Beltrame
Modified: 2009-11-25 10:30 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,640.21 KB, text/plain)
2008-09-29 13:06 UTC, Michele Beltrame
Details
one patch (what do I know about patches? nothing) for --with-perl and perl5.10 (inkscape-0.46-perl-5.10-bindings2.patch,499 bytes, patch)
2008-12-18 05:52 UTC, michael higgins
Details | Diff
a second patch (what do I know about patches? nothing) for --with-perl and perl5.10 (inkscape-0.46-perl-5.10-bindings3.patch,557 bytes, patch)
2008-12-18 05:52 UTC, michael higgins
Details | Diff
and the ebuild I used (inkscape-0.46-r5.ebuild,2.87 KB, text/plain)
2008-12-18 05:54 UTC, michael higgins
Details
I described this on another bug, but this finishes the patches (inkscape-0.46-perl-5.10.patch,515 bytes, patch)
2008-12-18 06:01 UTC, michael higgins
Details | Diff
build.log (build.log,1.48 MB, text/plain)
2009-02-18 19:52 UTC, Caleb Cushing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Beltrame 2008-09-29 08:36:39 UTC
Inkscape 0.46-r2 fails to compile on my amd64 box. Here's how I build it:

media-gfx/inkscape-0.46-r2  USE="gnome perl spell -debug -dia -doc -inkjar -jabber -lcms (-mmx) -postscript -wmf"

I also tried to unmask the lastest version, but it gives the same error as the stable one. Here's the build output:

	x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/perl5/5.10.0/x86_64-linux/CORE   -I/usr/include/freetype2  -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -I/usr/include/freetype2   -I/usr/include/poppler   -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1   -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0   -I../cxxtest    -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -march=athlon64 -O2 -pipe -MT extension/script/inkscape_perl_wrap.o -MD -MP -MF $depbase.Tpo -c -o extension/script/inkscape_perl_wrap.o extension/script/inkscape_perl_wrap.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
extension/script/inkscape_perl_wrap.cpp:727: error: expected unqualified-id before string constant
extension/script/inkscape_perl_wrap.cpp:728: error: expected initializer before ‘*’ token
extension/script/inkscape_perl_wrap.cpp:733: error: ‘SwigPerlWrapperPtr’ does not name a type
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_delete_Inkscape(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1005: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_Inkscape_getDesktop(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1031: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_Inkscape_getDialogManager(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1058: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_delete_DialogManager(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1084: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_DialogManager_showAbout(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1109: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_delete_Desktop(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1134: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_Desktop_getDocument(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1160: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_delete_Document(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1186: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: In function ‘void _wrap_Document_hello(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1211: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp: At global scope:
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp:1266: error: too many initializers for ‘swig_command_info’
extension/script/inkscape_perl_wrap.cpp: In function ‘void boot_inkscape_perl(CV*)’:
extension/script/inkscape_perl_wrap.cpp:1286: error: ‘struct swig_command_info’ has no member named ‘wrapper’
extension/script/inkscape_perl_wrap.cpp:1273: warning: unused variable ‘items’
extension/script/inkscape_perl_wrap.cpp: At global scope:
extension/script/inkscape_perl_wrap.cpp:229: warning: ‘swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void**)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:249: warning: ‘const char* SWIG_TypePrettyName(const swig_type_info*)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:267: warning: ‘swig_type_info* SWIG_TypeQuery(const char*)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:342: warning: ‘void SWIG_PropagateClientData(swig_type_info*)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:547: warning: ‘swig_type_info* SWIG_Perl_TypeCheckRV(SV*, swig_type_info*)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:684: warning: ‘int SWIG_Perl_ConvertPacked(SV*, void*, int, swig_type_info*, int)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:712: warning: ‘void SWIG_Perl_SetErrorf(const char*, ...)’ defined but not used
extension/script/inkscape_perl_wrap.cpp:959: warning: ‘int swig_magic_readonly(SV*, MAGIC*)’ defined but not used
make[2]: *** [extension/script/inkscape_perl_wrap.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r2/work/inkscape-0.46/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r2/work/inkscape-0.46'
make: *** [all] Error 2
 * 
 * ERROR: media-gfx/inkscape-0.46-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2681:  Called gnome2_src_compile
 *             environment, line 2041:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure


Here's "emerge --info" output as well:

Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Mon, 29 Sep 2008 06:15:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -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/lib/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en_GB en it"
MAKEOPTS="-j2"
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 /usr/local/overlays/perl/perl-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran gdbm gif glitz gnome gnome-print gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kerberos ldap libnotify lighttpd mad midi mikmod mmx mono mozdevelop mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam par pcre pdf perl png postfix postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb utf8 vorbis xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 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_balancer proxy_connect proxy_http rewrite setenvif so 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_US en_GB en it" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-09-29 08:57:01 UTC
please attach full build.log and paste the output of emerge -pv swig.
Comment 2 Michele Beltrame 2008-09-29 13:06:53 UTC
Created attachment 166754 [details]
build.log

The build.log is now attached. Here's the output of emerge -pv swig:

--------------------------------------------------
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/swig-1.3.36  USE="mono perl python -R -chicken -clisp -doc -guile -java -lua -mzscheme -ocaml -octave -php -pike -ruby -tcl -tk" 4,498 kB 

Total: 1 package (1 reinstall), Size of downloads: 4,498 kB
--------------------------------------------------
Comment 3 Markus Meier gentoo-dev 2008-10-08 19:39:44 UTC
(In reply to comment #0)
> PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/perl/perl-experimental"

it looks like the perl-experimental is somehow breaking the installation. will look for a fix when this hits the tree.
Comment 4 Michele Beltrame 2008-10-09 07:17:56 UTC
OK, this could well be related with Perl 5.10.

I tried building with USE="-perl" to compile without Perl support and this leads me a bit farther but not that much as I get:

--------------------------------------------------------------------------
make[2]: Entering directory `/var/tmp/portage/media-gfx/inkscape-0.46-r5/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
LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po inkscape.desktop.in inkscape.desktop
Too late for "-CI" option at ./utf8-to-roff line 1.
Generating and caching the translation database
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.46-r5/work/inkscape-0.46'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r5/work/inkscape-0.46'
make: *** [all] Error 2
--------------------------------------------------------------------------

I'm unsure if this problem is related to the previous, though.
Comment 5 michael higgins 2008-12-18 02:47:33 UTC
(In reply to comment #4)
> OK, this could well be related with Perl 5.10.

http://bugs.gentoo.org/show_bug.cgi?id=251340

;-)
Comment 6 michael higgins 2008-12-18 05:51:09 UTC
(In reply to comment #5)
> (In reply to comment #4)

Also, the problem here:
> make[2]: *** [extension/script/inkscape_perl_wrap.o] Error 1
> make[2]: *** Waiting for unfinished jobs....

I guess the option to enable perl (and python) bindings with '--with-perl' is marked EXPERIMENTAL, so possibly shouldn't be enabled without spitting a warning. 

https://bugs.launchpad.net/inkscape/+bug/167645

However, having the option there and failing to compile is a bug, so...

http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob;f=source/xapps-extra/inkscape/perl5.10.patch

Works. I'll upload the patches and an ebuild, I guess, as it worked for me.

Anyway, that's three files need minor patching, and inkscape works with 5.10.0. 

'-)
Comment 7 michael higgins 2008-12-18 05:52:11 UTC
Created attachment 175678 [details, diff]
one patch (what do I know about patches? nothing) for --with-perl and perl5.10
Comment 8 michael higgins 2008-12-18 05:52:44 UTC
Created attachment 175680 [details, diff]
a second patch (what do I know about patches? nothing) for --with-perl and perl5.10
Comment 9 michael higgins 2008-12-18 05:54:23 UTC
Created attachment 175681 [details]
and the ebuild I used

Hope this helps.
Comment 10 michael higgins 2008-12-18 06:01:02 UTC
Created attachment 175683 [details, diff]
I described this on another bug, but this finishes the patches
Comment 11 michael higgins 2008-12-18 06:04:40 UTC
*** Bug 251340 has been marked as a duplicate of this bug. ***
Comment 12 Markus Peloquin 2009-02-06 06:46:01 UTC
Michael's patches worked for me, running perl-5.10.0.  Can we get these patches added in portage soon (as long as they also work with perl-5.8.8)?  It's been more than a month.
Comment 13 Caleb Cushing 2009-02-18 19:24:06 UTC
I agree that this should be added to portage. fix bugs relating to perl-5.10 before perl-5.10 is pushed... otherwise things will break after it's pushed.
Comment 14 Caleb Cushing 2009-02-18 19:52:36 UTC
Created attachment 182461 [details]
build.log

not sure if it's related... but I still have build issues. if it's not I'll open a new bug.
Comment 15 michael higgins 2009-02-18 23:59:05 UTC
(In reply to comment #14)
> Created an attachment (id=182461) [edit]
> build.log
> 
> not sure if it's related... but I still have build issues. if it's not I'll
> open a new bug.
> 

I *think* you missed this one:

http://bugs.gentoo.org/attachment.cgi?id=175683&action=view

My first attempt at an ebuild here, so really was hoping it would be fixed up correctly by a dev with a few spare minutes. '-)
Comment 16 Caleb Cushing 2009-02-19 00:53:55 UTC
what bug is that from?
Comment 17 Caleb Cushing 2009-02-19 04:11:46 UTC
you need to use x11-libs/libXft in the ebuild. the virtual was removed.
Comment 18 Michele Beltrame 2009-03-12 18:11:18 UTC
I'd like to report this patches work GREAT and inkscape builds (I have perl 5.10.0_r1 from the overlay)
Comment 19 michael higgins 2009-03-25 06:03:31 UTC
(In reply to comment #18)
> I'd like to report this patches work GREAT and inkscape builds (I have perl
> 5.10.0_r1 from the overlay)
> 

And I just applied them again to the latest ebuild inkscape-0.46-r5.ebuild. Tested under view...scripts... and file... execute perl in the resulting console. Pretty cool.

As for having to apply patches again, apparently, I don't understand the process... I'm not just whining that it doesn't work, here are things that, apparently, work. So why are these patches, or similar, still not used in the ebuilds in the tree? 

Can we help... plenty of folks (will, soon, hopefully) need this with perl-5.10, no? ;-)
Comment 20 Markus Meier gentoo-dev 2009-04-23 20:51:06 UTC
the patches don't work with current perl, so this has to wait until perl-5.10 hits the tree.
Comment 21 Caleb Cushing 2009-04-23 22:29:53 UTC
and what are you going to do then? it won't be stable. 5.8 and 5.10 will be in the tree, and you'll have the same problem.
Comment 22 Markus Meier gentoo-dev 2009-04-24 04:49:24 UTC
(In reply to comment #21)
> and what are you going to do then? it won't be stable. 5.8 and 5.10 will be in
> the tree, and you'll have the same problem.

depend on >=dev-lang/perl-5.10.0...
Comment 23 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-06-04 02:59:11 UTC
Bumping this for some activity:

Note that I think Michael higgins patch for the "-C" problem is overkill for 5.10, I found utf8-to-roff ran perfectly fine after I removed all parameters from the hashbang. 

Reason being if you look in the makefile the makefile is calling perl with the -C  parameters anyway, circumventing the need for the inner file to call it itself.

grep 'utf8-to-roff' -R .
./Makefile:       | perl -CI $(srcdir)/utf8-to-roff  
./Makefile.in:    | perl -CI $(srcdir)/utf8-to-roff
./Makefile.am:    | perl -CI $(srcdir)/utf8-to-roff

-#! /usr/bin/perl -w -CI
+#! /usr/bin/perl

should be adequate. 

Test it, prove me wrong, please, see if it works like that on 5.8.8. Its the only thing thats blocking for me at present with 'USE -perl' for inkscape. 

If these fixes can't be applied on main-branch yet, for whatever reasons, here's a vote for seeing it fixed in the overlay.
Comment 24 Torsten Veller (RETIRED) gentoo-dev 2009-06-04 15:19:39 UTC
How about this?

- drop the perl useflag
  Does anyone "use Perl for embedded scripting (EXPERIMENTAL)"?
  It looks like the code was removed in the upstream repo.
  (I searched for WITH_PERL.)

- apply http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/utf8-to-roff?r1=14343&r2=18573&view=patch
Comment 25 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-06-11 21:10:00 UTC
(In reply to comment #24)
> How about this?
> 
> - drop the perl useflag
>   Does anyone "use Perl for embedded scripting (EXPERIMENTAL)"?
>   It looks like the code was removed in the upstream repo.
>   (I searched for WITH_PERL.)
> 
> - apply
> http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/utf8-to-roff?r1=14343&r2=18573&view=patch
> 

I say go for it, if people complain, then what argument have we, its gone upstream anyway. 

Its not as if /we're/ taking away functionality.

Comment 26 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-06-14 13:38:31 UTC
0.47_pre0 in tree masked, works for me. 
Comment 27 Markus Meier gentoo-dev 2009-06-14 13:45:43 UTC
(In reply to comment #26)
> 0.47_pre0 in tree masked, works for me. 

thanks for the info, I'll leave this bug open, until we have a stable (or at least unmasked) version of inkscape in the tree.
Comment 28 Michele Beltrame 2009-06-14 21:51:23 UTC
Hi!

0.47_pre0 failed for me with:

-----
checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4  glibmm-2.4 giomm-2.4 gtkmm-2.4 >= 2.10.0  gtk+-2.0  libxml-2.0 >= 2.6.11  libxslt >= 1.0.15  cairo  sigc++-2.0 >= 2.0.12  gtkspell-2.0  gthread-2.0 >= 2.0 libpng >= 1.2 gsl) were not met:
-----
(I lost the paste for the next line, but it said that "gsl" was missing)

So I had to emerge:

sci-libs/gsl

This ebuild should probaly be pushed into the DEPENDs of inkscape.
Comment 29 Markus Meier gentoo-dev 2009-06-15 03:23:28 UTC
(In reply to comment #28)
> Hi!
> 
> 0.47_pre0 failed for me with:

please open a separate bug report for that. thanks
Comment 30 David Abbott (RETIRED) gentoo-dev 2009-09-24 14:46:09 UTC
inkscape-0.47_pre2 works here with v5.10.0
Comment 31 Jean-Francis Roy 2009-09-24 19:07:43 UTC
(In reply to comment #30)
> inkscape-0.47_pre2 works here with v5.10.0
> 

Same here :)
Comment 32 David Abbott (RETIRED) gentoo-dev 2009-11-14 20:57:58 UTC
media-gfx/inkscape-0.47_pre3 and media-gfx/inkscape-0.47_pre4 works fine with perl 5.10.1
Comment 33 Markus Meier gentoo-dev 2009-11-25 10:30:15 UTC
media-gfx/inkscape-0.47 is in the tree with perl disable, so we can finally close this bug.