Bug#347940: pstngw_1.3.1-5(alpha/unstable): FTBFS with
dpkg-buildpackage -rsudo
Ryan Murray
rmurray at debian.org
Fri Jan 13 17:05:22 UTC 2006
Package: pstngw
Version: 1.3.1-5
Severity: serious
There was an error while trying to autobuild your package:
> Automatic build of pstngw_1.3.1-5 on goedel by sbuild/alpha 85
> Build started at 20060112-1617
[...]
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>=3.0.0), libpt-dev (>=1.8.7-2), libopenh323-dev (>=1.15.6-2), g++ (>=2:3.2)
[...]
> make[2]: Leaving directory `/build/buildd/pstngw-1.3.1'
> make[1]: Leaving directory `/build/buildd/pstngw-1.3.1'
> dh_clean
> dh_clean: Compatibility levels before 4 are deprecated.
> debian/rules build
> dh_testdir
> /usr/bin/make OPENH323DIR=/usr/share/openh323 PWLIBDIR=/usr/share/pwlib ASNPARSER=`which asnparser` opt optshared
> make[1]: Entering directory `/build/buildd/pstngw-1.3.1'
> g++ -D_REENTRANT -Wall -I/usr/share/pwlib/include -DPTRACING -I/usr/share/openh323/include -DHAS_OSS -O2 -felide-constructors -x c++ -c main.cxx -o obj_linux_alpha_r/main.o
> main.cxx:445:2: warning: #warning linux specific check on ringing
> Assembler messages:
> FATAL: can't create obj_linux_alpha_r/main.o: Permission denied
> make[1]: *** [obj_linux_alpha_r/main.o] Error 1
> make[1]: Leaving directory `/build/buildd/pstngw-1.3.1'
> make: *** [build-stamp] Error 2
A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=pstngw&ver=1.3.1-5
Running the following as a non root user with sudo access will cause pstngw
to FTBFS:
dpkg-buildpackage -uc -us -B -rsudo
The problem is that the clean target (run as root) is creating directories that
the build process then attempts to write to (as a regular user), which fails.
Please fix the debian/rules clean target to not create directories, and do
that in the build target where it should be done instead.
More information about the Pkg-voip-maintainers
mailing list