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

Re: nbd-server



On Fri, Sep 28, 2001 at 12:17:37AM +0200, Wouter Verhelst wrote:
> I've tried to create a source package that should build nbd-client only if
> the architecture supports it, so you guys should be able to build
> it. However, since I didn't see it appear in the archive, I suspect
> something being wrong with it. If so, could someone show me a build log or
> something, so that I can find out what?

A build log is below.  There is currently no automatic way to get that,
as it is not exposed to the web, sorry.

The offending inclusion is linux/nbd.h in cliserv.h, which is included by
the server.

Thanks,
Marcus

Turtle::Group::Debian::Version# install -d /mnt/turtle-root/./build-dir/./group/Debian-40k/package/nbd/version/1_1.2-5
Turtle::Group::Debian::Version# dpkg-checkbuilddeps -B /mnt/turtle-root/./build-dir/./group/Debian-40k/package/nbd/version/1_1.2-5/control
Turtle::Group::Debian::Version# rm -fR /mnt/turtle-root/./build-dir/./group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2
Turtle::Group::Debian::Version# pwd
/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5
Turtle::Group::Debian::Version# dpkg-source -x /mnt/turtle-root/./build-dir/./group/Debian-40k/package/nbd/version/1_1.2-5/nbd_1.2-5.dsc
dpkg-source: extracting nbd in nbd-1.2
Turtle::Group::Debian::Version# pwd
/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2
Turtle::Group::Debian::Version# dpkg-buildpackage -B -uc "-mMarcus Brinkmann <brinkmd@debian.org>"
dpkg-buildpackage: source package is nbd
dpkg-buildpackage: source version is 1:1.2-5
dpkg-buildpackage: host architecture is hurd-i386
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -f debian/nbd-server.1
rm -f debian/nbd-client.8
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2'
make: [clean] Error 2 (ignored)
dh_clean
	rm -f debian/nbd-server.substvars
	rm -rf debian/nbd-server
	rm -f debian/nbd-client.substvars
	rm -rf debian/nbd-client
	rm -f debian/files
	rm -f debian/*.debhelper
	find . -type f -a \( -name \#\*\# -o -name \*\~ -o -name DEADJOE -o -name \*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o -name .\*.rej -o -name .SUMS -o -name TAGS -o -name core -o \( -path \*/.deps/\* -a -name \*.P \) \) -exec rm -f {} \;
 debian/rules build
dh_testdir
# Add here commands to configure the package.
./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether warnings should be enabled... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking size of unsigned short int... 2
checking size of unsigned int... 4
checking size of unsigned long int... 4
checking size of unsigned long long int... 8
checking for llseek... no
checking whether client should be built... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2'
gcc -g -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wno-unused  -c nbd-server.c
In file included from nbd-server.c:45:
cliserv.h:39: linux/nbd.h: No such file or directory
nbd-server.c:63: sys/mount.h: No such file or directory
make[1]: *** [nbd-server.o] Error 1
make[1]: Leaving directory `/mnt/turtle-root/build/group/Debian-40k/package/nbd/version/1_1.2-5/nbd-1.2'
make: *** [build-stamp] Error 2

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



Reply to: