apt fails to build from source with Linaro toolchain

Bug #604858 reported by Michael Hope
6
This bug affects 1 person
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.

http://launchpadlibrarian.net/51555634/buildlog_ubuntu-maverick-armel.apt_0.7.25.3ubuntu9_FAILEDTOBUILD.txt.gz

deb/dpkgpm.cc: In member function 'bool pkgDPkgPM::OpenLog()':
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::Go(int)':
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::WriteApportReport(const char*, const char*)':
deb/dpkgpm.cc:1259: error: no matching function for call to 'stat::stat(const char*, stat*)'
//usr/include/bits/stat.h:40: note: candidates are: stat::stat()
//usr/include/bits/stat.h:40: note: stat::stat(const stat&)
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/obj/apt-pkg/dpkgpm.opic] Error 1

tags: added: armel toolchain
Revision history for this message
Loïc Minier (lool) wrote :

This is not a toolchain bug, nor an armel specific bug:
http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi
lists this failure on i386 and amd64, it's a missing include in apt, and the toolchain just got pickier

tags: removed: armel toolchain
Revision history for this message
Yao Qi (yao-codesourcery) wrote :

http://udd.debian.org/cgi-bin/ubuntu_ftbfs.cgi shows that this error also happens on i386/amd64. It is not a linaro-gcc specific bug.

Loïc Minier (lool)
Changed in gcc-linaro:
status: New → Invalid
Changed in apt (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.