Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109983

Summary: error while emerging x11-libs/qt-3.3.4-r8
Product: Gentoo/Alt Reporter: wbaudler
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description wbaudler 2005-10-20 19:13:20 UTC
emerge qt-3.3.4-r8 fails with this error:

/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/bin/uic -L
/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins about.ui -o
about.h
/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/bin/uic -L
/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins
pixmapfunction.ui -o pixmapfunction.h
/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/bin/uic -L
/private/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/plugins
createtemplate.ui -o createtemplate.h
make[3]: *** [createtemplate.h] Segmentation fault
make[3]: *** Deleting file `createtemplate.h'
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [pixmapfunction.h] Segmentation fault
make[3]: *** Deleting file `pixmapfunction.h'
make[2]: *** [sub-designer] Error 2
make[1]: *** [sub-designer] Error 2
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.3.4-r8 failed.
!!! Function src_compile, Line 178, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
I had CFLAGS set with -O2. 

Removing the the -O2 optimization flag in make.conf allowed me to compile
successfully. Using -O1 leads to the same error.


Expected Results:  
emerge cleanly with -O2 optimization

!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.53_rc6 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0,
8.2.0 Power Macintosh)
=================================================================
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-pipe"
CHOST="powerpc-apple-darwin8"
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="-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X emboss motif opengl png ppc-macos xv userland_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2005-10-22 09:45:33 UTC
have you got the latest Xcode (2.1) installed?
Comment 2 Fabian Groffen gentoo-dev 2005-10-22 10:13:53 UTC
in bug #63440 the same problem (with segfault) appears and was solved by using
the latest Xcode.

*** This bug has been marked as a duplicate of 63440 ***