[...] 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 new_branch_name HEAD is now at 3560e83... - updated to 1.09 fatal: HEAD does not point to a branch Available branches: AC-branch master --2015-07-28 10:36:30-- http://distfiles.pld-linux.org/distfiles/by-md5/7/6/76b53e2be4c5b85e4af0887ce838c955/sdparm-1.09.tar.xz 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: 245688 (240K) [application/octet-stream] Saving to: 'sdparm-1.09.tar.xz' 0K .......... .......... .......... .......... .......... 20% 782K 0s 50K .......... .......... .......... .......... .......... 41% 1.46M 0s 100K .......... .......... .......... .......... .......... 62% 1.51M 0s 150K .......... .......... .......... .......... .......... 83% 1.59M 0s 200K .......... .......... .......... ......... 100% 12.1M=0.2s 2015-07-28 10:36:30 (1.43 MB/s) - 'sdparm-1.09.tar.xz' saved [245688/245688] warning: Could not canonicalize hostname: giant Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/sdparm-1.09-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 3560e83... - updated to 1.09 fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/sdparm-1.09-1 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.43588 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf sdparm-1.09 Begin-PLD-Builder-Info Build-Time: user:2.91s sys:1.65s real:10.76s (faults io:0 non-io:202381) Files queued for ftp: 251326 sdparm-1.09-1.src.rpm 183 sdparm-1.09-1.src.rpm.uploadinfo End-PLD-Builder-Info