Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941767 - dev-scheme/guile-2.2.7-r102 fails to compile
Summary: dev-scheme/guile-2.2.7-r102 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-18 15:03 UTC by Agostino Sarubbo
Modified: 2024-10-29 22:08 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,632.20 KB, text/plain)
2024-10-18 15:03 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-10-18 15:03:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-scheme/guile-2.2.7-r102 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-18 15:03:34 UTC
CC'ing also the author of the commit (7c24a2c27204988e57f21ae6ce4f0c7c5b5e2871)
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-18 15:03:35 UTC
Created attachment 906277 [details]
build.log

build log and emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-18 15:08:45 UTC
(In reply to Agostino Sarubbo from comment #1)
> CC'ing also the author of the commit
> (7c24a2c27204988e57f21ae6ce4f0c7c5b5e2871)

I think your script got confused here -- I didn't touch this version, I touched 3.0.10-r102 (slot 3.0 too).
Comment 4 Arsen Arsenović gentoo-dev 2024-10-18 20:44:16 UTC
I am quite lost as to how this could've happened - I can't reprooduce and everything seems fine in the log up to the error.  could we get a tree of ${ED}?  or such
Comment 5 Agostino Sarubbo gentoo-dev 2024-10-19 12:13:07 UTC
I think this could be a -native-symlinks issue, would you mind to give it a try?
Comment 6 Chris Hall 2024-10-29 12:29:02 UTC
I've been seeing this too; I think the ebuild is looking for an already-installed .pc file.

This seems to allow it to install (though I can't vouch for whether or not it then behaves correctly at runtime):

--- guile-2.2.7-r102.ebuild.orig     2024-10-29 12:01:51.153981984 +0000
+++ guile-2.2.7-r102.ebuild          2024-10-29 11:59:39.704406952 +0000
@@ -105,7 +105,7 @@
        mv "${ED}"/usr/$(get_libdir)/pkgconfig/ \
           "${ED}/${pcdir}" || die

-       [[ -f "${pcdir}"/guile-2.2.pc ]]
+       [[ -f "${ED}/${pcdir}"/guile-2.2.pc ]]
        assert "failed to install .pc file?"

        guile_slot_info
Comment 7 Arsen Arsenović gentoo-dev 2024-10-29 22:05:37 UTC
(In reply to Chris Hall from comment #6)
> I've been seeing this too; I think the ebuild is looking for an
> already-installed .pc file.
> 
> This seems to allow it to install (though I can't vouch for whether or not
> it then behaves correctly at runtime):
> 
> --- guile-2.2.7-r102.ebuild.orig     2024-10-29 12:01:51.153981984 +0000
> +++ guile-2.2.7-r102.ebuild          2024-10-29 11:59:39.704406952 +0000
> @@ -105,7 +105,7 @@
>         mv "${ED}"/usr/$(get_libdir)/pkgconfig/ \
>            "${ED}/${pcdir}" || die
> 
> -       [[ -f "${pcdir}"/guile-2.2.pc ]]
> +       [[ -f "${ED}/${pcdir}"/guile-2.2.pc ]]
>         assert "failed to install .pc file?"
> 
>         guile_slot_info

ah, of course.. that also explains why I couldn't reproduce it

I'll remove the check, only 2.2.7 had it anyway.
Comment 8 Larry the Git Cow gentoo-dev 2024-10-29 22:08:17 UTC
The bug has been closed via the following commit(s):

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

commit 9ddf204ce04250e9ca679a2f2a43fdfd949aa2f3
Author:     Arsen Arsenović <arsen@gentoo.org>
AuthorDate: 2024-10-29 22:05:42 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2024-10-29 22:06:56 +0000

    dev-scheme/guile: remove ${pcdir}/guile-2.2.pc sanity check
    
    It isn't really needed, yet it had false-positives, so remove it.
    
    Closes: https://bugs.gentoo.org/941767
    Thanks-to: Chris Hall <chall0+gentoo@gmail.com>
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 dev-scheme/guile/guile-2.2.7-r102.ebuild | 3 ---
 1 file changed, 3 deletions(-)