1 |
Not sure if this is way OT, but I'm trying to emerge koffice-1.2_rc1.ebuild |
2 |
right now and I've been getting access violations building ImageMagick. It |
3 |
started with an access denied to |
4 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image then Image/Magick then |
5 |
../Image and ../Image/Magick. I created those directories and now am |
6 |
getting this: |
7 |
|
8 |
----------------------------- ACCESS VIOLATION SUMMARY |
9 |
------------------------------------------------------ |
10 |
LOG FILE = "/tmp/sandbox-imagemagick-5.4.7-2899.log" |
11 |
|
12 |
open_wr: |
13 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/Magick.so |
14 |
chmod: |
15 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/Magick.so |
16 |
open_wr: |
17 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/Magick.bs |
18 |
chmod: |
19 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/Magick.bs |
20 |
open_wr: |
21 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/autosplit.ix |
22 |
chmod: |
23 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/autosplit.ix |
24 |
open_wr: |
25 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick.pm |
26 |
chmod: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick.pm |
27 |
open_wr: /usr/man/man3pm/Image::Magick.3pm |
28 |
chmod: /usr/man/man3pm/Image::Magick.3pm |
29 |
open_wr: |
30 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Image/Magick/.packlist |
31 |
---------------------------------------------------------------------------- |
32 |
--------------------------------- |
33 |
|
34 |
Not sure if this has anything to do, but I know that ImageMagick uses the |
35 |
MakeFile.PL for PerlMagick, and that looks like what is going on here. I |
36 |
would cc this to the ImageMagick package maintainer as well, but I don't |
37 |
know who that is. TIA |
38 |
|
39 |
Dave |
40 |
|
41 |
-----Original Message----- |
42 |
From: Michael Cummings [mailto:mcummings@g.o] |
43 |
Sent: Thursday, September 12, 2002 6:58 PM |
44 |
To: gentoo-dev@g.o; gentoo-core@g.o |
45 |
Subject: [gentoo-dev] IF YOUR EBUILD USES PERL, PLEASE READ |
46 |
|
47 |
Sorry for the caps, but sometimes it's the surest way to get attention. |
48 |
|
49 |
If your ebuild uses perl, there are some things you need to be aware of. |
50 |
Perl 5.6.1's default MakeMaker module, that portion that creates the make |
51 |
file from the perl Makefile.PL file, was flawed. Although it didn't violate |
52 |
the sandbox, it doesn't always honor your target build directories. It also |
53 |
failed to recognize build syntax that it was supposed to understand, such as |
54 |
not always honoring the PREFIX you passed it. Because the potential harm |
55 |
outweighed the mess I have now, this has been fixed for future/current |
56 |
users. THIS ONLY AFFECTS EBUILDS THAT USE PERL MAKEFILE, NOT EBUILDS THAT |
57 |
MERELY COMPILE AGAINST PERL'S LIBRARIES/BINARIES. |
58 |
|
59 |
The result? If your ebuild at any point generates a perl module as an add |
60 |
on, and you are manually passing it a "perl Makfile.PL" instead of |
61 |
incorporating the perl-modules eclass, it *will* break. These bugs are |
62 |
getting assigned to me right now, and I am fixing them, but I wanted to make |
63 |
you aware should you have a new release come up and you don't check to see |
64 |
if any changes were made to the ebuild since last time. |
65 |
|
66 |
If you need a piece-meal example of incorporating the perl-module.eclass, I |
67 |
would recommend looking at the (masked) cyrus-imapd ebuild. I have rewritten |
68 |
the portion that deals with the perl module and included the inherit |
69 |
perl-module line to make it work. It isn't pretty, but it is using the |
70 |
eclass fully. |
71 |
|
72 |
Please ping me if you have any questions, happy to answer, sometimes even |
73 |
coherenly. =:) |
74 |
|
75 |
|
76 |
Mike |
77 |
|
78 |
I would strongly encourage using the inherit perl-module if at all possible |
79 |
(and of course applicable). |
80 |
_______________________________________________ |
81 |
gentoo-dev mailing list |
82 |
gentoo-dev@g.o |
83 |
http://lists.gentoo.org/mailman/listinfo/gentoo-dev |