[Pkg-Cyrus-imapd-Debian-devel] Use pbuilder whenever possible (Was: (fwd) Bug#341580: cyrus22-imapd_2.2.12-1(sparc/experimental): FTBFS: cannot find -lsensors)

Benjamin Seidenberg astronut at dlgeek.net
Sat Dec 3 02:34:11 UTC 2005


I did build in pbuilder, in both sarge and sid. It was a few commits 
ago, but shouldn't have changed.


Ondrej Sury wrote:

>>| gcc -L/usr/lib  -L/usr  -o master master.o masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -L/usr/lib -lnetsnmpagent -lnetsnmpmibs -lnetsnmphelpers -lnetsnmp -lm -ldl -lsensors -lwrap -lwrap  -lfl  -lresolv   -ldb-4.2 -lssl -lcrypto /usr/lib/libcom_err.a 
>>| /usr/bin/ld: cannot find -lsensors
>>| collect2: ld returned 1 exit status
>>    
>>
>
>Seems to be libtool problem of libsnmp9-dev, -lsensors is not needed for
>correct linking with -lnetsnmp, but it gets included - just tested it.
>
>Anyway consider usage of pbuilder to build packages.  Attached are
>scripts which I use (I have several pbuilder environments located on my
>computer).
>
>This is brown paper bug which could have been easily caught at the start
>by using pbuilder to build package in first place.  We had many similar
>problems in GNOME team before everybody get used to using pbuilder to
>build packages.  This was especially true for packages in experimental.
>
>Simple workaround is to add build-dep on libsnmp-dev, correct fix is to
>fix libsnmp9-dev .la files.
>
>Ondrej.
>  
>
>------------------------------------------------------------------------
>
>BASETGZ=/var/cache/pbuilder/unstable.tgz
>BUILDPLACE=/var/cache/pbuilder/build/
>MIRRORSITE=http://ftp.cz.debian.org/debian
>USEPROC=yes
>USEDEVPTS=yes
>USEDEVFS=no
>BUILDRESULT=/var/cache/pbuilder/result/unstable/
>BUILDPLACE=/tmp/
>
>DISTRIBUTION=sid
>APTCACHE="/var/cache/pbuilder/aptcache/"
>APTCACHEHARDLINK="yes"
>REMOVEPACKAGES="lilo"
>HOOKDIR="/var/cache/pbuilder/hooks/unstable/"
>
># make debconf not interact with user
>export DEBIAN_FRONTEND="noninteractive"
>
>BUILDSOURCEROOTCMD="fakeroot"
>PBUILDERROOTCMD="sudo"
>
>DEBEMAIL="Ond�ej Surý <ondrej at debian.org>"
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Pkg-Cyrus-imapd-Debian-devel mailing list
>Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel
>  
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20051202/d8d98b27/signature.pgp


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list