Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94338 - QT-3.3.4-r4 terminates compile, PLATFORM=nosupported-g++
Summary: QT-3.3.4-r4 terminates compile, PLATFORM=nosupported-g++
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 18:22 UTC by Jerry McBride
Modified: 2005-06-19 16:19 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 Jerry McBride 2005-05-28 18:22:45 UTC
I went to emerge qt-3.3.4-r4 tonight and the compile terminated with this
relevent message on console:


QA Notice: USE Flag 'kernel_linux' not in IUSE for x11-libs/qt-3.3.4-r4
QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for x11-libs/qt-3.3.4-r4
QA Notice: USE Flag 'kernel_Darwin' not in IUSE for x11-libs/qt-3.3.4-r4
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.3.4.tar.bz2 to /var/tmp/portage/qt-3.3.4-r4/work
 * Applying qt-3.3.4-qclipboard-hack.patch ...                                 
                                     [ ok ]
 * Applying qt-3.3.4-flickerfree_qiconview_buffered.patch ...                  
                                     [ ok ]
 * Applying qt-3.3.4-flickerfree_qscrollview_fixwindowactivate.patch ...       
                                     [ ok ]
 * Applying 0001-dnd_optimization.patch ...                                    
                                     [ ok ]
 * Applying 0002-dnd_active_window_fix.patch ...                               
                                     [ ok ]
 * Applying 0037-dnd-timestamp-fix.patch ...                                   
                                     [ ok ]
 * Applying 0038-dragobject-dont-prefer-unknown.patch ...                      
                                     [ ok ]
 * Applying qt-3.3.4-0051-qtoolbar_77047.patch ...                             
                                     [ ok ]
 * Applying qt-3.3.4-0047-fix-kmenu-widget.diff ...                            
                                     [ ok ]
/usr/portage/x11-libs/qt/qt-3.3.4-r4.ebuild: line 115: cd:
mkspecs/notsupported-g++: No such file or directory
sed: can't read qmake.conf: No such file or directory

!!! ERROR: x11-libs/qt-3.3.4-r4 failed.
!!! Function src_unpack, Line 121, Exitcode 2
!!! (no error message)


Looking through the ebuild file, I set that pkg_setup is much different from
qt-3.3.4-r3. The qt-3.3.4-r3 compile cleanly on this system.

It would appear that the qt-3.3.4-r4 ebuild isn't able to properly pickup what
platform it's compiling for... Altering the first appearence of
"PLATNAME=notsupported" to "PLATNAME=linux" allows qt-3.3.4-r4 to compile cleanly.


Reproducible: Always
Steps to Reproduce:
1. emerge qt
2. emerge bails out with:


QA Notice: USE Flag 'kernel_linux' not in IUSE for x11-libs/qt-3.3.4-r4
QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for x11-libs/qt-3.3.4-r4
QA Notice: USE Flag 'kernel_Darwin' not in IUSE for x11-libs/qt-3.3.4-r4
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.3.4.tar.bz2 to /var/tmp/portage/qt-3.3.4-r4/work
 * Applying qt-3.3.4-qclipboard-hack.patch ...                                 
                                     [ ok ]
 * Applying qt-3.3.4-flickerfree_qiconview_buffered.patch ...                  
                                     [ ok ]
 * Applying qt-3.3.4-flickerfree_qscrollview_fixwindowactivate.patch ...       
                                     [ ok ]
 * Applying 0001-dnd_optimization.patch ...                                    
                                     [ ok ]
 * Applying 0002-dnd_active_window_fix.patch ...                               
                                     [ ok ]
 * Applying 0037-dnd-timestamp-fix.patch ...                                   
                                     [ ok ]
 * Applying 0038-dragobject-dont-prefer-unknown.patch ...                      
                                     [ ok ]
 * Applying qt-3.3.4-0051-qtoolbar_77047.patch ...                             
                                     [ ok ]
 * Applying qt-3.3.4-0047-fix-kmenu-widget.diff ...                            
                                     [ ok ]
/usr/portage/x11-libs/qt/qt-3.3.4-r4.ebuild: line 115: cd:
mkspecs/notsupported-g++: No such file or directory
sed: can't read qmake.conf: No such file or directory

!!! ERROR: x11-libs/qt-3.3.4-r4 failed.
!!! Function src_unpack, Line 121, Exitcode 2
!!! (no error message)


Actual Results:  
Emerge qt fails....

Expected Results:  
Emerge qt should have succeded.

Compliation goes along normally AFTER I hand edit qt-3.3.4-r4 and change
"PLATNAME=notsupported" to "PLATNAME=linux"... PLATFORM is then correctly setup
for proper compilation.

Where does PLATNAME get set in the gentoo system?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-28 20:55:39 UTC
Seems a bit too multiplatform now... 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-29 03:06:05 UTC
Please paste your emerge info. 
 
Comment 3 Jerry McBride 2005-05-29 09:51:12 UTC
Sorry... emerge --info follows....


Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-ck8-r1 i686)
=================================================================
System uname: 2.6.11-ck8-r1 i686 AMD Athlon(tm) XP 2800+
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig ccache digest fixpackages nosandbox sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aac aalib acpi acpi4linux alsa apache2 arts
artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo
bzlib cdparanoia cdr cdrom clamav codecs crypt css cups curl dga directfb
divx4linux dlloader dnd dv dvd dvdr dvdread emboss encode escreen esd ext-png
ext-zlib faac faad fam fbcon ffmpeg flac fontserver foomaticdb freetype fs gd
gdbm gif gpm gs gtk gtk2 gtkhtml guile imagemagick imlib imlib2 ipv6 jabber java
javascript jikes jpeg jpeg2k junit kde lcms libg++ libwww lzo mad mikmod mime
mmap mmx motif mp3 mpeg mpeg4 mplayer mysql nas ncurses network no-old-linux
no-opts nptl nptlonly ogg oggvorbis opengl openssh oss pam pcre pdflib perl pic
pie png ppds psyco python qt quicktime readline rtc samba sdl server slang
sockets sox spell sse ssl svga tcltk tcpd theora threads tiff transcode truetype
truetype-fonts type1 type1-fonts usb v4l v4l2 video_cards_matrox vidix vnc
vorbis xine xml xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-29 11:17:36 UTC
Did you use some variable to overrides default for emerge? For example 
USE="-*" ? 
Or something in package.use ? 
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-06-19 16:19:44 UTC
Please reopen if it's still an issue and you can provide more information.