[...] 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 1e72961 - macros for meson fatal: HEAD does not point to a branch Available branches: master Searching for tag auto/ti/fonts-OTF-Cantarell-0.111-1... Searching for tag auto/ti/fonts-OTF-Cantarell-0_111-1... --2019-08-17 18:54:12-- http://distfiles.pld-linux.org/by-md5/6/9/6916664e08fe3692be0a52b0f55560c2/cantarell-fonts-0.111.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: 326216 (319K) [application/octet-stream] Saving to: 'cantarell-fonts-0.111.tar.xz' 0K .......... .......... .......... .......... .......... 15% 615K 0s 50K .......... .......... .......... .......... .......... 31% 1.20M 0s 100K .......... .......... .......... .......... .......... 47% 66.2M 0s 150K .......... .......... .......... .......... .......... 62% 26.1M 0s 200K .......... .......... .......... .......... .......... 78% 1.26M 0s 250K .......... .......... .......... .......... .......... 94% 389M 0s 300K .......... ........ 100% 33.0M=0.2s 2019-08-17 18:54:13 (1.90 MB/s) - 'cantarell-fonts-0.111.tar.xz' saved [326216/326216] warning: Could not canonicalize hostname: giant Building target platforms: i686-linux Wrote: /home/users/builder/rpm/SRPMS/fonts-OTF-Cantarell-0.111-1.src.rpm exit status 0 Tagging with prefix: auto/ti/ HEAD is now at 1e72961 - macros for meson fatal: HEAD does not point to a branch Writing git revision for tag auto/ti/fonts-OTF-Cantarell-0.111-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.9797 + umask 022 + cd /home/users/builder/rpm/BUILD + rm -rf cantarell-fonts-0.111 Begin-TLD-Builder-Info Build-Time: user:0.61s sys:0.09s real:2.62s (faults io:0 non-io:91084) Files queued for ftp: 331408 fonts-OTF-Cantarell-0.111-1.src.rpm 197 fonts-OTF-Cantarell-0.111-1.src.rpm.uploadinfo End-TLD-Builder-Info