ar incorrectly parses path names with ~ in them, breaks builds of ~rc prerelease packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils |
Confirmed
|
Medium
|
|||
binutils (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Maverick |
Fix Released
|
High
|
Steve Langasek |
Bug Description
Binary package hint: binutils
The latest u-boot-linaro upload failed to build because trying to pass .a pathnames to 'ar -M' fails:
(echo create /build/
do echo addlib $lib; done; echo save) \
| ar -M
~Syntax error in archive script, line 1
The full build log is at <http://
The failure is due to '~' in the source package directory name. This is a legal character, and dpkg-dev means it to be there, so I think we need to fix ar to accept this pathname.
I don't know if this is a recent regression, or how many other packages might FTBFS because of this behavior.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: binutils 2.20.51.
ProcVersionSign
Uname: Linux 2.6.35-20-generic x86_64
Architecture: amd64
Date: Fri Sep 17 10:26:24 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: binutils
Changed in binutils (Ubuntu Maverick): | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
status: | In Progress → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Steve Langasek (vorlon) |
milestone: | none → ubuntu-10.10 |
Changed in binutils: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
This bug is caused by terminal rule FILENAME in arlex.l not considering this character as valid.
Attached debdiff contains a solution for this problem.