Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259575 - dev-db/tora-2.0.0 - moc_toabout.cpp:14:2: error: #error "This file was generated using the moc from 4.4.0. [...]"
Summary: dev-db/tora-2.0.0 - moc_toabout.cpp:14:2: error: #error "This file was genera...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL: https://sourceforge.net/tracker/index...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 08:56 UTC by renato gallo
Modified: 2009-09-17 07:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,114.04 KB, text/plain)
2009-02-19 08:56 UTC, renato gallo
Details
eclass-debug.log (eclass-debug.log,1.03 KB, text/plain)
2009-02-19 08:57 UTC, renato gallo
Details
environment (environment,129.93 KB, text/plain)
2009-02-19 08:57 UTC, renato gallo
Details
working ebuild for your diff pleasures (tora-2.0.0.ebuild,2.28 KB, text/plain)
2009-04-16 06:24 UTC, renato gallo
Details
new bugfix tora version ebuild (tora-2.1.0.ebuild,2.36 KB, text/plain)
2009-04-24 08:45 UTC, renato gallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2009-02-19 08:56:15 UTC
moc_toabout.cpp:14:2: error: #error "This file was generated using the moc from 4.4.0. It"   
moc_toabout.cpp:15:2: error: #error "cannot be used with the include files from this version of Qt."                                                                                      
moc_toabout.cpp:16:2: error: #error "(The moc has changed too much.)"                        
make[3]: *** [tora-moc_toabout.o] Error 1                                                    
make[3]: Leaving directory `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'          
make[2]: *** [all] Error 2                                                                   
make[2]: Leaving directory `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'          
make[1]: *** [all-recursive] Error 1                                                         
make[1]: Leaving directory `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0'              
make: *** [all] Error 2
Comment 1 renato gallo 2009-02-19 08:56:54 UTC
Created attachment 182524 [details]
build.log
Comment 2 renato gallo 2009-02-19 08:57:20 UTC
Created attachment 182525 [details]
eclass-debug.log
Comment 3 renato gallo 2009-02-19 08:57:50 UTC
Created attachment 182527 [details]
environment
Comment 4 renato gallo 2009-02-19 08:58:32 UTC
emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.6 x86_64)                                                                                          
=================================================================                            
System uname: Linux-2.6.28.6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5                                                                                           
Timestamp of tree: Thu, 19 Feb 2009 06:15:01 +0000                                           
app-shells/bash:     3.2_p48-r1                                                              
dev-java/java-config: 1.3.7-r1, 2.1.7                                                        
dev-lang/python:     2.4.4-r13, 2.5.4-r2                                                     
dev-python/pycrypto: 2.0.1-r6                                                                
dev-util/cmake:      2.6.2-r1                                                                
sys-apps/baselayout: 2.0.0                                                                   
sys-apps/openrc:     0.4.3-r1                                                                
sys-apps/sandbox:    1.3.7                                                                   
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.1                                                                  
sys-devel/gcc-config: 1.4.1                                                                  
sys-devel/libtool:   2.2.6a                                                                  
virtual/os-headers:  2.6.28-r1                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                 
CFLAGS="-march=nocona -O2 -pipe"                                                             
CHOST="x86_64-pc-linux-gnu"                                                                  
CONFIG_PROTECT="/etc /opt/openjms/config /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/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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                   
CXXFLAGS="-march=nocona -O2 -pipe"                                                           
DISTDIR="/usr/portage/distfiles"                                                             
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                            
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                                                     
LANG="it_IT.UTF-8"                                                                           
LDFLAGS="-Wl,-O1"                                                                            
LINGUAS="it en"                                                                              
MAKEOPTS="-j5"                                                                               
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/wschlich-testing /usr/local/portage/layman/sunrise"                                                                                            
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                        
USE="2dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi ada addbookmarks akode alias alsa amd64 amr amrb applet aqua_theme ares arts artswrappersuid artworkextra athena autoipd automount autoreplace avahi bash-completion beagle belagle berkdb bidi bl bluetooth bookmarks branding bzip2 cairo carbone_theme cdda cddb cdio cdparanoia cdr cisco clamavfontconfig cli connectionstatus contactnotes cpudetection cracklib crypt cscope cups cupsddk curl dbus debug device-mapper dga directfb disk-partition diskio djvu dmx dnd doc dri dts dv dvb dvd dvdr dvi eds elf emacs emacx enca encode eolconv epiphany esd exif expat extensible fam fasttrack fax fbcon fbcondecor ffmpeg filepicker firefox flac fltk foomaticdb fortran freetts freewnn ftp gadu galago gd gdbm gedit ggi gif gimp glib glitz gnokii gnome gnome-keyring gnomecd gnutella gnutls google-gadgets gpg gphoto2 gpm graphwiz groupwise gsf gstreamer gtk gtkhtml guile gz gzip-el hal hdri hesiod hfs highlight history hotplug howl-compat hybrid-auth iceweasel iconv ieee1394 imagemagick imlib inotify inquisitio iproute2 ipv6 irc irda irmc isdnlog jack jadetex jai java java5 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k kde kdrive kerberos ladspa lame laptop latex lcms ldap legacyssl libcaca libffi libnotify libsamplerate lirc live lm_sensors logitech-mouse lua lzma lzo mad mbrola md5sum mdnsresponder-compat mfd-rewrites midi mmap mmx mng mono motif mozdevelop mp2 mp3 mpeg mudflap mule multilib musepack mysql mythtv nas nautilus ncurses neXt nemesi netmeeting network networking networkmanager new-login nls nntp nowlistening npp nptl nptlonly nsplugin odbc odk offensive ogg openal openexr openft opengl openmp opensslcrypt oracle pam passwordsave pch pcre pda pdf perl phonon php pink pkcs11 png pnm pop portage povray ppds pppd pulseaudio python python-bindingsq32 q8 qa qt3 qt3support qt4 quicktime radio rar rdesktop readline reflection remote resolvconf rpm rtc ruby ruby-bindings samba sametime sasl savedconfig scanner schedule script sdl seamonkey sendmail session slang slp smp sms smux snmp socks5 sound speex spell spl srt sse sse2 ssl ssse3 startup-notification statistics suid svg swat sysfs syslog t1lib tcl tcpd teletext test tetex texteffect tga theora tiff tk toolkit-scroll-bars tools tracker translator truetype tseng unicode usb v4l v4l2 vcd vim-pager vim-syntax vim-with-x visibility vorbis wavpack webinterface webkit webpresence wifi winpopup wlm wmf x264 xanim xattr xcb xcomposite xemacs xext xface xforms xft xim xine xinerama xinetd xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zoran zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modembt87x 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 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="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge elographics fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" LIRC_DEVICES="mceusb2 mceusb devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 renato gallo 2009-02-19 09:00:02 UTC
cat /proc/cpuinfo 
processor       : 0                  
vendor_id       : GenuineIntel       
cpu family      : 6                  
model           : 15                 
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11                                             
cpu MHz         : 2400.017                                       
cache size      : 4096 KB                                        
physical id     : 0                                              
siblings        : 4                                              
core id         : 0                                              
cpu cores       : 4                                              
apicid          : 0                                              
initial apicid  : 0                                              
fpu             : yes                                            
fpu_exception   : yes                                            
cpuid level     : 10                                             
wp              : yes                                            
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority                                                                                 
bogomips        : 4800.03                                                                    
clflush size    : 64                                                                         
cache_alignment : 64                                                                         
address sizes   : 36 bits physical, 48 bits virtual                                          
power management:                                                                            

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6           
model           : 15          
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11                                             
cpu MHz         : 2400.017                                       
cache size      : 4096 KB                                        
physical id     : 0                                              
siblings        : 4                                              
core id         : 3                                              
cpu cores       : 4                                              
apicid          : 3                                              
initial apicid  : 3                                              
fpu             : yes                                            
fpu_exception   : yes                                            
cpuid level     : 10                                             
wp              : yes                                            
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority                                                                                 
bogomips        : 12213.12                                                                   
clflush size    : 64                                                                         
cache_alignment : 64                                                                         
address sizes   : 36 bits physical, 48 bits virtual                                          
power management:                                                                            

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6           
model           : 15          
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11                                             
cpu MHz         : 2400.017                                       
cache size      : 4096 KB                                        
physical id     : 0                                              
siblings        : 4                                              
core id         : 1                                              
cpu cores       : 4                                              
apicid          : 1                                              
initial apicid  : 1                                              
fpu             : yes                                            
fpu_exception   : yes                                            
cpuid level     : 10                                             
wp              : yes                                            
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority                                                                                 
bogomips        : 11446.75
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
stepping        : 11
cpu MHz         : 2400.017
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmiflexpriority
bogomips        : 12406.90
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

Comment 6 renato gallo 2009-02-19 09:02:17 UTC
Versione 4.2.00 (KDE 4.2.0)

emerge -pv qt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-4.5.0_rc1  USE="dbus opengl phonon qt3support" 0 kB

moc -v
Qt Meta Object Compiler version 61 (Qt 4.5.0-rc1)

qmake -v
QMake version 2.01a
Using Qt version 4.5.0-rc1 in /usr/lib64/qt4
Comment 7 Rafał Mużyło 2009-02-19 14:04:30 UTC
Well, if this package ships with moc-generated
files, it's a bug in upstream packaging.
Comment 8 renato gallo 2009-02-19 18:36:31 UTC
(In reply to comment #7)
> Well, if this package ships with moc-generated
> files, it's a bug in upstream packaging.
> 

how can we fix ?
Comment 9 renato gallo 2009-02-21 10:09:31 UTC
(In reply to comment #7)
> Well, if this package ships with moc-generated
> files, it's a bug in upstream packaging.
> 
opened a bug upstream:

https://sourceforge.net/tracker/index.php?func=detail&aid=2623430&group_id=16636&atid=116636

in the meantime... can anyone suggest a workaround ?
Comment 10 Rafał Mużyło 2009-03-18 16:49:28 UTC
One minor detail, my comment was just a guess,
I haven't examined the tarball.
If there are moc generated files in the tarball,
it's a bug, if there are none, then perhaps you
didn't upgrade all of the qt splits to 4.5.0.
Comment 11 renato gallo 2009-03-18 18:33:52 UTC
i did several times an emerge -NDauv world and always a revdep-rebuild after....
isn't that enough ?

(In reply to comment #10)
> One minor detail, my comment was just a guess,
> I haven't examined the tarball.
> If there are moc generated files in the tarball,
> it's a bug, if there are none, then perhaps you
> didn't upgrade all of the qt splits to 4.5.0.
> 

Comment 12 Velin 2009-04-01 08:22:02 UTC
(In reply to comment #11)
> i did several times an emerge -NDauv world and always a revdep-rebuild
> after....
> isn't that enough ?
> 

Hi.

I have same problem merging tora 2.0. The problem is related with old qt3 package. Because I am using kde 3.5 I have this version of qt installed. There are environment variables which confuses the compilation process: QTDIR and PKG_CONFIG_PATH. In my environment they are as follows:

QTDIR=/usr/qt/3
PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig

It is essential to unset them during configure step.

It is possible to compile and install with simpple configure; make; make install with proper configure flags.

The second way is with using ebuild command and doing some steps by hand which was a little bit tricky: as a result a managed to merge tora in /us/local/ which was not standard installation location.

The third way is to uninstall qt3 in order to emerge tora and later emerge again qt3 in order to satisfy all dependencies to kde 3.5

I personally followed the third way. 
Comment 13 renato gallo 2009-04-01 21:34:48 UTC
upstream answered

http://sourceforge.net/tracker/?func=detail&atid=116636&aid=2623430&group_id=16636

tora 2.0.0 moc fails on linux - ID: 2623430
Last Update: Comment added ( subik )
Details:

details :

http://bugs.gentoo.org/show_bug.cgi?id=259575

Description:

moc_toabout.cpp:14:2: error: #error "This file was generated using the moc
from
4.4.0. It"
moc_toabout.cpp:15:2: error: #error "cannot be used with the include files
from
this version of Qt."

moc_toabout.cpp:16:2: error: #error "(The moc has changed too much.)"

make[3]: *** [tora-moc_toabout.o] Error 1

make[3]: Leaving directory
`/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
make[2]: *** [all] Error 2

make[2]: Leaving directory
`/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0'
make: *** [all] Error 2


versions:

KDE 4.2.0
qt-4.5.0_rc1 compiled with qt3 support

moc -v
Qt Meta Object Compiler version 61 (Qt 4.5.0-rc1)

qmake -v
QMake version 2.01a
Using Qt version 4.5.0-rc1 in /usr/lib64/qt4
Submitted:

renato gallo ( unixproducts ) - 2009-02-21 10:08
Priority:

5
Status:

Open
Resolution:

None
Assigned:

Nobody/Anonymous
Category:

None
Group:

None
Visibility:

Public

Comment ( 1 )

Date: 2009-04-01 11:05
Sender: subikAccepting Donations

it looks like the tarball is wrongly packed. Can you try to compile it with
cmake?


Comments have been closed for this artifact.
Attached File ( 1 )
Filename 	Description 	Download
build.log 	complete build.log

(In reply to comment #12)
> (In reply to comment #11)
> > i did several times an emerge -NDauv world and always a revdep-rebuild
> > after....
> > isn't that enough ?
> > 
> 
> Hi.
> 
> I have same problem merging tora 2.0. The problem is related with old qt3
> package. Because I am using kde 3.5 I have this version of qt installed. There
> are environment variables which confuses the compilation process: QTDIR and
> PKG_CONFIG_PATH. In my environment they are as follows:
> 
> QTDIR=/usr/qt/3
> PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig
> 
> It is essential to unset them during configure step.
> 
> It is possible to compile and install with simpple configure; make; make
> install with proper configure flags.
> 
> The second way is with using ebuild command and doing some steps by hand which
> was a little bit tricky: as a result a managed to merge tora in /us/local/
> which was not standard installation location.
> 
> The third way is to uninstall qt3 in order to emerge tora and later emerge
> again qt3 in order to satisfy all dependencies to kde 3.5
> 
> I personally followed the third way. 
> 

Comment 14 renato gallo 2009-04-01 21:37:03 UTC
by the way I am looking forward to see the day where we'll be quietly be able
to put kde3 things in the past....

(In reply to comment #13)
> upstream answered
> 
> http://sourceforge.net/tracker/?func=detail&atid=116636&aid=2623430&group_id=16636
> 
> tora 2.0.0 moc fails on linux - ID: 2623430
> Last Update: Comment added ( subik )
> Details:
> 
> details :
> 
> http://bugs.gentoo.org/show_bug.cgi?id=259575
> 
> Description:
> 
> moc_toabout.cpp:14:2: error: #error "This file was generated using the moc
> from
> 4.4.0. It"
> moc_toabout.cpp:15:2: error: #error "cannot be used with the include files
> from
> this version of Qt."
> 
> moc_toabout.cpp:16:2: error: #error "(The moc has changed too much.)"
> 
> make[3]: *** [tora-moc_toabout.o] Error 1
> 
> make[3]: Leaving directory
> `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
> make[2]: *** [all] Error 2
> 
> make[2]: Leaving directory
> `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src'
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory
> `/var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0'
> make: *** [all] Error 2
> 
> 
> versions:
> 
> KDE 4.2.0
> qt-4.5.0_rc1 compiled with qt3 support
> 
> moc -v
> Qt Meta Object Compiler version 61 (Qt 4.5.0-rc1)
> 
> qmake -v
> QMake version 2.01a
> Using Qt version 4.5.0-rc1 in /usr/lib64/qt4
> Submitted:
> 
> renato gallo ( unixproducts ) - 2009-02-21 10:08
> Priority:
> 
> 5
> Status:
> 
> Open
> Resolution:
> 
> None
> Assigned:
> 
> Nobody/Anonymous
> Category:
> 
> None
> Group:
> 
> None
> Visibility:
> 
> Public
> 
> Comment ( 1 )
> 
> Date: 2009-04-01 11:05
> Sender: subikAccepting Donations
> 
> it looks like the tarball is wrongly packed. Can you try to compile it with
> cmake?
> 
> 
> Comments have been closed for this artifact.
> Attached File ( 1 )
> Filename        Description     Download
> build.log       complete build.log
> 
> (In reply to comment #12)
> > (In reply to comment #11)
> > > i did several times an emerge -NDauv world and always a revdep-rebuild
> > > after....
> > > isn't that enough ?
> > > 
> > 
> > Hi.
> > 
> > I have same problem merging tora 2.0. The problem is related with old qt3
> > package. Because I am using kde 3.5 I have this version of qt installed. There
> > are environment variables which confuses the compilation process: QTDIR and
> > PKG_CONFIG_PATH. In my environment they are as follows:
> > 
> > QTDIR=/usr/qt/3
> > PKG_CONFIG_PATH=/usr/qt/3/lib/pkgconfig
> > 
> > It is essential to unset them during configure step.
> > 
> > It is possible to compile and install with simpple configure; make; make
> > install with proper configure flags.
> > 
> > The second way is with using ebuild command and doing some steps by hand which
> > was a little bit tricky: as a result a managed to merge tora in /us/local/
> > which was not standard installation location.
> > 
> > The third way is to uninstall qt3 in order to emerge tora and later emerge
> > again qt3 in order to satisfy all dependencies to kde 3.5
> > 
> > I personally followed the third way. 
> > 
> 

Comment 15 Brett 2009-04-14 19:58:09 UTC
The hack-around is easy. All you need to do is delete all the moc*.cpp and ui_*ui.h files in the src directory. (I think the upstream bug is simply the lack of a proper "make distclean").

Forgive me my Gentoo friends, I am running kubuntu on the system I am installing tora. So the following steps aren't exact (by my home computer is Gentoo):

ebuild ?uncompress? tora
cd ?/var/ebuild/someplace/tora/src?
rm moc*.cpp
rm ui_*ui.h
cd -
ebuild ?compile/install? tora

The idea is you want emerge/ebuild to just download and extract the code. Then you need to remove the moc and ui.h files. Then let ebuild continue to configure/compile/install. 

Comment 16 Brett 2009-04-14 22:25:26 UTC
cd /usr/portage/dev-db/tora
ebuild tora-2.0.0.ebuild prepare
rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
ebuild tora-2.0.0.ebuild install



Or you can hack the ebuild file itself:

src_compile() {
  rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
  rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
  emake -j1 || die "make failed"
}

Then run 'ebuild tora-2.0.0.ebuild digest'

Comment 17 renato gallo 2009-04-16 06:21:26 UTC
the hack works perfectly Tobias can you update the ebuild accordingly please ?
 
(In reply to comment #16)
> cd /usr/portage/dev-db/tora
> ebuild tora-2.0.0.ebuild prepare
> rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
> rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
> ebuild tora-2.0.0.ebuild install
> 
> 
> 
> Or you can hack the ebuild file itself:
> 
> src_compile() {
>   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
>   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
>   emake -j1 || die "make failed"
> }
> 
> Then run 'ebuild tora-2.0.0.ebuild digest'
> 

Comment 18 renato gallo 2009-04-16 06:24:39 UTC
Created attachment 188540 [details]
working ebuild for your diff pleasures
Comment 19 renato gallo 2009-04-16 12:47:31 UTC
it starts but segfaults when I try to connect to a mysql server...




(In reply to comment #17)
> the hack works perfectly Tobias can you update the ebuild accordingly please ?
> 
> (In reply to comment #16)
> > cd /usr/portage/dev-db/tora
> > ebuild tora-2.0.0.ebuild prepare
> > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
> > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
> > ebuild tora-2.0.0.ebuild install
> > 
> > 
> > 
> > Or you can hack the ebuild file itself:
> > 
> > src_compile() {
> >   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
> >   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
> >   emake -j1 || die "make failed"
> > }
> > 
> > Then run 'ebuild tora-2.0.0.ebuild digest'
> > 
> 

Comment 20 renato gallo 2009-04-17 10:25:37 UTC
it ceased to crash after an emerge -e

(In reply to comment #19)
> it starts but segfaults when I try to connect to a mysql server...
> 
> 
> 
> 
> (In reply to comment #17)
> > the hack works perfectly Tobias can you update the ebuild accordingly please ?
> > 
> > (In reply to comment #16)
> > > cd /usr/portage/dev-db/tora
> > > ebuild tora-2.0.0.ebuild prepare
> > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
> > > rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
> > > ebuild tora-2.0.0.ebuild install
> > > 
> > > 
> > > 
> > > Or you can hack the ebuild file itself:
> > > 
> > > src_compile() {
> > >   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/moc_*.cpp
> > >   rm /var/tmp/portage/dev-db/tora-2.0.0/work/tora-2.0.0/src/ui_*ui.h
> > >   emake -j1 || die "make failed"
> > > }
> > > 
> > > Then run 'ebuild tora-2.0.0.ebuild digest'
> > > 
> > 
> 

Comment 21 renato gallo 2009-04-19 16:07:49 UTC
since it is finally working good can someone put those changes in tree ?
tora is a very usefull work tool at least for me...
Comment 22 Tobias Scherbaum (RETIRED) gentoo-dev 2009-04-23 18:00:33 UTC
Fixed in CVS, sorry for the delay.
Comment 23 renato gallo 2009-04-23 18:35:41 UTC
Message body follows:

hi Renato,

I do appologise I'm contacting you directly. But it's
related to TOra gentoo bug:

tora 2.0.0 fails to build even using cmake - ID: 2725776

http://sourceforge.net/tracker/?func=detail&aid=2725776&group_id=16636&atid=116636

Can you help me test it, please? I mean I'll prepare a new
source tarball and you'll try to compile it on gentoo
without your hack in ebuild. Do you agree?

all the best,
Petr Vanek


--
This message has been sent to you, a registered SourceForge.net user,
by another site user, through the SourceForge.net site.  This message
has been delivered to your SourceForge.net mail alias.  You may reply
to this message using the "Reply" feature of your email client, or
using the messaging facility of SourceForge.net at:
https://sourceforge.net/sendmessage.php?touser=784012
Comment 24 renato gallo 2009-04-24 08:44:02 UTC
upstream has released a new tora on behalf of solving the bug 

heh, here we come:
http://public.yarpen.cz/tora-2.1.0svn-3174.tgz

tested on Windows and OpenSuse successfuly.

petr

--- Původní zpráva ---
        Předmět: Re: tora gentoo build bug
        Odesílatel:  Renato Gallo <renatogallo@unixproducts.com>
        Příjemce: "Petr Vaněk" <subik@users.sourceforge.net>
        Datum: 23.04.2009 17:03
        
        
        by any means YES :D and I consider an honour to be contacted directly by
        you that know so much more compared to me :D 
        let me know I am waiting.
        
        Il giorno gio, 23/04/2009 alle 14.57 +0000, Petr Vaněk ha scritto:
        > Message body follows:
        > 
        > hi Renato,
        > 
        > I do appologise I'm contacting you directly. But it's
        > related to TOra gentoo bug:
        > 
        > tora 2.0.0 fails to build even using cmake - ID: 2725776
        > 
        > http://sourceforge.net/tracker/?func=detail&aid=2725776&group_id=16636&atid=116636
        > 
        > Can you help me test it, please? I mean I'll prepare a new
        > source tarball and you'll try to compile it on gentoo
        > without your hack in ebuild. Do you agree?
        > 
        > all the best,
        > Petr Vanek
        > 
        > 
        > --
        > This message has been sent to you, a registered SourceForge.net user,
        > by another site user, through the SourceForge.net site. This message
        > has been delivered to your SourceForge.net mail alias. You may reply
        > to this message using the "Reply" feature of your email client, or
        > using the messaging facility of SourceForge.net at:
        > https://sourceforge.net/sendmessage.php?touser=784012
        > 
        
Comment 25 renato gallo 2009-04-24 08:45:09 UTC
Created attachment 189299 [details]
new bugfix tora version ebuild

please add to tree
Comment 26 Tobias Scherbaum (RETIRED) gentoo-dev 2009-05-15 17:33:55 UTC
(In reply to comment #25)
> Created an attachment (id=189299) [edit]
> new bugfix tora version ebuild
> 
> please add to tree
> 

latest release available from sf.net still shows 2.0.0.
Comment 27 renato gallo 2009-05-16 09:26:33 UTC
I have pasted the mails between me and the creator of tora...
isn't it enough to add this to tree ?
isn't it enough upstream ?

(In reply to comment #26)
> (In reply to comment #25)
> > Created an attachment (id=189299) [edit]
> > new bugfix tora version ebuild
> > 
> > please add to tree
> > 
> 
> latest release available from sf.net still shows 2.0.0.
> 

Comment 28 Tobias Scherbaum (RETIRED) gentoo-dev 2009-05-16 09:47:48 UTC
(In reply to comment #27)
> I have pasted the mails between me and the creator of tora...

he seems to be one of the comitters of tora, the website though still states
"The project is now being administered by Nathan Neulinger."

> isn't it enough to add this to tree ?

It's an svn snapshot, not an offical upstream release. The svn snapshot fixes a problem we already fixed in our portage tree. Until there's an official release there's no reason to include an svn snapshot.

> isn't it enough upstream ?

Simply put: No. It's not that I don't trust Petr Vaněk, but as mentioned it's an svn snapshot, not an official upstream release. (And again: I don't see any need to include an ebuild for this svn snapshot.)

I'm going to close this bug once again - please keep it that way.
Comment 29 Petr Vanek 2009-09-17 05:17:17 UTC
hi guys,

I'd like to inform you that tora 2.1.0 os out. Src tarballs are in our sf.net download area. So you can try it again.

cheers,
Petr Vanek

P.S.: Tobias, I hope you will trust me in this case ;)
Comment 30 renato gallo 2009-09-17 07:48:01 UTC
made ebuild now and trying
 

(In reply to comment #29)
> hi guys,
> 
> I'd like to inform you that tora 2.1.0 os out. Src tarballs are in our sf.net
> download area. So you can try it again.
> 
> cheers,
> Petr Vanek
> 
> P.S.: Tobias, I hope you will trust me in this case ;)
>