Hi, I get the following error: ------------------------- make[4]: Wechsel in das Verzeichnis Verzeichnis
Hi, I get the following error: ------------------------- make[4]: Wechsel in das Verzeichnis Verzeichnis »/var/tmp/portage/postgresql-7.2.2/work/postgresql-7.2.2/src/interfaces/perl5« Installing /var/tmp/portage/postgresql-7.2.2/image/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Pg/Pg.so Installing /var/tmp/portage/postgresql-7.2.2/image/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Pg/Pg.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /var/tmp/portage/postgresql-7.2.2/image/usr/lib/perl5/site_perl/5.6.1/i686-linux/Pg.pm Installing /var/tmp/portage/postgresql-7.2.2/image/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Pg/autosplit.ix ACCESS DENIED open_wr: /usr/share/man/man3/Pg.3pm Installing /usr/share/man/man3/Pg.3pm ACCESS DENIED chmod: /usr/share/man/man3/Pg.3pm -----------------------------
rphillips - didn't you just post a corrected ebuild for this? (Or have I officially lost it?)
*** Bug 8574 has been marked as a duplicate of this bug. ***
I could duuplicate this problem for a week while testing. Then I emerge rsynched and it went away - without any help from me. Do you still have this problem when you try to emerge postgres?
after `emerge rsync` emergeing postgresql worked perfectly. thanks for solving this problem. as I am not maintainer of this solved bug, I leave changing it to you. greetings, sascha
Sascha, Sad thing is, I really didn't do anything. It "magically" started working on my end too. Going to check with the other devs to see if anyone made any unrelated fixes last week that might explain it. Will close out this ticket once I'm sure rphillips has had a chance to catch up (the other reader on the bug). Mike
I've just build a fresh 1.4, still the same problem.
The ebuild still flakes on my desktop with gcc 3.2 and latest portage (2.0.38). The ebuild works fine on my laptop running 2.0.38 of portage and gcc 3.0.4 (I know, pretty old)... Maybe it is a gcc 3.2 issue?
I have incountered same problem. And writing outside the sandbox should not be a gcc 3.2 problem.
gentoo 1.4_rc1: emerge postgresql ... ---------------- ACCESS VIOLATION SUMMARY ------------------- LOG FILE = "/tmp/sandbox-postgresql-7.2.2-8212.log" open_wr: /usr/share/man/man3/Pg.3pm chmod: /usr/share/man/man3/Pg.3pm ------------------------------------------------------------- I think the problem is how perl generate the Makefile from the Makefile.PL: all "INSTALL*" variables are correctly prefixed by the "$(PREFIX)" but "INSTALLMAN?DIR" variables are not!
*** Bug 8971 has been marked as a duplicate of this bug. ***
*** Bug 8990 has been marked as a duplicate of this bug. ***
I had no problems with the 7.2.2 ebuild but now I'm getting this problem with the 7.2.3 ebuild. I tried doing the rsync thing with no luck. Is there a work-around for this?
Workaround: emerge unmerge ExtUtils-MakeMaker emerge perl emerge postgresql
Ryan, Locally, I put the gentoo-diff back in and it installed perfectly without sandbox violation. The ebuild you commited takes us back to the sandbox violation on the 3pm section.
I worked with mcummings today on the perl-module.eclass to add some more variables so perl modules install without sandboxing. Please update your portage tree and try things again.
It still doesn't work: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-postgresql-7.2.3-29209.log" open_wr: /usr/man/man3/Pg.3pm chmod: /usr/man/man3/Pg.3pm --------------------------------------------------------------------------------
$ qpkg -v -I portage sys-apps/portage-2.0.38 * $ qpkg -v -I perl sys-devel/perl-5.6.1-r4 * sys-devel/perl-5.6.1-r8 * dev-perl/MIME-Base64-2.12-r1 * dev-perl/URI-1.18 * dev-perl/Digest-MD5-2.20 * dev-perl/libnet-1.11 * dev-perl/HTML-Tagset-3.03-r1 * dev-perl/HTML-Parser-3.26 * dev-perl/libwww-perl-5.64 * dev-perl/mod_perl-1.27 * dev-perl/CGI-2.78-r2 * dev-perl/MailTools-1.44 * dev-perl/POP3Client-2.7-r1 * dev-perl/Mail-Audit-2.1 * dev-perl/Digest-SHA1-2.01 * dev-perl/Digest-HMAC-1.01 * dev-perl/Net-DNS-0.22 * dev-perl/Email-Valid-0.14 * dev-perl/Bit-Vector-6.3 * dev-perl/Date-Calc-5.0-r3 * $ qpkg -v -I postgresql dev-db/postgresql-7.2.2 Still doesn't work with ExtUtils-MakeMaker : $ qpkg -v -I ExtUtils-MakeMaker dev-perl/ExtUtils-MakeMaker-6.03-r1 * $ emerge postgresql Calculating dependencies ...done! >>> emerge dev-db/postgresql-7.2.3 to / ... <<< OUTPUT TRUNCATED >>> ... --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-postgresql-7.2.3-14752.log" open_wr: /usr/man/man3/Pg.3pm chmod: /usr/man/man3/Pg.3pm -------------------------------------------------------------------------------- Or without ExtUtils-MakeMaker : $ qpkg -v -I ExtUtils-MakeMaker $ emerge postgresql Calculating dependencies ...done! >>> emerge dev-db/postgresql-7.2.3 to / ... <<< OUTPUT TRUNCATED >>> ... --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-postgresql-7.2.3-29736.log" open_wr: /usr/man/man3pm/Pg.3pm chmod: /usr/man/man3pm/Pg.3pm --------------------------------------------------------------------------------
*** Bug 8656 has been marked as a duplicate of this bug. ***
*** Bug 9171 has been marked as a duplicate of this bug. ***
I experienced that today, too. I solved it by fixing src/interfaces/perl5/Makefile between compile and install. There is a line in it that reads INSTALLSITEMAN3DIR = /usr/man/man3 I changed it to INSTALLSITEMAN3DIR = $(DESTDIR)/usr/man/man3 There are related INSTALL* variables near by, and strangely some of them have $(DESTDIR) prepended, others don't.
Created attachment 4759 [details] Still Busted with the 7.2.3 port water tmp # cat sandbox-postgresql-7.2.3-27736.log chmod: /usr/man/man3pm/Pg.3pm unlink: /usr/man/man3pm/Pg.3pm
Follow comment #20. You just need to add the $(DESTDIR) in front of the one INSTALLSITE line under src/interfaces/perl5/Makefile. It worked on my system with 7.2.3.ebuild
OK, this is embarrassing. The reason this has worked for me locally for the last month is because (put that heavy, blunt rock down) I had locally made a fix to the perl-diff file that among other things accounted for the man page locations. I just commited the new diff file and the modified ebuild that calls the diff. Please rsync and let me know if this works for you all.
It works for me now.
I emerged rsync (installed new perl version and gtk-perl, which problem seems to be fixed now) but emerging postgresql failed strangly: ---schnipp--- These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] dev-db/postgresql-7.2.3 Calculating dependencies \>>> Unpacking source... >>> Source unpacked. >>> Install postgresql-7.2.3 into /var/tmp/portage/postgresql-7.2.3/image/ categ ory dev-db strip: >>> Completed installing into /var/tmp/portage/postgresql-7.2.3/image/ ...done! >>> emerge dev-db/postgresql-7.2.3 to / >>> Merging dev-db/postgresql-7.2.3 to / >>> Regenerating /etc/ld.so.cache... >>> dev-db/postgresql-7.2.3 merged. >>> Recording dev-db/postgresql in "world" favorites file... * GNU info directory index is up-to-date. ---schnapp--- command was `emerge postgresql 2>&1 | tee -a emerge.postgresql` `find / -name postgres*` gives the following: ---schnipp--- /var/tmp/portage/postgresql-7.2.3 /var/cache/edb/dep/dev-db/postgresql-7.2-r2 /var/cache/edb/dep/dev-db/postgresql-7.2-r3 /var/cache/edb/dep/dev-db/postgresql-7.2.1-r1 /var/cache/edb/dep/dev-db/postgresql-7.2.1-r2 /var/cache/edb/dep/dev-db/postgresql-7.2.1 /var/cache/edb/dep/dev-db/postgresql-7.2.2 /var/cache/edb/dep/dev-db/postgresql-7.2.3 /var/db/pkg/dev-db/postgresql-7.2.3 /var/db/pkg/dev-db/postgresql-7.2.3/postgresql-7.2.3.ebuild /usr/portage/dev-db/postgresql /usr/portage/dev-db/postgresql/files/7.1.3/postgresql /usr/portage/dev-db/postgresql/files/7.2/postgresql /usr/portage/dev-db/postgresql/files/7.2.1/postgresql /usr/portage/dev-db/postgresql/files/7.2.2/postgresql /usr/portage/dev-db/postgresql/files/7.2.3/postgresql /usr/portage/dev-db/postgresql/files/postgres /usr/portage/dev-db/postgresql/files/postgresql-7.1-perl5-GNUmakefile-gentoo.di f f /usr/portage/dev-db/postgresql/files/postgresql-7.1.3-dyn-libperl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.1.3-perl5-GNUmakefile-gentoo. d iff /usr/portage/dev-db/postgresql/files/postgresql-7.1.3-python21-makefiles-gentoo . diff /usr/portage/dev-db/postgresql/files/postgresql-7.2-dyn-libperl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.2.1-dyn-libperl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.2.2-dyn-libperl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.2.2-perl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.2.3-dyn-libperl-gentoo.diff /usr/portage/dev-db/postgresql/files/postgresql-7.2.3-perl-gentoo.diff /usr/portage/dev-db/postgresql/postgresql-7.2-r2.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2-r3.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2.1-r1.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2.1-r2.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2.1.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2.2.ebuild /usr/portage/dev-db/postgresql/postgresql-7.2.3.ebuild /usr/portage/metadata/cache/dev-db/postgresql-7.0.3-r3 /usr/portage/metadata/cache/dev-db/postgresql-7.1-r1 /usr/portage/metadata/cache/dev-db/postgresql-7.1.3-r4 /usr/portage/metadata/cache/dev-db/postgresql-7.2-r2 /usr/portage/metadata/cache/dev-db/postgresql-7.2-r3 /usr/portage/metadata/cache/dev-db/postgresql-7.2.1 /usr/portage/metadata/cache/dev-db/postgresql-7.2.1-r1 /usr/portage/metadata/cache/dev-db/postgresql-7.2.1-r2 /usr/portage/metadata/cache/dev-db/postgresql-7.2.2 /usr/portage/metadata/cache/dev-db/postgresql-7.2.3 ---schnapp--- info: fresh 1.4 and uptodate rsync (see above). regars.
Created attachment 4955 [details] list of installed packets Maybe my last posting wasn't explained good enough for quick reading and so it was ignored. emerge postgres fails, because it is installed into /var/tmp/portage/postgresql-7.2.3/image/ and not copied into / (even not compiled, I assume) This is a behavior which I sometimes notice when several packages are emerged, but they will be found at e.g. /usr in the end. postgres is not! I have done a lot emerge rsync for a couple of days and I am still waiting to get this fixed. Today I emerged -u system and world, but still the same. if the attachment thingy works you will find a pgklist encluded to this posting (my first try of attaching anything). greetings, Sascha
Sasha: If your big is still valid, please open a new bug report.