snap pack returned non-zero exit status 20

Bug #2075311 reported by Nathan Teodosio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Problem
-------

See [3][4].

Command '['snap', 'pack', '--filename', 'llvm-chromium_llvmorg-19-init-14561-gecea8371+_amd64.snap', '--compression', 'xz', PosixPath('/build/llvm-chromium/prime'), PosixPath('/build/llvm-chromium')]' returned non-zero exit status 20.

or

Command '['snap', 'pack', '--filename', 'llvm-chromium_llvmorg-19-init-14561-gecea8371e_amd64.snap', '--compression', 'xz', PosixPath('/build/llvm-chromium/prime'), PosixPath('/build/llvm-chromium')]' returned non-zero exit status 20.

Background
----------

I've been trying to do one simple thing, namely programatically setting the version of this snap[0]. But Snapcraft really wants me to surrender. :P

Block [1]: Version string is "llvmorg-19-init-14561-gecea8371-3000" but must be <= 32 bytes.
Fix 1: Filter it through 'head -c32'.

Block [2]: Version string is "llvmorg-19-init-14561-gecea8371-" but must end with an ASCII alphanumeric or one of '+' or '~' (and not '-').
Fix 2: Filter it through 'head -c31' and add a + to it.

Block [3]: Command '['snap', 'pack', '--filename', 'llvm-chromium_llvmorg-19-init-14561-gecea8371+_amd64.snap', '--compression', 'xz', PosixPath('/build/llvm-chromium/prime'), PosixPath('/build/llvm-chromium')]' returned non-zero exit status 20.
Fix 3: So for some reason I thought this might be the + and substituted it with an e.

Block [4]: Command '['snap', 'pack', '--filename', 'llvm-chromium_llvmorg-19-init-14561-gecea8371e_amd64.snap', '--compression', 'xz', PosixPath('/build/llvm-chromium/prime'), PosixPath('/build/llvm-chromium')]' returned non-zero exit status 20.

[0] https://launchpad.net/~chromium-team/+snap/llvm-chromium
[1] https://launchpadlibrarian.net/741481652/buildlog_snap_ubuntu_noble_amd64_llvm-chromium_BUILDING.txt.gz
[2] https://launchpadlibrarian.net/741581930/buildlog_snap_ubuntu_noble_amd64_llvm-chromium_BUILDING.txt.gz
[3] https://launchpadlibrarian.net/741697371/buildlog_snap_ubuntu_noble_amd64_llvm-chromium_BUILDING.txt.gz
[4] https://launchpadlibrarian.net/741729763/buildlog_snap_ubuntu_noble_amd64_llvm-chromium_BUILDING.txt.gz

description: updated
Revision history for this message
Nathan Teodosio (nteodosio) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.