Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319713 - x11-libs/qt-gui-4.6.2-r1 - .obj/release-shared/versiondialog.o:1: syntax error
Summary: x11-libs/qt-gui-4.6.2-r1 - .obj/release-shared/versiondialog.o:1: syntax error
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 15:23 UTC by Andrea
Modified: 2010-07-04 00:32 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 Andrea 2010-05-14 15:23:02 UTC
Compiling this QT version, at this point I receive this message:

compiling .moc/release-shared/moc_appfontdialog.cpp
compiling .moc/release-shared/moc_preferencesdialog.cpp
compiling .moc/release-shared/moc_mainwindow.cpp
compiling .rcc/release-shared/qrc_designer.cpp
compiling .rcc/release-shared/qrc_qttoolbardialog.cpp
compiling ../../../shared/qttoolbardialog/qttoolbardialog.cpp
linking ../../../../bin/designer
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:.obj/release-shared/versiondialog.o: file format not recognized; treating as linke$
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:.obj/release-shared/versiondialog.o:1: syntax error
collect2: ld returned 1 exit status
make[2]: *** [../../../../bin/designer] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.6.2-r1/work/qt-everywhere-opensource-src-4.6.2/tools/designer/src/designer'
make[1]: *** [sub-designer-make_default-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-gui-4.6.2-r1/work/qt-everywhere-opensource-src-4.6.2/tools/designer/src'
make: *** [sub-src-make_default] Error 2
 ^[[31;01m*^[[0m ERROR: x11-libs/qt-gui-4.6.2-r1 failed:
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   48:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 3767:  Called qt4-build_src_compile
 ^[[31;01m*^[[0m   environment, line 3418:  Called build_directories 'src/gui' 'src/scripttools' 'tools/designer' 'tools/linguist/linguist' 'src/plugins/ima$
 ^[[31;01m*^[[0m   environment, line  669:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m           emake CC="@echo compiling \$< && $(tc-getCC)" CXX="@echo compiling \$< && $(tc-getCXX)" LINK="@echo linking \$@ && $(tc-getCXX)" $
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =x11-libs/qt-gui-4.6.2-r1',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =x11-libs/qt-gui-4.6.2-r1'.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/x11-libs/qt-gui-4.6.2-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-gui-4.6.2-r1/temp/environment'.
 ^[[31;01m*^[[0m S: '/var/tmp/portage/x11-libs/qt-gui-4.6.2-r1/work/qt-everywhere-opensource-src-4.6.2'


what appened? i try to delete temp files and rebuild without solution.

Reproducible: Always

Steps to Reproduce:
1. upgrade qt-4.6.2-r1
2.
3.




emerge --info                                                 
Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================                                       
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-1.12.13   
Timestamp of tree: Thu, 13 May 2010 23:00:01 +0000                                                      
ccache version 2.4 [enabled]                                                                            
app-shells/bash:     4.0_p37                                                                            
dev-java/java-config: 2.1.10                                                                            
dev-lang/python:     2.6.4-r1                                                                           
dev-util/ccache:     2.4-r7                                                                             
dev-util/cmake:      2.6.4-r3                                                                           
sys-apps/baselayout: 1.12.13                                                                            
sys-apps/sandbox:    2.2                                                                                
sys-devel/autoconf:  2.13, 2.65                                                                         
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                 
sys-devel/binutils:  2.18-r3                                                                            
sys-devel/gcc:       4.3.4                                                                              
sys-devel/gcc-config: 1.4.1                                                                             
sys-devel/libtool:   2.2.6b                                                                             
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium-m -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/pro-audio /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/armagetron"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa audiofile berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli consolekit cpudetection cracklib crypt cups cxx dbus dri dts dv dvd dvdr dvdread emboss encode exif fam flac foomatic foomaticdb fortran gdbm gif gimp gpm gtk hal i8x0 iconv innodb java java6 jpeg jpeg2k kde lcms ldap libnotify mad mikmod mmx mmxext mng mod_php modules mp3 mp4 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 quicktime raw readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff timidity truetype usb vorbis wifi win32codecs wmf x264 x86 xcb xine xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-14 15:30:25 UTC
Please attach the entire build log.
Comment 2 Rafał Mużyło 2010-05-14 16:28:27 UTC
Also, as a standard check for such errors, try -j1 and/or
purging ccache.
Comment 3 ngel 2010-06-19 08:33:33 UTC
Same problem. Compile with -j1 and purgin ccache.. don´t work. 
Plese fix it. 
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-06-19 09:27:40 UTC
Replace -O3 with -O2 on your CFLAGS and try again
Comment 5 ngel 2010-06-22 17:02:36 UTC
(In reply to comment #4)
> Replace -O3 with -O2 on your CFLAGS and try again
> 
Don´t compile.
And to qt-gui-4.6.3 is the same.
Comment 6 ngel 2010-06-22 17:05:58 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Replace -O3 with -O2 on your CFLAGS and try again
> > 
> Don´t compile.
> And to qt-gui-4.6.3 is the same.
> 

Sorry with qt-gui-4.6.3 is other bug. 
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2010-06-22 17:12:32 UTC
Weird. Are you sure it always fails in the same way?
Also, attach full build log and your 'emerge --info'.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-07-04 00:31:49 UTC
Please reopen when you have provided the requested info.