Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891059 - www-servers/webfs-1.21 fails to compile (DASH-SYSTEM): Make.config:1: empty variable name
Summary: www-servers/webfs-1.21 fails to compile (DASH-SYSTEM): Make.config:1: empty v...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
Depends on:
Reported: 2023-01-16 07:56 UTC by Agostino Sarubbo
Modified: 2023-08-24 17:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,44.42 KB, text/plain)
2023-01-16 07:56 UTC, Agostino Sarubbo
Added patch to fix bashism (webfs-1.21-nobashism.patch,396 bytes, patch)
2023-08-24 17:46 UTC, Watcom
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-16 07:56:57 UTC

Issue: www-servers/webfs-1.21 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-16 07:56:59 UTC
Created attachment 848671 [details]

build log and emerge --info
Comment 2 Watcom 2023-08-24 17:46:12 UTC
Created attachment 868641 [details, diff]
Added patch to fix bashism

This is not a bug in dash. The following line in 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.