Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128528 - recognize *-linux CHOST without -gnu in qt.ebuild files
Summary: recognize *-linux CHOST without -gnu in qt.ebuild files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 08:41 UTC by Olaf Hering
Modified: 2006-04-13 05:02 UTC (History)
1 user (show)

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 Olaf Hering 2006-04-02 08:41:53 UTC
A host triple ${arch}-${something}-linux is valid. But a recent change to qt-3.3.5.ebuild broke the CHOST detection for 'powerpc64-olh970-linux'.

http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-libs/qt/qt-3.3.5.ebuild?r1=1.5&r2=1.6

this patch fixes it for me:

--- qt-3.3.6.ebuild     2006-04-01 03:41:58.000000000 +0000
+++ qt-3.3.6-r1.ebuild  2006-04-02 15:40:24.000000000 +0000
@@ -83,7 +83,7 @@
                        PLATNAME="netbsd" ;;
                *-darwin*)
                        PLATNAME="darwin" ;;
-               *-linux-*)
+               *-linux-*|*-linux)
                        PLATNAME="linux" ;;
                *)
                        die "Unknown CHOST, no platform choosed."
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 09:03:10 UTC
Are you sure that CHOST definition is valid? All the CHOST checks for linux waits for the fourth part, that's -gnu for glibc and -uclibc for uclibc based systems...
Comment 2 Olaf Hering 2006-04-02 09:31:26 UTC
I'm not 100% sure, but I do know that all major distros have arch-vendor-linux since forever.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 10:16:02 UTC
No they don't, they use arch-vendor-linux-gnu, and for what Gentoo is concerned, only 4-parts CHOST are supported.
Comment 4 Olaf Hering 2006-04-02 10:23:50 UTC
ppc64-yellowdog-linux , powerpc64-suse-linux.
they certainly do.
reassign it to the docu or whatever team to make the comments in make.conf more than clear about the chost content.
Comment 5 Olaf Hering 2006-04-09 07:47:41 UTC
so how exactly is this ppc64 specific?

i386-redhat-linux , i486-linux-gnu (on some debian box)

someone has to reassign it back to qt@gentoo.org
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-04-13 05:02:22 UTC
ok, I added this change to qt-3.3.6