Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Getting Perl 5.10 into the Prefix Tree (and general ports policy) - perl-5.10.0.ebuild (1/1)
Date: Fri, 08 Feb 2008 09:11:03
Message-Id: 20080208091057.GF1750@gentoo.org
In Reply to: [gentoo-alt] Getting Perl 5.10 into the Prefix Tree (and general ports policy) - perl-5.10.0.ebuild (1/1) by Logan Bowers
1 On 07-02-2008 20:12:48 -0800, Logan Bowers wrote:
2 > Hello all,
3 >
4 > It appears that Perl 5.8 does not compile as a shared library on Leopard (due
5 > to upstream breakage). As such, I'd like to get 5.10 into the portage tree
6 > asap so I can link it against Postgres. :)
7
8 Is there a bug on this issue? I don't recall having problems with Perl
9 5.8 on Leopard.
10
11 > Per bug http://bugs.gentoo.org/show_bug.cgi?id=206455, Perl 5.10 is not yet in
12 > mainline although I've made several changes (attached) to the ebuild in the
13 > bug and *almost* have libperl building properly. It compiles fine (sans the
14 > soname patch), but I get the following error:
15
16 That bug looks like it may going to take a while before 5.10 is in
17 portage, hence my preference to "fix" 5.8 if feasible.
18
19 > >>> Source compiled.
20 > >>> Test phase [not enabled]: sys-devel/libperl-5.10.0
21 >
22 > >>> Install libperl-5.10.0 into
23 > /Volumes/Gentoo/var/tmp/portage/sys-devel/libperl-5.10.0/image/Volumes/Gentoo/
24 > category sys-devel
25 > >>> Completed installing libperl-5.10.0 into
26 > /Volumes/Gentoo/var/tmp/portage/sys-devel/libperl-5.10.0/image/Volumes/Gentoo/
27 >
28 > * QA Notice: invalid reference to
29 > /Volumes/Gentoo/usr/lib/perl5/5.10.0/darwin-2level/CORE/libperl.1.5.10.dylib
30 > in
31 > /Volumes/Gentoo/var/tmp/portage/sys-devel/libperl-5.10.0/image/Volumes/Gentoo/u
32 > sr/lib/libperl.1.5.10.dylib
33 > * ERROR: sys-devel/libperl-5.10.0 failed:
34 > * invalid install_name found, your application will crash at runtime
35
36 Something is broken. There may be a darwin patch for this in 5.8. In
37 any case, building is broken for Darwin as the build dir library
38 references are stored in the dylibs, instead of the locations that the
39 libs would get installed in. This usually is a missing -install_name
40 directive (similar to -soname).
41
42 > 1) I'm assuming the conf isn't quite right for the prefixed environment but
43 > I'm not sure how. Any thoughts?
44
45 See above.
46
47 > 2) How do you guys handle packages not in mainline? Assuming we iron out
48 > these build issues, what the preferred delivery mechanism/format/process for
49 > the ebuilds into the prefix tree?
50
51 I'm very much not in favour of adding newer versions of packages not in
52 gentoo-x86, simply because that results in conflicts nevertheless. If
53 we do it, it should be a really last resort, but first I'd try and see
54 what the main tree devs think about it, and maybe adding it there, so we
55 can use its mirror in prefix.
56
57 --
58 Fabian Groffen
59 Gentoo on a different level
60 --
61 gentoo-alt@l.g.o mailing list

Replies