Since Fedora32 (so Fedora 33 too) my libreoffice RPM Build wont run anymore. It seems to break when /usr/lib/rpm/redhat/brp-mangle-shebangs
is called by jenkins. I modified brp-mangle-shebangs
to get the specific file which breaks the build. Thats the output:
+ read shebang_line
+ orig_shebang='Denne utvidelsen blir en del av Calc, og tilbyr nye metoder for l?sing til bruk i optimering av ikke-line?re programmeringsmodeller.'
+ '[' 'Denne utvidelsen blir en del av Calc, og tilbyr nye metoder for l?sing til bruk i optimering av ikke-line?re programmeringsmodeller.' = 'Denne utvidelsen blir en del av Calc, og tilbyr nye metoder for l?sing til bruk i optimering av ikke-line?re programmeringsmodeller.' ']'
+ echo '*** WARNING: ./opt/loffice/libreoffice6.4/share/extensions/nlpsolver/description-nb.txt is executable but has no shebang, removing executable bit'
*** WARNING: ./opt/loffice/libreoffice6.4/share/extensions/nlpsolver/description-nb.txt is executable but has no shebang, removing executable bit
++ stat -c %y ./opt/loffice/libreoffice6.4/share/extensions/nlpsolver/description-nb.txt
+ ts='2021-01-28 16:22:30.267085614 +0100'
+ chmod -x ./opt/loffice/libreoffice6.4/share/extensions/nlpsolver/description-nb.txt
+ touch -d '2021-01-28 16:22:30.267085614 +0100' /opt/loffice/libreoffice6.4/share/extensions/nlpsolver/description-nb.txt
+ continue
+ IFS=
+ read -r line
+ f=./opt/loffice/libreoffice6.4/share/extensions/package.txt
+ path=/opt/loffice/libreoffice6.4/share/extensions/package.txt
+ '[' -n '' ']'
+ '[' -n '' ']'
+ read shebang_line
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.R2w2T5 (%install)
This script seems to try to read shebangs from textfiles and then breaks? I honestly have no clue what is going on since jenkins wont tell me exactly where the error occurs. So i event dont know if im right with my assumption. All i can tell is, that this exact build works on the fedora31 buildserver.
Do you guys have any hints on why this build could be braking or how to debug it any further? Im pretty lost right now to be honest.
question from:
https://stackoverflow.com/questions/65940427/jenkins-pipeline-breaks-on-brp-mangle-shebangs 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…