RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1644880 - ship meson in RHEL 7
Summary: ship meson in RHEL 7
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: meson
Version: 7.6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Kalev Lember
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-31 19:30 UTC by Pat Riehecky
Modified: 2021-02-15 07:43 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-15 07:43:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pat Riehecky 2018-10-31 19:30:34 UTC
Description of problem:
pango-1.42.4-1.el7 requires meson which is not packaged in RHEL7

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Tomas Pelka 2018-10-31 21:06:09 UTC
This is actually not true or at least from what I can see from spec file. Meson is listed as BuildRequires which means it is needed only on build time. So unless you want to rebuild this components, which is not supported as far as I know, this is not a bug.

Can you please share more info?

-Tom

Comment 3 Akemi Yagi 2018-10-31 22:48:43 UTC
(In reply to Tomas Pelka from comment #2)

> So unless you want to rebuild this components, which is not supported
> as far as I know, this is not a bug.
> 
> Can you please share more info?
> 
> -Tom

That is the problem.

FTBFS = Fails To Build From Source

Rebuild projects such as CentOS and Scientific Linux are affected.

Comment 4 Peng Wu 2018-11-01 05:54:40 UTC
I think there are other GNOME packages also used meson.

Maybe we need to add meson to RHEL 7.6?

Comment 5 Tomas Pelka 2018-11-01 08:04:18 UTC
OK that explains it. Majority of Gnome packages are build with meson/ninja-build no more autotools.

There is meson/ninja-build in EPEL can you use it?

Comment 6 Pat Riehecky 2018-11-01 13:33:33 UTC
> There is meson/ninja-build in EPEL can you use it?

For Scientific Linux I've rebuilt these locally to get the i686 versions.  However, they require python36 and a handful of other packages.

Comment 7 Jens Petersen 2018-11-08 14:07:21 UTC
Meson should be available in RHEL 7.6, no?

Comment 8 Pat Riehecky 2018-11-08 14:10:24 UTC
meson is not packaged with RHEL.  It is in EPEL7 though.

Comment 11 Jens Petersen 2018-12-18 10:07:37 UTC
It took me a while to grok this problem/request since it is nothing specific to pango...

I suspect the answer will be WONTFIX, since I understand that it is difficult to include meson in RHEL7 due to dependency issues, but moving this to the meson component where it belongs (or possibly should be distribution).

Comment 12 Tomas Pelka 2018-12-18 10:39:28 UTC
I believe both meson and ninja-build are in epel.

Comment 13 Pablo Greco 2018-12-18 13:11:44 UTC
(In reply to Tomas Pelka from comment #12)
> I believe both meson and ninja-build are in epel.

Correct, but in my opinion, it is beyond this problem.
If someone needs to rebuild an original src.rpm, whatever the reason, should be able to do it without needing epel.
If RHEL uses meson and ninja-build to build its packages, they should be available "somewhere" within RHEL, it could even be a toolset.

Pablo

Comment 14 Tomas Pelka 2018-12-18 13:51:54 UTC
(In reply to Pablo Greco from comment #13)
> (In reply to Tomas Pelka from comment #12)
> > I believe both meson and ninja-build are in epel.
> 
> Correct, but in my opinion, it is beyond this problem.
> If someone needs to rebuild an original src.rpm, whatever the reason, should
> be able to do it without needing epel.
> If RHEL uses meson and ninja-build to build its packages, they should be
> available "somewhere" within RHEL, it could even be a toolset.
> 
> Pablo

Correct but if I'm not mistaken self-hosting is not supported so even if you rebuild pkg from src.rpm you will lose the support as it is technically a different package.

Comment 15 Alan Tegel 2019-04-17 15:42:27 UTC
I can share with you as an end customer who is having to build X11 to compile with some perforamnce testing needs and security requirements .... not having meson or ninja in with the tools has made compiling software a mother of all evils situation.

If you want to capture a feel of what happens to a customer .... take a minimal build system, and then take the goal of compiling X11R7 as the end product so you can have the software located in a non-Jail filesystem (in my example /pac).

Look at this hot mess ...

https://www.x.org/wiki/Building_the_X_Window_System/

Just from my notes ... so far (to help if you decide to try this out ....) ..

What can happen if RHEL isn't careful is an alternative linux can be used since it will work fine with the debian way.    Do note I am a big fan of your stuff, but in the past week I keep wondering which tech alter I need to bleed the sacrifical chickens on to make things go ....


# subscription-manager register
# subscription-manager auto-attach
# for f in rhel-7-server-{devtools,extras,optional}-{debug-rpms,source-rpms,rpms} rhel-7-server-rh-common-{debug-rpms,source-rpms,rpms} rhel-7-server-thirdparty-oracle-java-{rpms,source-rpms} rhel-server-rhscl-7-{debug-rpms,rpms}; do subscription-manager repos --enable=${f}; done
# rpm -qa > sncr-pac-build-1.txt
# sort sncr-pac-build-1.txt | awk '{split($0,a,".");!b[gensub(/-[0-9B].*/,"",a[1])]++}END{for(k in b) printf "%s\n", k; print}' > sncr-pac-build-1
# sort phs.txt | awk '{split($0,a,".");!b[gensub(/-[0-9B].*/,"",a[1])]++}END{for(k in b) printf "%s\n", k; print}' > phs
# yum remove desktop-file-utils emacs-filesystem iwl\* NetworkManager\* xdg-utils
# yum install zlib-devel devtoolset-8 devtoolset-8-\* byacc byaccj byaccj-debuginfo python-ply gettext gperf gperftools gperf-\* gperftools-\* m4 ncurses ncurses-\* autoconf automake libtool libtool-\*
# yum install llvm-toolset-7.0 llvm-toolset-7.0-\* llvm-private llvm-private\-* libpng libpng-\* libtalloc libtalloc-\* zlib zlib-\* mesa-\* mtdev mtdev-\* libgudev1 libgudev1-\* libgcrypt libgcrypt-\* crypto-utils fontconfig fontconfig-\* freetype freetype-\* asciidoc asciidoc-\* doxygen doxygen-\* xmlto xmlto-\* xmltoman libxslt pixman pixman-\* xkeyboard-config xkeyboard-config-\* libevdev libevdev-\*
# cd /tmp; wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum localinstall epel-release-latest-7.noarch.rpm 
# yum repolist
# yum -y install 
 xorg-x11-util-macros bison bison-\* python-mako libxshmfence libxshmfence-\* libxcb xcb-\* compat-libxcb-\* compat-xcb-util libXrandr libXrandr-\* libgcrypt libgcrypt-\* xorg-x11-apps xorg-x11-docs xorg-sgml-doctools xorg-x11-drivers xorg-x11-drv-\* xorg-x11-fonts-\* xorg-x11-resutils xorg-x11-server-\* xorg-x11-utils xorg-x11-xinit-session xorg-x11-fonts-misc xorg-x11-xkb-\* xorg-x11-xinit-debuginfo xorg-x11-xtrans-devel xorg-x11-server-debuginfo

Comment 19 RHEL Program Management 2021-02-15 07:43:54 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.