Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845072 - x11-apps/mesa-progs-9999 configure: error: the autotools build system has been deprecated in favour of meson
Summary: x11-apps/mesa-progs-9999 configure: error: the autotools build system has bee...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 20:27 UTC by jospezial
Modified: 2022-06-01 12:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,28.12 KB, text/plain)
2022-05-16 20:29 UTC, jospezial
Details
Here's my work in progress (mesa-progs-9999.ebuild,1.85 KB, text/plain)
2022-05-17 01:56 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2022-05-16 20:27:53 UTC
since commit
https://gitlab.freedesktop.org/mesa/demos/-/commit/2df8e9710834c3b42ce5cfb67b7662c110ab904e
"configure.ac: mark autotools and cmake as deprecated"

configure: error: the autotools build system has been deprecated in favour
    of meson, and will be removed eventually. For instructions on how to
    use meson, see index.html.
    If you still want to use the autotools build, then add --enable-autotools
    to the configure command line.

I am unsure where to put that option in the ebuild.
I think a configure phase has to be added to the ebuild.
But it could be better to convert to meson build.
Comment 1 jospezial 2022-05-16 20:29:23 UTC
Created attachment 779264 [details]
build.log
Comment 2 Matt Turner gentoo-dev 2022-05-16 20:56:04 UTC
I saw FireBurn reported this on IRC as well. Cc'ing him.

I'd appreciate if someone could lighten my load and port the ebuild to meson.
Comment 3 Mike Lothian 2022-05-17 01:56:54 UTC
Created attachment 779294 [details]
Here's my work in progress

This installs a lot of programs, some of which conflict with other already installed

I wanted to bring back 32bit support, which is handy for testing out 32bit drivers

I need to sort the dependencies better, and probably delete half the things it creates

It's 3am here, so will head to bed now, I'm probably going to be busy for the next few nights hence why I'm posting the WIP
Comment 4 Mike Lothian 2022-05-17 01:57:12 UTC
* Detected file collision(s):
 * 
 *      /usr/bin/bitmap
 *      /usr/bin/line
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-apps/util-linux-2.38:0::gentoo
 *      /usr/bin/line
 * 
 * x11-apps/bitmap-1.1.0:0::gentoo
 *      /usr/bin/bitmap
Comment 5 Larry the Git Cow gentoo-dev 2022-05-30 17:25:16 UTC
The bug has been closed via the following commit(s):

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

commit 579a702668e5ce1e81586c7f5596814e89cb70b5
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-05-30 16:03:09 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-05-30 17:24:59 +0000

    x11-apps/mesa-progs: Switch to meson
    
    Closes: https://bugs.gentoo.org/845072
    Co-authored-by: Mike Lothian <mike@fireburn.co.uk>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../files/8.5.0-Disable-things-we-don-t-want.patch | 254 +++++++++++++++++++++
 x11-apps/mesa-progs/mesa-progs-9999.ebuild         |  91 ++++----
 2 files changed, 304 insertions(+), 41 deletions(-)
Comment 6 Mike Lothian 2022-06-01 08:32:25 UTC
Thanks for sorting that out Matt, I was totally stuck on how to deal with all the extra programs
Comment 7 Matt Turner gentoo-dev 2022-06-01 12:43:53 UTC
You're welcome! Thanks for giving me the head start!