Hello Vincent,

[...]
> Are you kidding ?
> If you build a package in a non-standard environment, there is
> no certitude that it will build correctly. There is way too much
> building environments to support all of them.
>   You might ask for support for another one with a whishbug
> but do to try to remove the software from Debian if it does not
> build in your non-standard environment!
> 

I'm well aware that there may be specifics to my build environment and certainly
I wouldn't have filed an RC bug if it were to be attributed to such an aspect.

>   Note that using fakeroot should be a very quick workaround and
> I'm sure that *lots* of packages do not build without fakeroot.
> 
> > As non-root builds should not fail,
> 
>   Where does this "should" come from? Policy?
>   And *non-root build does not fail* if you use fakeroot (I never
> build my packages as root myself!) and it should  probably also work
> (not tested) if /sbin is added in your PATH.
> 
> > please use the full path here.
> 
>   I'm really not convinced with your argument. If I do this
> modification, it wont be possible to test another ldconfig
> implementation with just adjusting the PATH envvar.
> 

Well, the change was just a proposal, you might want to go for an entirely
different solution. (Indeed I'm not sure why ldconfig is being run at all.)

So let's try to work out the (non-)standard build environment first. Here's what
I now did:

ssh m...@barriere.debian.org
(pick any porterbox of your choice)
schroot -c sid
(install wget, build-deps of papi)
dget http://ftp.de.debian.org/debian/pool/main/p/papi/papi_5.3.0-3.dsc
dpkg-source -x *.dsc
cd papi-5.3.0/
dpkg-buildpackage -rfakeroot
(...)
make[1]: Entering directory '/home/mt/papi-5.3.0'
find debian/libpapi5.3/usr/lib/x86_64-linux-gnu -type l -name 'libpapi.so.*' | 
xargs -r rm -v
removed 'debian/libpapi5.3/usr/lib/x86_64-linux-gnu/libpapi.so.5.3.0'
removed 'debian/libpapi5.3/usr/lib/x86_64-linux-gnu/libpapi.so.5'
ldconfig -n -v debian/libpapi5.3/usr/lib/x86_64-linux-gnu
make[1]: ldconfig: Command not found
debian/rules:46: recipe for target 'override_dh_shlibdeps' failed
make[1]: *** [override_dh_shlibdeps] Error 127
make[1]: Leaving directory '/home/mt/papi-5.3.0'
debian/rules:24: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
(sid_amd64-dchroot)mt@barriere:~/papi-5.3.0$


In my opinion that should qualify as a standard build environment, but arguably
it's not sbuild.

Thanks a lot,
Michael

Attachment: pgpCuTzuD5a9x.pgp
Description: PGP signature

Reply via email to