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

Bug 890993

Summary: sys-libs/libblockdev-2.28[gtk-doc] fails to compile (DASH-SYSTEM): sh: 1: test: .: unexpected operator
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: RESOLVED FIXED    
Severity: normal CC: slashbeast
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-01-15 21:11:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libblockdev-2.28 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 21:11:38 UTC
Created attachment 848619 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-15 21:11:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


cp: './libblockdev-docs.xml' and './libblockdev-docs.xml' are the same file
cp: './libblockdev-sections.txt' and './libblockdev-sections.txt' are the same file
Comment 3 Larry the Git Cow gentoo-dev 2023-03-01 23:12:07 UTC
The bug has been closed via the following commit(s):

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

commit a11e14dc7b67dc0e99e5f8fbfbe2a78872984539
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-03-01 23:08:19 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-03-01 23:11:59 +0000

    sys-libs/libblockdev: fix documentation building on non-bash systems
    
    Closes: https://bugs.gentoo.org/890993
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../files/libblockdev-2.28-sh_tests.patch          |  23 ++++
 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild    | 136 +++++++++++++++++++++
 2 files changed, 159 insertions(+)