chromium-browser FTBFS in quantal

Bug #992212 reported by Micah Gersten on 2012-04-30
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
High
Ken VanDine
Quantal
High
Ken VanDine

Bug Description

  CXX(target) out/Release/obj.target/seccomp_sandbox/seccompsandbox/madvise.o
seccompsandbox/getpid.cc: In static member function 'static long int playground::Sandbox::sandbox_getpid()':
seccompsandbox/getpid.cc:13:34: error: 'tm' is used uninitialized in this function [-Werror=uninitialized]
cc1plus: all warnings being treated as errors
  CXX(target) out/Release/obj.target/seccomp_sandbox/seccompsandbox/maps.o
make[1]: *** [out/Release/obj.target/seccomp_sandbox/seccompsandbox/getpid.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from seccompsandbox/library.cc:7:0:
seccompsandbox/library.h:159:46: error: 'ssize_t' has not been declared
seccompsandbox/library.cc:94:7: error: prototype for 'char* playground::Library::getBytes(char*, const char*, ssize_t)' does not match any in class 'playground::Library'
In file included from seccompsandbox/library.cc:7:0:
seccompsandbox/library.h:159:9: error: candidate is: char* playground::Library::getBytes(char*, const char*, int)
make[1]: *** [out/Release/obj.target/seccomp_sandbox/seccompsandbox/library.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»/build-tree/src'
make: *** [debian/stamp-makefile-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Micah Gersten (micahg) wrote :
tags: added: rls-q-incoming
Sebastien Bacher (seb128) wrote :

Ken says he was looking at least to see if we can build with gcc-4.6 until chromium get updated

tags: removed: rls-q-incoming
Changed in chromium-browser (Ubuntu Quantal):
assignee: nobody → Ken VanDine (ken-vandine)
Dmitry Shachnev (mitya57) wrote :

In Debian, chromium-browser DOES build with gcc-4.7. This patch may be helpful: http://anonscm.debian.org/gitweb/?p=pkg-chromium/pkg-chromium.git;a=blob;f=debian/patches/gcc4.7.patch;hb=HEAD.

Ken VanDine (ken-vandine) wrote :

Debian's package is a newer version, we really need someone to update the ubuntu version to the beta channel (which will be stable well before 12.10)

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chromium-browser - 18.0.1025.168~r134367-0ubuntu2

---------------
chromium-browser (18.0.1025.168~r134367-0ubuntu2) quantal; urgency=low

  * debian/rules
    - force to build with gcc 4.6 to fix ftbfs (LP: #992212)
    - don't build with -Werror
  * debian/control
    - add build depends for g++-4.6-multilib
 -- Ken VanDine <email address hidden> Fri, 06 Jul 2012 13:51:59 -0400

Changed in chromium-browser (Ubuntu Quantal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers