Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133390 - subversion perl bindings need swig compiled w/ USE="perl"
Summary: subversion perl bindings need swig compiled w/ USE="perl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 08:55 UTC by Michael Hordijk
Modified: 2007-11-13 17:19 UTC (History)
1 user (show)

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


Attachments
ebuild patch (subversion-1.2.3-r2.patch,713 bytes, patch)
2006-05-15 08:56 UTC, Michael Hordijk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hordijk 2006-05-15 08:55:43 UTC
Subversion requires that swig be compiled with the perl use flag.  If you already have swig installed without the perl use flag, you get a linking error in the perl bindings.  I suppose the correct thing to do is to put a check for this in pkg_setup, so I've created a simple diff to that effect.
Comment 1 Michael Hordijk 2006-05-15 08:56:12 UTC
Created attachment 86806 [details, diff]
ebuild patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-29 08:57:14 UTC
Irrelevant w/ >=subversion-1.3.2-r4 which is current stable; these old versions are going away.

Closing as FIXED.
Comment 3 Gregg Casillo 2007-11-13 17:19:19 UTC
I'm seeing this problem with subversion-1.4.5:

make: *** [/var/tmp/portage/dev-util/subversion-1.4.5/work/subversion-1.4.5/subversion/bindings/swig/perl/native/Makefile] Error 9
make: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/dev-util/subversion-1.4.5/work/subversion-1.4.5/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:34:
./subversion/svn_private_config.h:153:1: warning: "_" redefined
In file included from /usr/lib/perl5/5.8.8/i686-linux/CORE/perl.h:37,
                 from /var/tmp/portage/dev-util/subversion-1.4.5/work/subversion-1.4.5/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
/usr/lib/perl5/5.8.8/i686-linux/CORE/config.h:3808:1: warning: this is the location of the previous definition
 *
 * ERROR: dev-util/subversion-1.4.5 failed.
 * Call stack:
 *                 ebuild.sh, line 1701:  Called dyn_compile
 *                 ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                 ebuild.sh, line   44:  Called src_compile
 *   subversion-1.4.5.ebuild, line  149:  Called die
 * The specific snippet of code:
 *              emake swig-pl || die "Compilation of ${PN} Perl bindings failed"
 *  The die message:
 *   Compilation of subversion Perl bindings failed