Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS (possibly because of cpp-8) #132

Closed
sunweaver opened this issue Aug 20, 2018 · 3 comments
Closed

FTBFS (possibly because of cpp-8) #132

sunweaver opened this issue Aug 20, 2018 · 3 comments

Comments

@sunweaver
Copy link
Contributor

Hi,

when building libzypp on a recent Debian unstable, I get the below FTBFS:

cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp && /usr/bin/g++  -DHAVE_PIPE2 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -DVERSION=\"17.6.1\" -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -Dzypp_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/rpm -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -fPIC   -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o CMakeFiles/zypp.dir/InstanceId.cc.o -c /<<PKGBUILDDIR>>/zypp/InstanceId.cc
[ 44%] Building CXX object zypp/CMakeFiles/zypp.dir/KeyManager.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp && /usr/bin/g++  -DHAVE_PIPE2 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -DVERSION=\"17.6.1\" -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -Dzypp_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/rpm -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -fPIC   -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o CMakeFiles/zypp.dir/KeyManager.cc.o -c /<<PKGBUILDDIR>>/zypp/KeyManager.cc
[ 45%] Building CXX object zypp/CMakeFiles/zypp.dir/KeyRing.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp && /usr/bin/g++  -DHAVE_PIPE2 -DHAVE_UDEV -DLOCALEDIR=\"/usr/share/locale\" -DTEXTDOMAIN=\"zypp\" -DVERSION=\"17.6.1\" -DWITH_LIBPROXY_SUPPORT -DZYPP_DLL -D_FILE_OFFSET_BITS=64 -Dzypp_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/rpm -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/zypp  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fPIC -g -rdynamic -Wall -Wl,-as-needed -Wp,-D_GLIBCXX_ASSERTIONS -std=c++11 -fvisibility-inlines-hidden -Woverloaded-virtual -Wnon-virtual-dtor -O3 -DZYPP_NDEBUG -fPIC   -DZYPP_BASE_LOGGER_LOGGROUP=\"zypp\" -o CMakeFiles/zypp.dir/KeyRing.cc.o -c /<<PKGBUILDDIR>>/zypp/KeyRing.cc
/<<PKGBUILDDIR>>/zypp/KeyManager.cc: In member function 'std::__cxx11::list<std::__cxx11::basic_string<char> > zypp::KeyManagerCtx::Impl::readSignaturesFprsOptVerify(const zypp::filesystem::Pathname&, const zypp::filesystem::Pathname&, bool*)':
/<<PKGBUILDDIR>>/zypp/KeyManager.cc:162:32: error: expected ';' before 'signatures'
  id = id.substr( id.size()-16 )
                                ^
                                ;
       signatures.push_back( std::move(id) );
       ~~~~~~~~~~                
make[3]: *** [zypp/CMakeFiles/zypp.dir/build.make:1886: zypp/CMakeFiles/zypp.dir/KeyManager.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1086: zypp/CMakeFiles/zypp.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:166: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2

The build system uses g++ 8.2.0. Might this be its cause?

Thanks for any feedback,
Mike

@sunweaver
Copy link
Contributor Author

I tried to build the latest 17.6.1 releae.

@mlandres
Copy link
Member

You need to pull again. I moved the 17.6.1 tag as it needs to include one more commit in order to compile.

@sunweaver
Copy link
Contributor Author

sunweaver commented Aug 21, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants