Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253807 - x11-libs/qt-3.3.8-r4 cannot be ecopied correctly
Summary: x11-libs/qt-3.3.8-r4 cannot be ecopied correctly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 252451
  Show dependency tree
 
Reported: 2009-01-05 07:44 UTC by Galaxy
Modified: 2009-06-30 19:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Galaxy 2009-01-05 07:44:52 UTC
It can run though the emerge, but since "QTBASE=/usr/qt/3" is set in the ebuild, all configure files just point to that place.

Reproducible: Always

Steps to Reproduce:
1. ecopy =x11-libs/qt-3.3.8-r4
2.emerge =x11-libs/qt-3.3.8-r4
3.build any source that requare Qt3 ( eg. kde-base/kdelibs-3.5.10-r2 ).

Actual Results:  
You may failed in ./configure or later.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-06 15:58:43 UTC
ok, so what is the fix? just change QTBASE, or..?
Comment 2 Galaxy 2009-01-07 01:15:44 UTC
I read the ebuild of qt-4, which is in the portage tree, and find no path in. So maybe it should be done this way.
But I am still a bit confused on {ED} and {EROOT}, so I didn't run some test yet.
Comment 3 Galaxy 2009-01-07 02:00:16 UTC
I just make a test and find "QTBASE={EROOT}/usr/qt/3" will make the files to install to /home/galaxy/gentoo/\{EROOT\}/usr/qt/3 .
And during the compiling, it just use freetype2 headeds from the real root of the system.

So , how should I change QTBASE ?
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-07 04:36:03 UTC
Not sure offhand. ecopy is simply a best effort script, it is of not much use to us to know that a package cannot be ecopy'd correctly.

It would be: ${EROOT} not {EROOT}
QTBASE=${EROOT}/usr/qt/3

Have you read http://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml which explains things quite well IMO.
Comment 5 Galaxy 2009-01-07 05:36:56 UTC
I read that webpage. And find some knowledge on ebuild itself is required to do the transform.

Just like {EROOT} lead to '/home/galaxy/gentoo/\{EROOT\}/usr/qt/3' , 
${EROOT} leads to 'home/galaxy/gentoo///home/galaxy/gentoo/usr/qt/3' . ( I don't know why starts without '/' )

So, other function must also be edited to specify the install path.
Comment 6 Fabian Groffen gentoo-dev 2009-01-18 12:04:59 UTC
ecopy is just a little best-effort helper, manual checking its results is always necessary.
Comment 7 Galaxy 2009-02-02 11:28:24 UTC
Sorry for a long delay. Why this is "RESOLVED" ?
A patch is needed to setup this package with portage.
Comment 8 Fabian Groffen gentoo-dev 2009-02-02 11:33:11 UTC
bug was about ecopy.

Change the description accordingly and provide info on what exactly where needs to be fixed.
Comment 9 Fabian Groffen gentoo-dev 2009-06-30 19:12:00 UTC
QT-3 is a no-go, sorry