Source: libzypp Version: 16.4.3-1 Severity: serious Tags: sid stretch Hi,
libzypp FTBFS on mips* due to errors in Arch.cc: > /«PKGBUILDDIR»/zypp/Arch.cc:153:46: error: expected unqualified-id before > numeric constant > namespace { static inline const IdString & _##A () { static IdString > __str(#A); return __str; } } \ > ^ > /«PKGBUILDDIR»/zypp/Arch.cc:215:3: note: in expansion of macro 'DEF_BUILTIN' > DEF_BUILTIN( mips ); > ^~~~~~~~~~~ > /«PKGBUILDDIR»/zypp/Arch.cc:153:46: error: expected initializer before > numeric constant > namespace { static inline const IdString & _##A () { static IdString > __str(#A); return __str; } } \ > ^ > /«PKGBUILDDIR»/zypp/Arch.cc:215:3: note: in expansion of macro 'DEF_BUILTIN' > DEF_BUILTIN( mips ); > ^~~~~~~~~~~ > /«PKGBUILDDIR»/zypp/Arch.cc:154:29: error: expression cannot be used as a > function > const Arch Arch_##A( _##A() ) > ^ > /«PKGBUILDDIR»/zypp/Arch.cc:215:3: note: in expansion of macro 'DEF_BUILTIN' > DEF_BUILTIN( mips ); > ^~~~~~~~~~~ > /«PKGBUILDDIR»/zypp/Arch.cc: In constructor > 'zypp::{anonymous}::ArchCompatSet::ArchCompatSet()': > /«PKGBUILDDIR»/zypp/Arch.cc:357:27: error: expression cannot be used as a > function > defCompatibleWith( _mips(), _noarch() ); > ^ > zypp/CMakeFiles/zypp.dir/build.make:4889: recipe for target > 'zypp/CMakeFiles/zypp.dir/Arch.cc.o' failed This is because, for historical reasons, the mips toolchain defines "mips = 1" and "_mips = 1". Either "-Umips -U_mips" need to be added to the CFLAGS on MIPS or the code in Arch.cc needs to be changed to avoid the use of the "mips" and "_mips" identifiers. Thanks, James
signature.asc
Description: OpenPGP digital signature