Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150187 - net-im/psi-0.10-r1 fails to compile
Summary: net-im/psi-0.10-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 10:49 UTC by Vladimir Pouzanov
Modified: 2006-10-05 13:46 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 Vladimir Pouzanov 2006-10-05 10:49:29 UTC
[ebuild     U ] net-im/psi-0.10-r1 [0.10] USE="crypt extras insecure-patches ssl -xmms -xscreensaver" LINGUAS="ru%* -ar% -bg% -ca% -cs% -da% -de% -el% -eo% -es% -et% -fi% -fr% -hu% -it% -mk% -nl% -pl% -pt% -pt_BR% -se% -sk% -sl% -sr% -sw_TZ% -vi% -zh%"

fails with:
i686-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -march=athlon64 -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -D_REENTRANT  -DMUCONF_HACK -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_CONFIG -DXMPP_TEST -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/psi-0.10-r1/work/psi-0.10/src -I../cutestuff/util -I../cutestuff/network -Itools/trayicon -Itools/idle -Itools/systemwatch -Itools/mac_dock -Itools/zip -Itools/dirwatch -Itools/openpgp -Itools/globalaccel -Itools/advwidget -Itools/multilineinput -Itools/templates -I../iris/libidn -I../iris/include -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -I../libpsi/iconset -I../libpsi/libTeXFormula -I../libpsi/psiwidgets -I../libpsi/psipng -I/usr/qt/3/include -I/usr/X11R6/include -I.ui/ -I/var/tmp/portage/psi-0.10-r1/work/psi-0.10/src -Ioptions -I.moc/ -o .obj/ui_proxy.o .ui/ui_proxy.cpp
.ui/ui_profilenew.cpp: In constructor 'ProfileNewUI::ProfileNewUI(QWidget*, const char*, bool, uint)':
.ui/ui_profilenew.cpp:39: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:40: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:40: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:41: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:42: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:43: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'
.ui/ui_profilenew.cpp:44: error: no matching function for call to 'QHBoxLayout::addWidget(PsiTextView*&)'
/usr/qt/3/include/qlayout.h:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int)
.ui/ui_profilenew.cpp:103: error: no matching function for call to 'ProfileNewUI::setTabOrder(QCheckBox*&, PsiTextView*&)'
/usr/qt/3/include/qwidget.h:309: note: candidates are: static void QWidget::setTabOrder(QWidget*, QWidget*)
.ui/ui_profilenew.cpp: In member function 'virtual void ProfileNewUI::languageChange()':
.ui/ui_profilenew.cpp:121: error: invalid use of undefined type 'struct PsiTextView'
.ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView'

using gcc 4.1.1-r1

emerge --info:
Portage 2.1.2_pre2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.5
Last Sync: Thu, 05 Oct 2006 14:30:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -msse -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo ftp://ftp.gentoo.org.ua/"
LANG="ru_RU.KOI8-R"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/ecatmur /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X acpi alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cscope cups curl dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam fbcon firefox gd gdbm gif glut gpm gtk gtk2 hal iconv imagemagick input_devices_keyboard input_devices_mouse isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_en linguas_ru lm_sensors mad mikmod mmap mmx mmxext mng mp3 mpeg mysql ncurses nls no-htdocs nptl nptlonly nsplugin offensive ogg openal openexr opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl subversion svg tcpd theora tidy truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs xcomposite xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-10-05 11:45:01 UTC
hm.... it looks like some gcc-4 specific issue... I'll test it later today.

Regards,
Przemek
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-10-05 12:08:54 UTC
It builds ok, on x86 box with gcc-4.1.1.

Could you tell me, which qt do you have installed?

Regards,
Przemek
Comment 3 Vladimir Pouzanov 2006-10-05 12:21:04 UTC
qt-3.3.6-r2 (and qt-4.1.4)
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-10-05 13:12:48 UTC
I'm able to build psi with qt-3.3.6-r1 and gcc-4.1.1. Only change in qt from -r1 to -r2 (3.3.6) is icc compiler check, so this shouldn't count...

File .ui/ui_profilenew.cpp is autogenerated, by the moc compiler. I'm thinking of why this could happened to you...

Did you make gcc update, after emerging qt (3.3.6-r2)?

Regards,
Przemek
Comment 5 Vladimir Pouzanov 2006-10-05 13:19:57 UTC
> Did you make gcc update, after emerging qt (3.3.6-r2)?

no, my gcc still the same from stage-1 (anyway qt was part of emerge world)
Comment 6 Vladimir Pouzanov 2006-10-05 13:39:59 UTC
I've just recompiled net-im/psi-0.10 cleanly, so the problem is somewhere in 'r1'
Comment 7 Vladimir Pouzanov 2006-10-05 13:46:21 UTC
Weird.. re-emerged 10-r1 without any problems....
/me gone checking his hardware