[...] If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 6ca28f8 - updated to 0.903 fatal: HEAD does not point to a branch No conditional flags passed from available: --with : --without: tests Available branches: AC-branch RA-branch master --2024-04-01 20:49:25-- http://distfiles.pld-linux.org/by-md5/5/6/56f391635683d0edf4f992ab9368ed61/Mail-Sender-0.903.tar.gz Resolving distfiles.pld-linux.org... 193.239.45.41 Connecting to distfiles.pld-linux.org|193.239.45.41|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 60499 (59K) [application/x-gzip] Saving to: 'Mail-Sender-0.903.tar.gz' 0K .......... .......... .......... .......... .......... 84% 762K 0s 50K ......... 100% 1.29M=0.07s 2024-04-01 20:49:25 (815 KB/s) - 'Mail-Sender-0.903.tar.gz' saved [60499/60499] ./builder[2756]: ulimit: unlimited exceeds allowable coredump(blocks) limit error: Unable to open /usr/lib/rpm/macros.perl: No such file or directory Building target platforms: x86_64-linux Building for target x86_64-linux real 0.01 user 0.01 sys 0.00 Error: package build failed. (no more info) exit status 1280 error: No files produced. On detached HEAD. Use -r BRANCHNAME to override error: Macro %_builddir has empty body Begin-TLD-Builder-Info Build-Time: user:0.36s sys:0.14s real:1.36s (faults io:0 non-io:73047) End-TLD-Builder-Info