Bug#538786: I can't build pidgin's debian package

2009-07-26 Thread Rafael Cunha de Almeida
Package: pidgin
Version: 2.4.3-4lenny2
Severity: normal

I downloaded the source with
$ apt-get source pidgin
Then I've installed the build dependencies with
$ apt-get build-dep pidgin
After all that I changed to pidgin-2.4.3 directory and issued the following
command:
$ dpkg-buildpackage -uc -us -rfakeroot
After a bunch of successful compilations dpkg-buildpackage exits with the
following error:
/bin/sh ../../libtool --silent --tag=CC   --mode=link cc  -g -g -O2 -g  
-O2 -export-dynamic -version_info 4:3:4 -no-undefined -Wl,--as-needed -o 
libgnt.la -rpath /usr/lib gntmarshal.lo gntwidget.lo gntbindable.lo gntbox.lo 
gntbutton.lo gntcheckbox.lo gntclipboard.lo gntcolors.lo gntcombobox.lo 
gntentry.lo gntfilesel.lo gntkeys.lo gntlabel.lo gntline.lo gntmenu.lo 
gntmenuitem.lo gntmenuitemcheck.lo gntslider.lo gntstyle.lo gnttextview.lo 
gnttree.lo gntutils.lo gntwindow.lo gntwm.lo gntws.lo gntmain.lo 
-Wl,--export-dynamic -pthread -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 
-lrt -lglib-2.0   -lncursesw -lpanelw -lxml2   -lpython2.6 
-L/home/rafael/local/lib/python2.6/config -lutil -lpthread -lnsl -lresolv 
/usr/bin/ld: 
/home/rafael/local/lib/python2.6/config/libpython2.6.a(listobject.o): 
relocation R_X86_64_32 against `_Py_NoneStruct' can not be used when making a 
shared object; recompile with -fPIC
/home/rafael/local/lib/python2.6/config/libpython2.6.a: could not read 
symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [libgnt.la] Error 1
make[6]: Leaving directory 
`/home/rafael/hacking/pidgin-2.4.3/build/finch/libgnt'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/home/rafael/hacking/pidgin-2.4.3/build/finch/libgnt'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/rafael/hacking/pidgin-2.4.3/build/finch/libgnt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/rafael/hacking/pidgin-2.4.3/build/finch'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rafael/hacking/pidgin-2.4.3/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rafael/hacking/pidgin-2.4.3/build'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pidgin depends on:
ii  gconf2  2.22.0-1 GNOME configuration database syste
ii  libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libcairo2   1.6.4-7  The Cairo 2D vector graphics libra
ii  libdbus-1-3 1.2.1-5+lenny1   simple interprocess messaging syst
ii  libdbus-glib-1-20.76-1   simple interprocess messaging syst
ii  libglib2.0-02.16.6-2 The GLib library of C routines
ii  libgstreamer0.10-0  0.10.19-3Core GStreamer libraries and eleme
ii  libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  libgtkspell02.0.13-1+b1  a spell-checking addon for GTK's T
ii  libice6 2:1.0.4-1X11 Inter-Client Exchange library
ii  libpango1.0-0   1.20.5-5 Layout and rendering of internatio
ii  libpurple0  2.4.3-4lenny2multi-protocol instant messaging l
ii  libsm6  2:1.0.3-2X11 Session Management library
ii  libstartup-notification 0.9-1library for program launch feedbac
ii  libx11-62:1.1.5-2X11 client-side library
ii  libxss1 1:1.1.3-1X11 Screen Saver extension library
ii  perl5.10.0-19Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.10 5.10.0-19minimal Perl system
ii  pidgin-data 2.4.3-4lenny2multi-protocol instant messaging c

Versions of packages pidgin recommends:
ii  gstreamer0.10-plugins- 0.10.19-2 GStreamer plugins from the base 
ii  gstreamer0.10-plugins- 0.10.8-4.1~lenny2 GStreamer plugins from the good 

Versions of packages pidgin suggests:
ii  evolution-data-server  2.22.3-1.1+lenny1 evolution database backend server
ii  gnome-panel2.20.3-5  launcher and docking facility for 
ii  kicker 4:3.5.9.dfsg.1-6  desktop panel for KDE
ii  libsqlite3-0   3.5.9-6   SQLite 3 shared library

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#538786: I can't build pidgin's debian package

2009-07-26 Thread Rafael Almeida
I'm sorry about this, it's actually pretty obvious that the problem
was that pidgin ended up using my own python installation. It took me
a while to realise that libpython2.6.a was a version inside my own
home directory and not the system's version :-/.

You may close the bug report.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org