| Summary: | emerge mythtv-0.15.1.-r1 fails because of qt-embedded-3.3.2-r1 emerge problem | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | André Terpstra <andre> |
| Component: | New packages | Assignee: | Chris Bainbridge (RETIRED) <chrb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | media-tv, neil+gentoo |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | proposed patch for problem | ||
|
Description
André Terpstra
2004-07-06 01:04:29 UTC
The heart of the problem is this section at the bottom
of the src_compile() section of qt-embedded-3.3.2-r1.ebuild
(the same problem also exists in qt-embedded-3.3.2.ebuild...):
if use doc; then
cd ${S} && emake sub-tutorial || die "making tutorial"
LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" \
cd ${S} && emake sub-examples || die "making examples"
fi
The problem is that the LD_LIBRARY_PATH assignment is
not being done properly: it isn't making it to the
"make sub-examples" section. This is a fixed version:
if use doc; then
cd ${S} && emake sub-tutorial || die "making tutorial"
cd ${S} && \
LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" emake sub-examples \
|| die "making examples"
fi
As a work-around, you can remove "doc" from your USE variables
when emerging.
This bug is currently assigned to mythtv; it should probably go
to x11-libs or someone responsible for qt...
Created attachment 35205 [details, diff]
proposed patch for problem
A patch to qt-embedded-3.3.2-r1.ebuild
Do you want me to test this patch? If so, can you please briefly describe the patching procedure, including how to revert to any updated ebuild... If you want to test it for yourself the easiest way is probably to hand edit /usr/portage/x11-libs/qt-embedded/qt-embedded-3.3.2-r1.ebuild and modify the section show in comment one. Note: if you test this way then the patch will go away the next time you run "emerge sync". A longer term way is to use the PORTDIR_OVERLAY make.conf variable, and make a copy of the ebuild file in $PORTDIR_OVERLAY/x11-libs/qt-embedded. You will need to run ebuild qt-embededded-3.3.2-r1.ebuild digest first to regenerate the digest files if you go that way. Ok thx for the patch, it worked. I suppose I'll leave this bug open until the patch has been adopted by the developers. Thanks for the fix, I've added it to the build. |