Summary: | www-servers/webfs-1.21 fails to compile (DASH-SYSTEM): Make.config:1: empty variable name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Alexey Shvetsov <alexxy> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hodge |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Added patch to fix bashism |
Description
Agostino Sarubbo
![]() Created attachment 848671 [details]
build.log
build log and emerge --info
Created attachment 868641 [details, diff]
Added patch to fix bashism
This is not a bug in dash. The following line in mk/Autoconf.mk:
@echo -e "$(make-config-q)" > $@
is a bashism. Quoting the POSIX standard for "echo":
"Implementations shall not support any options."
The patch I attached fixes the problem by changing it to printf, which is the portable way to do it.
|