Skip to content

Instantly share code, notes, and snippets.

@mcepl
Created August 5, 2015 12:42
Show Gist options
  • Save mcepl/5dc42e3d7d8ac9cb420e to your computer and use it in GitHub Desktop.
Save mcepl/5dc42e3d7d8ac9cb420e to your computer and use it in GitHub Desktop.
Mock Version: 1.1.16
Mock Version: 1.1.16
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec'], False, '/var/lib/mock/rhel-7.2-build-2673211-1277730/root/', None, 86400, True, False, 498, 135, None, logger=<mockbuild.trace_decorator.getLog object at 0x94baefd0>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec']
Building target platforms: s390
Building for target s390
Wrote: /builddir/build/SRPMS/telegram-purple-1.0.0-0.0.MC.1.vcs20150525.el7.src.rpm
warning: Could not canonicalize hostname: s390-014.build.bos.redhat.com
Child returncode was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec'], False, '/var/lib/mock/rhel-7.2-build-2673211-1277730/root/', None, 86400, True, False, 498, 135, None, logger=<mockbuild.trace_decorator.getLog object at 0x94baefd0>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec']
Building target platforms: s390
Building for target s390
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nLF4z0
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf telegram-purple
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/telegram-purple.tar.bz2
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd telegram-purple
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ICBhkZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd telegram-purple
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/lib/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' s390 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ ./configure --build=s390-redhat-linux-gnu --host=s390-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for s390-redhat-linux-gnu-gcc... no
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for s390-redhat-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PURPLE... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ make -j2
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/include -I/usr/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/include -I/usr/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/include -I/usr/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/crc32.d -MQ objs/crc32.o -o objs/crc32.o tgl/tl-parser/crc32.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/include -I/usr/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m31 -march=z196 -mtune=zEC12 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/include -I/usr/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
gcc objs/generate.o objs/tools.o -Wl,-z,relro -L/usr/lib -L/usr/lib -lpurple -lglib-2.0 -lz -lrt -lm -lcrypto -rdynamic -ggdb -o bin/generate
gcc objs/tl-parser.o objs/tlc.o objs/crc32.o -Wl,-z,relro -L/usr/lib -L/usr/lib -lpurple -lglib-2.0 -lz -lrt -lm -lcrypto -rdynamic -ggdb -o bin/tl-parser
bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
bin/tl-parser -E auto/scheme.tl 2> auto/scheme2.tl || ( cat auto/scheme2.tl && rm auto/scheme2.tl && false )
awk -f ./tgl/gen_constants_h.awk < auto/scheme2.tl > auto/constants.h
bin/generate auto/scheme.tlo > auto/auto.c
bin/generate -H auto/scheme.tlo > auto/auto-header.h
generate: tgl/generate.c:1511: read_types: Assertion `t->constructors_num >= 0 && t->constructors_num <= 1000' failed.
generate: tgl/generate.c:1511: read_types: Assertion `t->constructors_num >= 0 && t->constructors_num <= 1000' failed.
make: *** [auto/auto.c] Error 1
make: *** Waiting for unfinished jobs....
make: *** [auto/auto-header.h] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.ICBhkZ (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.ICBhkZ (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 345, in do
raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target s390 --nodeps builddir/build/SPECS/telegram-purple.spec']
LEAVE do --> EXCEPTION RAISED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment