Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #773423
| From | Sergei Golovan <sgolovan@nes.ru> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#840431: [Pkg-erlang-devel] Bug#840431: rebar: Regression - causes FTBFS in erlang-p1-sqlite3 when built non-interactively |
| Date | 2016-10-11 20:20 +0200 |
| Message-ID | <sr9OF-1Fj-9@gated-at.bofh.it> (permalink) |
| References | <sr6xs-7XD-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
tags 840431 + patch thanks Hi, Philipp, On Tue, Oct 11, 2016 at 5:45 PM, Philipp Huebner <debalance@debian.org> wrote: > Package: rebar > Version: 2.6.4-1 > Severity: important > > rebar 2.6.4-1 causes erlang-p1-sqlite3 to FTBFS during a non-interactive > build (e.g. with git-buildpackage + pbuilder), see #839351. Looks like rebar fails to build erlang-p1-sqlite3 because of the tilde ~ in its version (or more specifically, in the build directory path). I've tried in pbuilder and get the directory name /build/erlang-p1-sqlite3-1.1.5~dfsg0. Note the ~d. The issue is that rebar takes some string with incorporated dirname as a format specifier, so ~d means "decimal number", but there's no any number. I'm attaching a small patch (untested) which makes the potentially dangerous string an argument of io:format, and not a format string. The bug is indeed introduced in rebar 2.6.4. Cheers! -- Sergei Golovan
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#840431: rebar: Regression - causes FTBFS in erlang-p1-sqlite3 when built non-interactively Philipp Huebner <debalance@debian.org> - 2016-10-11 16:50 +0200
Bug#840431: [Pkg-erlang-devel] Bug#840431: rebar: Regression - causes FTBFS in erlang-p1-sqlite3 when built non-interactively Sergei Golovan <sgolovan@nes.ru> - 2016-10-11 20:20 +0200
Bug#840431: [Pkg-erlang-devel] Bug#840431: Bug#840431: rebar: Regression - causes FTBFS in erlang-p1-sqlite3 when built non-interactively Nobuhiro Iwamatsu <iwamatsu@nigauri.org> - 2016-10-12 00:30 +0200
Bug#840431: [Pkg-erlang-devel] Bug#840431: rebar: Regression - causes FTBFS in erlang-p1-sqlite3 when built non-interactively Philipp Huebner <debalance@debian.org> - 2016-10-12 07:50 +0200
csiph-web