RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux lgw01-08 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 Buildd toolchain package versions: launchpad-buildd_128 python-lpbuildd_128 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.04.1 bzr_2.6.0+bzr6593-1ubuntu1.1 dpkg-dev_1.17.5ubuntu5.4. Syncing the system clock with the buildd NTP service... 29 May 23:41:21 ntpdate[1720]: adjust time server 10.211.37.1 offset 0.128642 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-7483674', '/home/buildd/filecache-default/949f7ae8f38bdc9441fe1c46890742827bda40f8'] Unpacking chroot for build PACKAGEBUILD-7483674 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-7483674'] Mounting chroot for build PACKAGEBUILD-7483674 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-7483674', 'deb http://ftpmaster.internal/ubuntu wily main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu wily-security main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu wily-updates main restricted universe multiverse'] Overriding sources.list in build-PACKAGEBUILD-7483674 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-7483674', 'i386'] Updating debian chroot for build PACKAGEBUILD-7483674 Ign http://ftpmaster.internal wily InRelease Ign http://archive-team.internal wily InRelease Ign http://archive-team.internal wily Release.gpg Ign http://ftpmaster.internal wily-security InRelease Get:1 http://archive-team.internal wily Release [719 B] Ign http://ftpmaster.internal wily-updates InRelease Get:2 http://ftpmaster.internal wily Release.gpg [933 B] Get:3 http://ftpmaster.internal wily-security Release.gpg [933 B] Get:4 http://ftpmaster.internal wily-updates Release.gpg [933 B] Get:5 http://ftpmaster.internal wily Release [217 kB] Get:6 http://archive-team.internal wily/main i386 Packages Ign http://archive-team.internal wily/main Translation-en Get:7 http://ftpmaster.internal wily-security Release [63.5 kB] Get:8 http://ftpmaster.internal wily-updates Release [63.5 kB] Get:9 http://ftpmaster.internal wily/main i386 Packages [1406 kB] Get:10 http://ftpmaster.internal wily/restricted i386 Packages [15.5 kB] Get:11 http://ftpmaster.internal wily/universe i386 Packages [6530 kB] Get:12 http://ftpmaster.internal wily/multiverse i386 Packages [135 kB] Get:13 http://ftpmaster.internal wily/main Translation-en [813 kB] Get:14 http://ftpmaster.internal wily/multiverse Translation-en [104 kB] Get:15 http://ftpmaster.internal wily/restricted Translation-en [4230 B] Get:16 http://ftpmaster.internal wily/universe Translation-en [4489 kB] Get:17 http://ftpmaster.internal wily-security/main i386 Packages [28 B] Get:18 http://ftpmaster.internal wily-security/restricted i386 Packages [28 B] Get:19 http://ftpmaster.internal wily-security/universe i386 Packages [28 B] Get:20 http://ftpmaster.internal wily-security/multiverse i386 Packages [28 B] Get:21 http://ftpmaster.internal wily-security/main Translation-en [28 B] Get:22 http://ftpmaster.internal wily-security/multiverse Translation-en [28 B] Get:23 http://ftpmaster.internal wily-security/restricted Translation-en [28 B] Get:24 http://ftpmaster.internal wily-security/universe Translation-en [28 B] Get:25 http://ftpmaster.internal wily-updates/main i386 Packages [28 B] Get:26 http://ftpmaster.internal wily-updates/restricted i386 Packages [28 B] Get:27 http://ftpmaster.internal wily-updates/universe i386 Packages [28 B] Get:28 http://ftpmaster.internal wily-updates/multiverse i386 Packages [28 B] Get:29 http://ftpmaster.internal wily-updates/main Translation-en [28 B] Get:30 http://ftpmaster.internal wily-updates/multiverse Translation-en [28 B] Get:31 http://ftpmaster.internal wily-updates/restricted Translation-en [28 B] Get:32 http://ftpmaster.internal wily-updates/universe Translation-en [28 B] Fetched 13.8 MB in 9s (1522 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: adduser dmsetup init libapparmor1 libcap2-bin libcryptsetup4 libdevmapper1.02.1 libfdisk1 libkmod2 systemd systemd-sysv udev The following packages will be upgraded: apt apt-transport-https base-files binutils bsdutils bzip2 cpp-4.9 debianutils dpkg dpkg-dev g++-4.9 gcc-4.9 gcc-4.9-base gcc-5-base initscripts libapt-pkg4.12 libasan1 libatomic1 libaudit-common libaudit1 libblkid1 libbz2-1.0 libcap2 libcilkrts5 libcloog-isl4 libcurl3-gnutls libdpkg-perl libgcc-4.9-dev libgcc1 libgcrypt20 libgnutls-deb0-28 libgomp1 libgssapi-krb5-2 libisl13 libitm1 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 libmount1 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libquadmath0 librtmp1 libsmartcols1 libsqlite3-0 libssl1.0.0 libstdc++-4.9-dev libstdc++6 libsystemd0 libtasn1-6 libubsan0 libudev1 libuuid1 linux-libc-dev login mount openssl passwd patch perl perl-base perl-modules pkg-create-dbgsym sysv-rc sysvinit-utils tzdata util-linux 71 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 59.9 MB of archives. After this operation, 28.6 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu/ wily/main base-files i386 7.2ubuntu10 [63.3 kB] Get:2 http://ftpmaster.internal/ubuntu/ wily/main bsdutils i386 1:2.26.2-3ubuntu1 [53.0 kB] Get:3 http://ftpmaster.internal/ubuntu/ wily/main debianutils i386 4.5.1 [85.5 kB] Get:4 http://ftpmaster.internal/ubuntu/ wily/main dpkg i386 1.17.25ubuntu1 [2245 kB] Get:5 http://ftpmaster.internal/ubuntu/ wily/main libapparmor1 i386 2.9.2-0ubuntu1 [25.7 kB] Get:6 http://ftpmaster.internal/ubuntu/ wily/main libaudit-common all 1:2.3.7-1ubuntu2 [4176 B] Get:7 http://ftpmaster.internal/ubuntu/ wily/main libaudit1 i386 1:2.3.7-1ubuntu2 [35.6 kB] Get:8 http://ftpmaster.internal/ubuntu/ wily/main libpam0g i386 1.1.8-3.1ubuntu3 [60.1 kB] Get:9 http://ftpmaster.internal/ubuntu/ wily/main libpam-modules-bin i386 1.1.8-3.1ubuntu3 [37.9 kB] Get:10 http://ftpmaster.internal/ubuntu/ wily/main libpam-modules i386 1.1.8-3.1ubuntu3 [256 kB] Get:11 http://ftpmaster.internal/ubuntu/ wily/main passwd i386 1:4.1.5.1-1.1ubuntu4 [756 kB] Get:12 http://ftpmaster.internal/ubuntu/ wily/main libuuid1 i386 2.26.2-3ubuntu1 [17.2 kB] Get:13 http://ftpmaster.internal/ubuntu/ wily/main libblkid1 i386 2.26.2-3ubuntu1 [120 kB] Get:14 http://ftpmaster.internal/ubuntu/ wily/main libfdisk1 i386 2.26.2-3ubuntu1 [150 kB] Get:15 http://ftpmaster.internal/ubuntu/ wily/main mount i386 2.26.2-3ubuntu1 [130 kB] Get:16 http://ftpmaster.internal/ubuntu/ wily/main initscripts i386 2.88dsf-59.1ubuntu3 [25.4 kB] Get:17 http://ftpmaster.internal/ubuntu/ wily/main sysv-rc all 2.88dsf-59.1ubuntu3 [36.9 kB] Get:18 http://ftpmaster.internal/ubuntu/ wily/main sysvinit-utils i386 2.88dsf-59.1ubuntu3 [26.8 kB] Get:19 http://ftpmaster.internal/ubuntu/ wily/main util-linux i386 2.26.2-3ubuntu1 [800 kB] Get:20 http://ftpmaster.internal/ubuntu/ wily/main tzdata all 2015d-1 [183 kB] Get:21 http://ftpmaster.internal/ubuntu/ wily/main libdevmapper1.02.1 i386 2:1.02.90-2ubuntu1 [120 kB] Get:22 http://ftpmaster.internal/ubuntu/ wily/main dmsetup i386 2:1.02.90-2ubuntu1 [41.1 kB] Get:23 http://ftpmaster.internal/ubuntu/ wily/main libudev1 i386 219-10ubuntu1 [45.8 kB] Get:24 http://ftpmaster.internal/ubuntu/ wily/main libgcrypt20 i386 1.6.3-2ubuntu1 [316 kB] Get:25 http://ftpmaster.internal/ubuntu/ wily/main libcryptsetup4 i386 2:1.6.1-1ubuntu7 [74.8 kB] Get:26 http://ftpmaster.internal/ubuntu/ wily/main libkmod2 i386 18-3ubuntu1 [45.3 kB] Get:27 http://ftpmaster.internal/ubuntu/ wily/main libsystemd0 i386 219-10ubuntu1 [83.2 kB] Get:28 http://ftpmaster.internal/ubuntu/ wily/main perl i386 5.20.2-6 [2168 kB] Get:29 http://ftpmaster.internal/ubuntu/ wily/main perl-base i386 5.20.2-6 [1278 kB] Get:30 http://ftpmaster.internal/ubuntu/ wily/main perl-modules all 5.20.2-6 [2501 kB] Get:31 http://ftpmaster.internal/ubuntu/ wily/main bzip2 i386 1.0.6-8 [32.6 kB] Get:32 http://ftpmaster.internal/ubuntu/ wily/main libbz2-1.0 i386 1.0.6-8 [30.9 kB] Get:33 http://ftpmaster.internal/ubuntu/ wily/main adduser all 3.113+nmu3ubuntu3 [169 kB] Get:34 http://ftpmaster.internal/ubuntu/ wily/main udev i386 219-10ubuntu1 [933 kB] Get:35 http://ftpmaster.internal/ubuntu/ wily/main libcap2 i386 1:2.24-8 [13.2 kB] Get:36 http://ftpmaster.internal/ubuntu/ wily/main libcap2-bin i386 1:2.24-8 [20.6 kB] Get:37 http://ftpmaster.internal/ubuntu/ wily/main libmount1 i386 2.26.2-3ubuntu1 [125 kB] Get:38 http://ftpmaster.internal/ubuntu/ wily/main systemd i386 219-10ubuntu1 [3515 kB] Get:39 http://ftpmaster.internal/ubuntu/ wily/main systemd-sysv i386 219-10ubuntu1 [15.7 kB] Get:40 http://ftpmaster.internal/ubuntu/ wily/main init i386 1.23ubuntu2 [4062 B] Get:41 http://ftpmaster.internal/ubuntu/ wily/main login i386 1:4.1.5.1-1.1ubuntu4 [304 kB] Get:42 http://ftpmaster.internal/ubuntu/ wily/main gcc-5-base i386 5.1.1-6ubuntu1 [16.6 kB] Get:43 http://ftpmaster.internal/ubuntu/ wily/main libgcc1 i386 1:5.1.1-6ubuntu1 [46.8 kB] Get:44 http://ftpmaster.internal/ubuntu/ wily/main libstdc++6 i386 5.1.1-6ubuntu1 [324 kB] Get:45 http://ftpmaster.internal/ubuntu/ wily/main libapt-pkg4.12 i386 1.0.9.10ubuntu1 [688 kB] Get:46 http://ftpmaster.internal/ubuntu/ wily/main apt i386 1.0.9.10ubuntu1 [1006 kB] Get:47 http://ftpmaster.internal/ubuntu/ wily/main libp11-kit0 i386 0.23.1-2 [110 kB] Get:48 http://ftpmaster.internal/ubuntu/ wily/main libssl1.0.0 i386 1.0.2a-1ubuntu1 [914 kB] Get:49 http://ftpmaster.internal/ubuntu/ wily/main libtasn1-6 i386 4.5-2 [44.6 kB] Get:50 http://ftpmaster.internal/ubuntu/ wily/main libgnutls-deb0-28 i386 3.3.15-2ubuntu1 [537 kB] Get:51 http://ftpmaster.internal/ubuntu/ wily/main libgssapi-krb5-2 i386 1.12.1+dfsg-20 [128 kB] Get:52 http://ftpmaster.internal/ubuntu/ wily/main libkrb5-3 i386 1.12.1+dfsg-20 [292 kB] Get:53 http://ftpmaster.internal/ubuntu/ wily/main libkrb5support0 i386 1.12.1+dfsg-20 [31.7 kB] Get:54 http://ftpmaster.internal/ubuntu/ wily/main libk5crypto3 i386 1.12.1+dfsg-20 [83.1 kB] Get:55 http://ftpmaster.internal/ubuntu/ wily/main libldap-2.4-2 i386 2.4.40+dfsg-1ubuntu1 [171 kB] Get:56 http://ftpmaster.internal/ubuntu/ wily/main librtmp1 i386 2.4+20150115.gita107cef-1 [58.9 kB] Get:57 http://ftpmaster.internal/ubuntu/ wily/main libcurl3-gnutls i386 7.38.0-3ubuntu3 [189 kB] Get:58 http://ftpmaster.internal/ubuntu/ wily/main libisl13 i386 0.14-2 [518 kB] Get:59 http://ftpmaster.internal/ubuntu/ wily/main libcloog-isl4 i386 0.18.3-1 [67.8 kB] Get:60 http://ftpmaster.internal/ubuntu/ wily/main g++-4.9 i386 4.9.2-18ubuntu1 [17.7 MB] Get:61 http://ftpmaster.internal/ubuntu/ wily/main gcc-4.9 i386 4.9.2-18ubuntu1 [5624 kB] Get:62 http://ftpmaster.internal/ubuntu/ wily/main cpp-4.9 i386 4.9.2-18ubuntu1 [5181 kB] Get:63 http://ftpmaster.internal/ubuntu/ wily/main binutils i386 2.25-8ubuntu1 [2389 kB] Get:64 http://ftpmaster.internal/ubuntu/ wily/main libgomp1 i386 5.1.1-6ubuntu1 [59.1 kB] Get:65 http://ftpmaster.internal/ubuntu/ wily/main libitm1 i386 5.1.1-6ubuntu1 [30.9 kB] Get:66 http://ftpmaster.internal/ubuntu/ wily/main libatomic1 i386 5.1.1-6ubuntu1 [9996 B] Get:67 http://ftpmaster.internal/ubuntu/ wily/main libubsan0 i386 5.1.1-6ubuntu1 [112 kB] Get:68 http://ftpmaster.internal/ubuntu/ wily/main libcilkrts5 i386 5.1.1-6ubuntu1 [45.3 kB] Get:69 http://ftpmaster.internal/ubuntu/ wily/main libquadmath0 i386 5.1.1-6ubuntu1 [203 kB] Get:70 http://ftpmaster.internal/ubuntu/ wily/main libstdc++-4.9-dev i386 4.9.2-18ubuntu1 [1139 kB] Get:71 http://ftpmaster.internal/ubuntu/ wily/main libgcc-4.9-dev i386 4.9.2-18ubuntu1 [2072 kB] Get:72 http://ftpmaster.internal/ubuntu/ wily/main libasan1 i386 4.9.2-18ubuntu1 [198 kB] Get:73 http://ftpmaster.internal/ubuntu/ wily/main gcc-4.9-base i386 4.9.2-18ubuntu1 [15.5 kB] Get:74 http://ftpmaster.internal/ubuntu/ wily/main libpam-runtime all 1.1.8-3.1ubuntu3 [39.8 kB] Get:75 http://ftpmaster.internal/ubuntu/ wily/main libsmartcols1 i386 2.26.2-3ubuntu1 [68.2 kB] Get:76 http://ftpmaster.internal/ubuntu/ wily/main libsqlite3-0 i386 3.8.10.2-1 [407 kB] Get:77 http://ftpmaster.internal/ubuntu/ wily/main apt-transport-https i386 1.0.9.10ubuntu1 [29.3 kB] Get:78 http://ftpmaster.internal/ubuntu/ wily/main openssl i386 1.0.2a-1ubuntu1 [522 kB] Get:79 http://ftpmaster.internal/ubuntu/ wily/main dpkg-dev all 1.17.25ubuntu1 [762 kB] Get:80 http://ftpmaster.internal/ubuntu/ wily/main libdpkg-perl all 1.17.25ubuntu1 [194 kB] Get:81 http://ftpmaster.internal/ubuntu/ wily/main patch i386 2.7.5-1 [99.2 kB] Get:82 http://ftpmaster.internal/ubuntu/ wily/main linux-libc-dev i386 3.19.0-18.18 [797 kB] Get:83 http://ftpmaster.internal/ubuntu/ wily/main pkg-create-dbgsym all 0.67 [8956 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 59.9 MB in 10s (5700 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10722 files and directories currently installed.) Preparing to unpack .../base-files_7.2ubuntu10_i386.deb ... Unpacking base-files (7.2ubuntu10) over (7.2ubuntu8) ... Setting up base-files (7.2ubuntu10) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/os-release ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10722 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.26.2-3ubuntu1_i386.deb ... Unpacking bsdutils (1:2.26.2-3ubuntu1) over (1:2.25.2-4ubuntu2) ... Setting up bsdutils (1:2.26.2-3ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10723 files and directories currently installed.) Preparing to unpack .../debianutils_4.5.1_i386.deb ... Unpacking debianutils (4.5.1) over (4.4) ... Setting up debianutils (4.5.1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10722 files and directories currently installed.) Preparing to unpack .../dpkg_1.17.25ubuntu1_i386.deb ... Unpacking dpkg (1.17.25ubuntu1) over (1.17.24ubuntu1) ... Setting up dpkg (1.17.25ubuntu1) ... Selecting previously unselected package libapparmor1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10722 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.9.2-0ubuntu1_i386.deb ... Unpacking libapparmor1:i386 (2.9.2-0ubuntu1) ... Setting up libapparmor1:i386 (2.9.2-0ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libaudit-common_1%3a2.3.7-1ubuntu2_all.deb ... Unpacking libaudit-common (1:2.3.7-1ubuntu2) over (1:2.3.7-1ubuntu1) ... Setting up libaudit-common (1:2.3.7-1ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.3.7-1ubuntu2_i386.deb ... Unpacking libaudit1:i386 (1:2.3.7-1ubuntu2) over (1:2.3.7-1ubuntu1) ... Setting up libaudit1:i386 (1:2.3.7-1ubuntu2) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libpam0g_1.1.8-3.1ubuntu3_i386.deb ... Unpacking libpam0g:i386 (1.1.8-3.1ubuntu3) over (1.1.8-3.1ubuntu2) ... Setting up libpam0g:i386 (1.1.8-3.1ubuntu3) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.1.8-3.1ubuntu3_i386.deb ... Unpacking libpam-modules-bin (1.1.8-3.1ubuntu3) over (1.1.8-3.1ubuntu2) ... Setting up libpam-modules-bin (1.1.8-3.1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.1.8-3.1ubuntu3_i386.deb ... Unpacking libpam-modules:i386 (1.1.8-3.1ubuntu3) over (1.1.8-3.1ubuntu2) ... Setting up libpam-modules:i386 (1.1.8-3.1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.1.5.1-1.1ubuntu4_i386.deb ... Unpacking passwd (1:4.1.5.1-1.1ubuntu4) over (1:4.1.5.1-1.1ubuntu3) ... Setting up passwd (1:4.1.5.1-1.1ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libuuid1_2.26.2-3ubuntu1_i386.deb ... Unpacking libuuid1:i386 (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Setting up libuuid1:i386 (2.26.2-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libblkid1_2.26.2-3ubuntu1_i386.deb ... Unpacking libblkid1:i386 (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Setting up libblkid1:i386 (2.26.2-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package libfdisk1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10727 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.26.2-3ubuntu1_i386.deb ... Unpacking libfdisk1:i386 (2.26.2-3ubuntu1) ... Setting up libfdisk1:i386 (2.26.2-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10732 files and directories currently installed.) Preparing to unpack .../initscripts_2.88dsf-59.1ubuntu3_i386.deb ... Unpacking initscripts (2.88dsf-59.1ubuntu3) over (2.88dsf-53.2ubuntu11) ... dpkg: warning: unable to delete old directory '/etc/network': Directory not empty Preparing to unpack .../mount_2.26.2-3ubuntu1_i386.deb ... Unpacking mount (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Setting up mount (2.26.2-3ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10732 files and directories currently installed.) Preparing to unpack .../sysv-rc_2.88dsf-59.1ubuntu3_all.deb ... Unpacking sysv-rc (2.88dsf-59.1ubuntu3) over (2.88dsf-53.2ubuntu11) ... Setting up sysv-rc (2.88dsf-59.1ubuntu3) ... dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of util-linux ... dpkg: yes, will deconfigure sysvinit-utils (broken by util-linux) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10732 files and directories currently installed.) Preparing to unpack .../util-linux_2.26.2-3ubuntu1_i386.deb ... De-configuring sysvinit-utils (2.88dsf-53.2ubuntu11) ... Unpacking util-linux (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Replacing files in old package sysvinit-utils (2.88dsf-53.2ubuntu11) ... Preparing to unpack .../sysvinit-utils_2.88dsf-59.1ubuntu3_i386.deb ... Unpacking sysvinit-utils (2.88dsf-59.1ubuntu3) over (2.88dsf-53.2ubuntu11) ... Setting up sysvinit-utils (2.88dsf-59.1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10738 files and directories currently installed.) Preparing to unpack .../tzdata_2015d-1_all.deb ... Unpacking tzdata (2015d-1) over (2015b-1) ... Setting up tzdata (2015d-1) ... Current default time zone: 'Etc/UTC' Local time is now: Fri May 29 23:41:50 UTC 2015. Universal Time is now: Fri May 29 23:41:50 UTC 2015. Run 'dpkg-reconfigure tzdata' if you wish to change it. Selecting previously unselected package libdevmapper1.02.1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10740 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.90-2ubuntu1_i386.deb ... Unpacking libdevmapper1.02.1:i386 (2:1.02.90-2ubuntu1) ... Selecting previously unselected package dmsetup. Preparing to unpack .../dmsetup_2%3a1.02.90-2ubuntu1_i386.deb ... Unpacking dmsetup (2:1.02.90-2ubuntu1) ... Setting up initscripts (2.88dsf-59.1ubuntu3) ... Installing new version of config file /etc/init.d/bootmisc.sh ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/checkroot-bootclean.sh ... Installing new version of config file /etc/init.d/halt ... Installing new version of config file /etc/init.d/killprocs ... Installing new version of config file /etc/init.d/mountall.sh ... Installing new version of config file /etc/init.d/mountall-bootclean.sh ... Installing new version of config file /etc/init.d/mountnfs.sh ... Installing new version of config file /etc/init.d/mountnfs-bootclean.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/rc.local ... Installing new version of config file /etc/init.d/reboot ... Installing new version of config file /etc/init.d/sendsigs ... Installing new version of config file /etc/init.d/single ... Installing new version of config file /etc/init.d/umountfs ... Installing new version of config file /etc/init.d/umountnfs.sh ... Installing new version of config file /etc/init.d/umountroot ... Setting up util-linux (2.26.2-3ubuntu1) ... Setting up libdevmapper1.02.1:i386 (2:1.02.90-2ubuntu1) ... Setting up dmsetup (2:1.02.90-2ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10754 files and directories currently installed.) Preparing to unpack .../libudev1_219-10ubuntu1_i386.deb ... Unpacking libudev1:i386 (219-10ubuntu1) over (219-6ubuntu1) ... Setting up libudev1:i386 (219-10ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10754 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.6.3-2ubuntu1_i386.deb ... Unpacking libgcrypt20:i386 (1.6.3-2ubuntu1) over (1.6.2-4ubuntu2) ... Setting up libgcrypt20:i386 (1.6.3-2ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package libcryptsetup4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10754 files and directories currently installed.) Preparing to unpack .../libcryptsetup4_2%3a1.6.1-1ubuntu7_i386.deb ... Unpacking libcryptsetup4 (2:1.6.1-1ubuntu7) ... Setting up libcryptsetup4 (2:1.6.1-1ubuntu7) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package libkmod2:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10760 files and directories currently installed.) Preparing to unpack .../libkmod2_18-3ubuntu1_i386.deb ... Unpacking libkmod2:i386 (18-3ubuntu1) ... Setting up libkmod2:i386 (18-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10765 files and directories currently installed.) Preparing to unpack .../libsystemd0_219-10ubuntu1_i386.deb ... Unpacking libsystemd0:i386 (219-10ubuntu1) over (219-6ubuntu1) ... Setting up libsystemd0:i386 (219-10ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10765 files and directories currently installed.) Preparing to unpack .../perl_5.20.2-6_i386.deb ... Unpacking perl (5.20.2-6) over (5.20.2-2) ... Preparing to unpack .../perl-base_5.20.2-6_i386.deb ... Unpacking perl-base (5.20.2-6) over (5.20.2-2) ... Setting up perl-base (5.20.2-6) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10765 files and directories currently installed.) Preparing to unpack .../perl-modules_5.20.2-6_all.deb ... Unpacking perl-modules (5.20.2-6) over (5.20.2-2) ... Preparing to unpack .../bzip2_1.0.6-8_i386.deb ... Unpacking bzip2 (1.0.6-8) over (1.0.6-7) ... Preparing to unpack .../libbz2-1.0_1.0.6-8_i386.deb ... Unpacking libbz2-1.0:i386 (1.0.6-8) over (1.0.6-7) ... Setting up libbz2-1.0:i386 (1.0.6-8) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package adduser. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10765 files and directories currently installed.) Preparing to unpack .../adduser_3.113+nmu3ubuntu3_all.deb ... Unpacking adduser (3.113+nmu3ubuntu3) ... Setting up adduser (3.113+nmu3ubuntu3) ... Selecting previously unselected package udev. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10854 files and directories currently installed.) Preparing to unpack .../udev_219-10ubuntu1_i386.deb ... Unpacking udev (219-10ubuntu1) ... Setting up udev (219-10ubuntu1) ... A chroot environment has been detected, udev not started. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10974 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.24-8_i386.deb ... Unpacking libcap2:i386 (1:2.24-8) over (1:2.24-6) ... Setting up libcap2:i386 (1:2.24-8) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package libcap2-bin. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10974 files and directories currently installed.) Preparing to unpack .../libcap2-bin_1%3a2.24-8_i386.deb ... Unpacking libcap2-bin (1:2.24-8) ... Setting up libcap2-bin (1:2.24-8) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10988 files and directories currently installed.) Preparing to unpack .../libmount1_2.26.2-3ubuntu1_i386.deb ... Unpacking libmount1:i386 (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Setting up libmount1:i386 (2.26.2-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Selecting previously unselected package systemd. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 10988 files and directories currently installed.) Preparing to unpack .../systemd_219-10ubuntu1_i386.deb ... Unpacking systemd (219-10ubuntu1) ... Setting up systemd (219-10ubuntu1) ... Created symlink from /etc/systemd/system/getty.target.wants/getty@tty1.service to /lib/systemd/system/getty@.service. Created symlink from /etc/systemd/system/multi-user.target.wants/remote-fs.target to /lib/systemd/system/remote-fs.target. Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service. Initializing machine ID from KVM UUID. Selecting previously unselected package systemd-sysv. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11652 files and directories currently installed.) Preparing to unpack .../systemd-sysv_219-10ubuntu1_i386.deb ... Unpacking systemd-sysv (219-10ubuntu1) ... Setting up systemd-sysv (219-10ubuntu1) ... Selecting previously unselected package init. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11669 files and directories currently installed.) Preparing to unpack .../init_1.23ubuntu2_i386.deb ... Unpacking init (1.23ubuntu2) ... Setting up init (1.23ubuntu2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11672 files and directories currently installed.) Preparing to unpack .../login_1%3a4.1.5.1-1.1ubuntu4_i386.deb ... Unpacking login (1:4.1.5.1-1.1ubuntu4) over (1:4.1.5.1-1.1ubuntu3) ... Setting up login (1:4.1.5.1-1.1ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11672 files and directories currently installed.) Preparing to unpack .../gcc-5-base_5.1.1-6ubuntu1_i386.deb ... Unpacking gcc-5-base:i386 (5.1.1-6ubuntu1) over (5-20150401-0ubuntu1) ... Setting up gcc-5-base:i386 (5.1.1-6ubuntu1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11672 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a5.1.1-6ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:5.1.1-6ubuntu1) over (1:5-20150401-0ubuntu1) ... Setting up libgcc1:i386 (1:5.1.1-6ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11672 files and directories currently installed.) Preparing to unpack .../libstdc++6_5.1.1-6ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Setting up libstdc++6:i386 (5.1.1-6ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11673 files and directories currently installed.) Preparing to unpack .../libapt-pkg4.12_1.0.9.10ubuntu1_i386.deb ... Unpacking libapt-pkg4.12:i386 (1.0.9.10ubuntu1) over (1.0.9.7ubuntu3) ... Setting up libapt-pkg4.12:i386 (1.0.9.10ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11673 files and directories currently installed.) Preparing to unpack .../apt_1.0.9.10ubuntu1_i386.deb ... Unpacking apt (1.0.9.10ubuntu1) over (1.0.9.7ubuntu3) ... Setting up apt (1.0.9.10ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11673 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.1-2_i386.deb ... Unpacking libp11-kit0:i386 (0.23.1-2) over (0.20.7-1) ... Preparing to unpack .../libssl1.0.0_1.0.2a-1ubuntu1_i386.deb ... Unpacking libssl1.0.0:i386 (1.0.2a-1ubuntu1) over (1.0.1f-1ubuntu11) ... Preparing to unpack .../libtasn1-6_4.5-2_i386.deb ... Unpacking libtasn1-6:i386 (4.5-2) over (4.2-2ubuntu1) ... Preparing to unpack .../libgnutls-deb0-28_3.3.15-2ubuntu1_i386.deb ... Unpacking libgnutls-deb0-28:i386 (3.3.15-2ubuntu1) over (3.3.8-3ubuntu3) ... Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-20_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.12.1+dfsg-20) over (1.12.1+dfsg-18) ... Preparing to unpack .../libkrb5-3_1.12.1+dfsg-20_i386.deb ... Unpacking libkrb5-3:i386 (1.12.1+dfsg-20) over (1.12.1+dfsg-18) ... Preparing to unpack .../libkrb5support0_1.12.1+dfsg-20_i386.deb ... Unpacking libkrb5support0:i386 (1.12.1+dfsg-20) over (1.12.1+dfsg-18) ... Preparing to unpack .../libk5crypto3_1.12.1+dfsg-20_i386.deb ... Unpacking libk5crypto3:i386 (1.12.1+dfsg-20) over (1.12.1+dfsg-18) ... Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1ubuntu1_i386.deb ... Unpacking libldap-2.4-2:i386 (2.4.40+dfsg-1ubuntu1) over (2.4.31-1+nmu2ubuntu12) ... Preparing to unpack .../librtmp1_2.4+20150115.gita107cef-1_i386.deb ... Unpacking librtmp1:i386 (2.4+20150115.gita107cef-1) over (2.4+20131018.git79459a2-5) ... Preparing to unpack .../libcurl3-gnutls_7.38.0-3ubuntu3_i386.deb ... Unpacking libcurl3-gnutls:i386 (7.38.0-3ubuntu3) over (7.38.0-3ubuntu2) ... Preparing to unpack .../libisl13_0.14-2_i386.deb ... Unpacking libisl13:i386 (0.14-2) over (0.14-1) ... Preparing to unpack .../libcloog-isl4_0.18.3-1_i386.deb ... Unpacking libcloog-isl4:i386 (0.18.3-1) over (0.18.2-3) ... Preparing to unpack .../g++-4.9_4.9.2-18ubuntu1_i386.deb ... Unpacking g++-4.9 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../gcc-4.9_4.9.2-18ubuntu1_i386.deb ... Unpacking gcc-4.9 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../cpp-4.9_4.9.2-18ubuntu1_i386.deb ... Unpacking cpp-4.9 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../binutils_2.25-8ubuntu1_i386.deb ... Unpacking binutils (2.25-8ubuntu1) over (2.25-5ubuntu6) ... Preparing to unpack .../libgomp1_5.1.1-6ubuntu1_i386.deb ... Unpacking libgomp1:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libitm1_5.1.1-6ubuntu1_i386.deb ... Unpacking libitm1:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libatomic1_5.1.1-6ubuntu1_i386.deb ... Unpacking libatomic1:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libubsan0_5.1.1-6ubuntu1_i386.deb ... Unpacking libubsan0:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libcilkrts5_5.1.1-6ubuntu1_i386.deb ... Unpacking libcilkrts5:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libquadmath0_5.1.1-6ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (5.1.1-6ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libstdc++-4.9-dev_4.9.2-18ubuntu1_i386.deb ... Unpacking libstdc++-4.9-dev:i386 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libgcc-4.9-dev_4.9.2-18ubuntu1_i386.deb ... Unpacking libgcc-4.9-dev:i386 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libasan1_4.9.2-18ubuntu1_i386.deb ... Unpacking libasan1:i386 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../gcc-4.9-base_4.9.2-18ubuntu1_i386.deb ... Unpacking gcc-4.9-base:i386 (4.9.2-18ubuntu1) over (4.9.2-10ubuntu12) ... Preparing to unpack .../libpam-runtime_1.1.8-3.1ubuntu3_all.deb ... Unpacking libpam-runtime (1.1.8-3.1ubuntu3) over (1.1.8-3.1ubuntu2) ... Setting up libpam-runtime (1.1.8-3.1ubuntu3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11674 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.26.2-3ubuntu1_i386.deb ... Unpacking libsmartcols1:i386 (2.26.2-3ubuntu1) over (2.25.2-4ubuntu2) ... Setting up libsmartcols1:i386 (2.26.2-3ubuntu1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11674 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.8.10.2-1_i386.deb ... Unpacking libsqlite3-0:i386 (3.8.10.2-1) over (3.8.7.4-1) ... Preparing to unpack .../apt-transport-https_1.0.9.10ubuntu1_i386.deb ... Unpacking apt-transport-https (1.0.9.10ubuntu1) over (1.0.9.7ubuntu3) ... Preparing to unpack .../openssl_1.0.2a-1ubuntu1_i386.deb ... Unpacking openssl (1.0.2a-1ubuntu1) over (1.0.1f-1ubuntu11) ... Preparing to unpack .../dpkg-dev_1.17.25ubuntu1_all.deb ... Unpacking dpkg-dev (1.17.25ubuntu1) over (1.17.24ubuntu1) ... Preparing to unpack .../libdpkg-perl_1.17.25ubuntu1_all.deb ... Unpacking libdpkg-perl (1.17.25ubuntu1) over (1.17.24ubuntu1) ... Preparing to unpack .../patch_2.7.5-1_i386.deb ... Unpacking patch (2.7.5-1) over (2.7.4-2) ... Preparing to unpack .../linux-libc-dev_3.19.0-18.18_i386.deb ... Unpacking linux-libc-dev:i386 (3.19.0-18.18) over (3.19.0-11.11) ... Preparing to unpack .../pkg-create-dbgsym_0.67_all.deb ... Unpacking pkg-create-dbgsym (0.67) over (0.65) ... Setting up perl-modules (5.20.2-6) ... Setting up perl (5.20.2-6) ... Setting up bzip2 (1.0.6-8) ... Setting up libp11-kit0:i386 (0.23.1-2) ... Setting up libssl1.0.0:i386 (1.0.2a-1ubuntu1) ... Checking for services that may need to be restarted...done. Checking for services that may need to be restarted...done. Setting up libtasn1-6:i386 (4.5-2) ... Setting up libgnutls-deb0-28:i386 (3.3.15-2ubuntu1) ... Setting up libkrb5support0:i386 (1.12.1+dfsg-20) ... Setting up libk5crypto3:i386 (1.12.1+dfsg-20) ... Setting up libkrb5-3:i386 (1.12.1+dfsg-20) ... Setting up libgssapi-krb5-2:i386 (1.12.1+dfsg-20) ... Setting up libldap-2.4-2:i386 (2.4.40+dfsg-1ubuntu1) ... Setting up librtmp1:i386 (2.4+20150115.gita107cef-1) ... Setting up libcurl3-gnutls:i386 (7.38.0-3ubuntu3) ... Setting up libisl13:i386 (0.14-2) ... Setting up libcloog-isl4:i386 (0.18.3-1) ... Setting up gcc-4.9-base:i386 (4.9.2-18ubuntu1) ... Setting up cpp-4.9 (4.9.2-18ubuntu1) ... Setting up binutils (2.25-8ubuntu1) ... Setting up libgomp1:i386 (5.1.1-6ubuntu1) ... Setting up libitm1:i386 (5.1.1-6ubuntu1) ... Setting up libatomic1:i386 (5.1.1-6ubuntu1) ... Setting up libasan1:i386 (4.9.2-18ubuntu1) ... Setting up libubsan0:i386 (5.1.1-6ubuntu1) ... Setting up libcilkrts5:i386 (5.1.1-6ubuntu1) ... Setting up libquadmath0:i386 (5.1.1-6ubuntu1) ... Setting up libgcc-4.9-dev:i386 (4.9.2-18ubuntu1) ... Setting up gcc-4.9 (4.9.2-18ubuntu1) ... Setting up libstdc++-4.9-dev:i386 (4.9.2-18ubuntu1) ... Setting up g++-4.9 (4.9.2-18ubuntu1) ... Setting up libsqlite3-0:i386 (3.8.10.2-1) ... Setting up apt-transport-https (1.0.9.10ubuntu1) ... Setting up openssl (1.0.2a-1ubuntu1) ... Setting up libdpkg-perl (1.17.25ubuntu1) ... Setting up patch (2.7.5-1) ... Setting up dpkg-dev (1.17.25ubuntu1) ... Setting up linux-libc-dev:i386 (3.19.0-18.18) ... Setting up pkg-create-dbgsym (0.67) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-7483674', 'i386', 'wily', '-c', 'chroot:autobuild', '--arch=i386', '--dist=wily', '--purge=never', '--nolog', 'e2defrag_0.81-0~50~ubuntu15.10.1.dsc'] Initiating build PACKAGEBUILD-7483674 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 i686 sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on lgw01-08.buildd ╔══════════════════════════════════════════════════════════════════════════════╗ ║ e2defrag 0.81-0~50~ubuntu15.10.1 (i386) 29 May 2015 23:42 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: e2defrag Version: 0.81-0~50~ubuntu15.10.1 Source Version: 0.81-0~50~ubuntu15.10.1 Distribution: wily Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/e2defrag-r25l_d/e2defrag-0.81' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/e2defrag-r25l_d' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-7483674/chroot-autobuild' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Local sources ───────────── e2defrag_0.81-0~50~ubuntu15.10.1.dsc exists in .; copying to chroot Check architectures ─────────────────── Check dependencies ────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-pv6OLP/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign file: ./ InRelease Ign file: ./ Release.gpg Get:1 file: ./ Release [2119 B] Ign file: ./ Translation-en Reading package lists... Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/818 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed Authentication warning overridden. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11681 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), autotools-dev, libncurses-dev, bzip2, e2fslibs-dev Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), autotools-dev, libncurses-dev, bzip2, e2fslibs-dev dpkg-deb: building package `sbuild-build-depends-e2defrag-dummy' in `/«BUILDDIR»/resolver-F92KkR/apt_archive/sbuild-build-depends-e2defrag-dummy.deb'. Ign file: ./ InRelease Ign file: ./ Release.gpg Get:1 file: ./ Release [2119 B] Ign file: ./ Translation-en Reading package lists... Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install e2defrag build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: autotools-dev bsdmainutils comerr-dev debhelper dh-apparmor e2fslibs-dev file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libmagic1 libncurses5-dev libpipeline1 libtinfo-dev libunistring0 libxml2 man-db po-debconf Suggested packages: wamerican wordlist whois vacation doc-base dh-make apparmor-easyprof gettext-doc groff ncurses-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xdg-user-dirs xml-core libmail-sendmail-perl The following NEW packages will be installed: autotools-dev bsdmainutils comerr-dev debhelper dh-apparmor e2fslibs-dev file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libglib2.0-0 libicu52 libmagic1 libncurses5-dev libpipeline1 libtinfo-dev libunistring0 libxml2 man-db po-debconf sbuild-build-depends-e2defrag-dummy 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. Need to get 14.1 MB/14.1 MB of archives. After this operation, 55.0 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-e2defrag-dummy Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ wily/main libasprintf0c2 i386 0.19.2-2ubuntu1 [6332 B] Get:2 http://ftpmaster.internal/ubuntu/ wily/main libglib2.0-0 i386 2.45.1-2 [1166 kB] Get:3 http://ftpmaster.internal/ubuntu/ wily/main libpipeline1 i386 1.4.0-1 [26.8 kB] Get:4 http://ftpmaster.internal/ubuntu/ wily/main libicu52 i386 52.1-9 [6889 kB] Get:5 http://ftpmaster.internal/ubuntu/ wily/main libxml2 i386 2.9.2+dfsg1-3 [739 kB] Get:6 http://ftpmaster.internal/ubuntu/ wily/main groff-base i386 1.22.3-1 [1186 kB] Get:7 http://ftpmaster.internal/ubuntu/ wily/main bsdmainutils i386 9.0.6ubuntu1 [175 kB] Get:8 http://ftpmaster.internal/ubuntu/ wily/main man-db i386 2.7.0.2-5 [870 kB] Get:9 http://ftpmaster.internal/ubuntu/ wily/main libcroco3 i386 0.6.8-3 [89.2 kB] Get:10 http://ftpmaster.internal/ubuntu/ wily/main libunistring0 i386 0.9.3-5.2ubuntu1 [277 kB] Get:11 http://ftpmaster.internal/ubuntu/ wily/main libmagic1 i386 1:5.22+15-2ubuntu1 [216 kB] Get:12 http://ftpmaster.internal/ubuntu/ wily/main file i386 1:5.22+15-2ubuntu1 [20.6 kB] Get:13 http://ftpmaster.internal/ubuntu/ wily/main gettext-base i386 0.19.2-2ubuntu1 [48.8 kB] Get:14 http://ftpmaster.internal/ubuntu/ wily/main autotools-dev all 20140911.1 [39.6 kB] Get:15 http://ftpmaster.internal/ubuntu/ wily/main gettext i386 0.19.2-2ubuntu1 [854 kB] Get:16 http://ftpmaster.internal/ubuntu/ wily/main intltool-debian all 0.35.0+20060710.2 [24.5 kB] Get:17 http://ftpmaster.internal/ubuntu/ wily/main po-debconf all 1.0.18 [234 kB] Get:18 http://ftpmaster.internal/ubuntu/ wily/main dh-apparmor all 2.9.2-0ubuntu1 [11.5 kB] Get:19 http://ftpmaster.internal/ubuntu/ wily/main debhelper all 9.20150507ubuntu1 [737 kB] Get:20 http://ftpmaster.internal/ubuntu/ wily/main libtinfo-dev i386 5.9+20140712-2ubuntu2 [76.3 kB] Get:21 http://ftpmaster.internal/ubuntu/ wily/main libncurses5-dev i386 5.9+20140712-2ubuntu2 [177 kB] Get:22 http://ftpmaster.internal/ubuntu/ wily/main comerr-dev i386 2.1-1.42.12-1ubuntu2 [38.2 kB] Get:23 http://ftpmaster.internal/ubuntu/ wily/main e2fslibs-dev i386 1.42.12-1ubuntu2 [219 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 14.1 MB in 1s (12.3 MB/s) Selecting previously unselected package libasprintf0c2:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11681 files and directories currently installed.) Preparing to unpack .../libasprintf0c2_0.19.2-2ubuntu1_i386.deb ... Unpacking libasprintf0c2:i386 (0.19.2-2ubuntu1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../libglib2.0-0_2.45.1-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.45.1-2) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../libpipeline1_1.4.0-1_i386.deb ... Unpacking libpipeline1:i386 (1.4.0-1) ... Selecting previously unselected package libicu52:i386. Preparing to unpack .../libicu52_52.1-9_i386.deb ... Unpacking libicu52:i386 (52.1-9) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../libxml2_2.9.2+dfsg1-3_i386.deb ... Unpacking libxml2:i386 (2.9.2+dfsg1-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-1_i386.deb ... Unpacking groff-base (1.22.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6ubuntu1_i386.deb ... Unpacking bsdmainutils (9.0.6ubuntu1) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.0.2-5_i386.deb ... Unpacking man-db (2.7.0.2-5) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../libcroco3_0.6.8-3_i386.deb ... Unpacking libcroco3:i386 (0.6.8-3) ... Selecting previously unselected package libunistring0:i386. Preparing to unpack .../libunistring0_0.9.3-5.2ubuntu1_i386.deb ... Unpacking libunistring0:i386 (0.9.3-5.2ubuntu1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../libmagic1_1%3a5.22+15-2ubuntu1_i386.deb ... Unpacking libmagic1:i386 (1:5.22+15-2ubuntu1) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.22+15-2ubuntu1_i386.deb ... Unpacking file (1:5.22+15-2ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.2-2ubuntu1_i386.deb ... Unpacking gettext-base (0.19.2-2ubuntu1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20140911.1_all.deb ... Unpacking autotools-dev (20140911.1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.2-2ubuntu1_i386.deb ... Unpacking gettext (0.19.2-2ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.2_all.deb ... Unpacking intltool-debian (0.35.0+20060710.2) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.18_all.deb ... Unpacking po-debconf (1.0.18) ... Selecting previously unselected package dh-apparmor. Preparing to unpack .../dh-apparmor_2.9.2-0ubuntu1_all.deb ... Unpacking dh-apparmor (2.9.2-0ubuntu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20150507ubuntu1_all.deb ... Unpacking debhelper (9.20150507ubuntu1) ... Selecting previously unselected package libtinfo-dev:i386. Preparing to unpack .../libtinfo-dev_5.9+20140712-2ubuntu2_i386.deb ... Unpacking libtinfo-dev:i386 (5.9+20140712-2ubuntu2) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../libncurses5-dev_5.9+20140712-2ubuntu2_i386.deb ... Unpacking libncurses5-dev:i386 (5.9+20140712-2ubuntu2) ... Selecting previously unselected package comerr-dev. Preparing to unpack .../comerr-dev_2.1-1.42.12-1ubuntu2_i386.deb ... Unpacking comerr-dev (2.1-1.42.12-1ubuntu2) ... Selecting previously unselected package e2fslibs-dev. Preparing to unpack .../e2fslibs-dev_1.42.12-1ubuntu2_i386.deb ... Unpacking e2fslibs-dev (1.42.12-1ubuntu2) ... Selecting previously unselected package sbuild-build-depends-e2defrag-dummy. Preparing to unpack .../sbuild-build-depends-e2defrag-dummy.deb ... Unpacking sbuild-build-depends-e2defrag-dummy (0.invalid.0) ... Setting up libasprintf0c2:i386 (0.19.2-2ubuntu1) ... Setting up libglib2.0-0:i386 (2.45.1-2) ... No schema files found: doing nothing. Setting up libpipeline1:i386 (1.4.0-1) ... Setting up libicu52:i386 (52.1-9) ... Setting up libxml2:i386 (2.9.2+dfsg1-3) ... Setting up groff-base (1.22.3-1) ... Setting up bsdmainutils (9.0.6ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.7.0.2-5) ... Not building database; man-db/auto-update is not 'true'. Setting up libcroco3:i386 (0.6.8-3) ... Setting up libunistring0:i386 (0.9.3-5.2ubuntu1) ... Setting up libmagic1:i386 (1:5.22+15-2ubuntu1) ... Setting up file (1:5.22+15-2ubuntu1) ... Setting up gettext-base (0.19.2-2ubuntu1) ... Setting up autotools-dev (20140911.1) ... Setting up gettext (0.19.2-2ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.2) ... Setting up po-debconf (1.0.18) ... Setting up dh-apparmor (2.9.2-0ubuntu1) ... Setting up debhelper (9.20150507ubuntu1) ... Setting up libtinfo-dev:i386 (5.9+20140712-2ubuntu2) ... Setting up libncurses5-dev:i386 (5.9+20140712-2ubuntu2) ... Setting up comerr-dev (2.1-1.42.12-1ubuntu2) ... Setting up e2fslibs-dev (1.42.12-1ubuntu2) ... Setting up sbuild-build-depends-e2defrag-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.13.0-53-generic amd64 (i686) Toolchain package versions: binutils_2.25-8ubuntu1 dpkg-dev_1.17.25ubuntu1 g++-4.9_4.9.2-18ubuntu1 gcc-4.9_4.9.2-18ubuntu1 libc6-dev_2.21-0ubuntu4 libstdc++-4.9-dev_4.9.2-18ubuntu1 libstdc++6_5.1.1-6ubuntu1 linux-libc-dev_3.19.0-18.18 Package versions: adduser_3.113+nmu3ubuntu3 advancecomp_1.19-1 apt_1.0.9.10ubuntu1 apt-transport-https_1.0.9.10ubuntu1 autotools-dev_20140911.1 base-files_7.2ubuntu10 base-passwd_3.5.37 bash_4.3-11ubuntu2 binutils_2.25-8ubuntu1 bsdmainutils_9.0.6ubuntu1 bsdutils_1:2.26.2-3ubuntu1 build-essential_11.6ubuntu6 bzip2_1.0.6-8 ca-certificates_20141019 comerr-dev_2.1-1.42.12-1ubuntu2 coreutils_8.23-3ubuntu1 cpp_4:4.9.2-2ubuntu2 cpp-4.9_4.9.2-18ubuntu1 dash_0.5.7-4ubuntu1 debconf_1.5.55ubuntu2 debhelper_9.20150507ubuntu1 debianutils_4.5.1 dh-apparmor_2.9.2-0ubuntu1 diffutils_1:3.3-1 dmsetup_2:1.02.90-2ubuntu1 dpkg_1.17.25ubuntu1 dpkg-dev_1.17.25ubuntu1 e2fslibs_1.42.12-1ubuntu2 e2fslibs-dev_1.42.12-1ubuntu2 e2fsprogs_1.42.12-1ubuntu2 fakeroot_1.20.2-1ubuntu1 file_1:5.22+15-2ubuntu1 findutils_4.4.2-9build1 g++_4:4.9.2-2ubuntu2 g++-4.9_4.9.2-18ubuntu1 gcc_4:4.9.2-2ubuntu2 gcc-4.9_4.9.2-18ubuntu1 gcc-4.9-base_4.9.2-18ubuntu1 gcc-5-base_5.1.1-6ubuntu1 gettext_0.19.2-2ubuntu1 gettext-base_0.19.2-2ubuntu1 gnupg_1.4.18-7ubuntu1 gpgv_1.4.18-7ubuntu1 grep_2.20-4.1 groff-base_1.22.3-1 gzip_1.6-4ubuntu1 hostname_3.15ubuntu2 init_1.23ubuntu2 initscripts_2.88dsf-59.1ubuntu3 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.2 libacl1_2.2.52-2 libapparmor1_2.9.2-0ubuntu1 libapt-pkg4.12_1.0.9.10ubuntu1 libasan1_4.9.2-18ubuntu1 libasn1-8-heimdal_1.6~rc2+dfsg-9 libasprintf0c2_0.19.2-2ubuntu1 libatomic1_5.1.1-6ubuntu1 libattr1_1:2.4.47-2 libaudit-common_1:2.3.7-1ubuntu2 libaudit1_1:2.3.7-1ubuntu2 libblkid1_2.26.2-3ubuntu1 libbz2-1.0_1.0.6-8 libc-bin_2.21-0ubuntu4 libc-dev-bin_2.21-0ubuntu4 libc6_2.21-0ubuntu4 libc6-dev_2.21-0ubuntu4 libcap2_1:2.24-8 libcap2-bin_1:2.24-8 libcilkrts5_5.1.1-6ubuntu1 libcloog-isl4_0.18.3-1 libcomerr2_1.42.12-1ubuntu2 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.1-1ubuntu7 libcurl3-gnutls_7.38.0-3ubuntu3 libdb5.3_5.3.28-9 libdbus-1-3_1.8.12-1ubuntu5 libdebconfclient0_0.192ubuntu1 libdevmapper1.02.1_2:1.02.90-2ubuntu1 libdpkg-perl_1.17.25ubuntu1 libfakeroot_1.20.2-1ubuntu1 libfdisk1_2.26.2-3ubuntu1 libffi6_3.2.1-2 libgcc-4.9-dev_4.9.2-18ubuntu1 libgcc1_1:5.1.1-6ubuntu1 libgcrypt20_1.6.3-2ubuntu1 libgdbm3_1.8.3-13.1 libglib2.0-0_2.45.1-2 libgmp10_2:6.0.0+dfsg-6ubuntu1 libgnutls-deb0-28_3.3.15-2ubuntu1 libgomp1_5.1.1-6ubuntu1 libgpg-error0_1.17-3ubuntu1 libgssapi-krb5-2_1.12.1+dfsg-20 libgssapi3-heimdal_1.6~rc2+dfsg-9 libhcrypto4-heimdal_1.6~rc2+dfsg-9 libheimbase1-heimdal_1.6~rc2+dfsg-9 libheimntlm0-heimdal_1.6~rc2+dfsg-9 libhogweed2_2.7.1-5 libhx509-5-heimdal_1.6~rc2+dfsg-9 libicu52_52.1-9 libidn11_1.28-1ubuntu2 libisl13_0.14-2 libitm1_5.1.1-6ubuntu1 libk5crypto3_1.12.1+dfsg-20 libkeyutils1_1.5.9-5ubuntu1 libkmod2_18-3ubuntu1 libkrb5-26-heimdal_1.6~rc2+dfsg-9 libkrb5-3_1.12.1+dfsg-20 libkrb5support0_1.12.1+dfsg-20 libldap-2.4-2_2.4.40+dfsg-1ubuntu1 liblockfile-bin_1.09-6ubuntu1 liblockfile1_1.09-6ubuntu1 liblzma5_5.1.1alpha+20120614-2ubuntu2 libmagic1_1:5.22+15-2ubuntu1 libmount1_2.26.2-3ubuntu1 libmpc3_1.0.3-1 libmpfr4_3.1.2-3 libncurses5_5.9+20140712-2ubuntu2 libncurses5-dev_5.9+20140712-2ubuntu2 libncursesw5_5.9+20140712-2ubuntu2 libnettle4_2.7.1-5 libnih-dbus1_1.0.3-4ubuntu27 libnih1_1.0.3-4ubuntu27 libp11-kit0_0.23.1-2 libpam-modules_1.1.8-3.1ubuntu3 libpam-modules-bin_1.1.8-3.1ubuntu3 libpam-runtime_1.1.8-3.1ubuntu3 libpam0g_1.1.8-3.1ubuntu3 libpcre3_2:8.35-3.3ubuntu1 libpipeline1_1.4.0-1 libpng12-0_1.2.51-0ubuntu3 libprocps3_1:3.3.9-1ubuntu8 libquadmath0_5.1.1-6ubuntu1 libreadline6_6.3-8ubuntu1 libroken18-heimdal_1.6~rc2+dfsg-9 librtmp1_2.4+20150115.gita107cef-1 libsasl2-2_2.1.26.dfsg1-13 libsasl2-modules-db_2.1.26.dfsg1-13 libselinux1_2.3-2 libsemanage-common_2.3-1build1 libsemanage1_2.3-1build1 libsepol1_2.3-2 libslang2_2.3.0-2ubuntu1 libsmartcols1_2.26.2-3ubuntu1 libsqlite3-0_3.8.10.2-1 libss2_1.42.12-1ubuntu2 libssl1.0.0_1.0.2a-1ubuntu1 libstdc++-4.9-dev_4.9.2-18ubuntu1 libstdc++6_5.1.1-6ubuntu1 libsystemd0_219-10ubuntu1 libtasn1-6_4.5-2 libtimedate-perl_2.3000-2 libtinfo-dev_5.9+20140712-2ubuntu2 libtinfo5_5.9+20140712-2ubuntu2 libubsan0_5.1.1-6ubuntu1 libudev1_219-10ubuntu1 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3ubuntu2 libuuid1_2.26.2-3ubuntu1 libwind0-heimdal_1.6~rc2+dfsg-9 libxml2_2.9.2+dfsg1-3 linux-libc-dev_3.19.0-18.18 lockfile-progs_0.1.17 login_1:4.1.5.1-1.1ubuntu4 lsb-base_4.1+Debian11ubuntu8 make_4.0-8.1 man-db_2.7.0.2-5 mawk_1.3.3-17ubuntu2 mount_2.26.2-3ubuntu1 multiarch-support_2.21-0ubuntu4 ncurses-base_5.9+20140712-2ubuntu2 ncurses-bin_5.9+20140712-2ubuntu2 openssl_1.0.2a-1ubuntu1 optipng_0.7.5-1 passwd_1:4.1.5.1-1.1ubuntu4 patch_2.7.5-1 perl_5.20.2-6 perl-base_5.20.2-6 perl-modules_5.20.2-6 pkg-create-dbgsym_0.67 pkgbinarymangler_121 po-debconf_1.0.18 policyrcd-script-zg2_0.1-2 procps_1:3.3.9-1ubuntu8 readline-common_6.3-8ubuntu1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-e2defrag-dummy_0.invalid.0 sed_4.2.2-4ubuntu1 sensible-utils_0.0.9 systemd_219-10ubuntu1 systemd-sysv_219-10ubuntu1 sysv-rc_2.88dsf-59.1ubuntu3 sysvinit-utils_2.88dsf-59.1ubuntu3 tar_1.27.1-2 tzdata_2015d-1 ubuntu-keyring_2012.05.19 udev_219-10ubuntu1 util-linux_2.26.2-3ubuntu1 xz-utils_5.1.1alpha+20120614-2ubuntu2 zlib1g_1:1.2.8.dfsg-2ubuntu1 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── dpkg-source: warning: extracting unsigned source package (e2defrag_0.81-0~50~ubuntu15.10.1.dsc) dpkg-source: info: extracting e2defrag in e2defrag-0.81 dpkg-source: info: unpacking e2defrag_0.81-0~50~ubuntu15.10.1.tar.xz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/home/buildd LANG=C LOGNAME=buildd MAIL=/var/mail/buildd OLDPWD=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/«PKGBUILDDIR» SHELL=/bin/sh SUDO_COMMAND=/usr/sbin/chroot /«CHROOT» su buildd -s /bin/sh -c cd '/«PKGBUILDDIR»' && 'env' SUDO_GID=2501 SUDO_UID=2001 SUDO_USER=buildd TERM=unknown USER=buildd USERNAME=root dpkg-buildpackage ───────────────── dpkg-buildpackage: source package e2defrag dpkg-buildpackage: source version 0.81-0~50~ubuntu15.10.1 dpkg-buildpackage: source distribution wily dpkg-source --before-build e2defrag-0.81 dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build-arch dh build-arch dh_testdir -a dh_auto_configure -a ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/e2defrag --disable-maintainer-mode --disable-dependency-tracking 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 for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for initscr in -lncurses... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for strings.h... yes checking for sys/ioctl.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking size of unsigned... 4 checking whether llseek declared in unistd.h... no checking whether lseek64 declared in unistd.h... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for abs... yes checking for llseek... yes checking for lseek64... yes checking for open64... yes checking for ext2fs/ext2_fs.h... yes updating cache ./config.cache creating ./config.status creating defrag creating GNUmakefile creating makefile creating tests/Makefile creating tests/nonroot.sh creating config.h dh_auto_build -a make -j1 make[1]: Entering directory '/«PKGBUILDDIR»' GNUmakefile:183: .depend: No such file or directory echo "char const *version = \"0.81\";" >> version.h rm -f .depend for t in ext2; do \ for f in defrag.o buffers.o display.o misc.o llseek.o map.o rbtree.o ; do \ g=`basename $f .o`; \ gcc -E -M -DFS_IS_$t -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. ./$g.c \ | sed "s/$f/lib$t.a($g.$t.o)/" >> .depend; \ done; \ gcc -E -M -DFS_IS_$t -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. ./$t.c \ | sed "s/^\([a-z0-9]*\).o/lib$t.a(\1.$t.o)/" >> .depend; \ done gcc -E -M -DFS_IS_ext2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. ./e2dump.c \ | sed "s/^\([a-z0-9]*\).o/\1.ext2.o/" >> .depend gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. frag.c -o frag gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o defrag.ext2.o defrag.c In file included from defrag.h:40:0, from defrag.c:35: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from defrag.c:37:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'put_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'get_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'optimise_zone': defrag.c:123:17: warning: unused variable 'nx' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c:123:13: warning: unused variable 'oy' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c: In function 'walk_zone': defrag.c:236:2: warning: enumeration value 'WZ_ALLOC' not handled in switch [-Wswitch] switch (mode) ^ defrag.c:236:2: warning: enumeration value 'WZ_FREE' not handled in switch [-Wswitch] defrag.c: At top level: defrag.c:414:12: warning: no previous prototype for 'walk_extent_tree' [-Wmissing-prototypes] signed int walk_extent_tree (struct ext3_extent_header *tree_root, ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'walk_extent_tree': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ defrag.c: In function 'walk_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ defrag.c: In function 'read_fixed_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ defrag.c: In function 'optimise_inode': defrag.c:805:27: warning: initialization from incompatible pointer type struct d_inode * inode = &inode_buffer; ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'scan_used_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:880:30: note: in expansion of macro 'INODES' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:884:24: note: in expansion of macro 'INODES' if (i%(INODES/50+1)==0) { ^ defrag.c:890:3: warning: implicit declaration of function 'dump_extents' [-Wimplicit-function-declaration] dump_extents(); ^ defrag.c:890:3: warning: nested extern declaration of 'dump_extents' [-Wnested-externs] In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'read_priority_file': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:972:28: note: in expansion of macro 'INODES' if (inode < 1 || inode > INODES) ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'sort_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1034:34: note: in expansion of macro 'INODES' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:21:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1038:27: note: in expansion of macro 'INODES' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ defrag.c:1038:34: note: in expansion of macro 'FREEINODESCOUNT' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'main': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ defrag.c:1147:38: note: in expansion of macro 'ZONES' if (voyer_mode) init_screen(ZONES); ^ defrag.c: In function 'read_priority_file': defrag.c:950:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(priority_file, "%127s", tmps); ^ ar rv libext2.a defrag.ext2.o ar: creating libext2.a a - defrag.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o buffers.ext2.o buffers.c In file included from defrag.h:40:0, from buffers.c:22: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from buffers.c:23:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ buffers.c: In function 'allocate_buffer': buffers.c:178:2: warning: enumeration value 'FORCE' not handled in switch [-Wswitch] switch (btype) ^ buffers.c: At top level: buffers.c:282:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void select_free_buffers () ^ buffers.c:404:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void queue_flush() ^ buffers.c:429:6: warning: no previous prototype for 'queue_read_current_block' [-Wmissing-prototypes] void queue_read_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_read_current_block': buffers.c:455:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: At top level: buffers.c:467:6: warning: no previous prototype for 'queue_write_current_block' [-Wmissing-prototypes] void queue_write_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_write_current_block': buffers.c:494:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: In function 'remap_disk_blocks': buffers.c:833:9: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] assert (fcntl (IN, F_SETFL, O_DIRECT)==0); ^ buffers.c:833:9: warning: nested extern declaration of 'fcntl' [-Wnested-externs] buffers.c:834:2: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] transfer_start_time = time(NULL); ^ buffers.c:834:2: warning: nested extern declaration of 'time' [-Wnested-externs] buffers.c: At top level: buffers.c:686:12: warning: 'rescue_buffer_p' defined but not used [-Wunused-function] static int rescue_buffer_p (const Buffer *b) ^ ar rv libext2.a buffers.ext2.o a - buffers.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o display.ext2.o display.c display.c: In function '_die': display.c:42:4: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr,last_words); ^ ar rv libext2.a display.ext2.o a - display.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o misc.ext2.o misc.c In file included from defrag.h:40:0, from misc.c:23: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ ar rv libext2.a misc.ext2.o a - misc.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o llseek.ext2.o llseek.c ar rv libext2.a llseek.ext2.o a - llseek.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o map.ext2.o map.c In file included from defrag.h:40:0, from map.c:26: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from map.c:27:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ map.c:201:20: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first () ^ map.c:393:6: warning: no previous prototype for 'dump_extents' [-Wmissing-prototypes] void dump_extents (void) ^ ar rv libext2.a map.ext2.o a - map.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o rbtree.ext2.o rbtree.c rbtree.c: In function 'rb_next': rbtree.c:391:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ rbtree.c: In function 'rb_prev': rbtree.c:419:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ ar rv libext2.a rbtree.ext2.o a - rbtree.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o ext2.ext2.o ext2.c In file included from defrag.h:40:0, from ext2.c:31: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from ext2.c:33:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'read_groups': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:71:33: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:79:9: note: in expansion of macro 'Super' if ((Super.s_blocks_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:81:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:84:9: note: in expansion of macro 'Super' if ((Super.s_inodes_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:86:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.c: In function 'read_tables': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:105:9: note: in expansion of macro 'Super' if (Super.s_magic != EXT2_SUPER_MAGIC) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:107:9: note: in expansion of macro 'Super' if (Super.s_log_block_size > 2) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:113:10: note: in expansion of macro 'Super' if(!(Super.s_state & EXT2_VALID_FS) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:117:9: note: in expansion of macro 'Super' if((Super.s_feature_ro_compat & ~(EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:123:12: note: in expansion of macro 'Super' || (Super.s_feature_incompat & ~(EXT2_FEATURE_INCOMPAT_COMPRESSION ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:128:8: note: in expansion of macro 'Super' if(Super.s_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:130:41: note: in expansion of macro 'Super' block_size = EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:15: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:38: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:133:8: note: in expansion of macro 'Super' Super.s_blocks_per_group - 1) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:134:8: note: in expansion of macro 'Super' Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:136:8: note: in expansion of macro 'ZONES' if(ZONES == 0xffffffff) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:138:8: note: in expansion of macro 'ZONES' if(ZONES < 20) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:147:31: note: in expansion of macro 'ZONES' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:147:45: note: in expansion of macro 'Super' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:148:25: note: in expansion of macro 'Super' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:148:51: note: in expansion of macro 'ZONES' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:156:34: note: in expansion of macro 'INODES' inode_priority_map = malloc (INODES * sizeof(*inode_priority_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:160:7: note: in expansion of macro 'INODES' (INODES * sizeof(*inode_priority_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:162:32: note: in expansion of macro 'INODES' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:162:39: note: in expansion of macro 'FREEINODESCOUNT' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:165:35: note: in expansion of macro 'INODES' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:165:42: note: in expansion of macro 'FREEINODESCOUNT' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:167:27: note: in expansion of macro 'ZONES' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:167:35: note: in expansion of macro 'FIRSTZONE' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:170:28: note: in expansion of macro 'ZONES' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:170:36: note: in expansion of macro 'FIRSTZONE' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:172:18: note: in expansion of macro 'FIRSTZONE' first_zone = FIRSTZONE; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:173:13: note: in expansion of macro 'ZONES' zones = ZONES; ^ ext2.c: In function 'show_super_stats': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:20: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:28: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:183:20: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:184:13: note: in expansion of macro 'FREEBLOCKSCOUNT' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:184:32: note: in expansion of macro 'ZONES' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:20: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:29: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:188:20: note: in expansion of macro 'FREEINODESCOUNT' (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:189:13: note: in expansion of macro 'FREEINODESCOUNT' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:189:32: note: in expansion of macro 'INODES' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:198:43: note: in expansion of macro 'INODES' printf ("%lu inode%s\n", (unsigned long) INODES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:199:4: note: in expansion of macro 'INODES' (INODES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:200:43: note: in expansion of macro 'ZONES' printf ("%lu block%s\n", (unsigned long) ZONES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:201:4: note: in expansion of macro 'ZONES' (ZONES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:204:49: note: in expansion of macro 'FIRSTZONE' printf ("Firstdatazone=%lu\n", (unsigned long) FIRSTZONE); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:205:48: note: in expansion of macro 'FREEBLOCKSCOUNT' printf ("%lu free block%s\n", (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:206:4: note: in expansion of macro 'FREEBLOCKSCOUNT' (FREEBLOCKSCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:207:48: note: in expansion of macro 'FREEINODESCOUNT' printf ("%lu free inode%s\n", (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:208:4: note: in expansion of macro 'FREEINODESCOUNT' (FREEINODESCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:209:66: note: in expansion of macro 'Super' printf ("Zonesize=%u\n", (unsigned int) (EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_inode_bitmap': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:223:12: note: in expansion of macro 'Super' assert( (Super.s_inodes_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:227:10: note: in expansion of macro 'Super' size = Super.s_inodes_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:233:27: note: in expansion of macro 'INODES' memset (inode_map, 0, ((INODES + 1) / 8)); ^ ext2.c: In function 'inc_next_sb_grp': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:307:8: note: in expansion of macro 'Super' if(!(Super.s_feature_ro_compat & EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER) ^ ext2.c: In function 'mark_group_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:335:14: note: in expansion of macro 'Super' = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:337:14: note: in expansion of macro 'Super' = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:14: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:343:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:359:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.c: In function 'count_free_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:382:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:388:17: note: in expansion of macro 'Super' blocks = Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:390:16: note: in expansion of macro 'ZONES' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:390:24: note: in expansion of macro 'FIRSTZONE' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:390:37: note: in expansion of macro 'Super' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:406:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:409:8: note: in expansion of macro 'FREEBLOCKSCOUNT' if (FREEBLOCKSCOUNT != total_free) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:413:19: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:414:19: note: in expansion of macro 'Super' (unsigned long) Super.s_r_blocks_count, total_free); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_zone_maps': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:435:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:439:10: note: in expansion of macro 'Super' size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:463:12: note: in expansion of macro 'FIRSTZONE' for (i = FIRSTZONE; i < ZONES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:463:27: note: in expansion of macro 'ZONES' for (i = FIRSTZONE; i < ZONES; i++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.c: At top level: ext2.c:545:7: warning: no previous prototype for 'ext2fs_crc16' [-Wmissing-prototypes] __u16 ext2fs_crc16(__u16 crc, const void *buffer, unsigned int len) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'update_group_desc_csum': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:565:7: note: in expansion of macro 'Super' if (Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:566:28: note: in expansion of macro 'Super' crc = ext2fs_crc16(~0, Super.s_uuid, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:567:17: note: in expansion of macro 'Super' sizeof(Super.s_uuid)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'salvage_free_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:587:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:591:24: note: in expansion of macro 'Super' bmp_zones = groups * Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:602:3: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT = 0; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:609:25: note: in expansion of macro 'Super' Block next_bg_blk = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:613:34: note: in expansion of macro 'ZONES' for(blk = next_bg_blk; blk < ZONES; blk++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:615:17: note: in expansion of macro 'Super' next_bg_blk += Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:629:15: note: in expansion of macro 'ZONES' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:629:40: note: in expansion of macro 'FIRSTZONE' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:635:18: note: in expansion of macro 'Super' ulong size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:639:7: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT += bg[n].bg_free_blocks_count; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:641:11: note: in expansion of macro 'Super' if( Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:642:34: note: in expansion of macro 'Super' bg[n].bg_free_blocks_count == Super.s_blocks_per_group && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:661:34: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.c: In function 'seek_to_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:676:15: note: in expansion of macro 'Super' p = &bg[i / Super.s_inodes_per_group]; ^ In file included from ext2.h:16:0, from defrag.h:40, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:41: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.c: In function 'update_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:692:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:29: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:57: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.c: In function 'check_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:735:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:762:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:766:22: note: in expansion of macro 'ZONES' gp[i].last_block = ZONES - 1; ^ ext2.c: In function 'choose_block': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:824:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.c: At top level: ext2.c:853:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population () ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'show_reserved_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:864:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:886:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:894:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:902:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:909:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ar rv libext2.a ext2.ext2.o a - ext2.ext2.o ranlib libext2.a gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -o e2defrag libext2.a -lncurses rm ext2.ext2.o rbtree.ext2.o defrag.ext2.o misc.ext2.o buffers.ext2.o map.ext2.o llseek.ext2.o display.ext2.o make[1]: Leaving directory '/«PKGBUILDDIR»' dh_auto_test -a make -j1 check make[1]: Entering directory '/«PKGBUILDDIR»' gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o defrag.ext2.o defrag.c In file included from defrag.h:40:0, from defrag.c:35: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from defrag.c:37:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'put_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'get_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'optimise_zone': defrag.c:123:17: warning: unused variable 'nx' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c:123:13: warning: unused variable 'oy' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c: In function 'walk_zone': defrag.c:236:2: warning: enumeration value 'WZ_ALLOC' not handled in switch [-Wswitch] switch (mode) ^ defrag.c:236:2: warning: enumeration value 'WZ_FREE' not handled in switch [-Wswitch] defrag.c: At top level: defrag.c:414:12: warning: no previous prototype for 'walk_extent_tree' [-Wmissing-prototypes] signed int walk_extent_tree (struct ext3_extent_header *tree_root, ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'walk_extent_tree': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ defrag.c: In function 'walk_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ defrag.c: In function 'read_fixed_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ defrag.c: In function 'optimise_inode': defrag.c:805:27: warning: initialization from incompatible pointer type struct d_inode * inode = &inode_buffer; ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'scan_used_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:880:30: note: in expansion of macro 'INODES' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:884:24: note: in expansion of macro 'INODES' if (i%(INODES/50+1)==0) { ^ defrag.c:890:3: warning: implicit declaration of function 'dump_extents' [-Wimplicit-function-declaration] dump_extents(); ^ defrag.c:890:3: warning: nested extern declaration of 'dump_extents' [-Wnested-externs] In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'read_priority_file': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:972:28: note: in expansion of macro 'INODES' if (inode < 1 || inode > INODES) ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'sort_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1034:34: note: in expansion of macro 'INODES' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:21:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1038:27: note: in expansion of macro 'INODES' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ defrag.c:1038:34: note: in expansion of macro 'FREEINODESCOUNT' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'main': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ defrag.c:1147:38: note: in expansion of macro 'ZONES' if (voyer_mode) init_screen(ZONES); ^ defrag.c: In function 'read_priority_file': defrag.c:950:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(priority_file, "%127s", tmps); ^ ar rv libext2.a defrag.ext2.o r - defrag.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o buffers.ext2.o buffers.c In file included from defrag.h:40:0, from buffers.c:22: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from buffers.c:23:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ buffers.c: In function 'allocate_buffer': buffers.c:178:2: warning: enumeration value 'FORCE' not handled in switch [-Wswitch] switch (btype) ^ buffers.c: At top level: buffers.c:282:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void select_free_buffers () ^ buffers.c:404:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void queue_flush() ^ buffers.c:429:6: warning: no previous prototype for 'queue_read_current_block' [-Wmissing-prototypes] void queue_read_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_read_current_block': buffers.c:455:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: At top level: buffers.c:467:6: warning: no previous prototype for 'queue_write_current_block' [-Wmissing-prototypes] void queue_write_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_write_current_block': buffers.c:494:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: In function 'remap_disk_blocks': buffers.c:833:9: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] assert (fcntl (IN, F_SETFL, O_DIRECT)==0); ^ buffers.c:833:9: warning: nested extern declaration of 'fcntl' [-Wnested-externs] buffers.c:834:2: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] transfer_start_time = time(NULL); ^ buffers.c:834:2: warning: nested extern declaration of 'time' [-Wnested-externs] buffers.c: At top level: buffers.c:686:12: warning: 'rescue_buffer_p' defined but not used [-Wunused-function] static int rescue_buffer_p (const Buffer *b) ^ ar rv libext2.a buffers.ext2.o r - buffers.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o display.ext2.o display.c display.c: In function '_die': display.c:42:4: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr,last_words); ^ ar rv libext2.a display.ext2.o r - display.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o misc.ext2.o misc.c In file included from defrag.h:40:0, from misc.c:23: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ ar rv libext2.a misc.ext2.o r - misc.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o llseek.ext2.o llseek.c ar rv libext2.a llseek.ext2.o r - llseek.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o map.ext2.o map.c In file included from defrag.h:40:0, from map.c:26: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from map.c:27:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ map.c:201:20: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first () ^ map.c:393:6: warning: no previous prototype for 'dump_extents' [-Wmissing-prototypes] void dump_extents (void) ^ ar rv libext2.a map.ext2.o r - map.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o rbtree.ext2.o rbtree.c rbtree.c: In function 'rb_next': rbtree.c:391:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ rbtree.c: In function 'rb_prev': rbtree.c:419:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ ar rv libext2.a rbtree.ext2.o r - rbtree.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o ext2.ext2.o ext2.c In file included from defrag.h:40:0, from ext2.c:31: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from ext2.c:33:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'read_groups': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:71:33: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:79:9: note: in expansion of macro 'Super' if ((Super.s_blocks_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:81:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:84:9: note: in expansion of macro 'Super' if ((Super.s_inodes_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:86:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.c: In function 'read_tables': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:105:9: note: in expansion of macro 'Super' if (Super.s_magic != EXT2_SUPER_MAGIC) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:107:9: note: in expansion of macro 'Super' if (Super.s_log_block_size > 2) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:113:10: note: in expansion of macro 'Super' if(!(Super.s_state & EXT2_VALID_FS) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:117:9: note: in expansion of macro 'Super' if((Super.s_feature_ro_compat & ~(EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:123:12: note: in expansion of macro 'Super' || (Super.s_feature_incompat & ~(EXT2_FEATURE_INCOMPAT_COMPRESSION ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:128:8: note: in expansion of macro 'Super' if(Super.s_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:130:41: note: in expansion of macro 'Super' block_size = EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:15: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:38: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:133:8: note: in expansion of macro 'Super' Super.s_blocks_per_group - 1) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:134:8: note: in expansion of macro 'Super' Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:136:8: note: in expansion of macro 'ZONES' if(ZONES == 0xffffffff) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:138:8: note: in expansion of macro 'ZONES' if(ZONES < 20) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:147:31: note: in expansion of macro 'ZONES' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:147:45: note: in expansion of macro 'Super' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:148:25: note: in expansion of macro 'Super' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:148:51: note: in expansion of macro 'ZONES' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:156:34: note: in expansion of macro 'INODES' inode_priority_map = malloc (INODES * sizeof(*inode_priority_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:160:7: note: in expansion of macro 'INODES' (INODES * sizeof(*inode_priority_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:162:32: note: in expansion of macro 'INODES' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:162:39: note: in expansion of macro 'FREEINODESCOUNT' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:165:35: note: in expansion of macro 'INODES' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:165:42: note: in expansion of macro 'FREEINODESCOUNT' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:167:27: note: in expansion of macro 'ZONES' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:167:35: note: in expansion of macro 'FIRSTZONE' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:170:28: note: in expansion of macro 'ZONES' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:170:36: note: in expansion of macro 'FIRSTZONE' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:172:18: note: in expansion of macro 'FIRSTZONE' first_zone = FIRSTZONE; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:173:13: note: in expansion of macro 'ZONES' zones = ZONES; ^ ext2.c: In function 'show_super_stats': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:20: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:28: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:183:20: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:184:13: note: in expansion of macro 'FREEBLOCKSCOUNT' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:184:32: note: in expansion of macro 'ZONES' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:20: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:29: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:188:20: note: in expansion of macro 'FREEINODESCOUNT' (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:189:13: note: in expansion of macro 'FREEINODESCOUNT' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:189:32: note: in expansion of macro 'INODES' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:198:43: note: in expansion of macro 'INODES' printf ("%lu inode%s\n", (unsigned long) INODES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:199:4: note: in expansion of macro 'INODES' (INODES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:200:43: note: in expansion of macro 'ZONES' printf ("%lu block%s\n", (unsigned long) ZONES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:201:4: note: in expansion of macro 'ZONES' (ZONES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:204:49: note: in expansion of macro 'FIRSTZONE' printf ("Firstdatazone=%lu\n", (unsigned long) FIRSTZONE); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:205:48: note: in expansion of macro 'FREEBLOCKSCOUNT' printf ("%lu free block%s\n", (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:206:4: note: in expansion of macro 'FREEBLOCKSCOUNT' (FREEBLOCKSCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:207:48: note: in expansion of macro 'FREEINODESCOUNT' printf ("%lu free inode%s\n", (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:208:4: note: in expansion of macro 'FREEINODESCOUNT' (FREEINODESCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:209:66: note: in expansion of macro 'Super' printf ("Zonesize=%u\n", (unsigned int) (EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_inode_bitmap': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:223:12: note: in expansion of macro 'Super' assert( (Super.s_inodes_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:227:10: note: in expansion of macro 'Super' size = Super.s_inodes_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:233:27: note: in expansion of macro 'INODES' memset (inode_map, 0, ((INODES + 1) / 8)); ^ ext2.c: In function 'inc_next_sb_grp': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:307:8: note: in expansion of macro 'Super' if(!(Super.s_feature_ro_compat & EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER) ^ ext2.c: In function 'mark_group_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:335:14: note: in expansion of macro 'Super' = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:337:14: note: in expansion of macro 'Super' = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:14: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:343:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:359:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.c: In function 'count_free_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:382:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:388:17: note: in expansion of macro 'Super' blocks = Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:390:16: note: in expansion of macro 'ZONES' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:390:24: note: in expansion of macro 'FIRSTZONE' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:390:37: note: in expansion of macro 'Super' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:406:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:409:8: note: in expansion of macro 'FREEBLOCKSCOUNT' if (FREEBLOCKSCOUNT != total_free) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:413:19: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:414:19: note: in expansion of macro 'Super' (unsigned long) Super.s_r_blocks_count, total_free); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_zone_maps': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:435:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:439:10: note: in expansion of macro 'Super' size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:463:12: note: in expansion of macro 'FIRSTZONE' for (i = FIRSTZONE; i < ZONES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:463:27: note: in expansion of macro 'ZONES' for (i = FIRSTZONE; i < ZONES; i++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.c: At top level: ext2.c:545:7: warning: no previous prototype for 'ext2fs_crc16' [-Wmissing-prototypes] __u16 ext2fs_crc16(__u16 crc, const void *buffer, unsigned int len) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'update_group_desc_csum': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:565:7: note: in expansion of macro 'Super' if (Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:566:28: note: in expansion of macro 'Super' crc = ext2fs_crc16(~0, Super.s_uuid, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:567:17: note: in expansion of macro 'Super' sizeof(Super.s_uuid)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'salvage_free_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:587:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:591:24: note: in expansion of macro 'Super' bmp_zones = groups * Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:602:3: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT = 0; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:609:25: note: in expansion of macro 'Super' Block next_bg_blk = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:613:34: note: in expansion of macro 'ZONES' for(blk = next_bg_blk; blk < ZONES; blk++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:615:17: note: in expansion of macro 'Super' next_bg_blk += Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:629:15: note: in expansion of macro 'ZONES' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:629:40: note: in expansion of macro 'FIRSTZONE' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:635:18: note: in expansion of macro 'Super' ulong size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:639:7: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT += bg[n].bg_free_blocks_count; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:641:11: note: in expansion of macro 'Super' if( Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:642:34: note: in expansion of macro 'Super' bg[n].bg_free_blocks_count == Super.s_blocks_per_group && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:661:34: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.c: In function 'seek_to_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:676:15: note: in expansion of macro 'Super' p = &bg[i / Super.s_inodes_per_group]; ^ In file included from ext2.h:16:0, from defrag.h:40, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:41: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.c: In function 'update_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:692:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:29: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:57: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.c: In function 'check_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:735:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:762:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:766:22: note: in expansion of macro 'ZONES' gp[i].last_block = ZONES - 1; ^ ext2.c: In function 'choose_block': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:824:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.c: At top level: ext2.c:853:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population () ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'show_reserved_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:864:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:886:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:894:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:902:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:909:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ar rv libext2.a ext2.ext2.o r - ext2.ext2.o ranlib libext2.a gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -o e2defrag libext2.a -lncurses make -C tests check make[2]: Entering directory '/«PKGBUILDDIR»/tests' Note: Currently only e2defrag is tested. PASS: 1M,1024,none PASS: 1M,1024,sparse_super,filetype PASS: 1M,2048,none PASS: 1M,4096,sparse_super,filetype PASS: 1M,1024,ext4,nojournal,holes,allocate ================== All 5 tests passed ================== make[2]: Leaving directory '/«PKGBUILDDIR»/tests' rm ext2.ext2.o rbtree.ext2.o defrag.ext2.o misc.ext2.o buffers.ext2.o map.ext2.o llseek.ext2.o display.ext2.o make[1]: Leaving directory '/«PKGBUILDDIR»' fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_auto_install -a make -j1 install DESTDIR=/«PKGBUILDDIR»/debian/e2defrag AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/«PKGBUILDDIR»' gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o defrag.ext2.o defrag.c In file included from defrag.h:40:0, from defrag.c:35: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from defrag.c:37:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'put_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:89:57: note: in expansion of macro 'Super' if (nwrite (IN, &inode_buffer, EXT2_INODE_SIZE(&Super))!= ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:90:30: note: in expansion of macro 'Super' EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'get_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:103:45: note: in expansion of macro 'Super' memset (&inode_buffer, 0, EXT2_INODE_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:106:48: note: in expansion of macro 'Super' if (nread(IN, &inode_buffer, EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:107:38: note: in expansion of macro 'Super' != EXT2_INODE_SIZE(&Super)) ^ defrag.c: In function 'optimise_zone': defrag.c:123:17: warning: unused variable 'nx' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c:123:13: warning: unused variable 'oy' [-Wunused-variable] Block ox, oy, nx, ny; ^ defrag.c: In function 'walk_zone': defrag.c:236:2: warning: enumeration value 'WZ_ALLOC' not handled in switch [-Wswitch] switch (mode) ^ defrag.c:236:2: warning: enumeration value 'WZ_FREE' not handled in switch [-Wswitch] defrag.c: At top level: defrag.c:414:12: warning: no previous prototype for 'walk_extent_tree' [-Wmissing-prototypes] signed int walk_extent_tree (struct ext3_extent_header *tree_root, ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'walk_extent_tree': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:429:51: note: in expansion of macro 'Super' const int entries_per_block = (EXT2_BLOCK_SIZE(&Super) - sizeof (struct ext3_extent_header)) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:438:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:664:56: note: in expansion of macro 'Super' tree_buffer[tree_level] = malloc (EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:713:60: note: in expansion of macro 'Super' memset (tree_buffer[tree_level], 0, EXT2_BLOCK_SIZE(&Super)); ^ defrag.c: In function 'walk_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ defrag.c:753:66: note: in expansion of macro 'Super' blocks += (walk_extent_tree (eh, mode) * (EXT2_BLOCK_SIZE (&Super) / 512)); ^ defrag.c: In function 'read_fixed_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:786:16: note: in expansion of macro 'FIRST_USER_INODE' for (i=1; i < FIRST_USER_INODE; i++) { ^ defrag.c: In function 'optimise_inode': defrag.c:805:27: warning: initialization from incompatible pointer type struct d_inode * inode = &inode_buffer; ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'scan_used_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:880:9: note: in expansion of macro 'FIRST_USER_INODE' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:880:30: note: in expansion of macro 'INODES' for (i=FIRST_USER_INODE; i<=INODES; i++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:884:24: note: in expansion of macro 'INODES' if (i%(INODES/50+1)==0) { ^ defrag.c:890:3: warning: implicit declaration of function 'dump_extents' [-Wimplicit-function-declaration] dump_extents(); ^ defrag.c:890:3: warning: nested extern declaration of 'dump_extents' [-Wnested-externs] In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'read_priority_file': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:972:28: note: in expansion of macro 'INODES' if (inode < 1 || inode > INODES) ^ In file included from /usr/include/ext2fs/ext2fs.h:65:0, from defrag.c:33: defrag.c: In function 'sort_inodes': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:31:42: note: in expansion of macro 'Super' #define FIRST_USER_INODE EXT2_FIRST_INO(&Super) ^ defrag.c:1034:11: note: in expansion of macro 'FIRST_USER_INODE' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:40:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1034:34: note: in expansion of macro 'INODES' for (i = FIRST_USER_INODE; i <= INODES; i++) ^ In file included from defrag.h:21:0, from defrag.c:35: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ defrag.c:1038:27: note: in expansion of macro 'INODES' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ defrag.c:1038:34: note: in expansion of macro 'FREEINODESCOUNT' assert (used_inodes < (INODES-FREEINODESCOUNT)); ^ In file included from defrag.h:40:0, from defrag.c:35: defrag.c: In function 'main': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ defrag.c:1147:38: note: in expansion of macro 'ZONES' if (voyer_mode) init_screen(ZONES); ^ defrag.c: In function 'read_priority_file': defrag.c:950:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(priority_file, "%127s", tmps); ^ ar rv libext2.a defrag.ext2.o r - defrag.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o buffers.ext2.o buffers.c In file included from defrag.h:40:0, from buffers.c:22: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from buffers.c:23:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ buffers.c: In function 'allocate_buffer': buffers.c:178:2: warning: enumeration value 'FORCE' not handled in switch [-Wswitch] switch (btype) ^ buffers.c: At top level: buffers.c:282:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void select_free_buffers () ^ buffers.c:404:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void queue_flush() ^ buffers.c:429:6: warning: no previous prototype for 'queue_read_current_block' [-Wmissing-prototypes] void queue_read_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_read_current_block': buffers.c:455:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: At top level: buffers.c:467:6: warning: no previous prototype for 'queue_write_current_block' [-Wmissing-prototypes] void queue_write_current_block (Block nnr, char * addr) ^ buffers.c: In function 'queue_write_current_block': buffers.c:494:37: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] queue[queue_count-1].iov_base + queue[queue_count-1].iov_len == addr) ^ buffers.c: In function 'remap_disk_blocks': buffers.c:833:9: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration] assert (fcntl (IN, F_SETFL, O_DIRECT)==0); ^ buffers.c:833:9: warning: nested extern declaration of 'fcntl' [-Wnested-externs] buffers.c:834:2: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] transfer_start_time = time(NULL); ^ buffers.c:834:2: warning: nested extern declaration of 'time' [-Wnested-externs] buffers.c: At top level: buffers.c:686:12: warning: 'rescue_buffer_p' defined but not used [-Wunused-function] static int rescue_buffer_p (const Buffer *b) ^ ar rv libext2.a buffers.ext2.o r - buffers.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o display.ext2.o display.c display.c: In function '_die': display.c:42:4: warning: format not a string literal and no format arguments [-Wformat-security] fprintf(stderr,last_words); ^ ar rv libext2.a display.ext2.o r - display.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o misc.ext2.o misc.c In file included from defrag.h:40:0, from misc.c:23: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ ar rv libext2.a misc.ext2.o r - misc.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o llseek.ext2.o llseek.c ar rv libext2.a llseek.ext2.o r - llseek.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o map.ext2.o map.c In file included from defrag.h:40:0, from map.c:26: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from map.c:27:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ map.c:201:20: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first () ^ map.c:393:6: warning: no previous prototype for 'dump_extents' [-Wmissing-prototypes] void dump_extents (void) ^ ar rv libext2.a map.ext2.o r - map.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o rbtree.ext2.o rbtree.c rbtree.c: In function 'rb_next': rbtree.c:391:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ rbtree.c: In function 'rb_prev': rbtree.c:419:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (struct rb_node *)node; ^ ar rv libext2.a rbtree.ext2.o r - rbtree.ext2.o gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I. -DFS_IS_ext2 -c -o ext2.ext2.o ext2.c In file included from defrag.h:40:0, from ext2.c:31: ext2.h:98:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population (); ^ In file included from ext2.c:33:0: map.h:28:8: warning: function declaration isn't a prototype [-Wstrict-prototypes] struct map_extent *map_reverse_first (); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'read_groups': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:71:33: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:79:9: note: in expansion of macro 'Super' if ((Super.s_blocks_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:81:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:84:9: note: in expansion of macro 'Super' if ((Super.s_inodes_per_group % 8) != 0) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:86:31: note: in expansion of macro 'Super' (unsigned long) Super.s_blocks_per_group); ^ ext2.c: In function 'read_tables': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:105:9: note: in expansion of macro 'Super' if (Super.s_magic != EXT2_SUPER_MAGIC) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:107:9: note: in expansion of macro 'Super' if (Super.s_log_block_size > 2) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:113:10: note: in expansion of macro 'Super' if(!(Super.s_state & EXT2_VALID_FS) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:117:9: note: in expansion of macro 'Super' if((Super.s_feature_ro_compat & ~(EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:123:12: note: in expansion of macro 'Super' || (Super.s_feature_incompat & ~(EXT2_FEATURE_INCOMPAT_COMPRESSION ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:128:8: note: in expansion of macro 'Super' if(Super.s_feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:130:41: note: in expansion of macro 'Super' block_size = EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:15: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:132:38: note: in expansion of macro 'Super' groups = (Super.s_blocks_count - Super.s_first_data_block + ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:133:8: note: in expansion of macro 'Super' Super.s_blocks_per_group - 1) / ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:134:8: note: in expansion of macro 'Super' Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:136:8: note: in expansion of macro 'ZONES' if(ZONES == 0xffffffff) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:138:8: note: in expansion of macro 'ZONES' if(ZONES < 20) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:147:31: note: in expansion of macro 'ZONES' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:147:45: note: in expansion of macro 'Super' end_of_device = ((loff_t) ZONES - 1) << Super.s_log_block_size; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:148:25: note: in expansion of macro 'Super' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:148:51: note: in expansion of macro 'ZONES' if(end_of_device >> Super.s_log_block_size != ZONES - 1) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:156:34: note: in expansion of macro 'INODES' inode_priority_map = malloc (INODES * sizeof(*inode_priority_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:160:7: note: in expansion of macro 'INODES' (INODES * sizeof(*inode_priority_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:162:32: note: in expansion of macro 'INODES' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:162:39: note: in expansion of macro 'FREEINODESCOUNT' inode_order_map = malloc ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map)); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:165:35: note: in expansion of macro 'INODES' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:165:42: note: in expansion of macro 'FREEINODESCOUNT' memset (inode_order_map, 0, ((INODES-FREEINODESCOUNT) * sizeof(*inode_order_map))); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:167:27: note: in expansion of macro 'ZONES' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:167:35: note: in expansion of macro 'FIRSTZONE' fixed_map = malloc (((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:170:28: note: in expansion of macro 'ZONES' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:170:36: note: in expansion of macro 'FIRSTZONE' memset(fixed_map, 0, ((ZONES - FIRSTZONE) / 8) + 1); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:172:18: note: in expansion of macro 'FIRSTZONE' first_zone = FIRSTZONE; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:173:13: note: in expansion of macro 'ZONES' zones = ZONES; ^ ext2.c: In function 'show_super_stats': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:20: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:182:28: note: in expansion of macro 'ZONES' (unsigned long) ZONES, (ZONES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:183:20: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:184:13: note: in expansion of macro 'FREEBLOCKSCOUNT' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:184:32: note: in expansion of macro 'ZONES' (100UL * FREEBLOCKSCOUNT) / ZONES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:20: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:187:29: note: in expansion of macro 'INODES' (unsigned long) INODES, (INODES != 1) ? "s" : "", ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:188:20: note: in expansion of macro 'FREEINODESCOUNT' (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:189:13: note: in expansion of macro 'FREEINODESCOUNT' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:189:32: note: in expansion of macro 'INODES' (100UL * FREEINODESCOUNT) / INODES); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:198:43: note: in expansion of macro 'INODES' printf ("%lu inode%s\n", (unsigned long) INODES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:199:4: note: in expansion of macro 'INODES' (INODES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:200:43: note: in expansion of macro 'ZONES' printf ("%lu block%s\n", (unsigned long) ZONES, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:201:4: note: in expansion of macro 'ZONES' (ZONES != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:204:49: note: in expansion of macro 'FIRSTZONE' printf ("Firstdatazone=%lu\n", (unsigned long) FIRSTZONE); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:205:48: note: in expansion of macro 'FREEBLOCKSCOUNT' printf ("%lu free block%s\n", (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:206:4: note: in expansion of macro 'FREEBLOCKSCOUNT' (FREEBLOCKSCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:207:48: note: in expansion of macro 'FREEINODESCOUNT' printf ("%lu free inode%s\n", (unsigned long) FREEINODESCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:53:26: note: in expansion of macro 'Super' #define FREEINODESCOUNT (Super.s_free_inodes_count) ^ ext2.c:208:4: note: in expansion of macro 'FREEINODESCOUNT' (FREEINODESCOUNT != 1) ? "s" : ""); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:209:66: note: in expansion of macro 'Super' printf ("Zonesize=%u\n", (unsigned int) (EXT2_MIN_BLOCK_SIZE << Super.s_log_block_size)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_inode_bitmap': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:223:12: note: in expansion of macro 'Super' assert( (Super.s_inodes_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:227:10: note: in expansion of macro 'Super' size = Super.s_inodes_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:50:18: note: in expansion of macro 'Super' #define INODES (Super.s_inodes_count) ^ ext2.c:233:27: note: in expansion of macro 'INODES' memset (inode_map, 0, ((INODES + 1) / 8)); ^ ext2.c: In function 'inc_next_sb_grp': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:307:8: note: in expansion of macro 'Super' if(!(Super.s_feature_ro_compat & EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER) ^ ext2.c: In function 'mark_group_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:335:14: note: in expansion of macro 'Super' = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:337:14: note: in expansion of macro 'Super' = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:14: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:339:58: note: in expansion of macro 'Super' = UPPER((Super.s_inodes_per_group * EXT2_INODE_SIZE(&Super)),block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:343:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:359:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.c: In function 'count_free_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:382:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:388:17: note: in expansion of macro 'Super' blocks = Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:390:16: note: in expansion of macro 'ZONES' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:390:24: note: in expansion of macro 'FIRSTZONE' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:390:37: note: in expansion of macro 'Super' ulong tmp = (ZONES - FIRSTZONE) % Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:397:7: note: in expansion of macro 'bm_zone_in_use' if(!bm_zone_in_use( first_block + i)) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:406:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:409:8: note: in expansion of macro 'FREEBLOCKSCOUNT' if (FREEBLOCKSCOUNT != total_free) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:413:19: note: in expansion of macro 'FREEBLOCKSCOUNT' (unsigned long) FREEBLOCKSCOUNT, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:414:19: note: in expansion of macro 'Super' (unsigned long) Super.s_r_blocks_count, total_free); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'init_zone_maps': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:435:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:439:10: note: in expansion of macro 'Super' size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:463:12: note: in expansion of macro 'FIRSTZONE' for (i = FIRSTZONE; i < ZONES; i++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:463:27: note: in expansion of macro 'ZONES' for (i = FIRSTZONE; i < ZONES; i++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:49:28: note: in expansion of macro 'bit' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:49:45: note: in expansion of macro 'FIRSTZONE' #define bm_zone_in_use(x) (bit(zone_map,(x)-FIRSTZONE)) ^ ext2.c:465:11: note: in expansion of macro 'bm_zone_in_use' if (bm_zone_in_use(i)) ^ ext2.c: At top level: ext2.c:545:7: warning: no previous prototype for 'ext2fs_crc16' [-Wmissing-prototypes] __u16 ext2fs_crc16(__u16 crc, const void *buffer, unsigned int len) ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'update_group_desc_csum': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:565:7: note: in expansion of macro 'Super' if (Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:566:28: note: in expansion of macro 'Super' crc = ext2fs_crc16(~0, Super.s_uuid, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:567:17: note: in expansion of macro 'Super' sizeof(Super.s_uuid)); ^ In file included from defrag.h:21:0, from ext2.c:31: ext2.c: In function 'salvage_free_zones': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:587:12: note: in expansion of macro 'Super' assert( (Super.s_blocks_per_group & 7) == 0); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:591:24: note: in expansion of macro 'Super' bmp_zones = groups * Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:602:3: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT = 0; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:609:25: note: in expansion of macro 'Super' Block next_bg_blk = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:613:34: note: in expansion of macro 'ZONES' for(blk = next_bg_blk; blk < ZONES; blk++) { ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:615:17: note: in expansion of macro 'Super' next_bg_blk += Super.s_blocks_per_group; ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:619:2: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:629:15: note: in expansion of macro 'ZONES' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:629:40: note: in expansion of macro 'FIRSTZONE' for(blk = ZONES; blk < bmp_zones + FIRSTZONE; blk++) ^ In file included from defrag.h:28:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:54:20: note: in expansion of macro 'Super' #define FIRSTZONE (Super.s_first_data_block) ^ ext2.c:50:46: note: in expansion of macro 'FIRSTZONE' #define bm_mark_zone(x) (setbit(zone_map,(x)-FIRSTZONE),changed=1) ^ ext2.c:630:7: note: in expansion of macro 'bm_mark_zone' bm_mark_zone(blk); ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:635:18: note: in expansion of macro 'Super' ulong size = Super.s_blocks_per_group >> 3; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:52:26: note: in expansion of macro 'Super' #define FREEBLOCKSCOUNT (Super.s_free_blocks_count) ^ ext2.c:639:7: note: in expansion of macro 'FREEBLOCKSCOUNT' FREEBLOCKSCOUNT += bg[n].bg_free_blocks_count; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:641:11: note: in expansion of macro 'Super' if( Super.s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:642:34: note: in expansion of macro 'Super' bg[n].bg_free_blocks_count == Super.s_blocks_per_group && ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:661:34: note: in expansion of macro 'Super' if(nlseek( IN, block_size * (Super.s_first_data_block + 1), SEEK_SET) < 0) ^ ext2.c: In function 'seek_to_inode': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:676:15: note: in expansion of macro 'Super' p = &bg[i / Super.s_inodes_per_group]; ^ In file included from ext2.h:16:0, from defrag.h:40, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:27: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:680:41: note: in expansion of macro 'Super' + EXT2_INODE_SIZE(&Super) * (i % Super.s_inodes_per_group)), ^ ext2.c: In function 'update_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:692:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:29: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:693:57: note: in expansion of macro 'Super' unsigned z_group = (znr - Super.s_first_data_block) / Super.s_blocks_per_group; ^ ext2.c: In function 'check_group_population': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:735:24: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:762:23: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:51:17: note: in expansion of macro 'Super' #define ZONES (Super.s_blocks_count) ^ ext2.c:766:22: note: in expansion of macro 'ZONES' gp[i].last_block = ZONES - 1; ^ ext2.c: In function 'choose_block': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:824:34: note: in expansion of macro 'Super' unsigned i_group = (inode-1) / Super.s_inodes_per_group; ^ ext2.c: At top level: ext2.c:853:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void restore_group_population () ^ In file included from defrag.h:40:0, from ext2.c:31: ext2.c: In function 'show_reserved_blocks': ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:864:23: note: in expansion of macro 'Super' Block first_block = Super.s_first_data_block; ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:886:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_blocks_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:894:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, CHARBITS * block_size); ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.h:45:26: note: in definition of macro 'UPPER' #define UPPER(size,n) ((size + ((n) - 1)) / (n)) ^ ext2.c:902:31: note: in expansion of macro 'Super' unsigned count = UPPER( Super.s_inodes_per_group, ^ ext2.h:49:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Super (* (struct ext2_super_block *) super_block_buffer) ^ ext2.c:909:20: note: in expansion of macro 'Super' first_block += Super.s_blocks_per_group; ^ ar rv libext2.a ext2.ext2.o r - ext2.ext2.o ranlib libext2.a gcc -pipe -Wall -W -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wno-sign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wnested-externs -g -O2 -o e2defrag libext2.a -lncurses ./mkinstalldirs \ /«PKGBUILDDIR»/debian/e2defrag/usr/sbin /«PKGBUILDDIR»/debian/e2defrag/usr/share/man/man8 mkdir /«PKGBUILDDIR»/debian/e2defrag/usr mkdir /«PKGBUILDDIR»/debian/e2defrag/usr/sbin mkdir /«PKGBUILDDIR»/debian/e2defrag/usr/share mkdir /«PKGBUILDDIR»/debian/e2defrag/usr/share/man mkdir /«PKGBUILDDIR»/debian/e2defrag/usr/share/man/man8 set -e; for p in frag e2defrag; do \ /usr/bin/install -c $p /«PKGBUILDDIR»/debian/e2defrag/usr/sbin/"`echo \"$p\"|sed 's,x,x,'`"; \ done set -e; for p in dump2inodes; do \ /usr/bin/install -c $p /«PKGBUILDDIR»/debian/e2defrag/usr/sbin/"`echo \"$p\"|sed 's,x,x,'`"; \ done set -e; for m in e2defrag frag dump2inodes; do \ /usr/bin/install -c -m 644 ./$m.8 /«PKGBUILDDIR»/debian/e2defrag/usr/share/man/man8/"`echo \"$m\"|sed 's,x,x,'`".8; \ done set -e; cd /«PKGBUILDDIR»/debian/e2defrag/usr/share/man/man8; for m in ; do \ rm -f "`echo \"$m\"|sed 's,x,x,'`".8; \ ln -s "`echo defrag|sed 's,x,x,'`".8 "`echo \"$m\"|sed 's,x,x,'`".8; \ done rm ext2.ext2.o rbtree.ext2.o defrag.ext2.o misc.ext2.o buffers.ext2.o map.ext2.o llseek.ext2.o display.ext2.o make[1]: Leaving directory '/«PKGBUILDDIR»' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_compress -a dh_fixperms -a dh_strip -a dh_strip debug symbol extraction: disabling for PPA build dh_strip debug symbol extraction: not enabling -a because /CurrentlyBuilding exists dh_strip debug symbol extraction: not doing anything since NO_PKG_MANGLE is given dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dh_gencontrol debug symbol wrapper: all non-arch-all packages for this build platform i386: e2defrag dh_gencontrol debug symbol wrapper: packages to act on: e2defrag dh_gencontrol debug symbol wrapper: ignored packages: dh_gencontrol debug symbol wrapper: no debian/e2defrag-dbgsym, skipping package e2defrag dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 121 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: building package `e2defrag' in `../e2defrag_0.81-0~50~ubuntu15.10.1_i386.deb'. dpkg-genchanges -B -mLaunchpad Build Daemon >../e2defrag_0.81-0~50~ubuntu15.10.1_i386.changes dpkg-genchanges: warning: the current version (0.81-0~50~ubuntu15.10.1) is earlier than the previous one (0.81-1) dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build e2defrag-0.81 dpkg-buildpackage: binary-only upload (no source included) ──────────────────────────────────────────────────────────────────────────────── Build finished at 20150529-2342 Finished ──────── I: Built successfully ┌──────────────────────────────────────────────────────────────────────────────┐ │ Post Build Chroot │ └──────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────────────┐ │ Changes │ └──────────────────────────────────────────────────────────────────────────────┘ e2defrag_0.81-0~50~ubuntu15.10.1_i386.changes: ────────────────────────────────────────────── Format: 1.8 Date: Fri, 29 May 2015 16:24:42 +0000 Source: e2defrag Binary: e2defrag Architecture: i386 Version: 0.81-0~50~ubuntu15.10.1 Distribution: wily Urgency: low Maintainer: Launchpad Build Daemon Changed-By: pedropietro Description: e2defrag - ext[234] filesystem defragmenter Changes: e2defrag (0.81-0~50~ubuntu15.10.1) wily; urgency=low . * Auto build. Checksums-Sha1: 3be7ae13258892b98cccaf4863966fd975b9315d 51800 e2defrag_0.81-0~50~ubuntu15.10.1_i386.deb Checksums-Sha256: 554023400f3bf74182052d8557b8a78c0cd1c984fb30913d9ec310bac94e01ef 51800 e2defrag_0.81-0~50~ubuntu15.10.1_i386.deb Files: 1f5287a1daef21f82ad425f9a74a4579 51800 admin extra e2defrag_0.81-0~50~ubuntu15.10.1_i386.deb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Package contents │ └──────────────────────────────────────────────────────────────────────────────┘ e2defrag_0.81-0~50~ubuntu15.10.1_i386.deb ───────────────────────────────────────── new debian package, version 2.0. size 51800 bytes: control archive=1207 bytes. 969 bytes, 22 lines control 755 bytes, 12 lines md5sums Package: e2defrag Version: 0.81-0~50~ubuntu15.10.1 Architecture: i386 Maintainer: Phillip Susi Installed-Size: 129 Depends: libc6 (>= 2.7), libncurses5 (>= 5.5-5~), libtinfo5 Section: admin Priority: extra Homepage: http://launchpad.net/e2defrag Description: ext[234] filesystem defragmenter As a file system is used, data tends to become more and more scattered across the disk, degrading performance. A disk defragmenter simply re-organises the data on the disk, so that individual files occupy a single sequential set of disk blocks, and all the free space on the disk is collected together in a single region. This generally means that reading a whole file is faster, and disk accesses in general are more efficient. . To use, the filesystem must not be mounted, and you need to back up your data first because if anything goes wrong ( power failure, system crash, bug in the program ) your filesystem is likely to be unrecoverable. drwxr-xr-x root/root 0 2015-05-29 23:42 ./ drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/ drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/sbin/ -rwxr-xr-x root/root 592 2015-05-29 23:42 ./usr/sbin/dump2inodes -rwxr-xr-x root/root 63300 2015-05-29 23:42 ./usr/sbin/e2defrag -rwxr-xr-x root/root 9608 2015-05-29 23:42 ./usr/sbin/frag drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/share/ drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/share/doc/ drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/share/doc/e2defrag/ -rw-r--r-- root/root 830 2015-05-29 16:24 ./usr/share/doc/e2defrag/BUGS -rw-r--r-- root/root 1621 2015-05-29 16:24 ./usr/share/doc/e2defrag/NEWS.gz -rw-r--r-- root/root 7489 2015-05-29 16:24 ./usr/share/doc/e2defrag/README.gz -rw-r--r-- root/root 438 2015-05-29 16:24 ./usr/share/doc/e2defrag/TODO -rw-r--r-- root/root 4971 2015-05-29 16:24 ./usr/share/doc/e2defrag/changelog.Debian.gz -rw-r--r-- root/root 1230 2015-05-29 16:24 ./usr/share/doc/e2defrag/copyright drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/share/man/ drwxr-xr-x root/root 0 2015-05-29 23:42 ./usr/share/man/man8/ -rw-r--r-- root/root 402 2015-05-29 23:42 ./usr/share/man/man8/dump2inodes.8.gz -rw-r--r-- root/root 3160 2015-05-29 23:42 ./usr/share/man/man8/e2defrag.8.gz -rw-r--r-- root/root 960 2015-05-29 23:42 ./usr/share/man/man8/frag.8.gz ┌──────────────────────────────────────────────────────────────────────────────┐ │ Post Build │ └──────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Not removing build depends: as requested Keeping session: ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: i386 Build-Space: 1484 Build-Time: 17 Distribution: wily Host Architecture: i386 Install-Time: 11 Job: e2defrag_0.81-0~50~ubuntu15.10.1.dsc Machine Architecture: amd64 Package: e2defrag Package-Time: 30 Source-Version: 0.81-0~50~ubuntu15.10.1 Space: 1484 Status: successful Version: 0.81-0~50~ubuntu15.10.1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20150529-2342 Build needed 00:00:30, 1484k disc space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-7483674'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-7483674/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-7483674'] Unmounting chroot for build PACKAGEBUILD-7483674... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-7483674'] Removing build PACKAGEBUILD-7483674