Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231469 - qt4.eclass: line 137: qt3support: command not found
Summary: qt4.eclass: line 137: qt3support: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 23:04 UTC by Jeroen Roovers (RETIRED)
Modified: 2008-07-11 21:15 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 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-10 23:04:49 UTC
While testing a new psi ebuild, I found this:

 * psi-0.12-RC2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
 * checking ebuild checksums ;-) ...                                           [ ok ]
 * checking auxfile checksums ;-) ...                                          [ ok ]
 * checking miscfile checksums ;-) ...                                         [ ok ]
 * checking psi-0.12-RC2.tar.bz2 ;-) ...                                       [ ok ]
/keeps/gentoo/cvs/gentoo-x86/eclass/qt4.eclass: line 137: qt3support: command not found
/keeps/gentoo/cvs/gentoo-x86/eclass/qt4.eclass: line 138: qt3support: command not fou
nd
/keeps/gentoo/cvs/gentoo-x86/eclass/qt4.eclass: line 137: png: command not found
/keeps/gentoo/cvs/gentoo-x86/eclass/qt4.eclass: line 138: png: command not found
>>> Unpacking source...

Apparently the offending lines should be changed to something like this:

Index: qt4.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/qt4.eclass,v
retrieving revision 1.42
diff -u -B -r1.42 qt4.eclass
--- qt4.eclass  8 Jul 2008 16:02:03 -0000       1.42
+++ qt4.eclass  10 Jul 2008 23:03:46 -0000
@@ -134,8 +134,8 @@
                                ;;
                esac
                else
-                       ${x} == guiaccessibility && x=${x#gui}
-                       ${x} == qt3accessibility && x=${x#qt3}
+                       [[ ${x} == guiaccessibility ]] && x=${x#gui}
+                       [[ ${x} == qt3accessibility ]] && x=${x#qt3}
                        if ! built_with_use =x11-libs/qt-4* ${x}; then
                                requiredflags="${requiredflags} ${x}"
                        fi
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-07-11 21:15:41 UTC
Fixed in CVS!