Public bug reported:

stellarium 26.3-1 fails to build on amd64 in tenacious during dh_builddeb
(https://launchpad.net/ubuntu/+source/stellarium/26.3-1/+build/33915844):

  /bin/sh: 23: Syntax error: Unterminated quoted string
  dh_builddeb.pkgbinarymangler: error: Aborting due to earlier error

The package ships 
usr/share/stellarium/skycultures/egyptian_dendera/illustrations/bull's_thigh.png.
pkgstripfiles runs `xargs -I{} /bin/sh -c 'f='\''{}'\'' ...'`, so the file name 
is pasted
into the shell code and a ' in it breaks the script. Names with sed regex 
characters
([, *, \ ...) also break or mis-match the md5sums update.

Fix: pass the name to the shell as a positional argument and escape it
in the md5sums sed script.

The fix is in pkgbinarymangler 159, being tested in ppa:ubuntu-
desktop/ppa.

** Affects: pkgbinarymangler (Ubuntu)
     Importance: Undecided
     Assignee: Sebastien Bacher (seb128)
         Status: In Progress

** Changed in: pkgbinarymangler (Ubuntu)
     Assignee: (unassigned) => Sebastien Bacher (seb128)

** Changed in: pkgbinarymangler (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173625

Title:
  pkgstripfiles PNG optimisation fails on file names containing a single
  quote

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/2173625/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to