Bug#442989: mdadm - FTBFS: error: called object 'major' is not a function

Michael Ablassmeier abi at grinser.de
Tue Sep 18 07:23:46 UTC 2007


Package: mdadm
Version: 2.6.2-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs

hi,

while doing an archive wide package rebuild your package failed to build from
source for the following reason:

 > dh_testdir
 > make -sC debian/patches
 > make[2]: Entering directory `/build/user/mdadm-2.6.2/debian/patches'
 > make[2]: Leaving directory `/build/user/mdadm-2.6.2/debian/patches'
 > dh_testdir
 > /usr/bin/make CXFLAGS="-ggdb -fomit-frame-pointer -Os" CONFFILE=/tmp/mdadm.conf all
 > make[2]: Entering directory `/build/user/mdadm-2.6.2'
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o mdadm.o mdadm.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o config.o config.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o mdstat.o mdstat.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o ReadMe.o ReadMe.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o util.o util.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o Manage.o Manage.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o Assemble.o Assemble.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o Build.o Build.c
 > gcc -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN  -c -o Create.o Create.c
 > Create.c: In function 'Create':
 > Create.c:511: error: called object 'major' is not a function
 > make[2]: *** [Create.o] Error 1
 > make[2]: Leaving directory `/build/user/mdadm-2.6.2'
 > make[1]: *** [mdadm.udeb] Error 2
 > make[1]: Leaving directory `/build/user/mdadm-2.6.2'
 > make: *** [build-stamp] Error 2

The Full Build log is available and can be viewed at:

 http://people.debian.org/~lucas/logs/2007/09/17/

A list of current common problems and possible solutions may be available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
 
bye,
	- michael





More information about the pkg-mdadm-devel mailing list