Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113878 - moto4lin fails to build
Summary: moto4lin fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Carlos Silva (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 23:44 UTC by Chris Webb
Modified: 2006-01-10 06:56 UTC (History)
3 users (show)

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


Attachments
moto4lin-0.3_p20051125-r1.ebuild (moto4lin-0.3_p20051125-r1.ebuild,780 bytes, text/plain)
2005-12-12 04:09 UTC, Carlos Silva (RETIRED)
Details
moto4lin-0.3_p20051125-r1.ebuild (moto4lin-0.3_p20051125-r1.ebuild,691 bytes, text/plain)
2005-12-14 03:35 UTC, Carlos Silva (RETIRED)
Details
moto4lin-0.3_p20051125-r1.ebuild (moto4lin-0.3_p20051125-r1.ebuild,682 bytes, text/plain)
2005-12-15 04:57 UTC, Carlos Silva (RETIRED)
Details
moto4lin-0.3_p20051125-r1.ebuild (moto4lin-0.3_p20051125-r1.ebuild,697 bytes, text/plain)
2006-01-01 20:39 UTC, Michał Bartoszkiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Webb 2005-11-28 23:44:39 UTC
[root@coffee ~]1# emerge  moto4lin
Calculating dependencies ...done!
>>> emerge (1 of 1) app-mobilephone/moto4lin-0.3_p20051125 to /
>>> md5 files   ;-) moto4lin-0.3.ebuild
>>> md5 files   ;-) moto4lin-0.3_p20051125.ebuild
>>> md5 files   ;-) files/digest-moto4lin-0.3
>>> md5 files   ;-) files/digest-moto4lin-0.3_p20051125
>>> md5 src_uri ;-) moto4lin-0.3_p20051125.tar.bz2
>>> Unpacking source...
>>> Unpacking moto4lin-0.3_p20051125.tar.bz2 to
/var/tmp/portage/moto4lin-0.3_p20051125/work
>>> Source unpacked.
cd moto_ui && /usr/bin/qmake moto_ui.pro -unix
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd moto_ui && make
make[1]: Entering directory
`/var/tmp/portage/moto4lin-0.3_p20051125/work/moto4lin-0.3_p20051125/moto_ui'
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_CORE_LIB -DQT_GUI_LIB
-I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtCore -I/usr/include/qt4 -Imoc -Iui -o obj/main.o main.cpp
In file included from main.cpp:24:
form1.h:24:24: form1_base.h: No such file or directory
In file included from main.cpp:24:
form1.h:49: error: expected class-name before '{' token
form1.h:49: warning: `class Form1' has virtual functions but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:30: error: variable `QTranslator translator' has initializer but
incomplete type
main.cpp:31: error: `locale' is not a member of `QTextCodec'
main.cpp:35: error: 'class Form1' has no member named 'show'
make[1]: *** [obj/main.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/moto4lin-0.3_p20051125/work/moto4lin-0.3_p20051125/moto_ui'
make: *** [sub-moto_ui-make_default] Error 2

!!! ERROR: app-mobilephone/moto4lin-0.3_p20051125 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

[root@coffee ~]1#



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




[root@coffee ~]1# emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2-20051115 i686)
=================================================================
System uname: 2.6.14-gentoo-r2-20051115 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi alsa apm audiofile avi berkdb
bitmap-fonts bonobo bzip2 bzlib cdr crypt cscope cups curl dbm divx4linux dvd
eds emboss encode esd evo exif expat fam fbcon fd ffmpeg flac flash flatfile
foomaticdb fortran gb gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2
gtktml idn imagemagick imap imlib ipv6 jpeg lcms ldap libcaca libg++ libwww mad
maildir mbox mcal mikmod mime mmx mng motif mozilla mp3 mpeg mpi mysql ncurses
nls odbc ogg oggvorbis opengl oss pam pcmcia pcre pda pdflib perl png pnp
postgres ppds python qt quicktime readline ruby samba sdl slang snmp spell sse
sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb
vorbis wddx win32codecs wmf xine xml2 xmms xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

[root@coffee ~]0#
Comment 1 Neil Bothwick 2005-11-29 02:00:01 UTC
I get the same error on ~amd64 
 
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 
2.6.14-gentoo-r3 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre11 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.14 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -funit-at-a-time" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -funit-at-a-time" 
DISTDIR="/mnt/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks parallel-fetch sandbox sfperms 
strict" 
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ 
ftp://ftp.easynet.nl/mirror/gentoo/" 
LANG="en_GB" 
LDFLAGS="-Wl,-O1" 
LINGUAS="en_GB" 
MAKEOPTS="-j3" 
PKGDIR="/mnt/portage/packages/hactar" 
PORTAGE_TMPDIR="/mnt/scratch" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/mnt/portage/local" 
SYNC="rsync://desiato/gentoo" 
USE="amd64 X aalib alsa apache2 arts artswrappersuid audiofile avi berkdb 
bitmap-fonts bluetooth bzip2 cdb cddb cdr crypt cups curl directfb divx4linux 
dv dvd dvdr dvdread encode exif expat fam ffmpeg flac foomaticdb gd gdbm gif 
gimpprint gmp gphoto2 gpm gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imlib 
jabber java jbig jpeg jpeg2k kde kdeenablefinal lesstif libwww lirc lm_sensors 
lua lzw lzw-tiff mad mailwrapper mikmod mng mp3 mpeg musicbrainz mysql ncurses 
nptl nsplugin offensive ogg oggvorbis opengl oss pcre pdflib perl pic png ppds 
python qt quicktime readline recode samba scanner sdl slang slp spell ssl tcltk 
tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales 
v4l v4l2 vorbis xfs xml xml2 xmms xpm xprint xv xvid zlib zvbi 
video_cards_nvidia linguas_en_GB userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL 
 
Comment 2 Neil Bothwick 2005-11-29 02:01:40 UTC
On PPC too. 
Comment 3 Carlos Silva (RETIRED) gentoo-dev 2005-11-29 03:55:14 UTC
can you guys post the qt version you have installed?
Comment 4 Chris Webb 2005-11-29 05:14:17 UTC
[root@coffee ~]0# equery list qt
[ Searching for package 'qt' in all categories among: ]
 * installed packages
[I--] [  ] dev-db/qt-unixODBC-3.3.4-r1 (3)
[I--] [M ] x11-libs/qt-2.3.2-r1 (2)
[I--] [  ] x11-libs/qt-3.3.4-r8 (3)
[I--] [  ] x11-libs/qt-4.0.1 (4)
[root@coffee ~]0#
Comment 5 Neil Bothwick 2005-12-05 00:36:17 UTC
3.3.4-r8 and 4.0.1 on both computers. 
Comment 6 Carlos Silva (RETIRED) gentoo-dev 2005-12-12 04:09:00 UTC
Created attachment 74571 [details]
moto4lin-0.3_p20051125-r1.ebuild

Can you guys please try this ebuild?
Comment 7 Ben Meek 2005-12-13 21:55:28 UTC
# emerge moto4lin
Calculating dependencies  S!!! Invalid atom: x11-libs/qt-3*
!!! Invalid atom: x11-libs/qt-3*
!!! Invalid atom: x11-libs/qt-3*
!!! Invalid atom: x11-libs/qt-3*

emerge: there are no ebuilds to satisfy "x11-libs/qt-3*".
(dependency required by "app-mobilephone/moto4lin-0.3_p20051125-r1" [ebuild])


Even with =x11-libs/qt-3* it still wants to compile with qt4
Comment 8 Carlos Silva (RETIRED) gentoo-dev 2005-12-14 03:35:59 UTC
Created attachment 74697 [details]
moto4lin-0.3_p20051125-r1.ebuild

Ok. Can you try this one?
Comment 9 Ben Meek 2005-12-14 16:24:09 UTC
Same error as before.

# emerge moto4lin
Calculating dependencies  ...done!
>>> emerge (1 of 1) app-mobilephone/moto4lin-0.3_p20051125-r1 to /
>>> md5 files   ;-) moto4lin-0.3_p20051125-r1.ebuild
>>> md5 files   ;-) moto4lin-0.3_p20051125.ebuild
>>> md5 files   ;-) moto4lin-0.3.ebuild
>>> md5 files   ;-) files/digest-moto4lin-0.3_p20051125
>>> md5 files   ;-) files/digest-moto4lin-0.3
>>> md5 files   ;-) files/digest-moto4lin-0.3_p20051125-r1
>>> md5 src_uri ;-) moto4lin-0.3_p20051125.tar.bz2
>>> Unpacking source...
>>> Unpacking moto4lin-0.3_p20051125.tar.bz2 to
/var/tmp/portage/moto4lin-0.3_p20051125-r1/work
>>> Source unpacked.
cd moto_ui && /usr/bin/qmake moto_ui.pro -unix
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd moto_ui && make 
make[1]: Entering directory
`/var/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_CORE_LIB -DQT_GUI_LIB
-I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtCore -I/usr/include/qt4 -Imoc -Iui -o obj/main.o main.cpp
In file included from main.cpp:24:
form1.h:24:24: form1_base.h: No such file or directory
In file included from main.cpp:24:
form1.h:49: error: expected class-name before '{' token
form1.h:49: warning: `class Form1' has virtual functions but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:30: error: variable `QTranslator translator' has initializer but
incomplete type
main.cpp:31: error: `locale' is not a member of `QTextCodec'
main.cpp:35: error: 'class Form1' has no member named 'show'
make[1]: *** [obj/main.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
make: *** [sub-moto_ui-make_default] Error 2

!!! ERROR: app-mobilephone/moto4lin-0.3_p20051125-r1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

Comment 10 Carlos Silva (RETIRED) gentoo-dev 2005-12-15 04:57:16 UTC
Created attachment 74798 [details]
moto4lin-0.3_p20051125-r1.ebuild

Ok... One more try, and hopefully the last.
Comment 11 Mattheus Happe 2005-12-18 07:34:25 UTC
>>> emerge (1 of 1) app-mobilephone/moto4lin-0.3_p20051125-r1 to /
>>> md5 files   ;-) moto4lin-0.3_p20051125-r1.ebuild
>>> md5 files   ;-) files/digest-moto4lin-0.3_p20051125-r1
>>> md5 src_uri ;-) moto4lin-0.3_p20051125.tar.bz2
>>> Unpacking source...
>>> Unpacking moto4lin-0.3_p20051125.tar.bz2 to /var/tmp/portage/moto4lin-0.3_p20051125-r1/work
>>> Source unpacked.
cd moto_ui && /usr/bin/qmake moto_ui.pro -unix
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd moto_ui && make
make[1]: Entering directory `/var/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_CORE_LIB -DQT_GUI_LIB -I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -Imoc -Iui -o obj/main.o main.cpp
In file included from main.cpp:24:
form1.h:24:24: form1_base.h: No such file or directory
In file included from main.cpp:24:
form1.h:49: error: expected class-name before '{' token
form1.h:49: warning: `class Form1' has virtual functions but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:30: error: variable `QTranslator translator' has initializer but incomplete type
main.cpp:31: error: `locale' is not a member of `QTextCodec'
main.cpp:35: error: 'class Form1' has no member named 'show'
make[1]: *** [obj/main.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/moto4lin-0.3_p20051125-r1/work/moto4lin-0.3_p20051125/moto_ui'
make: *** [sub-moto_ui-make_default] Error 2

!!! ERROR: app-mobilephone/moto4lin-0.3_p20051125-r1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 12 Matteo Settenvini 2005-12-29 14:38:48 UTC
You need to run 
  qt3to4 -alwaysOverwrite
before running qmake, if qt4 is installed.

Also, see http://sourceforge.net/tracker/index.php?func=detail&aid=1254883&group_id=132142&atid=723743
It's a patch I wrote some months ago. You could adapt it a little, and then it should compile okay.

I don't have time to check if my patch still works right now, if it doesn't please tell me and I'll give it a look. It was a patch for CVS code, so it's likely to not apply cleanly.

Also adding Caleb to CC since this is a Qt3->Qt4 transition related bug, and GWN of 12 Dec 2005 said to do so (not assigning to Caleb since this bug is already assigned to Carlos).

Hope to have been helpful.
Comment 13 Matteo Settenvini 2005-12-29 14:46:04 UTC
PS: if you try applying the patch (which includes some hand-made fixes) _don't_ run qt3to4.

Cheers.
Comment 14 Michał Bartoszkiewicz 2006-01-01 20:39:48 UTC
Created attachment 75970 [details]
moto4lin-0.3_p20051125-r1.ebuild

I've got the same problem and this ebuild works for me.
Comment 15 Carlos Silva (RETIRED) gentoo-dev 2006-01-03 07:33:47 UTC
can the other people confirm that the last ebuild work?
Comment 16 Matteo Settenvini 2006-01-03 07:53:34 UTC
Ebuild in attachment #75970 [details] works for me too with Qt3.
Comment 17 Carlos Silva (RETIRED) gentoo-dev 2006-01-10 06:56:35 UTC
Ok, it's in CVS. Thx for reporting.