Trusty PPA build fails

Bug #1654656 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Fix Released
Critical
Chris Coulson

Bug Description

The Trusty PPA build (71548c4) fails with an error like this:

FAILED: /usr/bin/arm-linux-gnueabihf-g++ -MMD -MF base/debug/activity_tracker.o.d -I/tmp/tmp7LfDjr/gen -I/<<PKGBUILDDIR>> -DNO_TCMALLOC -D__STDC_FORMAT_MACROS -O2 -g0 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -std=c++11 -Wno-c++11-narrowing -c /<<PKGBUILDDIR>>/base/debug/activity_tracker.cc -o base/debug/activity_tracker.o
In file included from /<<PKGBUILDDIR>>/base/debug/activity_tracker.h:28:0,
                 from /<<PKGBUILDDIR>>/base/debug/activity_tracker.cc:5:
/<<PKGBUILDDIR>>/base/metrics/persistent_memory_allocator.h: In instantiation of ‘T* base::PersistentMemoryAllocator::GetAsObject(base::PersistentMemoryAllocator::Reference, uint32_t) [with T = base::debug::ThreadActivityTracker::Header; base::PersistentMemoryAllocator::Reference = unsigned int; uint32_t = unsigned int]’:
/<<PKGBUILDDIR>>/base/debug/activity_tracker.cc:1026:44: required from here
/<<PKGBUILDDIR>>/base/metrics/persistent_memory_allocator.h:281:5: error: static assertion failed: only simple objects
     static_assert(std::is_pod<T>::value, "only simple objects");
     ^
cc1plus: warning: unrecognized command line option "-Wno-c++11-narrowing" [enabled by default]
ninja: build stopped: subcommand failed.
Command '['ninja', '-C', '/tmp/tmp7LfDjr', '-v', 'gn']' returned non-zero exit status 1
Building gn manually in a temporary directory for bootstrapping...
CMake Error at oxide/build/scripts/bootstrap-gn.cmake:59 (message):
  Failed to bootstrap Generate Ninja binary

CMake Error at oxide/build/cmake/ChromiumBuildShim.cmake:66 (message):
  Failed to bootstrap Generate Ninja binary
Call Stack (most recent call first):
  oxide/build/cmake/ChromiumBuildShim.cmake:298 (_bootstrap_gn)
  oxide/CMakeLists.txt:224 (run_generate_ninja)

-- Configuring incomplete, errors occurred!

Changed in oxide:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Chris Coulson (chrisccoulson)
milestone: none → branch-1.21
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is basically a result of std::atomic not being a POD type with GCC 4.8

Changed in oxide:
status: Triaged → Fix Committed
Changed in oxide:
status: Fix Committed → Fix Released
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.