Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25752 - kdepim-3.1.3 does not build due to a wrong patch from 3.1.2
Summary: kdepim-3.1.3 does not build due to a wrong patch from 3.1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 04:58 UTC by Arno Ekkes
Modified: 2003-09-25 13:26 UTC (History)
1 user (show)

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


Attachments
$ emerge kdepim &> kdepim.error.txt (kdepim.error.txt,296.89 KB, text/plain)
2003-08-02 08:21 UTC, daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arno Ekkes 2003-08-02 04:58:48 UTC
kdepim-3.1.3 fails with the following message:
/usr/qt/3/bin/moc ./mal-conduit.h -o mal-conduit.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../../..   -I../../../kpilot/lib -I/usr/kde/3.1/include
-I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include/libpisock 
-DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include  -I/usr/include/libpisock  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG
-O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new  -c -o
mal-conduit.lo `test -f 'mal-conduit.cc' || echo './'`mal-conduit.cc
mal-conduit.cc:42:20: libmal.h: No such file or directory
mal-conduit.cc: In function `int malconduit_logf(const char*, ...)':
mal-conduit.cc:56: `va_list' undeclared (first use this function)
mal-conduit.cc:56: (Each undeclared identifier is reported only once for each
   function it appears in.)
mal-conduit.cc:56: syntax error before `;' token
mal-conduit.cc:58: `val' undeclared (first use this function)
mal-conduit.cc:58: `va_start' undeclared (first use this function)
mal-conduit.cc:63: `va_end' undeclared (first use this function)
mal-conduit.cc: In constructor `MALConduit::MALConduit(KPilotDeviceLink*, const
   char*, const QStringList&)':
mal-conduit.cc:87: `register_printStatusHook' undeclared (first use this
   function)
mal-conduit.cc:88: `register_printErrorHook' undeclared (first use this
   function)
mal-conduit.cc: In member function `virtual bool MALConduit::exec()':
mal-conduit.cc:202: `setHttpProxy' undeclared (first use this function)
mal-conduit.cc:203: `setHttpProxyPort' undeclared (first use this function)
mal-conduit.cc:208: `setProxyUsername' undeclared (first use this function)
mal-conduit.cc:209: `setProxyPassword' undeclared (first use this function)
mal-conduit.cc:216: `setSocksProxy' undeclared (first use this function)
mal-conduit.cc:217: `setSocksProxyPort' undeclared (first use this function)
mal-conduit.cc:226: `PalmSyncInfo' undeclared (first use this function)
mal-conduit.cc:226: `pInfo' undeclared (first use this function)
mal-conduit.cc:226: `syncInfoNew' undeclared (first use this function)
mal-conduit.cc:232: `malsync' undeclared (first use this function)
mal-conduit.cc:233: `syncInfoFree' undeclared (first use this function)
make[4]: *** [mal-conduit.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot/conduits/malconduit'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot/conduits'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3/kpilot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.1.3/work/kdepim-3.1.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdepim-3.1.3 failed.
!!! Function kde_src_compile, Line 138, Exitcode 2
!!! died running emake, kde_src_compile:make


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

Actual Results:  
Kdepim doesn't compile as you can see in the errormessage.

Expected Results:  
kdepim should have been build perfectly.

Here is my emerge info:
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21-pfeifer-r1_pre4 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gdbm berkdb slang readline tetex tcltk java guile mysql X sdl tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl alsa
-arts bonobo cdr dvd -gpm -svga evo gb gd gtkhtml mbox mozilla pda pic scanner
xml gtk2 moznoirc moznomail moznocompose"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

And on the forum there is a thread on this subject and a solution to the
problem. The thread is here: http://forums.gentoo.org/viewtopic.php?t=67223
Comment 1 daniel 2003-08-02 08:21:19 UTC
Created attachment 15364 [details]
$ emerge kdepim &> kdepim.error.txt

i hope posting a text file of this size is ok.
Comment 2 Adrian Almenar 2003-08-03 07:23:08 UTC
When the ebuild starts, this is the problem. 
 
>>> Unpacking source... 
>>> Unpacking kdepim-3.1.3.tar.bz2 to /var/tmp/portage/kdepim-3.1.3/work 
patching file kpilot/conduits/configure.in.in 
Hunk #1 FAILED at 93. 
1 out of 1 hunk FAILED -- saving rejects to file 
kpilot/conduits/configure.in.in.rej 
patching file kpilot/conduits/malconduit/Makefile.am 
 
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-03 08:07:21 UTC
I can confirm the problem. I'll try to come up with a good patch, but I have no pda for testing though.
Comment 4 Adrian Almenar 2003-08-03 11:44:38 UTC
Email me Paul, i can do the testing of it ! 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-03 12:16:11 UTC
I've just committed a new version to cvs. That should fix things, please try it. (Basically it stops applying the old patch)
Comment 6 Adrian Almenar 2003-08-04 07:30:21 UTC
Paul, its working for me know, i havent tested it enough but i think you can close this bug, thanks.
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-04 11:51:07 UTC
Ok, I will close it as test-request to allow some for some testing
Comment 8 Arno Ekkes 2003-08-05 12:35:33 UTC
It compiles perfect for me. I don't have a pda to test the pda functionality of kdepim futher. My only use is as an ordinary pim :-) .
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-05 13:10:22 UTC
If you don't mind my asking would it then not make more sense just to disable the pda useflag. It is only to provide pda support (Without a pda it makes not much sense, which caused the bug to be present in the first place as I don't have one)
Comment 10 Arno Ekkes 2003-08-05 18:05:35 UTC
I could have done that, but I'm looking to buy one in the near future.
So I'm building applications with pda support already :-)
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2003-09-25 13:26:17 UTC
looks like this has been fixed