Skip to content

Instantly share code, notes, and snippets.

@fedya
Created June 15, 2016 21:13
Show Gist options
  • Save fedya/950977b3b98db52bccd5d3532b0ced60 to your computer and use it in GitHub Desktop.
Save fedya/950977b3b98db52bccd5d3532b0ced60 to your computer and use it in GitHub Desktop.
[root@b22b71aa08bd btrfs-progs]# abb build
assume project name from spec-file name: btrfs-progs
try to restore files from abf storage
parsing file '.abf.yml'
found entry: file=v4.5.1.tar.gz ... ok
try to build btrfs-progs
Building target platforms: armv7hl
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32250
+umask 022
+cd /root/btrfs-progs/BUILD
+'[' 1 -eq 1 ']'
+'[' 1 -eq 1 ']'
+'[' 1 -eq 1 ']'
+cd /root/btrfs-progs/BUILD
+rm -rf btrfs-progs-4.5.1
+/bin/tar -xf /root/btrfs-progs/v4.5.1.tar.gz
+cd btrfs-progs-4.5.1
+echo 'Patch #0 (btrfs-progs-recognize-fsck.btrfs-like-btrfsck.patch):'
Patch #0 (btrfs-progs-recognize-fsck.btrfs-like-btrfsck.patch):
+/bin/cat /root/btrfs-progs/btrfs-progs-recognize-fsck.btrfs-like-btrfsck.patch
+/usr/bin/patch --fuzz=0 -U -p1 -b --suffix .0000~
patching file btrfs.c
Hunk #1 succeeded at 217 (offset -54 lines).
+echo 'Patch #1 (btrfs-progs-v4.4.1-pic.patch):'
Patch #1 (btrfs-progs-v4.4.1-pic.patch):
+/bin/cat /root/btrfs-progs/btrfs-progs-v4.4.1-pic.patch
+/usr/bin/patch --fuzz=0 -U -p1 -b --suffix .0001~
patching file Makefile.in
Hunk #1 succeeded at 183 (offset 6 lines).
+exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32250
+umask 022
+cd /root/btrfs-progs/BUILD
+cd btrfs-progs-4.5.1
+'[' 1 -eq 1 ']'
+'[' 1 -eq 1 ']'
+./autogen.sh
Generate build-system by:
aclocal: aclocal (GNU automake) 1.15
autoconf: autoconf (GNU Autoconf) 2.69
autoheader: autoheader (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.15
Now type './configure' and 'make' to compile.
+find . -name config.guess -o -name config.sub
+read i
++basename ./config/config.sub
+'[' -f /usr/share/libtool/config/config.sub ']'
+/bin/rm -f ./config/config.sub
++basename ./config/config.sub
+/bin/cp -fv /usr/share/libtool/config/config.sub ./config/config.sub
'/usr/share/libtool/config/config.sub' -> './config/config.sub'
+read i
++basename ./config/config.guess
+'[' -f /usr/share/libtool/config/config.guess ']'
+/bin/rm -f ./config/config.guess
++basename ./config/config.guess
+/bin/cp -fv /usr/share/libtool/config/config.guess ./config/config.guess
'/usr/share/libtool/config/config.guess' -> './config/config.guess'
+read i
+'[' -e configure.ac -a -e Makefile.am ']'
+CC=/usr/bin/clang
+export CC
+CXX=/usr/bin/clang++
+export CXX
+CFLAGS='-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto'
+export CFLAGS
+CXXFLAGS='-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto'
+export CXXFLAGS
+FFLAGS='-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto'
+export FFLAGS
+LDFLAGS='-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -Wl,-O2 -Wl,--no-undefined -flto '
+export LDFLAGS
+CROSSCOMPILE='--target=armv7hl-mandriva-linux-gnueabihf --build=armv7hl-mandriva-linux-gnueabihf'
+export CROSSCOMPILE
+CONFIGURE_TOP=.
+'[' -f ./configure.in -o -f ./configure.ac ']'
+CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib'
+./configure --target=armv7hl-mandriva-linux-gnueabihf --build=armv7hl-mandriva-linux-gnueabihf --disable-static --disable-silent-rules --disable-dependency-tracking --disable-rpath --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib --bindir=/sbin --libdir=/lib
configure: WARNING: unrecognized options: --disable-static, --disable-silent-rules, --disable-dependency-tracking, --disable-rpath
checking for gcc... /usr/bin/clang
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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
checking build system type... armv7hl-mandriva-linux-gnueabihf
checking host system type... armv7hl-mandriva-linux-gnueabihf
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ar... ar
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for openat... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for backtrace_symbols_fd... yes
checking for asciidoc... /usr/bin/asciidoc
checking for xmlto... /usr/bin/xmlto
checking for gzip... /bin/gzip
checking for mv... /bin/mv
checking for a sed that does not truncate output... /bin/sed
checking for EXT2FS... yes
checking for COM_ERR... yes
checking for BLKID... yes
checking for UUID... yes
checking for ZLIB... yes
checking for lzo_version in -llzo2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Documentation/Makefile
config.status: creating version.h
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-static, --disable-silent-rules, --disable-dependency-tracking, --disable-rpath
btrfs-progs v4.5.1
prefix: /usr
exec prefix: /usr
bindir: /sbin
libdir: /lib
includedir: /usr/include
compiler: /usr/bin/clang
cflags: -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto
ldflags: -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -Wl,-O2 -Wl,--no-undefined -flto
documentation: yes
backtrace support: yes
btrfs-convert: yes
Type 'make' to compile.
+/usr/bin/make -j4 -O 'CFLAGS=-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -include config.h -DBTRFS_FLAT_INCLUDES -D_XOPEN_SOURCE=700' 'LDFLAGS=-Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -g -march=armv7-a -mfloat-abi=hard -mfpu=neon -flto -Wl,-O2 -Wl,--no-undefined -flto '
cmds-fi-du.c:114:9: warning: 'dprintf' macro redefined [-Wmacro-redefined]
#define dprintf(...)
^
/usr/include/bits/stdio2.h:145:12: note: previous definition is here
# define dprintf(fd, ...) \
^
1 warning generated.
[CC] radix-tree.o
clang-3.8: error: unable to execute command: Segmentation fault (core dumped)
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.1 (tags/RELEASE_381/rc1)
Target: armv7hl-mandriva-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.8: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /tmp/radix-tree-32a672.c
clang-3.8: note: diagnostic msg: /tmp/radix-tree-32a672.sh
clang-3.8: note: diagnostic msg:
********************
make: *** [Makefile:183: radix-tree.o] Error 254
make: *** Waiting for unfinished jobs....
*** Error in `/usr/bin/clang-3.8': corrupted double-linked list: 0x00be84c0 ***
[CC] disk-io.o
clang-3.8: error: unable to execute command: Segmentation fault (core dumped)
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.1 (tags/RELEASE_381/rc1)
Target: armv7hl-mandriva-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.8: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /tmp/disk-io-11af28.c
clang-3.8: note: diagnostic msg: /tmp/disk-io-11af28.sh
clang-3.8: note: diagnostic msg:
********************
make: *** [Makefile:183: disk-io.o] Error 254
[CC] extent-tree.o
clang-3.8: error: unable to execute command: Segmentation fault (core dumped)
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.1 (tags/RELEASE_381/rc1)
Target: armv7hl-mandriva-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.8: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /tmp/extent-tree-79ed0f.c
clang-3.8: note: diagnostic msg: /tmp/extent-tree-79ed0f.sh
clang-3.8: note: diagnostic msg:
********************
make: *** [Makefile:183: extent-tree.o] Error 254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment