Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946725 - dev-libs/glib-2.80.5-r1[-introspection]: fails prepare on missing introspection dir
Summary: dev-libs/glib-2.80.5-r1[-introspection]: fails prepare on missing introspecti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 00:49 UTC by Peter Penkala
Modified: 2024-12-21 16:23 UTC (History)
1 user (show)

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


Attachments
emerge --info '=dev-libs/glib-2.80.5-r1::gentoo (emerge-info-glib.out,6.44 KB, text/plain)
2024-12-21 00:55 UTC, Peter Penkala
Details
build.log (build.log,2.41 KB, text/x-log)
2024-12-21 00:55 UTC, Peter Penkala
Details
Requested build log from the edited ebuild. (edited-ebuild_build.log,20.95 KB, text/x-log)
2024-12-21 04:44 UTC, Peter Penkala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Penkala gentoo-dev 2024-12-21 00:49:49 UTC
>>> Preparing source in /var/tmp/tmpfs/portage/dev-libs/glib-2.80.5-r1/work/glib-2.80.5 ...
/var/tmp/tmpfs/portage/dev-libs/glib-2.80.5-r1/temp/environment: line 4370: cd: /var/tmp/tmpfs/portage/dev-libs/glib-2.80.5-r1/work/gobject-introspection-1.80.1: No such file or directory

Reproducible: Always

Steps to Reproduce:
USE -introspection%
Actual Results:  
Fails during prepare phase.

Expected Results:  
Exclude gobject-introspection

I tried commenting out the lines in the ebuild related to the error:

        # bug #946578
        cd "${INTROSPECTION_SOURCE_DIR}" || die
        eapply "${FILESDIR}"/glib-2.80.5-gobject-introspection-1.80.patch
        cd "${S}" || die

prepare is then successful, but meson complains about 'packaging' missing.
Comment 1 Peter Penkala gentoo-dev 2024-12-21 00:55:18 UTC
Created attachment 914522 [details]
emerge --info '=dev-libs/glib-2.80.5-r1::gentoo

Also the output of emerge -pqv '=dev-libs/glib-2.80.5-r1::gentoo':


[ebuild     U ] dev-libs/glib-2.80.5-r1 [2.78.6] USE="elf (mime) xattr -dbus -debug -doc% -introspection% (-selinux) -static-libs -sysprof -systemtap -test -utils (-gtk-doc%)" ABI_X86="(64) -32 (-x32)"
Comment 2 Peter Penkala gentoo-dev 2024-12-21 00:55:56 UTC
Created attachment 914523 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-21 01:00:47 UTC
Please share the log from when you commented it out too.
Comment 4 Larry the Git Cow gentoo-dev 2024-12-21 01:04:08 UTC
The bug has been closed via the following commit(s):

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

commit 318cef1e679d0546067b91e95f9af4c1b4f4e411
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-21 01:01:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-21 01:02:27 +0000

    dev-libs/glib: don't try to patch non-existent sources w/ USE=-introspection
    
    Closes: https://bugs.gentoo.org/946725
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/glib/glib-2.80.5-r1.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Comment 5 Peter Penkala gentoo-dev 2024-12-21 04:44:50 UTC
Created attachment 914524 [details]
Requested build log from the edited ebuild.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-21 16:23:31 UTC
Thanks, that one is bug 946727.