Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931287 - dev-libs/uriparser-0.9.8[doc] calls commands that do not exist: x86_64-pc-linux-gnu-gcc -E
Summary: dev-libs/uriparser-0.9.8[doc] calls commands that do not exist: x86_64-pc-lin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL: https://github.com/uriparser/uriparse...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-06 06:48 UTC by Agostino Sarubbo
Modified: 2024-05-11 10:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,72.98 KB, text/plain)
2024-05-06 06:48 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 2024-05-06 06:48:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/uriparser-0.9.8 calls commands that do not exist.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0018
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-06 06:48:16 UTC
Created attachment 892332 [details]
build.log

build log and emerge --info
Comment 2 Sebastian Pipping gentoo-dev 2024-05-11 10:30:35 UTC
There is this line in doc/preprocess.sh:

  "${CPP}" -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g'

Passing "x86_64-pc-linux-gnu-gcc -E" for CPP cannot work due the current quoting.  If I drop the quoting, absolute paths containing spaces will stop working.

What I could do is migrate from "${CPP}" to "${CC}" -E.  I'll do that upstream now and then backport the patch to Gentoo.
Comment 3 Larry the Git Cow gentoo-dev 2024-05-11 10:51:28 UTC
The bug has been closed via the following commit(s):

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

commit 63df6ab2e4749fbb894f599d03cb62e3d4f4bc27
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2024-05-11 10:50:19 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2024-05-11 10:51:16 +0000

    dev-libs/uriparser: Fix docs compilation
    
    Closes: https://bugs.gentoo.org/931287
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 .../files/uriparser-0.9.8-docs-compilation.patch   | 13 +++++
 dev-libs/uriparser/uriparser-0.9.8-r1.ebuild       | 61 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)