Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132162 - x11-libs/dnd-1.1-r1 emerge fails - installed in ${D}/${D}
Summary: x11-libs/dnd-1.1-r1 emerge fails - installed in ${D}/${D}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 135369 (view as bug list)
Depends on: 139839
Blocks:
  Show dependency tree
 
Reported: 2006-05-03 12:47 UTC by Håvard Wall
Modified: 2006-07-10 00:34 UTC (History)
3 users (show)

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


Attachments
dnd-1.1-r1.ebuild (dnd-1.1-r1.ebuild,909 bytes, text/plain)
2006-05-03 12:53 UTC, Håvard Wall
Details
Makefile-fix.patch (Makefile-fix.patch,1.11 KB, patch)
2006-05-04 00:46 UTC, Håvard Wall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Håvard Wall 2006-05-03 12:47:44 UTC
>>> Completed installing dnd-1.1-r1 into /var/tmp/portage/dnd-1.1-r1/image/

man:
strip: i686-pc-linux-gnu-strip --strip-unneeded
QA Notice: // installed in ${D}/${D}
QA Notice: //usr installed in ${D}/${D}
QA Notice: //usr/lib installed in ${D}/${D}
QA Notice: //usr/lib/libDnd++.a installed in ${D}/${D}
QA Notice: //usr/lib/libDnd.a installed in ${D}/${D}

!!! ERROR: x11-libs/dnd-1.1-r1 failed.
Call stack:
  misc-functions.sh, line 413:   Called install_qa_check
  misc-functions.sh, line 184:   Called die

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

!!! install_qa_check failed; exiting.
e
Comment 1 Håvard Wall 2006-05-03 12:53:01 UTC
Created attachment 86087 [details]
dnd-1.1-r1.ebuild

Removed the unnecessary src_install which cased the QA failure.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-05-03 14:23:20 UTC
(In reply to comment #1)
> Removed the unnecessary src_install which cased the QA failure.

Sure, then it doesn't cause QA failures, because then it doesn't install anything at all. Clearly not what's intended.
Comment 3 Håvard Wall 2006-05-04 00:46:08 UTC
Created attachment 86127 [details, diff]
Makefile-fix.patch

Trust me: I'm embarrassed! (somehow my brain wanted to believe there was a default src_install() function, which I really do doesn't exist). Mye apologies, and I hope to die of shame soon.

Anyway: this is an update of the Makefile-fix.patch. The original dnd ebuild did
make DESTDIR="${D}" prefix="${D}"/usr install || die
but if you look at the generated Makefile, 'prefix' is hardcoded to "/usr".

The existing Makefile-fix.patch already fixed the same issue for LIB_DIR used in the installation. This patch applies the same fix for INC_DIR.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2006-05-04 09:19:02 UTC
(In reply to comment #3)
> Created an attachment (id=86127) [edit]
> Makefile-fix.patch

Looks sane to me, and actually makes it install properly, so added, thanks.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-03 14:02:30 UTC
*** Bug 135369 has been marked as a duplicate of this bug. ***