[...] You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at b57fdcd - release 2 (by relup.sh) fatal: HEAD does not point to a branch Available branches: AC-branch DEVEL PYTHON_2_5 master Searching for tag auto/ti/python-pycairo-1.16.3-2... Searching for tag auto/ti/python-pycairo-1_16_3-2... --2018-08-24 23:07:55-- http://distfiles.pld-linux.org/distfiles/by-md5/d/2/d2a115037ccd128219f43d5ed3df7926/pycairo-1.16.3.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: 188610 (184K) [application/x-gzip] Saving to: 'pycairo-1.16.3.tar.gz' 0K .......... .......... .......... .......... .......... 27% 1.22M 0s 50K .......... .......... .......... .......... .......... 54% 2.42M 0s 100K .......... .......... .......... .......... .......... 81% 71.3M 0s 150K .......... .......... .......... .... 100% 56.0M=0.06s 2018-08-24 23:07:55 (2.92 MB/s) - 'pycairo-1.16.3.tar.gz' saved [188610/188610] Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/python-pycairo-1.16.3-2.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at b57fdcd - release 2 (by relup.sh) fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/python-pycairo-1.16.3-2 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.43624 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf pycairo-1.16.3 Begin-TLD-Builder-Info Build-Time: user:0.58s sys:0.06s real:2.03s (faults io:0 non-io:101005) Files queued for ftp: 193822 python-pycairo-1.16.3-2.src.rpm 193 python-pycairo-1.16.3-2.src.rpm.uploadinfo End-TLD-Builder-Info