Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144001 - dev-perl/PerlQt-3.009_beta2 installs in ${D}/${D}
Summary: dev-perl/PerlQt-3.009_beta2 installs in ${D}/${D}
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 185528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-15 06:58 UTC by Christoph Budziszewski
Modified: 2008-01-05 15:55 UTC (History)
2 users (show)

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


Attachments
fixes problem with ${D}/${D} install (qa_fix.patch,1.74 KB, patch)
2006-09-06 15:22 UTC, Jörn Valentin
Details | Diff
log file (build.log,59.84 KB, text/plain)
2007-07-16 14:52 UTC, Andrew Gaydenko
Details
My build log (dev-perl:PerlQt-3.009_beta2:20080103-173802.log,51.29 KB, text/plain)
2008-01-03 18:22 UTC, Erik Zeek
Details
My build environment. (environment,175.09 KB, text/plain)
2008-01-03 18:23 UTC, Erik Zeek
Details
My emerge --info (emerge_info.txt,8.39 KB, text/plain)
2008-01-03 18:23 UTC, Erik Zeek
Details
DESTDIR support (PerlQt-3.009_beta2-destdir.patch,554 bytes, patch)
2008-01-05 15:54 UTC, Erik Zeek
Details | Diff
PerlQt-3.009_beta2.ebuild using DESTDIR (PerlQt-3.009_beta2.ebuild,1.64 KB, text/plain)
2008-01-05 15:55 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Budziszewski 2006-08-15 06:58:11 UTC
[..]
man:
gzipping man page: Qt.3pm
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/puic
   usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Qt/Qt.so
   usr/lib/libsmokeqt.so.1.2.2
removing executable bit: /usr/lib/libsmokeqt.la
QA Notice: // installed in ${D}/${D}
QA Notice: //usr installed in ${D}/${D}
QA Notice: //usr/man installed in ${D}/${D}
QA Notice: //usr/man/man1 installed in ${D}/${D}
QA Notice: //usr/man/man1/puic.1 installed in ${D}/${D}
QA Notice: //usr/include installed in ${D}/${D}
QA Notice: //usr/include/smoke.h installed in ${D}/${D}

!!! ERROR: dev-perl/PerlQt-3.009_beta2 failed.
Call stack:
  misc-functions.sh, line 407:   Called install_qa_check
  misc-functions.sh, line 180:   Called die

!!! Aborting due to QA concerns: 7 files installed in /tmp/portage/PerlQt-3.009_beta2/image///tmp/portage/PerlQt-3.009_beta2/image/
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! install_qa_check failed; exiting.

emerge --info
Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-hardened-r10-sharkbait i686)
=================================================================
System uname: 2.6.16-hardened-r10-sharkbait i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 15 Aug 2006 12:29:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=" -O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local /usr/local/portage-silbe /usr/local/portage-budzi /usr/local/portage-hanno-xgl /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cairo cli crypt cups divx dlloader dri dvd dvdr eds elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gd gdbm gif glitz gpm gstreamer gtk2 hal imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux ldap libcaca libg++ libwww linguas_de lirc lirc_devices_hauppauge lm_sensors mad mikmod mmx mp3 mpeg mysql nas ncurses nls nogcj nptl nptlonly objc ogg opengl pam pcre pda pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba scanner scsh sdl session smp spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis xface xinerama xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Hartmann (RETIRED) gentoo-dev 2006-08-15 22:37:13 UTC
Works for me. Reassigning to perl.
Comment 2 Jörn Valentin 2006-09-06 15:22:02 UTC
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}
Comment 3 Andrew Gaydenko 2006-11-21 13:34:08 UTC
The same error. Suggested patch works for me.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2007-01-21 20:28:38 UTC
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
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 13:45:58 UTC
Get back to us with the full build log, as requested. Cannot reproduce either.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-07-16 14:23:54 UTC
*** Bug 185528 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Gaydenko 2007-07-16 14:52:38 UTC
Created attachment 125028 [details]
log file

The log file (with MAKEOPTS="-j1") is attached).
Comment 8 Michael Schilling 2007-07-24 14:56:54 UTC
The suggested patch and change in the ebuild works for me too. Thanks a lot Jörn.
Comment 9 Erik Zeek 2008-01-03 18:21:57 UTC
I just hit this and the requested info has been supplied, so shouldn't it be reopened?
Comment 10 Erik Zeek 2008-01-03 18:22:43 UTC
Created attachment 139979 [details]
My build log
Comment 11 Erik Zeek 2008-01-03 18:23:08 UTC
Created attachment 139981 [details]
My build environment.
Comment 12 Erik Zeek 2008-01-03 18:23:29 UTC
Created attachment 139982 [details]
My emerge --info
Comment 13 Robert Bradbury 2008-01-04 15:14:49 UTC
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).
Comment 14 Erik Zeek 2008-01-05 15:54:36 UTC
Created attachment 140191 [details, diff]
DESTDIR support

This patch adds DESTDIR support to the custom install rule.
Comment 15 Erik Zeek 2008-01-05 15:55:54 UTC
Created attachment 140192 [details]
PerlQt-3.009_beta2.ebuild using DESTDIR