apt fails to build from source with Linaro toolchain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Invalid
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
Seen with 4.4.4-6ubuntu5~ppa2 while building apt 0.7.25.3ubuntu9. The failure is suspicious and may be a fault in apt.
deb/dpkgpm.cc: In member function 'bool pkgDPkgPM:
deb/dpkgpm.cc:597: error: 'chmod' was not declared in this scope
deb/dpkgpm.cc:609: error: 'chmod' was not declared in this scope
deb/dpkgpm.cc: In member function 'virtual bool pkgDPkgPM:
deb/dpkgpm.cc:1143: warning: format not a string literal and no format arguments
deb/dpkgpm.cc:832: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result
deb/dpkgpm.cc:985: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
deb/dpkgpm.cc: In member function 'void pkgDPkgPM:
deb/dpkgpm.cc:1259: error: no matching function for call to 'stat::stat(const char*, stat*)'
//usr/include/
//usr/include/
deb/dpkgpm.cc:1287: error: 'chmod' was not declared in this scope
deb/dpkgpm.cc:1289: error: 'chmod' was not declared in this scope
make[2]: *** [../build/
tags: | added: armel toolchain |
Changed in gcc-linaro: | |
status: | New → Invalid |
Changed in apt (Ubuntu): | |
importance: | Undecided → High |
This is not a toolchain bug, nor an armel specific bug: udd.debian. org/cgi- bin/ubuntu_ ftbfs.cgi
http://
lists this failure on i386 and amd64, it's a missing include in apt, and the toolchain just got pickier