[Reproducible-builds] Bug#783130: r-base: FTBFS when setting TZ environmental variable
Philip Rinn
rinni at inventati.org
Wed Apr 22 18:01:02 UTC 2015
Package: r-base
Version: 3.2.0-2
Severity: serious
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
Hi Dirk,
I was trying to understand why GNU R FTBFS in the reproducible build env[1]
while building fine on the buildds.
It turns out that setting the TZ environmental variable[2] crashes the build.
*** stack smashing detected ***: /tmp/buildd/r-base-3.2.0/bin/exec/R terminated
.... for a BT see [1] ...
The offending command is:
echo
"tools:::sysdata2LazyLoadDB(\"./R/sysdata.rda\",\"../../../library/tools/R\")"
| R_DEFAULT_PACKAGES=NULL LC_ALL=C ../../../bin/R --vanilla --slave
To reproduce:
I followed the steps in
https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example
and used the rebuild.sh from
http://anonscm.debian.org/cgit/reproducible/misc.git/tree/prebuilder
But I guess just using
sudo TZ="/usr/share/zoneinfo/Etc/GMT+12" pbuilder ...
should also do the trick.
I don't have a clue why this happens - probably something for upstream?
Best,
Philip
[1]
https://reproducible.debian.net/rbuild/unstable/amd64/r-base_3.2.0-2.rbuild.log
[2] http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (600, 'testing'), (550, 'unstable'), (500, 'testing-updates'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Reproducible-builds
mailing list