Hi,

This is new in grep 2.23 (see NEWS). Unfortunately, it breaks our package
submission process for packagers with UTF-8 chars in their PACKAGER var.

The issue happen in makechrootpkg when it uses grep to load variables from
makepkg.conf. 

Example 1:
$ extra-x86_64-build
...
==> Building in chroot for [extra] (x86_64)...
/usr/bin/makechrootpkg: line 319: Binary: command not found
==> Creating clean working copy [seblu]...done


Example 2:
$ LANG=C grep '^PACKAGER=' /home/seblu/.makepkg.conf
Binary file /home/seblu/.makepkg.conf matches

Example 3:
$ LANG=en_US.UTF8 grep '^PACKAGER=' /home/seblu/.makepkg.conf
PACKAGER='Sébastien Luttringer <[email protected]>'

I see these way of fixing this:
- add --text to grep calls in devtools
- replace LANG=C by LANG=en_US.UTF8 in lib/common.sh

What's do you thinK?

Cheers,

-- 
Sébastien "Seblu" Luttringer
https://seblu.net | Twitter: @seblu42
GPG: 0x2072D77A

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to