when I emerge app-crypt/eid-mw-4.4.27 I get compile time errors.
The cause is that the source contains a jpg (coat-of-arms.nl.jpg) file that the autogenerated makefile converts to an include file.
This conversion uses 'echo -e "#include ...."'
When the system shell is bash, this works fine, and the resulting file coat-of-arms.nl.c compiles without issue.
When the system shell is dash (eselect sh set dash), it interpretes the echo command differently, and the coat-of-arms.nl.c file starts with '-e #include ...."'.
Of course, the compiler chokes on the -e.
That means that either something must be done upstream (let autoconf detect what system shell is in use and adapt the Makefile accordingly), or that the ebuild must check that the shell is of a type that recognizes 'echo -e'.
(In reply to jan vereecke from comment #0)
> That means that either something must be done upstream (let autoconf detect
> what system shell is in use and adapt the Makefile accordingly), or that the
> ebuild must check that the shell is of a type that recognizes 'echo -e'.
Rather, it should use printf. Please try the impending patch.
Created attachment 679152 [details, diff]
I confirm that this patch works works with dash
(In reply to Kerin Millar from comment #2)
> Created attachment 679152 [details, diff] [details, diff]
Thank you for the patch
I asked @amynka to commit new ebuild with your patch (eid-mw-5.0.11 + live ebuild)
My plan is to go through and commit a bunch of Kerin’s patches in bulk when I get a chance, but of course Amy is welcome to if she does it first (very welcome, in fact!)
The bug has been closed via the following commit(s):
Author: Amy Liffey <firstname.lastname@example.org>
AuthorDate: 2021-01-03 20:50:57 +0000
Commit: Amy Liffey <email@example.com>
CommitDate: 2021-01-03 20:54:57 +0000
app-crypt/eid-mw: version bump 5.0.11, fix bug #751472
Submitted-by: Vincent Hardy <firstname.lastname@example.org>
Package-Manager: Portage-3.0.9, Repoman-2.3.23
Signed-off-by: Amy Liffey <email@example.com>
app-crypt/eid-mw/Manifest | 1 +
app-crypt/eid-mw/eid-mw-5.0.11.ebuild | 111 +++++++++++++++++++++
app-crypt/eid-mw/eid-mw-9999.ebuild | 5 +-
.../eid-mw/files/use-printf-in-Makefile.patch | 21 ++++
4 files changed, 137 insertions(+), 1 deletion(-)