Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890993 - sys-libs/libblockdev-2.28[gtk-doc] fails to compile (DASH-SYSTEM): sh: 1: test: .: unexpected operator
Summary: sys-libs/libblockdev-2.28[gtk-doc] fails to compile (DASH-SYSTEM): sh: 1: tes...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2023-01-15 21:11 UTC by Agostino Sarubbo
Modified: 2023-03-01 23:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,146.28 KB, text/plain)
2023-01-15 21:11 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 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(+)