Bug 62213 - Problems building Jabber on NetBSD -current.
Summary: Problems building Jabber on NetBSD -current.
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: 0.7
Platform: NetBSD pkgsrc NetBSD
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-05 22:38 UTC by Nate Hill
Modified: 2003-08-08 10:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Compile fix attempt (808 bytes, patch)
2003-08-06 00:06 UTC, Martijn Klingens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Hill 2003-08-05 22:38:26 UTC
Version:           0.7 (using KDE KDE 3.1.3)
Installed from:    NetBSD pkgsrc
Compiler:          2.95.3 
OS:          NetBSD

Anyone know what this is about?

source='jabberawaydialog.cpp' object='jabberawaydialog.lo' libtool=yes \
depfile='.deps/jabberawaydialog.Plo' tmpdepfile='.deps/jabberawaydialog.TPlo' \
depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../..  -I../../../kopete/libkopete -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I./ui -I../../../kopete/protocols/jabber/ui -I./psi/libpsi/src -I/usr/X11R6/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT   -I/usr/pkg/include -I/usr/X11R6/include  -fno-strict-aliasing -I/usr/pkg/include  -I/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new  -c -o jabberawaydialog.lo `test -f 'jabberawaydialog.cpp' || echo './'`jabberawaydialog.cpp
/usr/X11R6/qt3/bin/moc ./jabberawaydialog.h -o jabberawaydialog.moc.cpp
source='jabberawaydialog.moc.cpp' object='jabberawaydialog.moc.lo' libtool=yes \
depfile='.deps/jabberawaydialog.moc.Plo' tmpdepfile='.deps/jabberawaydialog.moc.TPlo' \
depmode=gcc /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../..  -I../../../kopete/libkopete -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I./ui -I../../../kopete/protocols/jabber/ui -I./psi/libpsi/src -I/usr/X11R6/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT   -I/usr/pkg/include -I/usr/X11R6/include  -fno-strict-aliasing -I/usr/pkg/include  -I/usr/pkg/lib/perl5/5.6.1/i386-netbsd/CORE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new  -c -o jabberawaydialog.moc.lo `test -f 'jabberawaydialog.moc.cpp' || echo './'`jabberawaydialog.moc.cpp
/bin/sh ../../../libtool --silent --mode=link --tag=CXX c++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new   -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -o kopete_jabber.la.closure kopete_jabber_la_closure.lo -no-undefined -module -avoid-version -module -no-undefined   -L/usr/X11R6/lib  -L/usr/X11R6/qt3/lib -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib jabberprotocol.lo jabberaccount.lo jabberresource.lo jabbercontact.lo jabberformtranslator.lo jabberformlineedit.lo jabbergroupchat.lo jabberawaydialog.lo jabberawaydialog.moc.lo  ../../libkopete/libkopete.la ui/libkopetejabberui.la psi/libpsi/src/libpsi.la psi/libpsi/qssl/libqssl.la -lssl -lcrypto
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::JabberAddContactPage(KopeteAccount *, QWidget *, char const *)':
jabberaddcontactpage.o(.text+0x26): undefined reference to `AddContactPage::AddContactPage(QWidget *, char const *)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::~JabberAddContactPage(void)':
jabberaddcontactpage.o(.text+0x1a9): undefined reference to `AddContactPage::~AddContactPage(void)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::staticMetaObject(void)':
jabberaddcontactpage.o(.text+0x379): undefined reference to `AddContactPage::staticMetaObject(void)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::qt_cast(char const *)':
jabberaddcontactpage.o(.text+0x413): undefined reference to `AddContactPage::qt_cast(char const *)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::qt_invoke(int, QUObject *)':
jabberaddcontactpage.o(.text+0x448): undefined reference to `AddContactPage::qt_invoke(int, QUObject *)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::qt_emit(int, QUObject *)':
jabberaddcontactpage.o(.text+0x474): undefined reference to `AddContactPage::qt_emit(int, QUObject *)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage::qt_property(int, int, QVariant *)':
jabberaddcontactpage.o(.text+0x4a0): undefined reference to `AddContactPage::qt_property(int, int, QVariant *)'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o): In function `JabberAddContactPage type_info function':
jabberaddcontactpage.o(.text+0xad4): undefined reference to `AddContactPage type_info function'
ui/.libs/libkopetejabberui.a(jabberaddcontactpage.o)(.data+0x224): undefined reference to `AddContactPage type_info node'
ui/.libs/libkopetejabberui.a(jabbereditaccountwidget.o): In function `JabberEditAccountWidget::JabberEditAccountWidget(JabberProtocol *, JabberAccount *, QWidget *, char const *)':
jabbereditaccountwidget.o(.text+0x35): undefined reference to `EditAccountWidget::EditAccountWidget(KopeteAccount *)'
gmake[5]: *** [kopete_jabber.la.closure] Error 1
gmake[5]: Leaving directory `/usr/pkgsrc/chat/kopete/work/kopete-0.7/kopete/protocols/jabber'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/chat/kopete/work/kopete-0.7/kopete/protocols/jabber'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/chat/kopete/work/kopete-0.7/kopete/protocols'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/chat/kopete/work/kopete-0.7/kopete'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/chat/kopete/work/kopete-0.7'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/chat/kopete
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/kopete
[root@cryogen /usr/pkgsrc/chat/kopete]
Comment 1 Till Gerken 2003-08-05 22:57:00 UTC
Looks like it can't find AddContactWidget. That class resides in libkopete, maybe the 
problem lies there? 
Comment 2 Martijn Klingens 2003-08-06 00:06:46 UTC
Created attachment 2162 [details]
Compile fix attempt

Does this patch (and a 'make force-reedit' in protocols/jabber/ui) help?

I think KDE's am_edit doesn't really like Q_OBJECT and public being on a single
line, but without testing I'm not sure this is indeed the case.

The last linking error btw looks like a duplicate of your IRC bug (#62207),
still no clue what's up there.

Martijn
Comment 3 Nate Hill 2003-08-08 01:58:09 UTC
This seems to have been fixed by having a shared libkopete (hmm...). 
 
I guess that's why the irc bug was similar... 
 
Any idea what exactly the problem was? (I know a static libkopete is not good 
but, I wonder exactly what didn't work in these to plugins). 
Comment 4 Nate Hill 2003-08-08 08:19:48 UTC
Last comment should have closed. 
Comment 5 Martijn Klingens 2003-08-08 09:33:30 UTC
Subject: Re: [Kopete-devel]   Problems building Jabber on NetBSD -current.

On Friday 08 August 2003 01:58, Nate Hill wrote:
> Any idea what exactly the problem was? (I know a static libkopete is not
> good but, I wonder exactly what didn't work in these to plugins).

No idea at all. Thiago maybe?

Comment 6 Thiago Macieira 2003-08-08 10:49:03 UTC
I'm guessing libtool and NetBSD aren't working well together, but without more 
information, I can't be sure. 
 
Would the original reporter please try to find the following information for me (inside the 
libtool script created in kopete's build dir): 
 
allow_libtool_libs_with_static_runtimes  
deplibs_check_method  
file_magic_cmd  
MAGIC_CMD 
 
These variables are defined in the beginning of the file.