Project

General

Profile

Bug #1949

[makepkg]: syntax error

bill-auger - over 1 year ago - . Updated 20 days ago.

Status:
confirmed
Priority:
bug
Assignee:
% Done:

100%


Description

while updating blacklist.git there is a syntax error that was hit several times

remote: /usr/share/makepkg/util/pkgbuild.sh: eval: line 90: unexpected EOF while looking for matching `)'
remote: /usr/share/makepkg/util/pkgbuild.sh: eval: line 91: syntax error: unexpected end of file

Related issues

Related to Servers - Bug #2003: [autobuilder] new 'your-freedom' package creation failsnot-a-bug

Actions

History

#1

Updated by bill-auger over 1 year ago

  • Parent task set to #1948
#2

Updated by bill-auger over 1 year ago

  • File deleted (your-freedom-build-log)
#3

Updated by bill-auger over 1 year ago

  • Parent task deleted (#1948)
  • Description updated (diff)
  • Subject changed from 'your-freedom' build hook failed to build to [makepkg]: syntax error

correction to the original report - it was a fluke that the 'your-freedom' build hook failed to build the package - it turns out that freemor had pushed to abslibre during the build - a second try built the package successfully

the syntax error is really there though

#4

Updated by bill-auger 10 months ago

  • Related to Bug #2003: [autobuilder] new 'your-freedom' package creation fails added
#5

Updated by eschwartz 10 months ago

makepkg does not have a syntax error. If it did have a syntax error, that would be an upstream bugreport. But the issue here is actually that makepkg is incompatible with the multiline, complex command used in https://git.parabola.nu/abslibre.git/tree/libre/your-freedom/PKGBUILD?id=40c9803c67beb8be6aca389ca7f6f715271150b3#n22

#6

Updated by oaken-source 10 months ago

  • % Done changed from 0 to 90
  • Assignee set to oaken-source
  • Status changed from open to in progress

the syntax errors were caused by load_PKGBUILD not recognizing multi-line commands in the conflicts() array of the your-freedom PKGBUILD.
It should by fixed now. I'm leaving this at 90% until the next rebuild.

#7

Updated by oaken-source 10 months ago

  • % Done changed from 90 to 100
  • Status changed from in progress to fixed
#8

Updated by bill-auger 29 days ago

  • Status changed from fixed to confirmed

i am re-opening this because i saw the same error today while 'your-privacy' was rebuilding

#9

Updated by oaken-source 29 days ago

  • Status changed from confirmed to fixed

I have applied the same fix to nonprism/your-privacy, libre/your-freedom_emu, nonsystemd/your-initfreedom, that I had applied to libre/your-freedom.

This should get rid of the error messages.

#10

Updated by bill-auger 20 days ago

  • Status changed from fixed to confirmed

the original error message is gone; but a new one appeared:

remote:  |  /usr/share/makepkg/util/pkgbuild.sh: line 92: blacklist-7091865c91f06d7b38fd6dfbeb2c1
remote: 51c.txt: No such file or directory

again it does not appear to cause any trouble - the new 'your-freedom' was built and published successfully

Also available in: Atom PDF