Control: close -1
Control: fixed -1 17.3.1-1

Hi,

On Wed, 1 Mar 2017 12:14:33 +0000 James Cowgill <jcowg...@debian.org> wrote:
> 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
>

It seems that this issue got resolved with the latest upload of libzypp 17.3.1-1. The buildd jobs successfully built the package on mips*.

Thus, closing...

Mike

Reply via email to