[Pkg-protobuf-devel] Bug#835170: transition: protobuf

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Aug 23 10:07:34 UTC 2016


On 08/23/16 11:32, Sebastiaan Couwenberg wrote:
> On 08/23/16 11:10, Bas Couwenberg wrote:
>> The upload of protobuf (3.0.0-1) to unstable has started an uncoordinated
>> transition.
>>
>> Dmitry, have you tested the reverse dependencies if they still build?
>>
>> I'll test the affected packages maintained by the Debian GIS team and
>> upload them to unstable if they build successfully. I'd rather not have
>> to take care of the other affected packages too.

The affected packages maintained by the Debian GIS team all built 
successfully with protobuf (3.0.0-1) on amd64:

  imposm-parser (1.0.7+ds-3)
  osmpbf	      (1.3.3-6)

  imposm	      (2.6.0+ds-3)
  osmium        (0.0~20160425-e2e4368-2)

That leaves all the others still to be tested.

> First the many build failures need to be resolved:
>
>  https://buildd.debian.org/status/package.php?p=protobuf
>
> protobuf (3.0.0-1) FTBFS pretty much everywhere. :-(
>
> Using -Werror may be a bit much based on the buildlogs.

Adding -Wno-error=misleading-indentation may be a quick fix for the 
build failures, it's the cause on most architectures.

On s390x, alpha & sparc64 the build fails with:

  ./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_AtomicIncrement(long volatile*, 
long)'
  ./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_Store(long volatile*, long)'
  ./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_AtomicExchange(long volatile*, long)'
  ./.libs/libprotobuf.so: undefined reference to 
`google::protobuf::internal::NoBarrier_Load(long const volatile*)'

For hurd-i386 a patch is needed to define PATH_MAX, and on kfreebsd-* 
the builds fails with:

  google/protobuf/stubs/stringpiece_unittest.cc: In member function 
'virtual void 
google::protobuf::{anonymous}::NonNegativeLenTest_NonNegativeLen_Test::TestBody()':
  google/protobuf/stubs/stringpiece_unittest.cc:788:50: error: 
'EXPECT_DEATH' was not declared in this scope
     EXPECT_DEATH(StringPiece("xyz", -1), "len >= 0");
                                                    ^
On powerpcspe dh_strip fails with:

  Not enough room for program headers

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-protobuf-devel mailing list