Skip to content

Instantly share code, notes, and snippets.

@piotr1212
Created September 24, 2015 18:08
Show Gist options
  • Save piotr1212/a8ed3ffc34bba9c88794 to your computer and use it in GitHub Desktop.
Save piotr1212/a8ed3ffc34bba9c88794 to your computer and use it in GitHub Desktop.
➜ rpmbuild fedora-review -b 1264546
INFO: Processing bugzilla bug: 1264546
INFO: Getting .spec and .srpm Urls from : 1264546
INFO: --> SRPM url: https://github.com/solettaproject/soletta-packaging/releases/download/v3/soletta-0.0.1-beta5.fc22.src.rpm
INFO: --> Spec url: https://raw.githubusercontent.com/solettaproject/soletta-packaging/v3/rpm/soletta.spec
INFO: Using review directory: /home/piotr/rpmbuild/1264546-soletta
INFO: Downloading .spec and .srpm files
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5
INFO: No upstream for (Source2): config
INFO: Downloading (Source0): https://github.com/solettaproject/soletta/archive/v1_beta5.tar.gz
INFO: Downloading (Source1): https://github.com/solettaproject/duktape-release/archive/v1_beta2.tar.gz
INFO: Running checks and generating report
ERROR: Exception(/home/piotr/rpmbuild/1264546-soletta/srpm/soletta-0.0.1-beta5.fc22.src.rpm) Config(fedora-rawhide-x86_64) 4 minutes 6 seconds
INFO: Results and/or logs in: /home/piotr/rpmbuild/1264546-soletta/results
ERROR: Command failed. See logs for output.
ERROR: 'mock build failed, see /home/piotr/rpmbuild/1264546-soletta/results/build.log'
➜ rpmbuild
➜ rpmbuild
➜ rpmbuild
➜ rpmbuild cat /home/piotr/rpmbuild/1264546-soletta/results/build.log
Mock Version: 1.2.12
Mock Version: 1.2.12
Mock Version: 1.2.12
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec'], timeout=0chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'gid=135user='mockbuild'env={'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'}uid=1000printOutput=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa45741d2e8>shell=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec'] with env {'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'} and shell False
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/soletta-0.0.1-beta5.fc24.src.rpm
Child return code was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec '], timeout=0chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'gid=135user='mockbuild'env={'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'}uid=1000printOutput=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa45741d2e8>shell=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec '] with env {'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100'} and shell False
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.83fIQ6
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf soletta-1_beta5
+ /usr/bin/gzip -dc /builddir/build/SOURCES/v1_beta5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd soletta-1_beta5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /builddir/build/BUILD
+ cd soletta-1_beta5
+ /usr/bin/gzip -dc /builddir/build/SOURCES/v1_beta2.tar.gz
+ /usr/bin/tar -xvvof -
drwxrwxr-x root/root 0 2015-08-21 18:53 duktape-release-1_beta2/
-rw-rw-r-- root/root 18 2015-08-21 18:53 duktape-release-1_beta2/.gitignore
-rw-rw-r-- root/root 1173 2015-08-21 18:53 duktape-release-1_beta2/LICENSE.txt
-rw-rw-r-- root/root 252 2015-08-21 18:53 duktape-release-1_beta2/README.md
drwxrwxr-x root/root 0 2015-08-21 18:53 duktape-release-1_beta2/src/
-rw-rw-r-- root/root 2715806 2015-08-21 18:53 duktape-release-1_beta2/src/duktape.c
-rw-rw-r-- root/root 159255 2015-08-21 18:53 duktape-release-1_beta2/src/duktape.h
-rwxrwxr-x root/root 2153 2015-08-21 18:53 duktape-release-1_beta2/update.sh
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mv duktape-release-1_beta2/LICENSE.txt duktape-release-1_beta2/README.md duktape-release-1_beta2/src duktape-release-1_beta2/update.sh src/thirdparty/duktape
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.raNgY9
+ umask 022
+ cd /builddir/build/BUILD
+ cd soletta-1_beta5
+ export LIBDIR=/usr/lib64/
+ LIBDIR=/usr/lib64/
+ cp /builddir/build/SOURCES/config .config
+ make silentoldconfig
HOSTCC tools/kconfig/conf.o
GEN tools/kconfig/zconf.tab.c
GEN tools/kconfig/zconf.lex.c
GEN tools/kconfig/zconf.hash.c
HOSTCC tools/kconfig/zconf.tab.o
HOSTCC tools/kconfig/conf
tools/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* Core library
*
Board Name (BOARD_NAME) []
Automatically detect board name (DETECT_BOARD_NAME) [Y/n/?] y
Target platform
1. dummy (PLATFORM_DUMMY)
> 2. linux-micro (PLATFORM_LINUX_MICRO)
3. systemd (PLATFORM_SYSTEMD) (NEW)
choice[1-3?]: aborted!
Console input/output is redirected. Run 'make oldconfig' to update configuration.
tools/kconfig/Makefile:37: recipe for target 'silentoldconfig' failed
RPM build errors:
make: *** [silentoldconfig] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.raNgY9 (%build)
bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5
Bad exit status from /var/tmp/rpm-tmp.raNgY9 (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 493, in do
raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/soletta.spec
LEAVE do --> EXCEPTION RAISED
Mock Version: 1.2.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment