Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 890873

Summary: sys-cluster/charliecloud-0.30 fails to compile (DASH-SYSTEM): configure: 7179: Syntax error: "&" unexpected
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Oliver Freyermuth <o.freyermuth>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/29161
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: build.log
1-config.log

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(+)