Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890873 - sys-cluster/charliecloud-0.30 fails to compile (DASH-SYSTEM): configure: 7179: Syntax error: "&" unexpected
Summary: sys-cluster/charliecloud-0.30 fails to compile (DASH-SYSTEM): configure: 7179...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2023-01-15 05:46 UTC by Agostino Sarubbo
Modified: 2023-01-19 13:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,48.32 KB, text/plain)
2023-01-15 05:46 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,26.89 KB, text/plain)
2023-01-15 05:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-15 05:46:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/charliecloud-0.30 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(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-15 05:46:20 UTC
Created attachment 848509 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-15 05:46:21 UTC
Created attachment 848511 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2023-01-15 05:46:22 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./configure: 4855: CFLAGS+= -std=c99 -Wall: not found
./configure: 7179: Syntax error: "&" unexpected
Comment 4 Oliver Freyermuth 2023-01-15 15:01:13 UTC
Thanks for the report, I can confirm. 

I've developed a patch, upstream PR:
https://github.com/hpc/charliecloud/pull/1538

Once the patch is reviewed, I'll add it as a downstream patch and carry it until the next upstream release.
Comment 5 Oliver Freyermuth 2023-01-18 19:36:56 UTC
The patch has been accepted upstream for the next release. For the current release, I have added the patch downstream in the linked PR. 
Thanks again for the report!
Comment 6 Larry the Git Cow gentoo-dev 2023-01-19 13:42:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd55b93e817d7c81a1d4f5290263a664263494ff

commit cd55b93e817d7c81a1d4f5290263a664263494ff
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2023-01-18 19:32:24 +0000
Commit:     Nicolas Bock <nicolasbock@gentoo.org>
CommitDate: 2023-01-19 13:42:38 +0000

    sys-cluster/charliecloud: Fix for dash as system shell.
    
    Closes: https://bugs.gentoo.org/890873
    Closes: https://github.com/gentoo/gentoo/pull/29161
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
    Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>

 sys-cluster/charliecloud/charliecloud-0.30.ebuild  |  4 ++
 .../files/charliecloud-0.30-dash.patch             | 48 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)