[...] state without impacting any branches by switching back to a branch. 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 f787c8b - tabs in preamble fatal: HEAD does not point to a branch Building perl-Text-WrapI18N.spec with the following conditional flags: --without tests from available: --with : --without: Available branches: AC-branch master --2023-07-09 12:47:02-- http://distfiles.pld-linux.org/by-md5/0/7/0799c16a00926e6c18d400c2e2861d5f/Text-WrapI18N-0.06.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: 3812 (3.7K) [application/x-gzip] Saving to: 'Text-WrapI18N-0.06.tar.gz' 0K ... 100% 410M=0s 2023-07-09 12:47:02 (410 MB/s) - 'Text-WrapI18N-0.06.tar.gz' saved [3812/3812] ./builder[2756]: ulimit: exceeds allowable limit error: Unable to open /usr/lib/rpm/macros.perl: No such file or directory Building target platforms: i686-linux Building for target i686-linux real 0.02 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.26s sys:0.18s real:2.87s (faults io:1 non-io:47323) End-TLD-Builder-Info