Summary: | dev-perl/PerlQt-3.009_beta2 installs in ${D}/${D} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christoph Budziszewski <gentoobugs> |
Component: | New packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | gentoo2, zeekec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fixes problem with ${D}/${D} install
log file My build log My build environment. My emerge --info DESTDIR support PerlQt-3.009_beta2.ebuild using DESTDIR |
Description
Christoph Budziszewski
2006-08-15 06:58:11 UTC
Works for me. Reassigning to perl. Created attachment 96219 [details, diff]
fixes problem with ${D}/${D} install
this patch removes the need to move th manpage and headerfile to the right place
the removed lines in src_compile() fail if the PORTAGE_TMPDIR does not start with /var
--- /usr/portage/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild 2006-08-05 22:05:49.000000000 +0200
+++ /usr/local/portage/dev-perl/PerlQt/PerlQt-3.009_beta2.ebuild 2006-09-07 00:00:07.000000000 +0200
@@ -34,6 +34,7 @@
#cp Makefile.PL.in Makefile.PL.in.orig
#perl -pi -e "s#WriteMakefile\(#WriteMakefile\(\n'PREFIX' => '${D}/usr',\n#" Makefile.PL.in
cd ${S}
+ epatch ${FILESDIR}/qa_fix.patch
}
src_compile() {
@@ -50,8 +51,6 @@
make PREFIX=/usr DESTDIR=${D} install || die
mkdir -p ${D}/usr/share/doc/${P}/tutorials
cp -r ${S}/PerlQt/tutorials/* ${D}/usr/share/doc/${P}/tutorials
- mv ${D}/${D}/usr ${D}/
- rm -rf ${D}/var
for file in `find ${D}/usr/share/doc/${P}/tutorials/*/*.pl`;do
perl -pi -e "s/use blib;/#use blib;/" ${file}
The same error. Suggested patch works for me. Please post your emerge log, because i cannot dup this at all (installs perfectly fine over here). when you disabled distcc, did you mean to leave a -j5 in make opts? that's only going to cause problems Get back to us with the full build log, as requested. Cannot reproduce either. *** Bug 185528 has been marked as a duplicate of this bug. *** Created attachment 125028 [details]
log file
The log file (with MAKEOPTS="-j1") is attached).
The suggested patch and change in the ebuild works for me too. Thanks a lot Jörn. I just hit this and the requested info has been supplied, so shouldn't it be reopened? Created attachment 139979 [details]
My build log
Created attachment 139981 [details]
My build environment.
Created attachment 139982 [details]
My emerge --info
I can confirm that when I changed PORTAGE_TMPDIR in /etc/make.conf back from /root2/var/tmp (which is a faster drive on my system) to /var/tmp the default ebuild seemed to work. The default ebuild for the package should be fixed so it doesn't require that one do this (or apply the patch). Created attachment 140191 [details, diff]
DESTDIR support
This patch adds DESTDIR support to the custom install rule.
Created attachment 140192 [details]
PerlQt-3.009_beta2.ebuild using DESTDIR
|