Missing -P in preprocessor part
Created attachment 401324 [details, diff]
patch to fix issue
I'm hitting this issue as well. See attachments for details.
Created attachment 402002 [details]
Created attachment 402004 [details]
Created attachment 402006 [details]
Created attachment 402008 [details]
I placed Cănărău Constantin's patch in /etc/portage/patches/x11-apps/sessreg-1.1.0/sed.patch and it fixes the problem.
(In reply to Dale Lukas Peterson from comment #5)
> Created attachment 402006 [details]
> build log
Got the same:
/bin/sed: file filenames.sed line 3: unterminated `s' command
Makefile:500: recipe for target 'sessreg.1' failed
It would be a good idea to submit your fix to the upstream bug.
just for the record,
also fails with gcc-5.2 and patch fixes it.
Cănărău Constantin patch did fix the issue for me.
@Cănărău Constantin: Thanks
Also confirmed the issue and the patch.
As best I can tell, this patch rescues an obscure, ugly approach by making it more obscure and uglier... are we sure it's good karma to send it to upstream? They have their own bug for it and are discussing solutions that address the underlying problem.
let's leave the debate in upstream for how best to fix this. in the mean time, added said patch to the tree: