[...] fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/glfw-3.2.1-1... Searching for tag auto/ti/glfw-3_2_1-1... --2019-08-17 23:17:25-- http://distfiles.pld-linux.org/by-md5/6/6/66e947d7fdba87d2d570d5afe1428835/glfw-3.2.1.tar.bz2 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: 654840 (639K) [application/x-bzip2] Saving to: 'glfw-3.2.1.tar.bz2' 0K .......... .......... .......... .......... .......... 7% 484K 1s 50K .......... .......... .......... .......... .......... 15% 1.19M 1s 100K .......... .......... .......... .......... .......... 23% 127M 0s 150K .......... .......... .......... .......... .......... 31% 39.1M 0s 200K .......... .......... .......... .......... .......... 39% 1.20M 0s 250K .......... .......... .......... .......... .......... 46% 3.59M 0s 300K .......... .......... .......... .......... .......... 54% 244M 0s 350K .......... .......... .......... .......... .......... 62% 223M 0s 400K .......... .......... .......... .......... .......... 70% 1.46M 0s 450K .......... .......... .......... .......... .......... 78% 237M 0s 500K .......... .......... .......... .......... .......... 86% 227M 0s 550K .......... .......... .......... .......... .......... 93% 5.68M 0s 600K .......... .......... .......... ......... 100% 235M=0.2s 2019-08-17 23:17:26 (2.57 MB/s) - 'glfw-3.2.1.tar.bz2' saved [654840/654840] warning: Could not canonicalize hostname: giant Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/glfw-3.2.1-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 9b17509 - updated to 3.2.1 fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/glfw-3.2.1-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.60801 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf glfw-3.2.1 Begin-TLD-Builder-Info Build-Time: user:1.19s sys:1.10s real:6.46s (faults io:0 non-io:90351) Files queued for ftp: 659046 glfw-3.2.1-1.src.rpm 182 glfw-3.2.1-1.src.rpm.uploadinfo End-TLD-Builder-Info