apt fails to build from source in maverick

Bug #600155 reported by Matthias Klose
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
High
Michael Vogt
Maverick
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: apt

https://launchpad.net/ubuntu/+archive/test-rebuild-20100628/+build/1816647

and in maverick as well.

please turn on verbose messages in the build logs

Compiling deb/dpkgpm.cc to ../build/obj/apt-pkg/dpkgpm.opic
../build/include/apt-pkg/dpkgpm.h: In constructor 'pkgDPkgPM::pkgDPkgPM(pkgDepCache*)':
../build/include/apt-pkg/dpkgpm.h:54: warning: 'pkgDPkgPM::PackagesTotal' will be initialized after
../build/include/apt-pkg/dpkgpm.h:34: warning: 'int pkgDPkgPM::pkgFailures'
deb/dpkgpm.cc:108: warning: when initialized here
deb/dpkgpm.cc: In member function 'void pkgDPkgPM::DoStdin(int)':
deb/dpkgpm.cc:356: 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::DoTerminalPty(int)':
deb/dpkgpm.cc:381: 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::ProcessDpkgStatusLine(int, char*)':
deb/dpkgpm.cc:455: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
deb/dpkgpm.cc:476: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
deb/dpkgpm.cc:490: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
deb/dpkgpm.cc:518: 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 '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:47: note: candidates are: stat::stat()
//usr/include/bits/stat.h:47: 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

Related branches

Matthias Klose (doko)
Changed in apt (Ubuntu Maverick):
importance: Undecided → High
milestone: none → maverick-alpha-3
status: New → Confirmed
Colin Watson (cjwatson)
Changed in apt (Ubuntu Maverick):
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.7.25.3ubuntu10

---------------
apt (0.7.25.3ubuntu10) maverick; urgency=low

  [ Michael Vogt ]
  * debian/apt.conf.ubuntu:
    - no longer install (empty) apt.conf.d/01ubuntu
  * apt-pkg/deb/dpkgpm.cc:
    - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
    - fix FTBFS (LP: #600155)

  [ Matthias G. ]
  * apt-pkg/deb/dpkgpm.cc:
    - Fix segmentation fault when /var/log/apt ist missing. LP: #535509
 -- Michael Vogt <email address hidden> Thu, 08 Jul 2010 09:37:03 +0200

Changed in apt (Ubuntu Maverick):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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