Skip to content

Instantly share code, notes, and snippets.

@holgersson32644
Created April 22, 2014 17:46
Show Gist options
  • Save holgersson32644/11188222 to your computer and use it in GitHub Desktop.
Save holgersson32644/11188222 to your computer and use it in GitHub Desktop.
full build log for snapper gentoo ebuild
* Package: app-backup/snapper-9999
* Repository: holgerssons_local
* Maintainer: <removed>
* Upstream: <removed>
* USE: amd64 btrfs elibc_glibc ext4 kernel_linux pam rollback userland_GNU
* FEATURES: ccache fakeroot preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
GIT update -->
repository: git://github.com/openSUSE/snapper.git
at the commit: c90876e7f93f9bb6e71506ed9cd0afb86006af53
branch: master
storage directory: "/.portagecache/distfiles/egit-src/snapper.git"
checkout type: bare repository
Cloning into '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /.portagecache/portage/app-backup/snapper-9999/work/snapper-9999
>>> Source unpacked in /.portagecache/portage/app-backup/snapper-9999/work
>>> Preparing source in /.portagecache/portage/app-backup/snapper-9999/work/snapper-9999 ...
* Running eautoreconf in '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999' ...
* Running libtoolize --install --copy --force --automake ...
[ ok ]
* Running aclocal ...
[ ok ]
* Running autoconf ...
[ ok ]
* Running autoheader ...
[ ok ]
* Running automake --add-missing --copy --foreign --force-missing ...
[ ok ]
* Running elibtoolize in: snapper-9999/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.4.2 patch ...
* Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /.portagecache/portage/app-backup/snapper-9999/work/snapper-9999 ...
* econf: updating snapper-9999/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating snapper-9999/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --with-conf=/etc/conf.d --enable-btrfs --enable-ext4 --disable-lvm --enable-pam --enable-rollback --disable-xattrs --enable-btrfs
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for xsltproc... /usr/bin/xsltproc
checking for chsnap... /sbin/chsnap
checking for cp... /bin/cp
checking for touch... /usr/bin/touch
checking for rm... /bin/rm
checking for diff... /usr/bin/diff
checking for chattr... /usr/bin/chattr
checking for lvcreate... /sbin/lvcreate
checking for lvremove... /sbin/lvremove
checking for lvs... /sbin/lvs
checking for lvchange... /sbin/lvchange
checking for lvm... /sbin/lvm
checking for lvrename... /sbin/lvrename
checking whether make supports nested variables... (cached) yes
checking for btrfs_read_and_process_send_stream in -lbtrfs... no
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating snapper/Makefile
config.status: creating snapper/Version.h
config.status: creating examples/Makefile
config.status: creating examples/c/Makefile
config.status: creating examples/c++-lib/Makefile
config.status: creating dbus/Makefile
config.status: creating server/Makefile
config.status: creating client/Makefile
config.status: creating client/utils/Makefile
config.status: creating scripts/Makefile
config.status: creating pam/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating doc/snapper.xml
config.status: creating doc/snapperd.xml
config.status: creating doc/snapper-configs.xml
config.status: creating doc/snapper-zypp-plugin.xml
config.status: creating doc/snapper-zypp-plugin.conf.xml
config.status: creating doc/pam_snapper.xml
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating testsuite-real/Makefile
config.status: creating testsuite-cmp/Makefile
config.status: creating package/snapper.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/.portagecache/portage/app-backup/snapper-9999/temp/environment: line 3548: --disable-zypp: command not found
>>> Source configured.
>>> Compiling source in /.portagecache/portage/app-backup/snapper-9999/work/snapper-9999 ...
make -j3
make all-recursive
make[1]: Entering directory '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999'
Making all in snapper
make[2]: Entering directory '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999/snapper'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Factory.lo Factory.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Snapper.lo Snapper.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Snapshot.lo Snapshot.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Factory.cc -fPIC -DPIC -o .libs/Factory.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Snapper.cc -fPIC -DPIC -o .libs/Snapper.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Snapshot.cc -fPIC -DPIC -o .libs/Snapshot.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Comparison.lo Comparison.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Comparison.cc -fPIC -DPIC -o .libs/Comparison.o
Snapper.cc: In destructor 'snapper::Snapper::~Snapper()':
Snapper.cc:118:20: warning: 'void snapper::Snapshot::flushInfo()' is deprecated (declared at ../snapper/Snapshot.h:111) [-Wdeprecated-declarations]
it->flushInfo();
^
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Filesystem.lo Filesystem.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o File.lo File.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o XmlFile.lo XmlFile.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c File.cc -fPIC -DPIC -o .libs/File.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c XmlFile.cc -fPIC -DPIC -o .libs/XmlFile.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Enum.lo Enum.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Filesystem.cc -fPIC -DPIC -o .libs/Filesystem.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o AppUtil.lo AppUtil.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Enum.cc -fPIC -DPIC -o .libs/Enum.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o FileUtils.lo FileUtils.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o XAttributes.lo XAttributes.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c AppUtil.cc -fPIC -DPIC -o .libs/AppUtil.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c XAttributes.cc -fPIC -DPIC -o .libs/XAttributes.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c FileUtils.cc -fPIC -DPIC -o .libs/FileUtils.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Log.lo Log.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Logger.lo Logger.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Log.cc -fPIC -DPIC -o .libs/Log.o
FileUtils.cc: In member function 'ssize_t snapper::SDir::listxattr(const string&, char*, size_t) const':
FileUtils.cc:445:16: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
FileUtils.cc: In member function 'ssize_t snapper::SDir::getxattr(const string&, const char*, void*, size_t) const':
FileUtils.cc:481:16: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
FileUtils.cc: In member function 'bool snapper::SDir::mount(const string&, const string&, long unsigned int, const string&) const':
FileUtils.cc:536:16: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
FileUtils.cc:540:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
FileUtils.cc: In member function 'bool snapper::SDir::umount(const string&) const':
FileUtils.cc:565:16: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
FileUtils.cc:569:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
chdir("/");
^
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Compare.lo Compare.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Compare.cc -fPIC -DPIC -o .libs/Compare.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o SystemCmd.lo SystemCmd.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Logger.cc -fPIC -DPIC -o .libs/Logger.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c SystemCmd.cc -fPIC -DPIC -o .libs/SystemCmd.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o AsciiFile.lo AsciiFile.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Regex.lo Regex.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Acls.lo Acls.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c AsciiFile.cc -fPIC -DPIC -o .libs/AsciiFile.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Acls.cc -fPIC -DPIC -o .libs/Acls.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Regex.cc -fPIC -DPIC -o .libs/Regex.o
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Btrfs.lo Btrfs.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o BtrfsUtils.lo BtrfsUtils.cc
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/conf.d"' -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Ext4.lo Ext4.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Btrfs.cc -fPIC -DPIC -o .libs/Btrfs.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Ext4.cc -fPIC -DPIC -o .libs/Ext4.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -march=core2 -O2 -pipe -std=c++0x -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c BtrfsUtils.cc -fPIC -DPIC -o .libs/BtrfsUtils.o
Ext4.cc: In member function 'virtual snapper::SDir snapper::Ext4::openInfosDir() const':
Ext4.cc:156:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Ext4.cc: In member function 'virtual snapper::SDir snapper::Ext4::openSnapshotDir(unsigned int) const':
Ext4.cc:163:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
BtrfsUtils.cc: In function 'void snapper::set_default_id(int, long long unsigned int)':
BtrfsUtils.cc:158:16: error: 'BTRFS_IOC_DEFAULT_SUBVOL' was not declared in this scope
if (ioctl(fd, BTRFS_IOC_DEFAULT_SUBVOL, &id) != 0)
^
BtrfsUtils.cc: In function 'long long unsigned int snapper::get_default_id(int)':
BtrfsUtils.cc:166:33: error: aggregate 'snapper::get_default_id(int)::btrfs_ioctl_search_args args' has incomplete type and cannot be defined
struct btrfs_ioctl_search_args args;
^
BtrfsUtils.cc:170:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->tree_id = BTRFS_ROOT_TREE_OBJECTID;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:170:16: error: 'BTRFS_ROOT_TREE_OBJECTID' was not declared in this scope
sk->tree_id = BTRFS_ROOT_TREE_OBJECTID;
^
BtrfsUtils.cc:171:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->nr_items = 1;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:172:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->max_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:172:21: error: 'BTRFS_ROOT_TREE_DIR_OBJECTID' was not declared in this scope
sk->max_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID;
^
BtrfsUtils.cc:173:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->min_objectid = BTRFS_ROOT_TREE_DIR_OBJECTID;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:174:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->max_type = BTRFS_DIR_ITEM_KEY;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:174:17: error: 'BTRFS_DIR_ITEM_KEY' was not declared in this scope
sk->max_type = BTRFS_DIR_ITEM_KEY;
^
BtrfsUtils.cc:175:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->min_type = BTRFS_DIR_ITEM_KEY;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:176:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->max_offset = (__u64) -1;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:177:4: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
sk->max_transid = (__u64) -1;
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:179:16: error: 'BTRFS_IOC_TREE_SEARCH' was not declared in this scope
if (ioctl(fd, BTRFS_IOC_TREE_SEARCH, &args) != 0)
^
BtrfsUtils.cc:182:8: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
if (sk->nr_items == 0)
^
BtrfsUtils.cc:169:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_key'
struct btrfs_ioctl_search_key* sk = &args.key;
^
BtrfsUtils.cc:186:8: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_header'
if (sh->type != BTRFS_DIR_ITEM_KEY)
^
BtrfsUtils.cc:185:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_header'
struct btrfs_ioctl_search_header* sh = (struct btrfs_ioctl_search_header*) args.buf;
^
BtrfsUtils.cc:189:60: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_ioctl_search_header'
struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1);
^
BtrfsUtils.cc:185:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_ioctl_search_header'
struct btrfs_ioctl_search_header* sh = (struct btrfs_ioctl_search_header*) args.buf;
^
BtrfsUtils.cc:190:44: error: 'btrfs_stack_dir_name_len' was not declared in this scope
int name_len = btrfs_stack_dir_name_len(di);
^
BtrfsUtils.cc:191:40: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_dir_item'
const char* name = (const char*)(di + 1);
^
BtrfsUtils.cc:189:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_dir_item'
struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1);
^
BtrfsUtils.cc:195:36: error: invalid use of incomplete type 'struct snapper::get_default_id(int)::btrfs_dir_item'
return btrfs_disk_key_objectid(&di->location);
^
BtrfsUtils.cc:189:9: error: forward declaration of 'struct snapper::get_default_id(int)::btrfs_dir_item'
struct btrfs_dir_item* di = (struct btrfs_dir_item*)(sh + 1);
^
BtrfsUtils.cc:195:46: error: 'btrfs_disk_key_objectid' was not declared in this scope
return btrfs_disk_key_objectid(&di->location);
^
BtrfsUtils.cc: In function 'std::string snapper::get_subvolume(int, long long unsigned int)':
BtrfsUtils.cc:204:55: error: 'btrfs_subvolid_resolve' was not declared in this scope
if (btrfs_subvolid_resolve(fd, path, sizeof(path), id) != 0)
^
BtrfsUtils.cc: In function 'long long unsigned int snapper::get_id(int)':
BtrfsUtils.cc:215:37: error: aggregate 'snapper::get_id(int)::btrfs_ioctl_ino_lookup_args args' has incomplete type and cannot be defined
struct btrfs_ioctl_ino_lookup_args args;
^
BtrfsUtils.cc:218:18: error: 'BTRFS_FIRST_FREE_OBJECTID' was not declared in this scope
args.objectid = BTRFS_FIRST_FREE_OBJECTID;
^
BtrfsUtils.cc:220:16: error: 'BTRFS_IOC_INO_LOOKUP' was not declared in this scope
if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args) != 0)
^
BtrfsUtils.cc: In function 'long long unsigned int snapper::get_default_id(int)':
BtrfsUtils.cc:196:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
BtrfsUtils.cc: In function 'long long unsigned int snapper::get_id(int)':
BtrfsUtils.cc:224:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:540: recipe for target 'BtrfsUtils.lo' failed
make[2]: *** [BtrfsUtils.lo] Error 1
make[2]: Leaving directory '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999/snapper'
Makefile:470: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999'
Makefile:378: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: app-backup/snapper-9999::holgerssons_local failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-backup/snapper-9999::holgerssons_local'`,
* the complete build log and the output of `emerge -pqv '=app-backup/snapper-9999::holgerssons_local'`.
* The complete build log is located at '/.portagecache/portage/app-backup/snapper-9999/temp/build.log'.
* The ebuild environment file is located at '/.portagecache/portage/app-backup/snapper-9999/temp/environment'.
* Working directory: '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999'
* S: '/.portagecache/portage/app-backup/snapper-9999/work/snapper-9999'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment