See http://ci.opensuse.org/job/libstorage-ng-master/7/changes Changes: [aschnell] - detect reducing/extending of devices [aschnell] - just keep one sorted vector of devices [aschnell] - added function to remove edge [aschnell] - added function to remove device [aschnell] - use exception macros [aschnell] - allow to add and remove spare devices to md [aschnell] - added integration tests [aschnell] - more descriptive parameter names [aschnell] - coding style [aschnell] - added comments [aschnell] - eliminate temporary variable [Martin Vidner] clarify dependencies, how to test [aschnell] - added some inline documentation [aschnell] - reshuffle code ------------------------------------------ [...truncated 2418 lines...] [ 50s] -rw-r--r-- 1000/100 38412 2016-03-08 16:50 libstorage-ng-3.0.0/po/fr.po [ 50s] -rw-r--r-- 1000/100 307 2016-03-08 16:50 libstorage-ng-3.0.0/po/README [ 50s] -rw-r--r-- 1000/100 382206 2016-03-15 15:51 libstorage-ng-3.0.0/aclocal.m4 [ 50s] drwxr-xr-x 1000/100 0 2016-03-15 15:51 libstorage-ng-3.0.0/doc/ [ 50s] -rw-r--r-- 1000/100 57 2016-03-08 16:50 libstorage-ng-3.0.0/doc/Makefile.am [ 50s] drwxr-xr-x 1000/100 0 2016-03-15 15:51 libstorage-ng-3.0.0/doc/autodocs/ [ 50s] -rw-r--r-- 1000/100 333 2016-03-08 16:50 libstorage-ng-3.0.0/doc/autodocs/Makefile.am [ 50s] -rw-r--r-- 1000/100 15324 2016-03-15 15:51 libstorage-ng-3.0.0/doc/autodocs/Makefile.in [ 50s] -rw-r--r-- 1000/100 769 2016-03-08 16:50 libstorage-ng-3.0.0/doc/autodocs/doxygen.conf [ 50s] -rw-r--r-- 1000/100 19195 2016-03-15 15:51 libstorage-ng-3.0.0/doc/Makefile.in [ 50s] -rwxr-xr-x 1000/100 324089 2016-01-17 23:31 libstorage-ng-3.0.0/ltmain.sh [ 50s] -rw-r--r-- 1000/100 1611 2016-03-15 15:51 libstorage-ng-3.0.0/config.h.in [ 50s] drwxr-xr-x 1000/100 0 2016-03-15 15:51 libstorage-ng-3.0.0/data/ [ 50s] -rw-r--r-- 1000/100 112 2016-03-08 16:50 libstorage-ng-3.0.0/data/Makefile.am [ 50s] -rw-r--r-- 1000/100 304 2016-03-08 16:50 libstorage-ng-3.0.0/data/sysconfig.storage-libstorage [ 50s] -rw-r--r-- 1000/100 15090 2016-03-15 15:51 libstorage-ng-3.0.0/data/Makefile.in [ 50s] -rw-r--r-- 1000/100 26444 2016-03-08 16:50 libstorage-ng-3.0.0/LICENSE [ 50s] -rw-r--r-- 1000/100 6 2016-03-08 16:50 libstorage-ng-3.0.0/LIBVERSION [ 50s] -rw-r--r-- 1000/100 28852 2016-03-15 15:51 libstorage-ng-3.0.0/Makefile.in [ 50s] -rwxr-xr-x 1000/100 6872 2016-01-17 23:22 libstorage-ng-3.0.0/missing [ 50s] -rwxr-xr-x 1000/100 43281 2016-01-17 23:22 libstorage-ng-3.0.0/config.guess [ 50s] -rwxr-xr-x 1000/100 23566 2016-01-17 23:22 libstorage-ng-3.0.0/depcomp [ 50s] + STATUS=0 [ 50s] + '[' 0 -ne 0 ']' [ 50s] + cd libstorage-ng-3.0.0 [ 50s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 50s] + exit 0 [ 50s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6cMQF5 [ 50s] + umask 022 [ 50s] + cd /home/abuild/rpmbuild/BUILD [ 50s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/libstorage-ng-3.0.0-1.x86_64 [ 50s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/libstorage-ng-3.0.0-1.x86_64 [ 50s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 50s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/libstorage-ng-3.0.0-1.x86_64 [ 50s] + cd libstorage-ng-3.0.0 [ 50s] + export 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG' [ 50s] + CFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG' [ 50s] + export 'CXXFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG' [ 50s] + CXXFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG' [ 50s] + aclocal [ 51s] + libtoolize --force --automake --copy [ 52s] + autoheader [ 52s] + automake --add-missing --copy [ 53s] configure.ac:21: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: [ 53s] configure.ac:21: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fI... [ 53s] configure.ac:32: installing './compile' [ 53s] configure.ac:21: installing './missing' [ 53s] bindings/perl5/Makefile.am: installing './depcomp' [ 54s] doc/autodocs/Makefile.am:7: warning: filter-out index.html, $(wildcard *.html *.css *.png *.gif *.map: non-POSIX variable name [ 54s] doc/autodocs/Makefile.am:7: (probably a GNU make extension) [ 54s] doc/autodocs/Makefile.am:12: warning: wildcard *.js *.md5: non-POSIX variable name [ 54s] doc/autodocs/Makefile.am:12: (probably a GNU make extension) [ 54s] po/Makefile.am:9: warning: wildcard ../storage/*.cc ../storage/*/*.cc: non-POSIX variable name [ 54s] po/Makefile.am:9: (probably a GNU make extension) [ 54s] po/Makefile.am:11: warning: wildcard *.po: non-POSIX variable name [ 54s] po/Makefile.am:11: (probably a GNU make extension) [ 54s] po/Makefile.am:23: warning: '%'-style pattern rules are a GNU make extension [ 56s] + autoconf [ 56s] + ./configure --libdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --disable-silent-rules [ 56s] checking for a BSD-compatible install... /usr/bin/install -c [ 56s] checking whether build environment is sane... yes [ 56s] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [ 56s] checking for gawk... gawk [ 56s] checking whether make sets $(MAKE)... yes [ 56s] checking whether make supports nested variables... yes [ 56s] checking for g++... g++ [ 56s] checking whether the C++ compiler works... yes [ 56s] checking for C++ compiler default output file name... a.out [ 57s] checking for suffix of executables... [ 57s] checking whether we are cross compiling... no [ 57s] checking for suffix of object files... o [ 57s] checking whether we are using the GNU C++ compiler... yes [ 57s] checking whether g++ accepts -g... yes [ 57s] checking for style of include used by make... GNU [ 57s] checking dependency style of g++... gcc3 [ 57s] checking for python... /usr/bin/python [ 57s] checking for python version... 2.7 [ 57s] checking for python platform... linux2 [ 57s] checking for python script directory... ${prefix}/lib/python2.7/site-packages [ 57s] checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages [ 57s] checking build system type... x86_64-suse-linux-gnu [ 57s] checking host system type... x86_64-suse-linux-gnu [ 57s] checking how to print strings... printf [ 57s] checking for gcc... gcc [ 57s] checking whether we are using the GNU C compiler... yes [ 57s] checking whether gcc accepts -g... yes [ 57s] checking for gcc option to accept ISO C89... none needed [ 57s] checking whether gcc understands -c and -o together... yes [ 58s] checking dependency style of gcc... gcc3 [ 58s] checking for a sed that does not truncate output... /usr/bin/sed [ 58s] checking for grep that handles long lines and -e... /usr/bin/grep [ 58s] checking for egrep... /usr/bin/grep -E [ 58s] checking for fgrep... /usr/bin/grep -F [ 58s] checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld [ 58s] checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes [ 58s] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B [ 58s] checking the name lister (/usr/bin/nm -B) interface... BSD nm [ 58s] checking whether ln -s works... yes [ 58s] checking the maximum length of command line arguments... 1572864 [ 58s] checking how to convert x86_64-suse-linux-gnu file names to x86_64-suse-linux-gnu format... func_convert_file_noop [ 58s] checking how to convert x86_64-suse-linux-gnu file names to toolchain format... func_convert_file_noop [ 58s] checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r [ 58s] checking for objdump... objdump [ 58s] checking how to recognize dependent libraries... pass_all [ 58s] checking for dlltool... no [ 58s] checking how to associate runtime and link libraries... printf %s\n [ 58s] checking for ar... ar [ 58s] checking for archiver @FILE support... @ [ 58s] checking for strip... strip [ 58s] checking for ranlib... ranlib [ 58s] checking command to parse /usr/bin/nm -B output from gcc object... ok [ 58s] checking for sysroot... no [ 58s] checking for a working dd... /usr/bin/dd [ 58s] checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 [ 58s] checking for mt... no [ 58s] checking if : is a manifest tool... no [ 58s] checking how to run the C preprocessor... gcc -E [ 58s] checking for ANSI C header files... yes [ 58s] checking for sys/types.h... yes [ 58s] checking for sys/stat.h... yes [ 58s] checking for stdlib.h... yes [ 58s] checking for string.h... yes [ 59s] checking for memory.h... yes [ 59s] checking for strings.h... yes [ 59s] checking for inttypes.h... yes [ 59s] checking for stdint.h... yes [ 59s] checking for unistd.h... yes [ 59s] checking for dlfcn.h... yes [ 59s] checking for objdir... .libs [ 59s] checking if gcc supports -fno-rtti -fno-exceptions... no [ 59s] checking for gcc option to produce PIC... -fPIC -DPIC [ 59s] checking if gcc PIC flag -fPIC -DPIC works... yes [ 59s] checking if gcc static flag -static works... no [ 59s] checking if gcc supports -c -o file.o... yes [ 59s] checking if gcc supports -c -o file.o... (cached) yes [ 59s] checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes [ 59s] checking whether -lc should be explicitly linked in... no [ 59s] checking dynamic linker characteristics... GNU/Linux ld.so [ 59s] checking how to hardcode library paths into programs... immediate [ 59s] checking whether stripping libraries is possible... yes [ 59s] checking if libtool supports shared libraries... yes [ 59s] checking whether to build shared libraries... yes [ 59s] checking whether to build static libraries... no [ 60s] checking how to run the C++ preprocessor... g++ -E [ 60s] checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 [ 60s] checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes [ 60s] checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes [ 60s] checking for g++ option to produce PIC... -fPIC -DPIC [ 60s] checking if g++ PIC flag -fPIC -DPIC works... yes [ 60s] checking if g++ static flag -static works... no [ 60s] checking if g++ supports -c -o file.o... yes [ 60s] checking if g++ supports -c -o file.o... (cached) yes [ 60s] checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes [ 60s] checking dynamic linker characteristics... (cached) GNU/Linux ld.so [ 60s] checking how to hardcode library paths into programs... immediate [ 60s] checking for ruby... /usr/bin/ruby [ 61s] checking that generated files are newer than configure... done [ 61s] configure: creating ./config.status [ 61s] config.status: creating Makefile [ 61s] config.status: creating storage/Makefile [ 61s] config.status: creating storage/StorageVersion.h [ 61s] config.status: creating storage/Devices/Makefile [ 62s] config.status: creating storage/Holders/Makefile [ 62s] config.status: creating storage/Utils/Makefile [ 62s] config.status: creating storage/SystemInfo/Makefile [ 62s] config.status: creating doc/Makefile [ 62s] config.status: creating doc/autodocs/Makefile [ 62s] config.status: creating data/Makefile [ 62s] config.status: creating po/Makefile [ 62s] config.status: creating examples/Makefile [ 62s] config.status: creating examples/SystemInfo/Makefile [ 62s] config.status: creating testsuite/Makefile [ 62s] config.status: creating testsuite/helpers/Makefile [ 62s] config.status: creating testsuite/Utils/Makefile [ 62s] config.status: creating testsuite/SystemInfo/Makefile [ 62s] config.status: creating testsuite/probe/Makefile [ 62s] config.status: creating testsuite/dependencies/Makefile [ 62s] config.status: creating testsuite/sorting/Makefile [ 62s] config.status: creating testsuite/freeinfo/Makefile [ 62s] config.status: creating integration-tests/Makefile [ 62s] config.status: creating integration-tests/partitions/Makefile [ 62s] config.status: creating integration-tests/filesystems/Makefile [ 62s] config.status: creating integration-tests/md/Makefile [ 62s] config.status: creating bindings/Makefile [ 62s] config.status: creating bindings/python/Makefile [ 62s] config.status: creating bindings/python/examples/Makefile [ 62s] config.status: creating bindings/python/testsuite/Makefile [ 62s] config.status: creating bindings/ruby/Makefile [ 62s] config.status: creating bindings/ruby/examples/Makefile [ 62s] config.status: creating bindings/ruby/testsuite/Makefile [ 62s] config.status: creating bindings/perl5/Makefile [ 62s] config.status: creating bindings/perl5/examples/Makefile [ 62s] config.status: creating bindings/perl5/testsuite/Makefile [ 62s] config.status: creating package/libstorage-ng.spec [ 62s] config.status: creating config.h [ 62s] config.status: executing depfiles commands [ 63s] config.status: executing libtool commands [ 63s] + make -j2 [ 63s] make all-recursive [ 63s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0' [ 63s] Making all in storage [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0/storage' [ 63s] Making all in Devices [ 63s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0/storage/Devices' [ 63s] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT Device.lo -MD -MP -MF .deps/Device.Tpo -c -o Device.lo Device.cc [ 63s] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT DeviceImpl.lo -MD -MP -MF .deps/DeviceImpl.Tpo -c -o DeviceImpl.lo DeviceImpl.cc [ 64s] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT Device.lo -MD -MP -MF .deps/Device.Tpo -c Device.cc -fPIC -DPIC -o .libs/Device.o [ 64s] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT DeviceImpl.lo -MD -MP -MF .deps/DeviceImpl.Tpo -c DeviceImpl.cc -fPIC -DPIC -o .libs/DeviceImpl.o [ 69s] mv -f .deps/DeviceImpl.Tpo .deps/DeviceImpl.Plo [ 69s] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT BlkDevice.lo -MD -MP -MF .deps/BlkDevice.Tpo -c -o BlkDevice.lo BlkDevice.cc [ 69s] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT BlkDevice.lo -MD -MP -MF .deps/BlkDevice.Tpo -c BlkDevice.cc -fPIC -DPIC -o .libs/BlkDevice.o [ 69s] mv -f .deps/Device.Tpo .deps/Device.Plo [ 69s] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT BlkDeviceImpl.lo -MD -MP -MF .deps/BlkDeviceImpl.Tpo -c -o BlkDeviceImpl.lo BlkDeviceImpl.cc [ 69s] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT BlkDeviceImpl.lo -MD -MP -MF .deps/BlkDeviceImpl.Tpo -c BlkDeviceImpl.cc -fPIC -DPIC -o .libs/BlkDeviceImpl.o [ 74s] mv -f .deps/BlkDevice.Tpo .deps/BlkDevice.Plo [ 74s] /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT Disk.lo -MD -MP -MF .deps/Disk.Tpo -c -o Disk.lo Disk.cc [ 74s] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -MT Disk.lo -MD -MP -MF .deps/Disk.Tpo -c Disk.cc -fPIC -DPIC -o .libs/Disk.o [ 75s] BlkDeviceImpl.cc: In member function 'void storage::BlkDevice::Impl::wipe_device() const': [ 75s] BlkDeviceImpl.cc:253:2: error: 'cout' was not declared in this scope [ 75s] cout << cmd_line << endl; [ 75s] ^ [ 76s] Makefile:547: recipe for target 'BlkDeviceImpl.lo' failed [ 76s] make[3]: *** [BlkDeviceImpl.lo] Error 1 [ 76s] make[3]: *** Waiting for unfinished jobs.... [ 80s] mv -f .deps/Disk.Tpo .deps/Disk.Plo [ 80s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0/storage/Devices' [ 80s] Makefile:609: recipe for target 'all-recursive' failed [ 80s] make[2]: *** [all-recursive] Error 1 [ 80s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0/storage' [ 80s] Makefile:484: recipe for target 'all-recursive' failed [ 80s] make[1]: *** [all-recursive] Error 1 [ 80s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/libstorage-ng-3.0.0' [ 80s] Makefile:393: recipe for target 'all' failed [ 80s] make: *** [all] Error 2 [ 80s] error: Bad exit status from /var/tmp/rpm-tmp.6cMQF5 (%build) [ 80s] [ 80s] [ 80s] RPM build errors: [ 80s] Bad exit status from /var/tmp/rpm-tmp.6cMQF5 (%build) The buildroot was: /var/tmp/build-root-openSUSE_Factory rm -rf YaST:storage-ng rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] Tasks: TOP => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure