[Reproducible-builds] Bug#834976: auto-apt-proxy: FTBFS: SC2039: In POSIX sh, 'local' is undefined
Chris Lamb
lamby at debian.org
Sun Aug 21 09:50:42 UTC 2016
Source: auto-apt-proxy
Version: 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,
auto-apt-proxy fails to build from source in unstable/amd64:
[..]
**************************************************************************************
** Starting build **
**************************************************************************************
Package: auto-apt-proxy
Version: 1
Build architecture: amd64
Date: Sun, 21 Aug 2016 10:40:03 +0100
Hostname: 4084b642edd1
Uname: Linux 4084b642edd1 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) 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 'auto-apt-proxy-build-deps' in '../auto-apt-proxy-build-deps_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 auto-apt-proxy-build-deps.
(Reading database ... 23244 files and directories currently installed.)
Preparing to unpack auto-apt-proxy-build-deps_1_all.deb ...
Unpacking auto-apt-proxy-build-deps (1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
shellcheck
The following NEW packages will be installed:
shellcheck
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1667 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 shellcheck amd64 0.4.4-2 [1667 kB]
Fetched 1667 kB in 0s (84.9 MB/s)
Selecting previously unselected package shellcheck.
(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 ... 23248 files and directories currently installed.)
Preparing to unpack .../shellcheck_0.4.4-2_amd64.deb ...
Unpacking shellcheck (0.4.4-2) ...
Setting up shellcheck (0.4.4-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up auto-apt-proxy-build-deps (1) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=4084b642edd1
TERM=xterm
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.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1
OLDPWD=/home/lamby/temp/cdt.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy
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
GPG_KEY=1E953E27D4311E58
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building auto-apt-proxy 1 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package auto-apt-proxy
dpkg-buildpackage: info: source version 1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Antonio Terceiro <terceiro at debian.org>
dpkg-source --before-build auto-apt-proxy-1
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.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
rm -f auto-apt-proxy.1 auto-apt-proxy.pod
dh_auto_clean
make[1]: Leaving directory '/home/lamby/temp/cdt.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
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.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
sed -e 's/^#/=head1/' README.md > auto-apt-proxy.pod || (rm -f auto-apt-proxy.pod; false)
pod2man --verbose --name auto-apt-proxy -c '' -r '' --utf8 auto-apt-proxy.pod auto-apt-proxy.1 || (rm -f auto-apt-proxy.1; false)
auto-apt-proxy.1
dh_auto_build
make[1]: Leaving directory '/home/lamby/temp/cdt.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
debian/rules override_dh_auto_test
make[1]: Entering directory '/home/lamby/temp/cdt.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
dh_auto_test
shellcheck auto-apt-proxy
In auto-apt-proxy line 19:
local ip="$1"
^-- SC2039: In POSIX sh, 'local' is undefined.
In auto-apt-proxy line 20:
local proxy=http://$ip:3142
^-- SC2039: In POSIX sh, 'local' is undefined.
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160821104002.Ei1p5KYGw2.db.auto-apt-proxy/auto-apt-proxy-1'
debian/rules:4: 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: auto-apt-proxy.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1934 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160821/651942e5/attachment.obj>
More information about the Reproducible-builds
mailing list