[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/ld.so.conf for dpkg-buildpackage issue



Scott Edwards wrote:

> I'm building a lib under sarge in a debootstrap chroot as a normal
> user (and fakeroot).  When it gets to this part, it's trying to modify
> the system /etc/ld.so.conf (which is naughty afaict).  What's the
> proper way to prepare this?
> 
> Thanks
> 
> - Scott.

Hi Scott,

It looks like the version of libcommoncpp2 you're trying to compile,
1.5.1, is available as a Debian package in unstable.  Have you tried
building from that source package under stable?  It may work, depending
upon whether or not the build-dependencies can be met in Sarge.

Even if trying to build under Sarge doesn't work, you could try looking
at the diff.gz [1] to see how the Debian maintainer solved this problem.
(He _must_ have solved it somehow, otherwise the package would FTBFS on
most of the buildds [2].)

I'm working from the assumption that your source tree, although
Debianized, is not the official Debian source package. If you *are*
building from the official Debian source package from unstable and this
happens anyway in your Sarge chroot, I have no idea.

[1]
http://ftp.debian.org/debian/pool/main/libc/libcommoncpp2/libcommoncpp2_1.5.1-4.diff.gz

[2] Not on alpha, mips, or mipsel, since IIRC fakeroot doesn't work
there and they actually build things using sudo.

Hope this helps,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544



Reply to: