[...] git checkout -b new_branch_name HEAD is now at 7076b1d... - release 5 (by relup.sh) fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/gypsy-0.9-5... Searching for tag auto/ti/gypsy-0_9-5... --2018-01-24 20:25:57-- http://distfiles.pld-linux.org/distfiles/by-md5/e/2/e2d186df9c2cc3b70a027043e22acf1a/gypsy-0.9.tar.gz Resolving distfiles.pld-linux.org (distfiles.pld-linux.org)... 193.239.45.41 Connecting to distfiles.pld-linux.org (distfiles.pld-linux.org)|193.239.45.41|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 523027 (511K) [application/x-gzip] Saving to: 'gypsy-0.9.tar.gz' 0K .......... .......... .......... .......... .......... 9% 1.09M 0s 50K .......... .......... .......... .......... .......... 19% 2.14M 0s 100K .......... .......... .......... .......... .......... 29% 54.4M 0s 150K .......... .......... .......... .......... .......... 39% 55.1M 0s 200K .......... .......... .......... .......... .......... 48% 2.32M 0s 250K .......... .......... .......... .......... .......... 58% 50.1M 0s 300K .......... .......... .......... .......... .......... 68% 36.8M 0s 350K .......... .......... .......... .......... .......... 78% 169M 0s 400K .......... .......... .......... .......... .......... 88% 2.51M 0s 450K .......... .......... .......... .......... .......... 97% 46.1M 0s 500K .......... 100% 157M=0.1s 2018-01-24 20:25:58 (4.39 MB/s) - 'gypsy-0.9.tar.gz' saved [523027/523027] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/gypsy-0.9-5.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 7076b1d... - release 5 (by relup.sh) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/gypsy-0.9-5 On detached HEAD. Use -r BRANCHNAME to override error: Macro %_builddir has empty body error: Macro %_builddir has empty body Executing(--clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin TMPDIR=/home/users/builder/tmp /bin/sh -e /home/users/builder/tmp/rpm-tmp.34604 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf gypsy-0.9 Begin-TLD-Builder-Info Build-Time: user:0.99s sys:0.29s real:2.47s (faults io:4 non-io:107115) Files queued for ftp: 530258 gypsy-0.9-5.src.rpm 181 gypsy-0.9-5.src.rpm.uploadinfo End-TLD-Builder-Info