Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938822 - dev-libs/glib: missing meson.x86_64-pc-linux-gnu.ini.local
Summary: dev-libs/glib: missing meson.x86_64-pc-linux-gnu.ini.local
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-31 09:17 UTC by Hao Lin
Modified: 2024-09-01 00:38 UTC (History)
4 users (show)

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


Attachments
emerge--info (emerge--info.txt,6.16 KB, text/plain)
2024-08-31 09:17 UTC, Hao Lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hao Lin 2024-08-31 09:17:11 UTC
Created attachment 901763 [details]
emerge--info

It would seem that a commit in 8/31 (https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-libs/glib?id=fb1e5b03c92bf64617787852b03a5848fca844cb) added the requirement for the meson.${CHOST}.ini.local file for glib configure. But the file is missing right now, causing configure failure.

Simply removing the newly added configure option --native-file "${native_file}" from the ebuild seems to solve the issue.

-----------------------------------------------------------------------------

meson setup -Db_lto=true -Db_lto_threads=7 --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/dev-libs/glib-2.78.6/temp/python3.12/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/dev-libs/glib-2.78.6/temp/python3.12/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/dev-libs/glib-2.78.6/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain --native-file /var/tmp/portage/dev-libs/glib-2.78.6/temp/meson.x86_64-pc-linux-gnu.ini.local -Dglib_debug=disabled -Ddefault_library=shared -Druntime_dir=/run -Dselinux=disabled -Dxattr=true -Dlibmount=enabled -Dman=true -Ddtrace=false -Dsystemtap=false -Dsysprof=disabled -Dgtk_doc=false -Dtests=false -Dinstalled_tests=false -Dnls=enabled -Doss_fuzz=disabled -Dlibelf=enabled -Dmultiarch=false /var/tmp/portage/dev-libs/glib-2.78.6/work/glib-2.78.6 /var/tmp/portage/dev-libs/glib-2.78.6/work/glib-2.78.6-abi_x86_64.amd64
Could not find any valid candidate for native files: /var/tmp/portage/dev-libs/glib-2.78.6/temp/meson.x86_64-pc-linux-gnu.ini.local

ERROR: Cannot find specified native file: /var/tmp/portage/dev-libs/glib-2.78.6/temp/meson.x86_64-pc-linux-gnu.ini.local
 * ERROR: dev-libs/glib-2.78.6::gentoo failed (configure phase):
 *   configure failed
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-31 09:20:31 UTC
Adding a touch should fix it. I can't commit a fox until tonight. 

(Whoever does it, please do the same for other meson ebuilds I did earlier.)
Comment 2 Hao Lin 2024-08-31 09:25:50 UTC
Thanks for the information!
Comment 3 Larry the Git Cow gentoo-dev 2024-08-31 13:11:29 UTC
The bug has been closed via the following commit(s):

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

commit f10f79f320fbac62473d3d68230acf87a7e7d158
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-08-31 13:10:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-08-31 13:10:00 +0000

    dev-libs/glib: Add meson.${CHOST}.ini.local file in src_prepare
    
     - expected by the build system.
    
    Closes: https://bugs.gentoo.org/938822
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/glib/glib-2.78.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-08-31 13:47:57 UTC
The bug has been closed via the following commit(s):

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

commit e0d489eeab243a77861cd19266d7e6869e833f5f
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-31 13:20:13 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-08-31 13:47:55 +0000

    dev-libs/glib: only pass --native-file when we actually use it.
    
    Closes: https://bugs.gentoo.org/938822
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/glib/glib-2.76.4.ebuild    | 21 +++++++++++----------
 dev-libs/glib/glib-2.78.3.ebuild    | 21 +++++++++++----------
 dev-libs/glib/glib-2.78.4-r1.ebuild | 21 +++++++++++----------
 dev-libs/glib/glib-2.78.6.ebuild    | 25 +++++++++++--------------
 dev-libs/glib/glib-2.80.4.ebuild    | 21 +++++++++++----------
 5 files changed, 55 insertions(+), 54 deletions(-)