[Android-tools-devel] Bug#826642: android-platform-system-extras: FTBFS: /usr/bin/ld: cannot find -lselinux
Chris Lamb
lamby at debian.org
Tue Jun 7 10:46:54 UTC 2016
Source: android-platform-system-extras
Version: 6.0.1+r16-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
android-platform-system-extras fails to build from source in unstable/amd64:
[..]
**************************************************************************************
** Starting build **
**************************************************************************************
Package: android-platform-system-extras
Version: 6.0.1+r16-1
Build architecture: amd64
Date: Tue, 07 Jun 2016 10:04:25 +0100
Hostname: 34dd86c27c12
Uname: Linux 34dd86c27c12 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
/etc/timezone: Europe/London
**************************************************************************************
** Installing build dependencies **
**************************************************************************************
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'android-platform-system-extras-build-deps' in '../android-platform-system-extras-build-deps_6.0.1+r16-1_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package android-platform-system-extras-build-deps.
(Reading database ... 23075 files and directories currently installed.)
Preparing to unpack android-platform-system-extras-build-deps_6.0.1+r16-1_all.deb ...
Unpacking android-platform-system-extras-build-deps (6.0.1+r16-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
android-libselinux android-libselinux-dev android-libsparse
android-libsparse-dev android-platform-build-headers
android-platform-system-core-headers libf2fs-dev libf2fs0 uuid-dev
zlib1g-dev
The following NEW packages will be installed:
android-libselinux android-libselinux-dev android-libsparse
android-libsparse-dev android-platform-build-headers
android-platform-system-core-headers libf2fs-dev libf2fs0 uuid-dev
zlib1g-dev
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 425 kB of archives.
After this operation, 1168 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 android-libsparse amd64 1:6.0.1+r16-3 [16.4 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 android-libsparse-dev amd64 1:6.0.1+r16-3 [7152 B]
Get:3 http://httpredir.debian.org/debian sid/main amd64 android-libselinux amd64 6.0.1+r16-2 [12.0 kB]
Get:4 http://httpredir.debian.org/debian sid/main amd64 android-libselinux-dev amd64 6.0.1+r16-2 [12.8 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 android-platform-build-headers amd64 1:6.0.1+r16-2 [5272 B]
Get:6 http://httpredir.debian.org/debian sid/main amd64 android-platform-system-core-headers all 1:6.0.1+r16-3 [27.7 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 libf2fs0 amd64 1.6.1-1 [17.3 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 uuid-dev amd64 2.28-5 [83.0 kB]
Get:9 http://httpredir.debian.org/debian sid/main amd64 libf2fs-dev amd64 1.6.1-1 [37.0 kB]
Get:10 http://httpredir.debian.org/debian sid/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2+b1 [206 kB]
Fetched 425 kB in 0s (0 B/s)
Selecting previously unselected package android-libsparse.
(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 ... 23079 files and directories currently installed.)
Preparing to unpack .../android-libsparse_1%3a6.0.1+r16-3_amd64.deb ...
Unpacking android-libsparse (1:6.0.1+r16-3) ...
Selecting previously unselected package android-libsparse-dev.
Preparing to unpack .../android-libsparse-dev_1%3a6.0.1+r16-3_amd64.deb ...
Unpacking android-libsparse-dev (1:6.0.1+r16-3) ...
Selecting previously unselected package android-libselinux.
Preparing to unpack .../android-libselinux_6.0.1+r16-2_amd64.deb ...
Unpacking android-libselinux (6.0.1+r16-2) ...
Selecting previously unselected package android-libselinux-dev.
Preparing to unpack .../android-libselinux-dev_6.0.1+r16-2_amd64.deb ...
Unpacking android-libselinux-dev (6.0.1+r16-2) ...
Selecting previously unselected package android-platform-build-headers.
Preparing to unpack .../android-platform-build-headers_1%3a6.0.1+r16-2_amd64.deb ...
Unpacking android-platform-build-headers (1:6.0.1+r16-2) ...
Selecting previously unselected package android-platform-system-core-headers.
Preparing to unpack .../android-platform-system-core-headers_1%3a6.0.1+r16-3_all.deb ...
Unpacking android-platform-system-core-headers (1:6.0.1+r16-3) ...
Selecting previously unselected package libf2fs0:amd64.
Preparing to unpack .../libf2fs0_1.6.1-1_amd64.deb ...
Unpacking libf2fs0:amd64 (1.6.1-1) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../uuid-dev_2.28-5_amd64.deb ...
Unpacking uuid-dev:amd64 (2.28-5) ...
Selecting previously unselected package libf2fs-dev:amd64.
Preparing to unpack .../libf2fs-dev_1.6.1-1_amd64.deb ...
Unpacking libf2fs-dev:amd64 (1.6.1-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Processing triggers for libc-bin (2.22-11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up android-libsparse (1:6.0.1+r16-3) ...
Setting up android-libsparse-dev (1:6.0.1+r16-3) ...
Setting up android-libselinux (6.0.1+r16-2) ...
Setting up android-libselinux-dev (6.0.1+r16-2) ...
Setting up android-platform-build-headers (1:6.0.1+r16-2) ...
Setting up android-platform-system-core-headers (1:6.0.1+r16-3) ...
Setting up libf2fs0:amd64 (1.6.1-1) ...
Setting up uuid-dev:amd64 (2.28-5) ...
Setting up libf2fs-dev:amd64 (1.6.1-1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Setting up android-platform-system-extras-build-deps (6.0.1+r16-1) ...
Processing triggers for libc-bin (2.22-11) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=34dd86c27c12
TERM=xterm
EVAL=db android-platform-system-extras; ret="${?}"; if [ "${ret}" = 29 ]; then ft . 300; echo android-platform-system-extras >> /tmp/tmp.LHVEWGwczb; fi; echo android-platform-system-extras >> /home/lamby/unfiled/get-ftbfs-logs/.unreproducible; exit ${ret}
PAGER=more
DISPLAY=:0
DOCKER_IMAGE=lamby-debian-sid
DEB_BUILD_OPTIONS=parallel=9
PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
HOME=/home/lamby
LOGNAME=lamby
SHLVL=1
PWD=/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16
OLDPWD=/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras
GPG_TTY=/dev/console
QUILT_PATCHES=debian/patches
QUILT_NO_DIFF_INDEX=1
QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
DEBEMAIL=lamby at debian.org
DEBFULLNAME=Chris Lamb
EDITOR=vim
LESS=-cgiFx4M
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building android-platform-system-extras 6.0.1+r16-1 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package android-platform-system-extras
dpkg-buildpackage: info: source version 6.0.1+r16-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Kai-Chung Yan <seamlikok at gmail.com>
dpkg-source --before-build android-platform-system-extras-6.0.1+r16
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
make clean -f debian/libext4_utils.mk
make[2]: Entering directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
rm -f libext4_utils.so*
make[2]: Leaving directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
make clean -f debian/libf2fs_utils.mk
make[2]: Entering directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
rm -f libf2fs_utils.so*
make[2]: Leaving directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
make[1]: Leaving directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
dh_clean
debian/rules build
dh build
dh_testdir
dh_update_autotools_config
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
make -f debian/libext4_utils.mk
make[2]: Entering directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
cc ext4_utils/make_ext4fs.c ext4_utils/ext4fixup.c ext4_utils/ext4_utils.c ext4_utils/allocate.c ext4_utils/contents.c ext4_utils/extent.c ext4_utils/indirect.c ext4_utils/sha1.c ext4_utils/wipe.c ext4_utils/crc16.c ext4_utils/ext4_sb.c -o libext4_utils.so.0 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -include android/arch/AndroidConfig.h -I/usr/include/android -Wl,-z,relro -shared -Wl,-soname,libext4_utils.so.0 -Wl,-rpath=/usr/lib/android -L/usr/lib/android -lsparse -lselinux
ext4_utils/make_ext4fs.c: In function 'build_directory_structure':
ext4_utils/make_ext4fs.c:177:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name);
^
ext4_utils/make_ext4fs.c:178:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&dentries[i].full_path, "%s%s", full_path, namelist[i]->d_name);
^
ext4_utils/make_ext4fs.c:240:4: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result]
readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1);
^
ext4_utils/make_ext4fs.c:257:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&dentries[0].path, "%slost+found", dir_path);
^
ext4_utils/make_ext4fs.c: In function 'build_default_directory_structure':
ext4_utils/make_ext4fs.c:104:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
asprintf(&path, "%slost+found", dir_path);
^
/usr/bin/ld: cannot find -lselinux
collect2: error: ld returned 1 exit status
debian/libext4_utils.mk:20: recipe for target 'build' failed
make[2]: *** [build] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
debian/rules:14: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160607100424.rp5eM7UjDu.android-platform-system-extras/android-platform-system-extras-6.0.1+r16'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android-platform-system-extras.6.0.1+r16-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2901 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/android-tools-devel/attachments/20160607/ea88dbfd/attachment-0001.obj>
More information about the Android-tools-devel
mailing list