Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112811 - [unstable keyword request] - qt-4
Summary: [unstable keyword request] - qt-4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
: 112958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-17 05:35 UTC by Caleb Tennis (RETIRED)
Modified: 2007-08-12 19:34 UTC (History)
2 users (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 Caleb Tennis (RETIRED) gentoo-dev 2005-11-17 05:35:47 UTC
After a few months of testing and playing, I'm finally moving qt-4 (4.0.1 in 
this case) to unstable (~x86).  This is a request for you to do the same, 
based on your ability to compile and whatever changes you may feel are 
necessary to support.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-11-17 06:48:05 UTC
are there any programms I can test this with? 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-11-17 07:30:50 UTC
Not yet - nobody has released anything using it yet.  But a lot of people are 
using it to build right now and it's been released long enough and in portage 
long enough that I think it's a good time to move to ~. 
 
Right now I'm just trying to make sure it compiles and installs fine itself on 
all of these platforms. 
 
There is a x11-libs/qwt version that uses it that I may slip into portage soon 
that makes use of this release.  I have a feeling that more packages are just 
around the corner. 
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-11-18 03:20:41 UTC
Well I started porting an app I am working on for my PhD to it. I am not sure 
if there are may be a few issues with the compatibility functions, but the qt4 
stuff seems to be working just fine here on my amd64 systems. Once it is a 
little more functional I could possibly add an ebuild for testing purposes as 
it is a qt4 app now. 
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2005-11-18 03:33:14 UTC
I had intended to add qttestlib to portage, which is Trolltech's unit test suite for Qt 4, but they merged it 
into Qt 4.1 so it's of little consequence to add right now, unfortunately.
Comment 5 Jason Wever (RETIRED) gentoo-dev 2005-11-18 20:04:21 UTC
Looks good on SPARC, keyword added.
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2005-11-19 03:38:24 UTC
~ppc64 keyword added
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2005-11-19 14:52:31 UTC
Marked ~ppc, feel free to CC us again if you have something else to test it with.
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2005-11-19 15:39:45 UTC
*** Bug 112958 has been marked as a duplicate of this bug. ***
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2006-01-04 06:07:15 UTC
I've moved Qt 4.1 (qt-4.1.0-r1) into ~x86, so I'm readding the arches that marked Qt 4.0 ~ to get them to test 4.1.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2006-01-04 06:08:29 UTC
readding arches for Qt 4.1.0 unstable testing.
Comment 11 Markus Rothe (RETIRED) gentoo-dev 2006-01-04 07:50:29 UTC
added ~ppc64
Comment 12 Luis Medinas (RETIRED) gentoo-dev 2006-01-04 10:29:58 UTC
amd64 keyworded
Comment 13 Fernando J. Pereda (RETIRED) gentoo-dev 2006-01-05 12:34:57 UTC
It does not compile here on alpha:

--- >8 ---
/var/tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/bin/moc -DQT_SHARED -DQT_EDITION=QT_EDITI
ON_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEE
NGINE -DQT_HAVE_FREETYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LA
RGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../in
clude -I../../include/QtGui -I../3rdparty/opentype -I/usr/include -I/usr/include/freetype2 -I.moc/re
lease-shared -I. inputmethod/qximinputcontext_p.h -o .moc/release-shared/moc_qximinputcontext_p.cpp
g++ -c -pipe -mieee -O2 -mcpu=ev56 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDI
TION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAG
EENGINE -DQT_HAVE_FREETYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_
LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../
include -I../../include/QtGui -I../3rdparty/opentype -I/usr/include -I/usr/include/freetype2 -I.moc/
release-shared -I. -o .obj/release-shared/moc_qximinputcontext_p.o .moc/release-shared/moc_qximinput
context_p.cpp
/var/tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/bin/rcc -name qstyle styles/qstyle.qrc -o
 qrc_qstyle.cpp
make[3]: *** [qrc_qstyle.cpp] Segmentation fault
make[3]: *** Deleting file `qrc_qstyle.cpp'
make[3]: Leaving directory `/var/tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/src/gui'
make[2]: *** [release-all] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/src/gui'
make[1]: *** [sub-gui-all-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-4.0.1/work/qt-x11-opensource-src-4.0.1/src'
make: *** [sub-src-all-ordered] Error 2
             
!!! ERROR: x11-libs/qt-4.0.1 failed.
!!! Function src_compile, Line 142, Exitcode 2
!!! (no error message)                                                                              
!!! If you need support, post the topmost build error, NOT this status message.                     
--- >8 ---

Somewhere in the proccess 'rcc' acceses unaligned memory:

--- >8 ---
rcc(11520): unaligned trap at 000000012003f7a8: 756f207865646e71 28 4
--- >8 ---

Even though that shouldn't be related to the rcc segfault, it might have something to do.

Just in case you need it, here is emerge --info:

--- >8 ---Portage 2.0.53 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14.2 alpha)
=================================================================
System uname: 2.6.14.2 alpha EV56
Gentoo Base System version 1.6.13
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2               
sys-apps/sandbox:    1.2.12                             
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.6-r1
sys-devel/binutils:  2.15.92.0.2-r10          
sys-devel/libtool:   1.5.20                 
virtual/os-headers:  2.6.8.1-r4                         
ACCEPT_KEYWORDS="alpha"                                
AUTOCLEAN="yes"                                        
CBUILD="alpha-unknown-linux-gnu"                        
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe -msmall-data -msmall-text"
CHOST="alpha-unknown-linux-gnu"                        
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"                                                 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"            
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe -msmall-data -msmall-text"
DISTDIR="/usr/portage/distfiles"                       
FEATURES="autoconfig distcc distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ ftp://gentoo.mirrors.pair.com"
MAKEOPTS="-j15"                                        
PKGDIR="/usr/portage/packages"         
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"                             
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X acl audiofile berkdb bitmap-fonts bzip2 crypt cups curl eds encode esd ethereal exif expat fam font-server foomaticdb fortran gd gdbm geoip gif glut gmp gnome gpm gstreamer gtk gtk2 idn imlib ipv6 jpeg lcms libg++ libwww lua mad mhash mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png python quicktime readline sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"                                
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
--- >8 ---

Ideas are welcome.

Cheers,
Ferdy
Comment 14 Jason Wever (RETIRED) gentoo-dev 2006-01-11 06:04:24 UTC
And on Wednesday there was a ~sparc keyword, and it was good.
Comment 15 Fernando J. Pereda (RETIRED) gentoo-dev 2006-01-11 12:02:21 UTC
It won't build on Alpha with -O2. It needs to set -O1. I haven't got time to nail this down, but some optimization between -O1 and -O2 is making rcc make an unaligned memory access and then the silly segfaults.

Cheers,
Ferdy
Comment 16 Joe Jezak (RETIRED) gentoo-dev 2006-01-18 11:28:32 UTC
Marked ~ppc.
Comment 17 Guy Martin (RETIRED) gentoo-dev 2006-06-05 04:20:11 UTC
4.1.3 stable on hppa.
Comment 18 Thomas Cort (RETIRED) gentoo-dev 2006-06-05 22:08:57 UTC
x11-libs/qt-4.1.3 fails to build on alpha...

g++ -c -pipe -mieee -pipe -O2 -mcpu=ev56 -Wall -W -D_REENTRANT -fPIC  -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/opentype -I.moc/release-shared -I/usr/include -I. -o .obj/release-shared/qtooltip.o kernel/qtooltip.cpp
make[3]: *** [.rcc/release-shared/qrc_qstyle.cpp] Segmentation fault
make[3]: *** Deleting file `.rcc/release-shared/qrc_qstyle.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-4.1.3/work/qt-x11-opensource-src-4.1.3/src/gui'

# emerge --info
Portage 2.1_rc1-r2 (default-linux/alpha/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14.2 alpha)
=================================================================
System uname: 2.6.14.2 alpha EV56
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X alsa apache2 arts berkdb bitmap-fonts cli crypt cups dri eds encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 19 Thomas Cort (RETIRED) gentoo-dev 2006-06-07 07:31:40 UTC
(In reply to comment #18)
> x11-libs/qt-4.1.3 fails to build on alpha...

Alpha team, I added 'qt4' to profiles/default-linux/alpha/use.mask for Bug #128411. When qt4 is keyworded, remember to unmask the qt4 USE flag.
Comment 20 Bryan Østergaard (RETIRED) gentoo-dev 2006-11-25 10:34:22 UTC
Alpha done.
Comment 21 Stefan Schweizer (RETIRED) gentoo-dev 2007-03-01 12:03:30 UTC
ppc-macos uses the prefix overlay
Comment 22 Caleb Tennis (RETIRED) gentoo-dev 2007-08-12 19:34:12 UTC
I'm closing this bug.  If and when mips wants to look into qt 4, then that is their decision.