Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224091 - dev-ruby/qt4-qtruby plus x11-libs/qwt - problem with QwtPlotMagnifier missing parent at ...
Summary: dev-ruby/qt4-qtruby plus x11-libs/qwt - problem with QwtPlotMagnifier missing...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 224951
  Show dependency tree
 
Reported: 2008-05-29 13:24 UTC by Franz Trischberger
Modified: 2009-12-06 13:57 UTC (History)
9 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 Franz Trischberger 2008-05-29 13:24:52 UTC
Since quite some time i can't compile qt4-qtruby, when qwt is installed.
There is a bugreport in bugs.kde.org, which got closed as "it can't be reproduced".

For curiosity the errormessage changed since my last attempt from about 1/2 year ago with qwt-5.0.x.
Today i got (with qwt-5.1.0):

**********
problem with QwtPlotMagnifier missing parent at /var/tmp/portage/dev-ruby/qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/kalyptus/kalyptusCxxToSmoke.pm line 2301.    
make[2]: *** [smoke/qt/smokedata.cpp] Error 25                                                                                                                   
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2                                                                                                       
make[1]: *** Waiting for unfinished jobs....                                                                                                                     
**********

As qwt is a fix dependency (though the lib is detected during compilation) I can't get qt4-qtruby without putting it in my local overlay (again).

Is there someone having the same issues?

I'm using x11-libs/qt-4.4.0::gentoo, but it failed with 4.3.x, too.

Reproducible: Always




emerge --info:
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 x86_64)
=================================================================                                       
System uname: 2.6.24-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+                                 
Timestamp of tree: Thu, 29 May 2008 05:45:01 +0000                                                      
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                    
ccache version 2.4 [disabled]                                                                           
app-shells/bash:     3.2_p33                                                                            
dev-java/java-config: 1.3.7, 2.1.6                                                                      
dev-lang/python:     2.5.2-r4                                                                           
dev-python/pycrypto: 2.0.1-r6                                                                           
!!! Invalid db entry: /var/db/pkg/dev-util/kdevelop-scm                                                 
dev-util/ccache:     2.4-r7                                                                             
!!! Invalid db entry: /var/db/pkg/dev-util/kdevelop-scm                                                 
sys-apps/baselayout: 1.12.11.1                                                                          
sys-apps/sandbox:    1.2.18.1-r2                                                                        
sys-devel/autoconf:  2.13, 2.61-r1                                                                      
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                       
sys-devel/binutils:  2.18-r1                                                                            
sys-devel/gcc-config: 1.4.0-r4                                                                          
sys-devel/libtool:   1.5.26                                                                             
virtual/os-headers:  2.6.23-r3                                                                          
ACCEPT_KEYWORDS="amd64"                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                            
CFLAGS="-march=k8 -O2 -pipe -msse3"                                                                     
CHOST="x86_64-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                                                         
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                             
CXXFLAGS="-march=k8 -O2 -pipe -msse3"                                                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                                                                 
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"                    
GENTOO_MIRRORS=" ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"                                                                                                                                                      
LANG="de_DE.utf8"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/initng /usr/local/portage/layman/portato /usr/local/portage/layman/kde /usr/local/portage /usr/local/overlays/qt"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cscope cups dbus dri dvb dvd dvdr dvdread emboss encode evo exceptions exif exiv2 fam fbcon ffmpeg flac flash fortran gdbm gif ginac glitz gphoto2 gpm hal iconv imagemagick ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility kerberos kipi lcms libnotify lm_sensors mad midi mikmod mmx mmxext mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia odbc ogg openal openexr opengl openmp pam pcre pdf perl png ppds pppd python qt-copy qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg tcpd tetex theora threads tiff truetype unicode usb vcd vorbis x264 xcomposite xine xml xml2xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflatedir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSPortage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 x86_64)
=================================================================                                       
System uname: 2.6.24-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+                                 
Timestamp of tree: Thu, 29 May 2008 05:45:01 +0000                                                      
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]                    
ccache version 2.4 [disabled]                                                                           
app-shells/bash:     3.2_p33                                                                            
dev-java/java-config: 1.3.7, 2.1.6                                                                      
dev-lang/python:     2.5.2-r4                                                                           
dev-python/pycrypto: 2.0.1-r6                                                                           
!!! Invalid db entry: /var/db/pkg/dev-util/kdevelop-scm                                                 
dev-util/ccache:     2.4-r7                                                                             
!!! Invalid db entry: /var/db/pkg/dev-util/kdevelop-scm                                                 
sys-apps/baselayout: 1.12.11.1                                                                          
sys-apps/sandbox:    1.2.18.1-r2                                                                        
sys-devel/autoconf:  2.13, 2.61-r1                                                                      
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                       
sys-devel/binutils:  2.18-r1                                                                            
sys-devel/gcc-config: 1.4.0-r4                                                                          
sys-devel/libtool:   1.5.26                                                                             
virtual/os-headers:  2.6.23-r3                                                                          
ACCEPT_KEYWORDS="amd64"                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                            
CFLAGS="-march=k8 -O2 -pipe -msse3"                                                                     
CHOST="x86_64-pc-linux-gnu"                                                                             
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config /var/lib/hsqldb"                                                                                                                                         
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                             
CXXFLAGS="-march=k8 -O2 -pipe -msse3"                                                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                                                                 
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"                    
GENTOO_MIRRORS=" ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"                                                                                                                                                      
LANG="de_DE.utf8"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/initng /usr/local/portage/layman/portato /usr/local/portage/layman/kde /usr/local/portage /usr/local/overlays/qt"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cscope cups dbus dri dvb dvd dvdr dvdread emboss encode evo exceptions exif exiv2 fam fbcon ffmpeg flac flash fortran gdbm gif ginac glitz gphoto2 gpm hal iconv imagemagick ipv6 isdnlog java jpeg jpeg2k kde kdehiddenvisibility kerberos kipi lcms libnotify lm_sensors mad midi mikmod mmx mmxext mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia odbc ogg openal openexr opengl openmp pam pcre pdf perl png ppds pppd python qt-copy qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg tcpd tetex theora threads tiff truetype unicode usb vcd vorbis x264 xcomposite xine xml xml2xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflatedir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 far jump 2008-05-30 13:36:15 UTC
having exact same problem on all my systems:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Timestamp of tree: Fri, 30 May 2008 06:06:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
Comment 2 urcindalo 2008-06-26 06:31:40 UTC
Same here on AMD64 with qwt-5.1.0 when trying to install qt4-qtruby-1.4.9-r3:
*******
Skipping union QVariant::Private::Data
[ 30%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/ruby/rbwriteicondata.o
Writing smokedata.cpp...
problem with QwtPlotMagnifier missing parent at /var/tmp/portage/dev-ruby/qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/kalyptus/kalyptusCxxToSmoke.pm line 2301.
make[2]: *** [smoke/qt/smokedata.cpp] Error 25
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make[1]: *** Se espera a que terminen otras tareas....
[ 32%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/ruby/rbwriteicondeclaration.o
[ 34%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/ruby/rbwriteiconinitialization.o
[ 37%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/ruby/rbwriteinitialization.o
[ 39%] Building CXX object ruby/qtruby/tools/rbuic/CMakeFiles/rbuic4_bin.dir/main.o
Linking CXX executable rbuic4
[ 39%] Built target rbuic4_bin
make: *** [all] Error 2
*******
Comment 3 urcindalo 2008-06-30 10:58:00 UTC
(In reply to comment #0)

> As qwt is a fix dependency (though the lib is detected during compilation) I
> can't get qt4-qtruby without putting it in my local overlay (again).

Does it mean you have successfully emerged qt4-qtruby? I tried it by copying it to my local overlay and removing the dependency on qwt, but the compilation failed the same way.
Comment 4 Matteo Sasso 2008-07-02 00:25:42 UTC
Same problem here. On my system the workaround proposed in comment #3 works. Of course I had to unmerge qwt first.
Comment 5 Marek Sapota 2008-07-19 21:41:12 UTC
(In reply to comment #4)
> Same problem here. On my system the workaround proposed in comment #3 works. Of
> course I had to unmerge qwt first.
> 

So what is the workaround? I don't see any in comment #3 as poster says it doesn't work.
Comment 6 Franz Trischberger 2008-07-20 10:21:10 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Same problem here. On my system the workaround proposed in comment #3 works. Of
> > course I had to unmerge qwt first.
> > 
> 
> So what is the workaround? I don't see any in comment #3 as poster says it
> doesn't work.
> 

The workaround is to copy the qt4-qtruby-ebuild to your local overlay and delete the line 
=x11-libs/qwt-5*
from the ebuild (don't delete the closing > " <)

RDEPEND=">=virtual/ruby-1.8
        =x11-libs/qt-4*"

Now unmerge qwt, if it is still installed. If you are lucky you can emerge qt4-qtruby now.

I am not that lucky anymore ... Now i get

In file included from /var/tmp/paludis/dev-ruby-qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/ruby/qtruby/src/marshall_basetypes.h:41,                                                                                                                                      
                 from /var/tmp/paludis/dev-ruby-qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/ruby/qtruby/src/handlers.cpp:704:                                      
/var/tmp/paludis/dev-ruby-qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:20: error: explicit template specialization cannot have a storage class                                                                                                                                                 
/var/tmp/paludis/dev-ruby-qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:26: error: explicit template specialization cannot have a storage class                                                                                                                                                 
/var/tmp/paludis/dev-ruby-qt4-qtruby-1.4.9-r3/work/qt4-qtruby-1.4.9/ruby/qtruby/src/marshall_primitives.h:32: error: explicit template specialization cannot have a storage class

and on and on (many of these :()

I don't know what's happening there. I like ruby and would really like to use the qt4-bindings.
Comment 7 Marek Sapota 2008-07-21 20:54:10 UTC
There are only bugs reports on the newest version, but in fact is any of provided ebuilds working on amd64? Because all fail for me. I'll file bug reports if it isn't only my problem.
Comment 8 Ben de Groot (RETIRED) gentoo-dev 2008-08-11 19:22:51 UTC
I run into the same on ~x86.
Comment 9 Dex 2008-10-03 06:47:35 UTC
Same here.

!!! existing preserved libs:
>>> package: x11-libs/qwt-5.1.0
 *  - /usr/lib/libqwt.so.5
 *      used by /usr/lib/libsmokeqt.so.2.0.0 (dev-ruby/qt4-qtruby-1.4.9-r3)
 *      used by /usr/lib/ruby/site_ruby/1.8/i686-linux/qtruby4.so (dev-ruby/qt4-qtruby-1.4.9-r3)
 *  - /usr/lib/libqwt.so.5.0
 *      used by /usr/lib/libsmokeqt.so.2.0.0 (dev-ruby/qt4-qtruby-1.4.9-r3)
 *      used by /usr/lib/ruby/site_ruby/1.8/i686-linux/qtruby4.so (dev-ruby/qt4-qtruby-1.4.9-r3)
 *  - /usr/lib/libqwt.so.5.0.2
 *      used by /usr/lib/libsmokeqt.so.2.0.0 (dev-ruby/qt4-qtruby-1.4.9-r3)
 *      used by /usr/lib/ruby/site_ruby/1.8/i686-linux/qtruby4.so (dev-ruby/qt4-qtruby-1.4.9-r3)
Use emerge @preserved-rebuild to rebuild packages using these libraries

# emerge -pv qwt qt4-qtruby
[ebuild   R   ] x11-libs/qwt-5.1.0  USE="svg -doc" 0 kB
[ebuild   R   ] dev-ruby/qt4-qtruby-1.4.9-r3  0 kB

# emerge -pv @preserved-rebuild
[ebuild   R   ] dev-ruby/qt4-qtruby-1.4.9-r3  0 kB

And after I try to re-emerge qtruby I get same error.

# emerge --info
Portage 2.2_rc11 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.20-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Mon, 29 Sep 2008 18:34:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -msse3 -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/home/distfiles/"
FEATURES="ccache confcachei distlocks preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG=""
LC_ALL=""
LDFLAGS=""
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts asf avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread emboss encode esd evo exif fam firefox fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ logrotate mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session smp snmp spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wmf x86 xine xinerama xml xorg xscreensaver xv zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="mesa fglrx radeon vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 urcindalo 2008-10-28 12:26:58 UTC
Any news or workarounds for AMD64?

I still get the same compilation error I got in comment #3 in June!!
Comment 11 Hans de Graaff gentoo-dev Security 2008-11-03 19:25:50 UTC
Please note that none of the people currently working on ruby have any experience with QT, and we have a rather long bug list to work on at the moment. If someone could look at this problem and come up with a fix that would be much appreciated.
Comment 12 Thomas Demeter 2008-11-29 10:23:01 UTC
I have the same problem. I tried to downgrade it to 1.4.8, but the compilation also failed. No luck :(

Portage 2.2_rc16 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-tuxonice-r1-woodstock i686)
=================================================================
System uname: Linux-2.6.27-tuxonice-r1-woodstock-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.0
Timestamp of tree: Sat, 29 Nov 2008 09:32:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse4.1 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ "
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/armagetron /usr/local/portage/layman/kde /usr/local/portage/layman/kde-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/java-experimental /usr/local/portage/layman/java-overlay /usr/local/portage/layman/wschlich-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amr amrnb amrwb ao apache2 atm audiofile bash-completion bcmath berkdb bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr clamav cli cracklib crypt cscope css ctype cups curl curlwrappers custom-cflags custom-cpuopts custom-optimization cvs cxx dbus dbx dga dirac dri dts dv dvd dvdr dvdread emacs emboss enca encode enscript exif expat fam fbcon ffmpeg fftw firefox flac fontconfig fortran ftp gd gdbm gif gimp git glut gnuplot gnutls gpm graphviz gtk hal hddtemp hou htmlhandbook iconv icq idn ieee1394 imagemagick imap imlib inifile innodb inquisitio ipv6 isdnlog jabber jack java java6 javascript jfs jpeg jpeg2 jpeg2k json kde kdeprefix kerberos kontact krb4 ladspa lame lash latex lcms ldap libcaca libffi libnotify libsamplerate libwww lm_sensors lua lzo mad matroska memlimit mhash midi mikmod mime mmap mmx mmxext mng modplug mono mp2 mp3 mpeg mpi mplayer msn mudflap musepack musicbrainz mysql mysqli ncurses networkmanager nls nocd nptl nptlonly nsplugin ntfs objc objc++ objc-gc ocaml ocamlopt odbc offensive ogg openal openexr opengl openmp osc oscar pam pcre pdf perl php pink plasma png pnm portage posix postgres ppds pppd python qa qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs rss ruby samba schroedinger sdl session shorten simplexml slang smp sndfile soap soc sockets socks5 sou speex spl sqlite sqlite3 srt sse sse2 sse3 sse4 sse4.1 ssl ssse3 startup-notification subversion svg svga sysfs syslog szip taglib tcl tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l v4l2 vcd vhosts videos vidix vim-syntax visibility vorbis wavpack webkit wifi win32codecs wmf x264 x86 xanim xcb xcomposite xfs xine xml xmlrpc xorg xosd xpm xsl xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 far jump 2008-11-30 02:18:22 UTC
After much travail,  where is the work-around:

check the versions you have emerged for:

sys-devel/gcc-4.1.2
x11-libs/qt-4.3.3  
dev-util/cmake-2.4.6-r1
x11-libs/qwt-5.0.2-r1

You cannot have versions any higher than those indicated.  A while back (more that a year, I think) we where forced to add: x11-libs/qwt ~KEYWORD to /etc/portage/package.keywords.  This eventually allowed qwt 5.1.0 to be emerged later on (w/o any problems to any other packages)... however, this causes the 'problem with QwtPlotMagnifier missing parent at' problem with qt4-qtruby.

Once you go back to qwt-5.0.2, you might encounter another problem, described in: http://bugs.gentoo.org/show_bug.cgi?id=220002
make[2]: *** [smoke/qt/CMakeFiles/smokeqt.dir/x_1.o] Error 1
make[1]: *** [smoke/qt/CMakeFiles/smokeqt.dir/all] Error 2
make: *** [all] Error 2

This is because qt4-qtruby will not compile with gcc higher than 4.1.2  (of course if you set your native compiler back to 4.1.2, you must re-emerge stuff like cmake and possibly qwt, qt etc...)

once these are are the correct versions you can: emerge dev-ruby/qt4-qtruby-1.4.9-r3

I have performed this work-around on my:
Dell laptop (Intel(R) Core(TM)2 Duo CPU T7500  @ 2.20GHz),
Pentium III (Coppermine),
Intel-dual core systrem (Intel(R) Pentium(R) 4 CPU 3.20GHz)
Custom Nvidia System (AMD Athlon(tm) 64 X2 Dual Core Processor 3800+)
about 12 ( AMD Athlon(tm) 64 X2 Dual Core Processor 4200+) systems
about 15 (AMD Athlon(tm) 64 X2 Dual Core Processor 5200+) systems
(all running on Gentoo 2.26.20 to .26)

the ebuild says:
RDEPEND=">=virtual/ruby-1.8
	=x11-libs/qt-4*
	=x11-libs/qwt-5*"

but this is not correct.  I do not know how to submit this change to gentoo -  I am just a poor lowly systems analyst and only conceptually understand how emerge and its dependances work!
Comment 14 Sergio D. Rodríguez Inclan 2008-11-30 04:39:53 UTC
Looks like you did it, I've been hanging around this bug all this day, testing different versions of qwt, qt, etc., but your configurations works, at least here, don't worry with this information I think devs will fix the ebuild soon.
Comment 15 far jump 2008-11-30 14:36:51 UTC
(In reply to comment #14)
> Looks like you did it, ..
Great glad to hear it

>don't worry with this information I think devs will fix the ebuild soon.
Ok thanks

Comment 16 Hans de Graaff gentoo-dev Security 2008-11-30 14:47:02 UTC
We can't restrict the version of gcc that this package builds with, so at least these compilation issues will need to be addressed in this package.
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-06 13:57:30 UTC
Removed from main tree.