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

Bug#437296: Aboot ftbfs due to missing kernel headers



Package: aboot
Version: 0.9b-3
Severity: serious
Tags: help
X-Debbugs-CC: vorlon@debian.org
X-Debbugs-CC: p2@mind.be
X-Debbugs-CC: debian-alpha@lists.debian.org

Since I (finally) got a remote shell account on an alpha again I
wanted to do some maintenance on aboot (which has seen no changes
since at least Sarge). However, aboot now ftbfs in Sid. The relevant 
lines are:

 gcc -g -O2 -Wall -I. -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -c -o ../lib/isolib.o ../lib/isolib.c
../lib/isolib.c:10:28: error: linux/string.h: No such file or directory
../lib/isolib.c:13:26: error: linux/config.h: No such file or directory
In file included from ../lib/isolib.c:21:
../include/utils.h:5:23: error: asm/hwrpb.h: No such file or directory

(The "full" build log is attached)

These used to be in the kernel headers. They are not contained in
linux-libc-dev (as shipped in sid) and I would rather not include
specific kernel version with specific include paths.

linux/string.h: Still present in current kernels. 
linux/config.h: Gone 2.6.22, in 2.6.17 marked as deprecated
asm/hwrpb.h: Still present in (current) kernels

And I'm afraid, the build will fail further down as well (haven't
tested yet). 

I tagged this bug "help" because before fiddeling around[1] I thought
I checked what the appropriate way to deal with these missing headers
is. Should I include a copy inside aboot? Should I request them to be
included in linux-libc-dev? Should I (shudder) rely on a specific
kernel version for inclusion? .... - Maybe there is some
documentation/Wiki which explains all these?

Please keep this bug in the loop on replies. Thanks.

Greetings

             Helge

[1] Last time I checked, upstream no longer responded, but I still
    have access to the sf repository, so including fixes upstream
    could be possible :-))
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-aboot-stamp build-aboot-base-stamp build-aboot-cross-stamp
rm -f install-aboot-stamp install-aboot-base-stamp install-aboot-cross-stamp
/usr/bin/make distclean
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b'
make -C sdisklabel clean CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -I/home/helge/build/aboot/aboot-0.9b/include -I/usr/src/linux/include"
make[2]: Entering directory `/home/helge/build/aboot/aboot-0.9b/sdisklabel'
rm -f sdisklabel swriteboot *.o
make[2]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/sdisklabel'
make -C tools clean CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -I/home/helge/build/aboot/aboot-0.9b/include -I/usr/src/linux/include"
make[2]: Entering directory `/home/helge/build/aboot/aboot-0.9b/tools'
rm -f *~ *.o *.a core e2writeboot isomarkboot abootconf elfencap objstrip
make[2]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/tools'
make -C lib clean CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -I/home/helge/build/aboot/aboot-0.9b/include -I/usr/src/linux/include" TESTING=""
make[2]: Entering directory `/home/helge/build/aboot/aboot-0.9b/lib'
rm -f libaboot.a *.o
make[2]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/lib'
rm -f aboot abootconf net_aboot net_aboot.nh net_pad vmlinux.bootp \
		head.o aboot.o cons.o utils.o zip/misc.o zip/unzip.o zip/inflate.o disk.o fs/ext2.o fs/ufs.o fs/dummy.o fs/iso.o net.o bootlx \
		include/ksize.h vmlinux.nh b2c bootloader.h netabootwrap
find . -name \*~ | xargs rm -f
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b'
/usr/bin/make -C doc/man clean
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b/doc/man'
rm -f aboot.8 aboot.conf.5 abootconf.8 isomarkboot.1 sdisklabel.8 netabootwrap.1 manpage.log manpage.links manpage.refs
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/doc/man'
/usr/bin/make -C doc/man/de clean
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b/doc/man/de'
rm -f *.html *.de.? srmbootraw.8 srmbootfat.1 sdisklabel.8 isomarkboot.8 abootconf.8 aboot.conf.5 aboot.8 netabootwrap.1 manpage.links manpage.log manpage.refs
rm -rf SRM-HOWTO 
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/doc/man/de'
/usr/bin/make -C doc/faq-src clean
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b/doc/faq-src'
rm -rf SRM-HOWTO
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/doc/faq-src'
/usr/bin/make -C srmbootfat clean
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b/srmbootfat'
rm -f srmbootfat srmbootraw srmbootfat.1 srmbootraw.1 manpage.links manpage.log manpage.refs
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/srmbootfat'
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
 dpkg-source -b aboot-0.9b
dpkg-source: building aboot using existing aboot_0.9b.orig.tar.gz
dpkg-source: building aboot in aboot_0.9b-3.diff.gz
dpkg-source: warning: ignoring deletion of file doc/man/abootconf.8
dpkg-source: warning: ignoring deletion of file doc/man/sdisklabel.8
dpkg-source: warning: ignoring deletion of file doc/man/aboot.conf.5
dpkg-source: warning: ignoring deletion of file doc/man/aboot.8
dpkg-source: building aboot in aboot_0.9b-3.dsc
 debian/rules build
dh_testdir
/usr/bin/make -C tools  isomarkboot
make[1]: Entering directory `/home/helge/build/aboot/aboot-0.9b/tools'
gcc -g -O2 -Wall -I. -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -c -o isomarkboot.o isomarkboot.c
gcc -g -O2 -Wall -I. -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 "-g"  -c -o ../lib/isolib.o ../lib/isolib.c
../lib/isolib.c:10:28: error: linux/string.h: No such file or directory
../lib/isolib.c:13:26: error: linux/config.h: No such file or directory
In file included from ../lib/isolib.c:21:
../include/utils.h:5:23: error: asm/hwrpb.h: No such file or directory
../lib/isolib.c: In function 'iso_iget':
../lib/isolib.c:230: warning: implicit declaration of function 'memcpy'
../lib/isolib.c:230: warning: incompatible implicit declaration of built-in function 'memcpy'
../lib/isolib.c: In function 'iso_match':
../lib/isolib.c:378: warning: implicit declaration of function 'memcmp'
../lib/isolib.c: In function 'iso_find_entry':
../lib/isolib.c:450: warning: incompatible implicit declaration of built-in function 'memcpy'
../lib/isolib.c:489: warning: implicit declaration of function 'strcpy'
../lib/isolib.c:489: warning: incompatible implicit declaration of built-in function 'strcpy'
../lib/isolib.c:491: warning: pointer targets in passing argument 1 of 'isonum_711' differ in signedness
../lib/isolib.c: In function 'iso_lookup':
../lib/isolib.c:576: warning: implicit declaration of function 'strlen'
../lib/isolib.c:576: warning: incompatible implicit declaration of built-in function 'strlen'
../lib/isolib.c: In function 'iso_follow_link':
../lib/isolib.c:647: warning: implicit declaration of function 'strrchr'
../lib/isolib.c:647: warning: incompatible implicit declaration of built-in function 'strrchr'
../lib/isolib.c:649: warning: incompatible implicit declaration of built-in function 'strlen'
../lib/isolib.c:650: warning: implicit declaration of function 'strncpy'
../lib/isolib.c:650: warning: incompatible implicit declaration of built-in function 'strncpy'
../lib/isolib.c:652: warning: implicit declaration of function 'strcat'
../lib/isolib.c:652: warning: incompatible implicit declaration of built-in function 'strcat'
../lib/isolib.c: In function 'iso_read_super':
../lib/isolib.c:732: warning: implicit declaration of function 'strncmp'
../lib/isolib.c: In function 'iso_fstat':
../lib/isolib.c:922: warning: implicit declaration of function 'memset'
../lib/isolib.c:922: warning: incompatible implicit declaration of built-in function 'memset'
../lib/isolib.c: In function 'iso_readdir_i':
../lib/isolib.c:1029: warning: incompatible implicit declaration of built-in function 'memcpy'
../lib/isolib.c:1049: warning: pointer targets in passing argument 1 of 'isonum_711' differ in signedness
../lib/isolib.c:1079: warning: incompatible implicit declaration of built-in function 'strcpy'
../lib/isolib.c:1117: warning: incompatible implicit declaration of built-in function 'memcpy'
../lib/isolib.c: In function 'get_rock_ridge_filename':
../lib/isolib.c:1191: warning: pointer targets in passing argument 1 of 'isonum_711' differ in signedness
../lib/isolib.c:1239: warning: incompatible implicit declaration of built-in function 'strlen'
../lib/isolib.c:1241: warning: implicit declaration of function 'strncat'
../lib/isolib.c:1241: warning: incompatible implicit declaration of built-in function 'strncat'
../lib/isolib.c:1246: warning: incompatible implicit declaration of built-in function 'strncat'
../lib/isolib.c: In function 'get_rock_ridge_symlink':
../lib/isolib.c:1518: warning: incompatible implicit declaration of built-in function 'strncat'
../lib/isolib.c:1521: warning: incompatible implicit declaration of built-in function 'strcat'
../lib/isolib.c:1546: warning: incompatible implicit declaration of built-in function 'strcat'
../lib/isolib.c:1554: warning: incompatible implicit declaration of built-in function 'strcat'
make[1]: *** [../lib/isolib.o] Error 1
make[1]: Leaving directory `/home/helge/build/aboot/aboot-0.9b/tools'
make: *** [build-aboot-cross-stamp] Error 2
debuild: fatal error at line 1228:
debian/rules build failed

Attachment: signature.asc
Description: Digital signature


Reply to: