[Pkg-chromium-maint] Bug#644526: chromium-browser: FTBFS on "testing/unstable" system
Jonathan Nieder
jrnieder at gmail.com
Tue Nov 8 09:14:28 UTC 2011
reassign 644526 src:chromium-browser 14.0.835.202~r103287-1
found 644526 chromium-browser/15.0.874.106~r107270-1
quit
Hi,
Daniel Schepler wrote:
> On my system, I'm rebuilding packages using a custom pbuilder chroot where the
> apt sources point to a hand built repository. Because of this custom setup,
> lsb_release in the chroot returns "testing/unstable" as the release.
[...]
> sed -e 's/@BUILD_DIST@/Debian testing/unstable/g' \
> -e 's/@BUILD_DIST_NAME@/Debian/g' \
> -e 's/@BUILD_DIST_VERSION)@/testing/unstable/g' \
> < debian/chromium.sh.in > debian/chromium.sh
> sed: -e expression #1, char 31: unknown option to `s'
Good catch. I don't believe sed has a construct like perl's \Q...\E
for using an arbitrary replacement string, but using a different
delimiter (like | or ,) in the sed expression might be close enough.
Care to write a patch? It works like this:
# apt-get build-dep chromium-browser; apt-get install devscripts git
$ debcheckout chromium-browser
$ cd chromium-browser
... hack hack hack ...
$ git diff >patch
Thanks for reporting,
Jonathan
More information about the Pkg-chromium-maint
mailing list