Package: mac-fdisk
Version: mac-fdisk
Severity: important
Justification: fails to build from source

Per #202019 it's suggested I (end user) build this from source
if I want to use it on another arch.  It seems to build ok,
and the binaries in the package seem to work (from what I see).
Lots of warnings (My hunch there is no explicit include of
required #include <strings.h> for bzero etc etc.).  See included
build typescript for more details.

Script started on Wed 24 Jan 2007 08:42:45 PM MST
[EMAIL PROTECTED]:~/mac-fdisk-0.1$ fakeroot dpkg-buildpackage -uc -us
dpkg-buildpackage: source package is mac-fdisk
dpkg-buildpackage: source version is 0.1-14
dpkg-buildpackage: source changed by Michael Schmitz <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.1-14
 debian/rules clean
test -f debian/rules
rm -f build
make clean
make[1]: Entering directory `/home/supaplex/mac-fdisk-0.1'
rm -f *.o pdisk fdisk mac-fdisk pmac-fdisk
make[1]: Leaving directory `/home/supaplex/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: building mac-fdisk using existing mac-fdisk_0.1.orig.tar.gz
dpkg-source: building mac-fdisk in mac-fdisk_0.1-14.diff.gz
dpkg-source: building mac-fdisk in mac-fdisk_0.1-14.dsc
 debian/rules build
test -f debian/rules
make CFLAGS="-O2 -g -Wall"
make[1]: Entering directory `/home/supaplex/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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from pdisk.c:42:
/usr/include/asm-generic/ioctl.h:24: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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from pdisk.c:42:
/usr/include/asm-generic/ioctl.h:25: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_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: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:429: warning: format '%2d' expects type 'int', but argument 2 has type 
'long int'
dump.c:452: warning: format '%2d' expects type 'int', but argument 2 has type 
'long int'
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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from partition_map.c:37:
/usr/include/asm-generic/ioctl.h:24: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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from partition_map.c:37:
/usr/include/asm-generic/ioctl.h:25: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:475: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:476: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:477: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:478: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:479: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:480: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
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:635: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:636: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:637: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:638: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:639: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
partition_map.c:640: warning: passing argument 1 of 'bitfield_set' from 
incompatible pointer type
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 '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
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
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':
/home/supaplex/mac-fdisk-0.1/errors.c:148: warning: `sys_errlist' is 
deprecated; use `strerror' or `strerror_r' instead
/home/supaplex/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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisk.c:71:
/usr/include/asm-generic/ioctl.h:24: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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisk.c:71:
/usr/include/asm-generic/ioctl.h:25: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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisklabel.c:46:
/usr/include/asm-generic/ioctl.h:24: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-i486/ioctl.h:1,
                 from /usr/include/asm/ioctl.h:8,
                 from /usr/include/asm-i486/ioctls.h:4,
                 from /usr/include/asm/ioctls.h:8,
                 from /usr/include/bits/ioctls.h:24,
                 from /usr/include/sys/ioctl.h:27,
                 from fdisklabel.c:46:
/usr/include/asm-generic/ioctl.h:25: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 `/home/supaplex/mac-fdisk-0.1'
touch build
 debian/rules binary
test -f debian/rules
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 655.
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 655.
dh_installmanpages: Compatibility levels before 4 are deprecated.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 655.
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.
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 '/home/supaplex/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 655.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 655.
dh_shlibdeps: Compatibility levels before 4 are deprecated.
Use of uninitialized value in string eq at 
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 655.
        dpkg-shlibdeps -Tdebian/mac-fdisk-cross.substvars 
debian/mac-fdisk-cross/usr/sbin/mac-fdisk
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 655.
        dpkg-gencontrol -pmac-fdisk-cross -ldebian/changelog -isp 
-Tdebian/mac-fdisk-cross.substvars -Pdebian/mac-fdisk-cross
dpkg-gencontrol: error: package mac-fdisk-cross not in control info
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
[EMAIL PROTECTED]:~/mac-fdisk-0.1$ exit

Script done on Wed 24 Jan 2007 08:44:28 PM MST

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1-20061221
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to