Package: weborf
Severity: minor
Tags: patch
Usertags: ld --as-needed

Hello dear maintainer,

your package ftbfs in ubuntu due linking changes in binutils-gold
(which is present in upcoming wheezy toolchain too)

Refer the i386 pbuider buildlog attached

Patch to fix this problem by Michael Bienia at:
http://launchpadlibrarian.net/60180744/weborf_0.12.4-1_0.12.4-1ubuntu1.diff.gz

Regards
-- 
Bhavani Shankar
Ubuntu Developer       |  www.ubuntu.com
https://launchpad.net/~bhavi
bhavani@flyingmonster:~/weborf$ sudo pbuilder build weborf_0.12.5-1.dsc
[sudo] password for bhavani: 
I: using fakeroot in build.
I: Current time: Sun Jan 30 17:45:06 IST 2011
I: pbuilder-time-stamp: 1296389706
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/lucid-i386-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder and should
Depends: debhelper (>= 7.0.50~)
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 14631 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7.0.50~); however:
  Package debhelper is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} gettext{a} gettext-base{a} groff-base{a} 
  html2text{a} intltool-debian{a} libcroco3{a} libpipeline1{a} 
  libunistring0{a} libxml2{a} man-db{a} po-debconf{a} 
The following partially installed packages will be configured:
  pbuilder-satisfydepends-dummy 
The following packages are RECOMMENDED but will NOT be installed:
  curl libmail-sendmail-perl lynx-cur wget xml-core 
0 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4999 kB of archives. After unpacking 15.8 MB will be used.
Preconfiguring packages ...              
Selecting previously deselected package html2text.
(Reading database ... 14631 files and directories currently installed.)
Unpacking html2text (from .../html2text_1.3.2a-15_i386.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-2_i386.deb) ...
Selecting previously deselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2-1_i386.deb) ...
Selecting previously deselected package libunistring0.
Unpacking libunistring0 (from .../libunistring0_0.9.3-3_i386.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.18.1.1-3ubuntu1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-3ubuntu1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu1_all.deb) ...
Selecting previously deselected package groff-base.
Unpacking groff-base (from .../groff-base_1.21-3_i386.deb) ...
Selecting previously deselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_8.2.1ubuntu1_i386.deb) ...
Selecting previously deselected package libpipeline1.
Unpacking libpipeline1 (from .../libpipeline1_1.1.0-1_i386.deb) ...
Selecting previously deselected package man-db.
Unpacking man-db (from .../man-db_2.5.9-3_i386.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_8.0.0ubuntu2_all.deb) ...
Setting up html2text (1.3.2a-15) ...
Setting up libxml2 (2.7.8.dfsg-2) ...
Setting up libcroco3 (0.6.2-1) ...
Setting up libunistring0 (0.9.3-3) ...
Setting up gettext-base (0.18.1.1-3ubuntu1) ...
Setting up gettext (0.18.1.1-3ubuntu1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu1) ...
Setting up groff-base (1.21-3) ...
Setting up bsdmainutils (8.2.1ubuntu1) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up libpipeline1 (1.1.0-1) ...
Setting up man-db (2.5.9-3) ...
Building database of manual pages ...
Setting up debhelper (8.0.0ubuntu2) ...
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
                                         
Current status: 0 broken [-1].
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/118 kB of archives.
After this operation, 451 kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 15702 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.14.4-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up fakeroot (1.14.4-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [weborf_0.12.5-1.dsc]
I: copying [./weborf_0.12.5.orig.tar.gz]
I: copying [./weborf_0.12.5-1.debian.tar.gz]
I: Extracting source
gpgv: Signature made Fri Jan 28 11:00:05 2011 UTC using DSA key ID AE3BE9AA
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./weborf_0.12.5-1.dsc
dpkg-source: info: extracting weborf in weborf-0.12.5
dpkg-source: info: unpacking weborf_0.12.5.orig.tar.gz
dpkg-source: info: unpacking weborf_0.12.5-1.debian.tar.gz
I: Building the package
I: Running cd tmp/buildd/*/ && dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package weborf
dpkg-buildpackage: source version 0.12.5-1
dpkg-buildpackage: source changed by Salvo 'LtWorf' Tomaselli <tipos...@tiscali.it>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build weborf-0.12.5
 fakeroot debian/rules clean
dh  clean
   dh_testdir
   dh_auto_clean
make[1]: Entering directory `/tmp/buildd/weborf-0.12.5'
rm -f *.o weborf debug *.orig *~ *.gz
cd cgi_wrapper; make clean
make[2]: Entering directory `/tmp/buildd/weborf-0.12.5/cgi_wrapper'
rm -f *.o *.orig *~ *.gz weborf_cgi_wrapper  weborf_py_wrapper
make[2]: Leaving directory `/tmp/buildd/weborf-0.12.5/cgi_wrapper'
make[1]: Leaving directory `/tmp/buildd/weborf-0.12.5'
   dh_clean
 dpkg-source -b weborf-0.12.5
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building weborf using existing ./weborf_0.12.5.orig.tar.gz
dpkg-source: info: building weborf in weborf_0.12.5-1.debian.tar.gz
dpkg-source: info: building weborf in weborf_0.12.5-1.dsc
 debian/rules build
dh  build
   dh_testdir
   dh_auto_configure
   dh_auto_build
make[1]: Entering directory `/tmp/buildd/weborf-0.12.5'
gcc -Wall    -Wformat -g   -c -o listener.o listener.c
gcc -Wall    -Wformat -g   -c -o queue.o queue.c
gcc -Wall    -Wformat -g   -c -o instance.o instance.c
gcc -Wall    -Wformat -g   -c -o mystring.o mystring.c
gcc -Wall    -Wformat -g   -c -o utils.o utils.c
gcc -Wall    -Wformat -g   -c -o base64.o base64.c
gcc -Wall    -Wformat -g   -c -o buffered_reader.o buffered_reader.c
gcc -Wall    -Wformat -g   -c -o webdav.o webdav.c
gcc -lpthread  -O2 listener.o queue.o instance.o mystring.o utils.o base64.o buffered_reader.o webdav.o -o weborf
listener.o: In function `init_threads':
/tmp/buildd/weborf-0.12.5/listener.c:76: undefined reference to `pthread_create'
listener.o: In function `main':
/tmp/buildd/weborf-0.12.5/listener.c:386: undefined reference to `pthread_create'
listener.o: In function `print_queue_status':
/tmp/buildd/weborf-0.12.5/listener.c:529: undefined reference to `pthread_mutex_trylock'
/tmp/buildd/weborf-0.12.5/listener.c:537: undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
make[1]: *** [weborf] Error 1
make[1]: Leaving directory `/tmp/buildd/weborf-0.12.5'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//1777 and its subdirectories
bhavani@flyingmonster:~/weborf$ 

Reply via email to