Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231435 - dev-perl/PerlQt-3.009_beta2 compiles but does not install
Summary: dev-perl/PerlQt-3.009_beta2 compiles but does not install
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 18:45 UTC by Paul Hartman
Modified: 2010-06-03 07:22 UTC (History)
0 users

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


Attachments
patch to ebuild (PerlQt-3.009_beta2.diff,461 bytes, patch)
2008-11-12 05:13 UTC, Paul Hartman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Hartman 2008-07-10 18:45:02 UTC
Emerge of dev-perl/PerlQt-3.009_beta2 fails at installation step.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-perl/PerlQt-3.009_beta2
2.
3.

Actual Results:  
>>> Completed installing PerlQt-3.009_beta2 into /dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/puic
   usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/Qt/Qt.so
   usr/lib64/libsmokeqt.so.1.2.2
ecompressdir: bzip2 -9 /dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image/usr/man
ecompressdir: bzip2 -9 /usr/share/man
 * 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.bz2 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 653:  Called install_qa_check
 *       misc-functions.sh, line 236:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: ${INSTALLTOD} files installed in ${D}/${D}"
 *  The die message:
 *   Aborting due to QA concerns: 7 files installed in /dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image///dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image/
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/dev/shm/portage/dev-perl/PerlQt-3.009_beta2/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-perl/PerlQt-3.009_beta2/temp/environment'.
 *
!!! install_qa_check failed; exiting.



emerge --info:

WARNING: repository at /usr/portage/local/layman/je_fro is missing a repo_name entry
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 10 Jul 2008 14:03:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/nx /usr/portage/local/layman/sunrise /usr/portage/local/layman/je_fro /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi aim alsa amd64 arts audiofile avi berkdb bluetooth branding bzip2 cairo captury cdparanoia cdr cli codecs cracklib crypt cups curl curlwrappers dbus device-mapper dri dvb dvd dvdr dvdread emboss encode ethereal evo exif fam flac flash fortran ftp gd gdbm gif glitz gphoto2 gpm gtk gtk2 h264 hal iconv ieee1394 imagemagick imap imlib innodb ipv6 isdnlog java joystick jpeg kde kdehiddenvisibility ldap libnotify lm_sensors mad madwifi midi mikmod mime mmx mng mp3 mpeg msn mudflap multilib ncurses network networkmanager nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openexr opengl openmp oscar pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 readline reflection samba scanner sdl session slang sndfile spell spl sse sse2 ssl ssse3 startup-notification svg tcpd tidy tiff truetype unicode usb v4l videos vorbis wmf x264 xcomposite xml xorg xpm xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paul Hartman 2008-07-15 20:24:56 UTC
I accidentally forgot the important part at the very end of the make:

mv: cannot move `/dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image///dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image//usr' to `/dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image/usr': Directory not empty
>>> Completed installing PerlQt-3.009_beta2 into /dev/shm/portage/dev-perl/PerlQt-3.009_beta2/image/

Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2008-07-19 12:16:45 UTC
can you offer a proposed patch to the ebuild to fix this?
Comment 3 Paul Hartman 2008-07-20 01:40:59 UTC
(In reply to comment #2)
> can you offer a proposed patch to the ebuild to fix this?

Sorry, I tried to figure it out but I don't understand ebuilds enough to be able to tell what is going on in the script.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2008-11-11 15:04:07 UTC
goign to call this one old and unsupported. reopen with a patch if you can generate one and I'll apply it.
Comment 5 Paul Hartman 2008-11-12 05:13:11 UTC
Created attachment 171502 [details, diff]
patch to ebuild
Comment 6 Paul Hartman 2008-11-12 05:16:15 UTC
After taking a fresh look at it, I've made progress.

I don't know what "ebuild magic" is happening, but I've determined that the problem is this line:

rm -rf {$D}/var

it appears to fail if PORTAGE_TMPDIR isn't in /var/[something] -- which, in my case, PORTAGE_TMPDIR is /dev/shm

I changed it to:

rm -rf {$D}/{$PORTAGE_TMPDIR}

and now the ebuild installs fine for me. I don't know if this is proper ebuild etiquette or will cause problems in some other way, since I must again stress I don't know anything about ebuilds, but as I said it worked for me (tm). :) Please take a look at see if it's okay.

A diff is attached.
Comment 7 Paul Hartman 2008-11-12 23:29:26 UTC
I think you may also consider slotting the kdelibs dependency so that it doesn't try to build kdelibs-4.xx on a kde-3.5 system (like it does now)
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2010-06-03 07:22:07 UTC
Already treecleaned