Public bug reported:

Binary package hint: mac-fdisk

on an up-to-date dapper
using an up-to-date pbuilder
the mac-fdisk package gets compile errors
Log follows.

..............................


$ apt-get source mac-fdisk --download-only
Reading package lists...
Building dependency tree...
Need to get 76.1kB of source archives.
Get:1 http://megaera dapper/main mac-fdisk 0.1-13 (dsc) [670B]
Get:2 http://megaera dapper/main mac-fdisk 0.1-13 (tar) [55.8kB]
Get:3 http://megaera dapper/main mac-fdisk 0.1-13 (diff) [19.6kB]
Fetched 76.1kB in 0s (578kB/s)
Download complete and in download only mode

$ ls -l /tmp/pbuilder-wrapper-1175237877-1684
total 84
-rw-r--r-- 1 buildd buildd 19615 2005-11-16 04:55 mac-fdisk_0.1-13.diff.gz
-rw-r--r-- 1 buildd buildd   670 2005-11-16 04:55 mac-fdisk_0.1-13.dsc
-rw-r--r-- 1 buildd buildd 55817 2004-07-22 04:56 mac-fdisk_0.1.orig.tar.gz

$ sudo /usr/sbin/pbuilder build 
/tmp/pbuilder-wrapper-1175237877-1684/mac-fdisk_0.1-13.dsc
W: /home/buildd/.pbuilderrc does not exist
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.28 2005/12/21 
11:57:29 dancer Exp $
$Id: pbuilder-buildpackage,v 1.120 2006/01/06 12:30:51 dancer Exp $

Current time: Fri Mar 30 16:57:57 EST 2007
pbuilder-time-stamp: 1175237877
Building the build Environment
 -> extracting base tarball [/home/buildd/the-pbuilder-way/base.tgz]
 -> creating local configuration
 -> copying local configuration
 -> mounting /proc filesystem
ln: creating symbolic link 
`/home/buildd/the-pbuilder-way/build//22549/etc/mtab' to `../proc/mounts': File 
exists
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
 -> created buildresult dir :/home/buildd/the-pbuilder-way/result/
Installing the build-deps
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.22 
2005/12/04 05:16:40 dancer Exp $
 -> Considering  debhelper
   -> Trying debhelper
 -> Considering  coreutils
   -> Trying coreutils
 -> Considering  grep
   -> Trying grep
 -> Installing  debhelper coreutils grep
Reading package lists...
Building dependency tree...
coreutils is already the newest version.
grep is already the newest version.
The following extra packages will be installed:
  debconf-utils file gettext html2text intltool-debian libmagic1 po-debconf
Suggested packages:
  dh-make cvs gettext-doc
Recommended packages:
  curl wget lynx libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  debconf-utils debhelper file gettext html2text intltool-debian libmagic1
  po-debconf
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 2204kB of archives.
After unpacking 9282kB of additional disk space will be used.
Get:1 http://localhost dapper/main libmagic1 4.16-0ubuntu3 [263kB]
Get:2 http://localhost dapper/main file 4.16-0ubuntu3 [30.6kB]
Get:3 http://localhost dapper/main debconf-utils 1.4.72ubuntu9 [30.9kB]
Get:4 http://localhost dapper/main html2text 1.3.2a-3 [95.5kB]
Get:5 http://localhost dapper/main gettext 0.14.5-2ubuntu3 [1148kB]
Get:6 http://localhost dapper/main intltool-debian 0.34.1+20050828ubuntu1 
[27.7kB]
Get:7 http://localhost dapper/main po-debconf 0.9.2 [103kB]
Get:8 http://localhost dapper/main debhelper 5.0.7ubuntu13 [506kB]
Fetched 2204kB in 0s (7222kB/s)
Selecting previously deselected package libmagic1.
(Reading database ... 13292 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.16-0ubuntu3_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.16-0ubuntu3_i386.deb) ...
Selecting previously deselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.4.72ubuntu9_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.14.5-2ubuntu3_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from 
.../intltool-debian_0.34.1+20050828ubuntu1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_0.9.2_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.7ubuntu13_all.deb) ...
Setting up libmagic1 (4.16-0ubuntu3) ...

Setting up file (4.16-0ubuntu3) ...
Setting up debconf-utils (1.4.72ubuntu9) ...

Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.14.5-2ubuntu3) ...

Setting up intltool-debian (0.34.1+20050828ubuntu1) ...
Setting up po-debconf (0.9.2) ...
Setting up debhelper (5.0.7ubuntu13) ...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
dejagnu is already the newest version.
The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.8kB of archives.
After unpacking 385kB of additional disk space will be used.
Get:1 http://localhost dapper/main fakeroot 1.5.6ubuntu2 [93.8kB]
Fetched 93.8kB in 0s (3177kB/s)
Selecting previously deselected package fakeroot.
(Reading database ... 13828 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.6ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.6ubuntu2) ...

/home/buildd/the-pbuilder-way/build/22549/etc/passwd
/home/buildd/the-pbuilder-way/build/22549/etc/group
Copying source file
    -> copying [/tmp/pbuilder-wrapper-1175237877-1684/mac-fdisk_0.1-13.dsc]
    -> copying [/tmp/pbuilder-wrapper-1175237877-1684/mac-fdisk_0.1.orig.tar.gz]
    -> copying [/tmp/pbuilder-wrapper-1175237877-1684/mac-fdisk_0.1-13.diff.gz]
Extracting source
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (1002)
dpkg-source: extracting mac-fdisk in mac-fdisk-0.1
dpkg-source: unpacking mac-fdisk_0.1.orig.tar.gz
dpkg-source: applying ./mac-fdisk_0.1-13.diff.gz
 -> Building the package
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1002)
dpkg-buildpackage: source package is mac-fdisk
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1002)
dpkg-buildpackage: source version is 0.1-13
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1002)
dpkg-buildpackage: source changed by Michael Schmitz <[EMAIL PROTECTED]>
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
 fakeroot debian/rules clean
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
test -f debian/rules
rm -f build
make clean
make[1]: Entering directory `/tmp/buildd/mac-fdisk-0.1'
rm -f *.o pdisk fdisk mac-fdisk pmac-fdisk
make[1]: Leaving directory `/tmp/buildd/mac-fdisk-0.1'
rm -f `find . -name "*~"`
rm -rf debian/tmp debian/mac-fdisk-cross debian/pmac-fdisk 
debian/pmac-fdisk-cross debian/mac-fdisk-udeb debian/pmac-fdisk-udeb 
debian/files* core debian/*substvars
 dpkg-source -b mac-fdisk-0.1
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (1002)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1002)
dpkg-source: building mac-fdisk using existing mac-fdisk_0.1.orig.tar.gz
dpkg-source: building mac-fdisk in mac-fdisk_0.1-13.diff.gz
dpkg-source: building mac-fdisk in mac-fdisk_0.1-13.dsc
 debian/rules build
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1002)
test -f debian/rules
make CFLAGS="-O2 -g -Wall"
make[1]: Entering directory `/tmp/buildd/mac-fdisk-0.1'
cc -O2 -g -Wall   -c -o pdisk.o pdisk.c
In file included from pdisk.c:43:
kernel-defs.h:18:1: warning: "_IOC_SIZEBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from pdisk.c:42:
/usr/include/asm-i386/ioctl.h:29:1: warning: this is the location of the 
previous definition
In file included from pdisk.c:43:
kernel-defs.h:19:1: warning: "_IOC_DIRBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from pdisk.c:42:
/usr/include/asm-i386/ioctl.h:30:1: warning: this is the location of the 
previous definition
pdisk.c: In function 'main':
pdisk.c:156: warning: implicit declaration of function 'exit'
pdisk.c:156: warning: incompatible implicit declaration of built-in function 
'exit'
pdisk.c: In function 'do_create_partition':
pdisk.c:469: warning: implicit declaration of function 'strncmp'
pdisk.c:439: warning: unused variable 'mult'
pdisk.c: In function 'do_reorder':
pdisk.c:601: warning: unused variable 'cur'
cc -O2 -g -Wall   -c -o dump.o dump.c
dump.c:66: warning: missing braces around initializer
dump.c:66: warning: (near initialization for 'plist[0]')
dump.c: In function 'dump_block_zero':
dump.c:126: warning: format '%u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:135: warning: format '%u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c: In function 'dump_partition_entry':
dump.c:229: warning: format '%-4d' expects type 'int', but argument 3 has type 
'long int'
dump.c:233: warning: format '%-4d' expects type 'int', but argument 3 has type 
'long int'
dump.c:237: warning: format '%*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:240: warning: format '%*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:243: warning: format '%*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:246: warning: format '%*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:250: warning: format '%-*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:252: warning: format '%-*u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:204: warning: unused variable 'bp'
dump.c: In function 'list_all_disks':
dump.c:362: warning: implicit declaration of function 'free'
dump.c:317: warning: unused variable 't'
dump.c: In function 'show_data_structures':
dump.c:385: warning: format '%u' expects type 'unsigned int', but argument 4 
has type 'long unsigned int'
dump.c:403: warning: format '%u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:405: warning: format '%x' expects type 'unsigned int', but argument 4 
has type 'u32'
dump.c:414: warning: format '%u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:429: warning: format '%2d' expects type 'int', but argument 2 has type 
'long int'
dump.c:430: warning: format '%7u' expects type 'unsigned int', but argument 2 
has type 'u32'
dump.c:430: warning: format '%-7u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:443: warning: format '%u' expects type 'unsigned int', but argument 2 
has type 'u32'
dump.c:443: warning: format '%u' expects type 'unsigned int', but argument 3 
has type 'u32'
dump.c:452: warning: format '%2d' expects type 'int', but argument 2 has type 
'long int'
dump.c:453: warning: format '%7u' expects type 'unsigned int', but argument 2 
has type 'u32'
dump.c:454: warning: format '%7u' expects type 'unsigned int', but argument 2 
has type 'u32'
dump.c:455: warning: format '%8x' expects type 'unsigned int', but argument 2 
has type 'u8 *'
dump.c:456: warning: format '%8x' expects type 'unsigned int', but argument 2 
has type 'u8 *'
dump.c:457: warning: format '%8x' expects type 'unsigned int', but argument 2 
has type 'u8 *'
dump.c:458: warning: format '%8x' expects type 'unsigned int', but argument 2 
has type 'u8 *'
dump.c:459: warning: format '%8x' expects type 'unsigned int', but argument 2 
has type 'u32'
dump.c:469: warning: format '%2d' expects type 'int', but argument 2 has type 
'long int'
dump.c:497: warning: format '%2d' expects type 'int', but argument 2 has type 
'long unsigned int'
cc -O2 -g -Wall   -c -o partition_map.o partition_map.c
In file included from partition_map.c:38:
kernel-defs.h:18:1: warning: "_IOC_SIZEBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from partition_map.c:37:
/usr/include/asm-i386/ioctl.h:29:1: warning: this is the location of the 
previous definition
In file included from partition_map.c:38:
kernel-defs.h:19:1: warning: "_IOC_DIRBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from partition_map.c:37:
/usr/include/asm-i386/ioctl.h:30:1: warning: this is the location of the 
previous definition
partition_map.c: In function 'open_partition_map':
partition_map.c:129: warning: implicit declaration of function 'malloc'
partition_map.c:129: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c:109: warning: unused variable 'length'
partition_map.c: In function 'close_partition_map':
partition_map.c:184: warning: implicit declaration of function 'free'
partition_map.c: In function 'read_partition_map':
partition_map.c:203: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c: In function 'write_partition_map':
partition_map.c:267: warning: implicit declaration of function 'calloc'
partition_map.c:267: warning: incompatible implicit declaration of built-in 
function 'calloc'
partition_map.c:282: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c:300: warning: implicit declaration of function 'sync'
partition_map.c:302: warning: implicit declaration of function 'sleep'
partition_map.c: In function 'add_data_to_map':
partition_map.c:350: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c:368: warning: implicit declaration of function 'strncmp'
partition_map.c: In function 'create_partition_map':
partition_map.c:421: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c:437: warning: format '%u' expects type 'unsigned int', but 
argument 2 has type 'long unsigned int'
partition_map.c:443: warning: format '%u' expects type 'unsigned int', but 
argument 2 has type 'long unsigned int'
partition_map.c:462: warning: incompatible implicit declaration of built-in 
function 'calloc'
partition_map.c:471: warning: implicit declaration of function 'strncpy'
partition_map.c:471: warning: incompatible implicit declaration of built-in 
function 'strncpy'
partition_map.c:408: warning: unused variable 'ok'
partition_map.c:406: warning: unused variable 'length'
partition_map.c: In function 'create_data':
partition_map.c:622: warning: incompatible implicit declaration of built-in 
function 'calloc'
partition_map.c:631: warning: incompatible implicit declaration of built-in 
function 'strncpy'
partition_map.c: In function 'compute_device_size':
partition_map.c:712: warning: incompatible implicit declaration of built-in 
function 'malloc'
partition_map.c:674: warning: 'valid' may be used uninitialized in this function
partition_map.c:673: warning: 'x' may be used uninitialized in this function
partition_map.c: In function 'write_partition_map':
partition_map.c:258: warning: 'i' may be used uninitialized in this function
partition_map.c:259: warning: 'saved_errno' may be used uninitialized in this 
function
partition_map.c: In function 'add_partition_to_map':
partition_map.c:528: warning: 'new_length' may be used uninitialized in this 
function
partition_map.c:527: warning: 'new_base' may be used uninitialized in this 
function
partition_map.c:526: warning: 'adjusted_length' may be used uninitialized in 
this function
partition_map.c:525: warning: 'adjusted_base' may be used uninitialized in this 
function
cc -O2 -g -Wall   -c -o convert.o convert.c
cc -O2 -g -Wall   -c -o io.o io.c
io.c: In function 'get_string':
io.c:348: warning: implicit declaration of function 'free'
io.c: In function 'read_block':
io.c:445: warning: implicit declaration of function 'lseek64'
io.c: In function 'write_block':
io.c:469: warning: format '%u' expects type 'unsigned int', but argument 2 has 
type 'long unsigned int'
io.c: In function 'open_device':
io.c:533: warning: implicit declaration of function 'open'
cc -O2 -g -Wall   -c -o errors.o errors.c
errors.c: In function 'fatal':
errors.c:127: warning: implicit declaration of function 'exit'
errors.c:127: warning: incompatible implicit declaration of built-in function 
'exit'
cc -O2 -g -Wall   -c -o bitfield.o bitfield.c
bitfield.c: In function 'bitfield_set':
bitfield.c:76: warning: unused variable 'i'
bitfield.c: In function 'bitfield_get':
bitfield.c:94: warning: unused variable 'i'
cc   pdisk.o dump.o partition_map.o convert.o io.o errors.o bitfield.o   -o 
pdisk
errors.o: In function `error':/tmp/buildd/mac-fdisk-0.1/errors.c:148: warning: 
`sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
:/tmp/buildd/mac-fdisk-0.1/errors.c:147: warning: `sys_nerr' is deprecated; use 
`strerror' or `strerror_r' instead
cc -O2 -g -Wall   -c -o fdisk.o fdisk.c
In file included from fdisk.c:75:
kernel-defs.h:18:1: warning: "_IOC_SIZEBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisk.c:71:
/usr/include/asm-i386/ioctl.h:29:1: warning: this is the location of the 
previous definition
In file included from fdisk.c:75:
kernel-defs.h:19:1: warning: "_IOC_DIRBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisk.c:71:
/usr/include/asm-i386/ioctl.h:30:1: warning: this is the location of the 
previous definition
In file included from fdisk.c:77:
fdisk.h:48: warning: type qualifiers ignored on function return type
fdisk.c: In function 'read_extended':
fdisk.c:430: warning: implicit declaration of function 'lseek64'
fdisk.c: At top level:
fdisk.c:664: warning: type qualifiers ignored on function return type
fdisk.c: In function 'list_table':
fdisk.c:906: warning: implicit declaration of function 'strlen'
fdisk.c:906: warning: incompatible implicit declaration of built-in function 
'strlen'
fdisk.c: In function 'write_table':
fdisk.c:1291: warning: implicit declaration of function 'strerror'
fdisk.c:1291: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
fdisk.c: At top level:
fdisk.c:1419: warning: return type of 'main' is not 'int'
fdisk.c: In function 'main':
fdisk.c:1450: warning: implicit declaration of function 'strncpy'
fdisk.c:1450: warning: incompatible implicit declaration of built-in function 
'strncpy'
cc -O2 -g -Wall   -c -o fdisklabel.o fdisklabel.c
In file included from fdisklabel.c:49:
kernel-defs.h:18:1: warning: "_IOC_SIZEBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisklabel.c:46:
/usr/include/asm-i386/ioctl.h:29:1: warning: this is the location of the 
previous definition
In file included from fdisklabel.c:49:
kernel-defs.h:19:1: warning: "_IOC_DIRBITS" redefined
In file included from /usr/include/asm/ioctl.h:11,
                 from /usr/include/asm-i386/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:11,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisklabel.c:46:
/usr/include/asm-i386/ioctl.h:30:1: warning: this is the location of the 
previous definition
In file included from fdisklabel.c:51:
fdisk.h:48: warning: type qualifiers ignored on function return type
fdisklabel.c: In function 'bsd_print_disklabel':
fdisklabel.c:275: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:276: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:277: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:278: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:279: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:284: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:285: warning: format '%d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:293: warning: format '%d' expects type 'int', but argument 3 has 
type 'long unsigned int'
fdisklabel.c:301: warning: format '%8d' expects type 'int', but argument 4 has 
type 'u_long'
fdisklabel.c:301: warning: format '%8d' expects type 'int', but argument 5 has 
type 'u_long'
fdisklabel.c:310: warning: format '%5d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:310: warning: format '%5d' expects type 'int', but argument 4 has 
type 'long unsigned int'
fdisklabel.c:316: warning: format '%5d' expects type 'int', but argument 3 has 
type 'u_long'
fdisklabel.c:316: warning: format '%5d' expects type 'int', but argument 4 has 
type 'long unsigned int'
fdisklabel.c:327: warning: format '%4d' expects type 'int', but argument 3 has 
type 'long unsigned int'
fdisklabel.c:339: warning: format '%d' expects type 'int', but argument 3 has 
type 'long unsigned int'
fdisklabel.c: In function 'bsd_write_bootstrap':
fdisklabel.c:477: warning: implicit declaration of function 'strlen'
fdisklabel.c:477: warning: incompatible implicit declaration of built-in 
function 'strlen'
fdisklabel.c:486: warning: implicit declaration of function 'bcopy'
fdisklabel.c:486: warning: incompatible implicit declaration of built-in 
function 'bcopy'
fdisklabel.c:489: warning: implicit declaration of function 'bzero'
fdisklabel.c:489: warning: incompatible implicit declaration of built-in 
function 'bzero'
fdisklabel.c:515: warning: implicit declaration of function 'lseek64'
fdisklabel.c: In function 'bsd_initlabel':
fdisklabel.c:611: warning: incompatible implicit declaration of built-in 
function 'bzero'
fdisklabel.c:615: warning: implicit declaration of function 'strncmp'
fdisklabel.c: In function 'bsd_readlabel':
fdisklabel.c:684: warning: incompatible implicit declaration of built-in 
function 'bcopy'
fdisklabel.c: In function 'bsd_writelabel':
fdisklabel.c:719: warning: incompatible implicit declaration of built-in 
function 'bcopy'
cc   fdisk.o fdisklabel.o   -o fdisk
make[1]: Leaving directory `/tmp/buildd/mac-fdisk-0.1'
touch build
 fakeroot debian/rules binary
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
test -f debian/rules
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dh_testdir pdisk.h
dh_testroot
dh_clean -k
dh_clean: Compatibility levels before 4 are deprecated.
        rm -f debian/substvars
        rm -f debian/*.debhelper
        rm -rf debian/tmp
        rm -f debian/pmac-fdisk.substvars
        rm -f debian/pmac-fdisk.*.debhelper
        rm -rf debian/pmac-fdisk
        rm -f debian/pmac-fdisk-cross.substvars
        rm -f debian/pmac-fdisk-cross.*.debhelper
        rm -rf debian/pmac-fdisk-cross
        rm -f debian/mac-fdisk-udeb.substvars
        rm -f debian/mac-fdisk-udeb.*.debhelper
        rm -rf debian/mac-fdisk-udeb
        rm -f debian/pmac-fdisk-udeb.substvars
        rm -f debian/pmac-fdisk-udeb.*.debhelper
        rm -rf debian/pmac-fdisk-udeb
        find .  \( \( -type f -a \
                \( -name '#*#' -o -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 {} \; \) -o \
                \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) 
\)
#dh_installdirs
# we don't want to package the pdisk man page
mv pdisk.8 pdisk.8.in
set -e; if [ "i386" = "m68k" ] || [ -n "" ]; then \
                install -d debian/tmp/sbin; \
                install -m 755 pdisk debian/tmp/sbin/mac-fdisk; \
                install -d debian/tmp/usr/share/man/man8; \
                install -m 644 mac-fdisk.8.in 
debian/tmp/usr/share/man/man8/mac-fdisk.8; \
                dh_installdocs README -pmac-fdisk; \
                dh_installmanpages -pmac-fdisk; \
                dh_installchangelogs HISTORY -pmac-fdisk; \
        else \
                install -d debian/mac-fdisk-cross/usr/sbin; \
                install -m 755 pdisk debian/mac-fdisk-cross/usr/sbin/mac-fdisk; 
\
                install -d debian/tmp/usr/share/man/man8; \
                install -m 644 mac-fdisk.8.in 
debian/tmp/usr/share/man/man8/mac-fdisk.8; \
                dh_installdocs README -pmac-fdisk-cross; \
                dh_installmanpages  -pmac-fdisk-cross; \
                dh_installchangelogs HISTORY -pmac-fdisk-cross; \
        fi
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
dh_installdocs: Compatibility levels before 4 are deprecated.
        install -g 0 -o 0 -d 
debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross
        cp -a README debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross
        chown -R 0:0 debian/mac-fdisk-cross/usr/share/doc
        chmod -R go=rX debian/mac-fdisk-cross/usr/share/doc
        chmod -R u\+rw debian/mac-fdisk-cross/usr/share/doc
        install -g 0 -o 0 -m 644 -p debian/copyright 
debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross/copyright
dh_installmanpages: This program is deprecated, switch to dh_installman.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
dh_installmanpages: Compatibility levels before 4 are deprecated.
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
dh_installchangelogs: Compatibility levels before 4 are deprecated.
        install -o 0 -g 0 -p -m644 debian/changelog 
debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross/changelog.Debian
        install -o 0 -g 0 -p -m644 HISTORY 
debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross/changelog
set -e; if [ -n "" ]; then \
                install -d debian/pmac-fdisk/sbin; \
                install -m 755 fdisk debian/pmac-fdisk/sbin/pmac-fdisk; \
                install -d debian/pmac-fdisk/usr/share/man/man8; \
                install -m 644 pmac-fdisk.8.in 
debian/pmac-fdisk/usr/share/man/man8/pmac-fdisk.8; \
                dh_installdocs README -ppmac-fdisk; \
                dh_installmanpages  -ppmac-fdisk; \
                dh_installchangelogs HISTORY -ppmac-fdisk; \
        else \
                install -d debian/pmac-fdisk-cross/usr/sbin; \
                install -m 755 fdisk 
debian/pmac-fdisk-cross/usr/sbin/pmac-fdisk; \
                install -d debian/pmac-fdisk-cross/usr/share/man/man8; \
                install -m 644 pmac-fdisk.8.in 
debian/pmac-fdisk-cross/usr/share/man/man8/pmac-fdisk.8; \
                dh_installdocs README -ppmac-fdisk-cross; \
                dh_installmanpages  -ppmac-fdisk-cross; \
                dh_installchangelogs HISTORY -ppmac-fdisk-cross; \
        fi
dh_installdocs: Compatibility levels before 4 are deprecated.
        install -g 0 -o 0 -d 
debian/pmac-fdisk-cross/usr/share/doc/pmac-fdisk-cross
        cp -a README debian/pmac-fdisk-cross/usr/share/doc/pmac-fdisk-cross
        chown -R 0:0 debian/pmac-fdisk-cross/usr/share/doc
        chmod -R go=rX debian/pmac-fdisk-cross/usr/share/doc
        chmod -R u\+rw debian/pmac-fdisk-cross/usr/share/doc
        install -g 0 -o 0 -m 644 -p debian/copyright 
debian/pmac-fdisk-cross/usr/share/doc/pmac-fdisk-cross/copyright
dh_installmanpages: This program is deprecated, switch to dh_installman.
dh_installmanpages: Compatibility levels before 4 are deprecated.
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dh_installchangelogs: Compatibility levels before 4 are deprecated.
        install -o 0 -g 0 -p -m644 debian/changelog 
debian/pmac-fdisk-cross/usr/share/doc/pmac-fdisk-cross/changelog.Debian
        install -o 0 -g 0 -p -m644 HISTORY 
debian/pmac-fdisk-cross/usr/share/doc/pmac-fdisk-cross/changelog
# install README.Debian also in cross package (not done by dh_installdocs)
set -e; if [ "i386" != "m68k" ] && ! [ -n "" ]; then \
                install -m 644 debian/README.debian 
debian/mac-fdisk-cross/usr/share/doc/mac-fdisk-cross/README.Debian; \
        fi
# and move the pdisk man page back again ...
mv pdisk.8.in pdisk.8
# install mac-fdisk-udeb files
set -e; if [ "i386" = "m68k" ] || [ -n "" ]; then \
                install -d debian/mac-fdisk-udeb/sbin; \
                install -d debian/mac-fdisk-udeb/DEBIAN; \
                install -m 755 pdisk debian/mac-fdisk-udeb/sbin/mac-fdisk; \
        fi
# install pmac-fdisk-udeb files
set -e; if [ -n "" ]; then \
                install -d debian/pmac-fdisk-udeb/usr/sbin; \
                install -d debian/pmac-fdisk-udeb/DEBIAN; \
                install -m 755 fdisk 
debian/pmac-fdisk-udeb/usr/sbin/pmac-fdisk; \
        fi
# build native pdisk only for m68k, cross package only for others
set -e; if [ "i386" = "m68k" ] || [ -n "" ]; then \
                dh_strip -pmac-fdisk -Pdebian/tmp; \
                dh_compress -pmac-fdisk -Pdebian/tmp; \
                dh_fixperms -pmac-fdisk -Pdebian/tmp; \
                dh_installdeb -pmac-fdisk -Pdebian/tmp; \
                dh_shlibdeps -pmac-fdisk -Pdebian/tmp; \
                dh_gencontrol -pmac-fdisk -Pdebian/tmp; \
                dh_md5sums -pmac-fdisk -Pdebian/tmp; \
        else \
                dh_strip -pmac-fdisk-cross; \
                dh_compress -pmac-fdisk-cross; \
                dh_fixperms -pmac-fdisk-cross; \
                dh_installdeb -pmac-fdisk-cross; \
                dh_shlibdeps -pmac-fdisk-cross; \
                dh_gencontrol -pmac-fdisk-cross; \
                dh_md5sums -pmac-fdisk-cross; \
        fi
dh_strip: Compatibility levels before 4 are deprecated.
        strip --remove-section=.comment --remove-section=.note 
debian/mac-fdisk-cross/usr/sbin/mac-fdisk
dh_compress: Compatibility levels before 4 are deprecated.
        cd debian/mac-fdisk-cross
        chmod a-x usr/share/doc/mac-fdisk-cross/README 
usr/share/doc/mac-fdisk-cross/changelog.Debian 
usr/share/doc/mac-fdisk-cross/changelog
        gzip -9f usr/share/doc/mac-fdisk-cross/README 
usr/share/doc/mac-fdisk-cross/changelog.Debian 
usr/share/doc/mac-fdisk-cross/changelog
        cd '/tmp/buildd/mac-fdisk-0.1'
dh_fixperms: Compatibility levels before 4 are deprecated.
        find debian/mac-fdisk-cross  -print0 2>/dev/null | xargs -0r chown 
--no-dereference 0:0
        find debian/mac-fdisk-cross ! -type l  -print0 2>/dev/null | xargs -0r 
chmod go=rX,u+rw,a-s
        find debian/mac-fdisk-cross/usr/share/doc -type f  ! -regex 
'debian/mac-fdisk-cross/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | 
xargs -0r chmod 644
        find debian/mac-fdisk-cross/usr/share/doc -type d  -print0 2>/dev/null 
| xargs -0r chmod 755
        find debian/mac-fdisk-cross/usr/share/man 
debian/mac-fdisk-cross/usr/man/ debian/mac-fdisk-cross/usr/X11*/man/ -type f  
-print0 2>/dev/null | xargs -0r chmod 644
        find debian/mac-fdisk-cross -perm -5 -type f \( -name '*.so*' -or -name 
'*.la' -or -name '*.a' \)  -print0 2>/dev/null | xargs -0r chmod 644
        find debian/mac-fdisk-cross/usr/include  -type f -name '*.h'  -print0 
2>/dev/null | xargs -0r chmod 644
        find debian/mac-fdisk-cross/usr/lib/perl5 
debian/mac-fdisk-cross/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 
2>/dev/null | xargs -0r chmod a-X
dh_installdeb: Compatibility levels before 4 are deprecated.
        install -o 0 -g 0 -d debian/mac-fdisk-cross/DEBIAN
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
dh_shlibdeps: Compatibility levels before 4 are deprecated.
        dpkg-shlibdeps -Tdebian/mac-fdisk-cross.substvars 
debian/mac-fdisk-cross/usr/sbin/mac-fdisk
dpkg-shlibdeps: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (0)
dh_gencontrol: Compatibility levels before 4 are deprecated.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 643.
        dpkg-gencontrol -pmac-fdisk-cross -ldebian/changelog -isp 
-Tdebian/mac-fdisk-cross.substvars -Pdebian/mac-fdisk-cross
dpkg-gencontrol: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-gencontrol: error: package mac-fdisk-cross not in control info
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env 
    -> removing directory /home/buildd/the-pbuilder-way/build//22549 and its 
subdirectories

exit status 1

** Affects: mac-fdisk (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
dapper can't build itself: mac-fdisk compile errors
https://launchpad.net/bugs/99998

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to