Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892938 - dev-util/pkgcheck-0.10.20 fails to compile: error: Error: setup script specifies an absolute path:
Summary: dev-util/pkgcheck-0.10.20 fails to compile: error: Error: setup script specif...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PkgCore project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-02 13:24 UTC by Agostino Sarubbo
Modified: 2023-02-03 12:52 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.18 KB, text/plain)
2023-02-02 13:24 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-02-02 13:24:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/pkgcheck-0.10.20 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-02 13:24:11 UTC
Created attachment 849708 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-02 13:24:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


error: Error: setup script specifies an absolute path:
error: Error: setup script specifies an absolute path:
Comment 3 snowy.mail 2023-02-03 12:31:34 UTC
I do get the same error on amd64:


error: Error: setup script specifies an absolute path:

    /var/tmp/portage/dev-util/pkgcheck-0.10.20/work/pkgcheck-0.10.20/tree-sitter-bash/src/parser.c

setup() arguments must *always* be /-separated paths relative to the
setup.py directory, *never* absolute paths.
Comment 4 Larry the Git Cow gentoo-dev 2023-02-03 12:46:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=b4c34a95f4c66db9c658f6dd75d9193c6e55dab4

commit b4c34a95f4c66db9c658f6dd75d9193c6e55dab4
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-02-03 12:45:44 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-03 12:45:44 +0000

    setup.py: fix usage of absolute path
    
    Bug: https://bugs.gentoo.org/892938
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 setup.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-02-03 12:52:33 UTC
The bug has been closed via the following commit(s):

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

commit 085098cf15168729f16bcc4fa735dab8aab5f33a
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-02-03 12:51:15 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-02-03 12:51:15 +0000

    dev-util/pkgcheck: fix for newer setuptools
    
    This new patch affects only the build system, so those that have
    pkgcheck already installed have no issues, but those trying to build
    it with newer setuptools will fail => no revbump is needed.
    
    Closes: https://bugs.gentoo.org/892938
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../files/pkgcheck-0.10.19-fix-setup.patch         | 22 ++++++++++++++++++++++
 dev-util/pkgcheck/pkgcheck-0.10.19-r1.ebuild       |  6 +++++-
 dev-util/pkgcheck/pkgcheck-0.10.19-r2.ebuild       |  3 ++-
 dev-util/pkgcheck/pkgcheck-0.10.20.ebuild          |  1 +
 4 files changed, 30 insertions(+), 2 deletions(-)