Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127525 - net-im/licq-1.3.2-r1 failed - installed in ${D}/${D} when PORTAGE_TMPDIR != /var/tmp
Summary: net-im/licq-1.3.2-r1 failed - installed in ${D}/${D} when PORTAGE_TMPDIR != /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 138910 (view as bug list)
Depends on:
Blocks: 140711
  Show dependency tree
 
Reported: 2006-03-25 05:53 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2006-08-14 08:34 UTC (History)
6 users (show)

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


Attachments
licq-ebuild-qa-fix.diff (licq-ebuild-qa-fix.diff,336 bytes, patch)
2006-03-25 05:54 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-03-25 05:53:24 UTC
Hi,

today revdep-rebuild decided to recompile my installation of licq-1.3.2-r1. After compilation had finished portage errored out with the following message:

QA Notice: // installed in ${D}/${D}
QA Notice: //usr installed in ${D}/${D}
QA Notice: //usr/share installed in ${D}/${D}
QA Notice: //usr/share/licq installed in ${D}/${D}
QA Notice: //usr/share/licq/qt-gui installed in ${D}/${D}
QA Notice: //usr/share/licq/qt-gui/locale installed in ${D}/${D}

!!! ERROR: net-im/licq-1.3.2-r1 failed.
Call stack:
  misc-functions.sh, line 469:   Called install_qa_check

!!! Aborting due to QA concerns: 6 files installed in /home/portage/tmp/portage/licq-1.3.2-r1/image///home/portage/tmp/portage/licq-1.3.2-r1/image/
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! install_qa_check failed; exiting.


I had a peek into licq-1.3.2-r1.ebuild and found the lines

        # fixes bug #22136
        rm -fR ${D}/var

So this problem had already been reported as bug #22136 but the solution doesn't work if PORTAGE_TMPDIR is set to anything else than /var/... as mine is.
I tweaked the ebuild a little bit to get all these unnecessary files/dirs deleted. I'll attach a diff of the ebuild to show what I did.

# emerge --info
Portage 2.1_pre6-r7 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15.5 i686)
=================================================================
System uname: 2.6.15.5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mtune=pentium4 -O3 -pipe -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr cli crypt ctype cups dba dri dvd dvdr dvdread eds emboss encode expat fam fastbuild flac foomaticdb force-cgi-redirect ftp gd gdbm gif gstreamer gtk gtk2 imlib jpeg kde libwww mad memlimit mikmod mmx mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png pnp posix python qt quicktime readline samba sdl session simplexml slang smime soap sockets spell spl sse ssl svg tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xml xml2 xmms xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-03-25 05:54:48 UTC
Created attachment 83083 [details, diff]
licq-ebuild-qa-fix.diff

I know this is no "clean" solution but I needed a quick fix and this was the first that came to my mind and also worked ;)

Cheers
Polynomial-C
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-03-25 13:35:09 UTC
> grep -i "rm \-fR" /usr/portage/net-im/licq/licq-*.ebuild
/usr/portage/net-im/licq/licq-1.2.7.ebuild:     rm -fR ${D}/var
/usr/portage/net-im/licq/licq-1.3.0.ebuild:     rm -fR ${D}/var
/usr/portage/net-im/licq/licq-1.3.2.ebuild:     rm -fR ${D}/var
/usr/portage/net-im/licq/licq-1.3.2-r1.ebuild:  rm -fR ${D}/var

This doesn't apply to licq-1.3.2-r1 but to all versions which are currently in portage. So I would suggest to remove the versionstring from the summary...

Cheers
Polynomial-C
Comment 3 Andrew Gaydenko 2006-06-28 03:59:51 UTC
The same "QA Notice" and "Aborting due to QA concerns" at synced ~x86.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 14:21:33 UTC
*** Bug 138910 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 14:26:37 UTC
Ping! About time to fix this?
Comment 6 Eddward 2006-07-04 21:45:17 UTC
Any chance the rm could be changedto something like:

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

Please?
Comment 7 Sebastian Krämer 2006-08-14 08:07:31 UTC
(In reply to comment #1)
> Created an attachment (id=83083) [edit]
> licq-ebuild-qa-fix.diff
> 
> I know this is no "clean" solution but I needed a quick fix and this was the
> first that came to my mind and also worked ;)

Thanks, manually applying that line to 1.3.2-r1 helped me out too!

Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-14 08:34:23 UTC
thanks I applied the patch to all current ebuilds