Bug 1473677 - 'mock --init -r fedora-rawhide-x86_64' does not work on RHEL-6 any more
Summary: 'mock --init -r fedora-rawhide-x86_64' does not work on RHEL-6 any more
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-21 12:19 UTC by Kamil Dudka
Modified: 2017-07-22 08:12 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-21 12:45:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2017-07-21 12:19:42 UTC
Description of problem:
mock can no longer be used to build Fedora rawhide packages on a RHEL-6 box
because glibc started to require a newer running kernel.  The required kernel
version is, however, not available for RHEL-6.


Version-Release number of selected component (if applicable):
glibc-2.25.90-27.fc27


Steps to Reproduce:
# yum install mock
# mock --yum --init -r fedora-rawhide-x86_64


Actual results:
[...]
  Installing : glibc-common-2.25.90-25.fc27.x86_64                     19/157 
Error in PREIN scriptlet in rpm package glibc-2.25.90-25.fc27.x86_64
error: lua script failed: FATAL: kernel too old
error:   install: %pre scriptlet failed (2), skipping glibc-2.25.90-25.fc27
  Installing : ncurses-libs-6.0-10.20170520.fc27.x86_64                21/157 
warning: %post(ncurses-libs-6.0-10.20170520.fc27.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package ncurses-libs-6.0-10.20170520.fc27.x86_64
  Installing : bash-4.4.12-6.fc27.x86_64                               22/157 
  Installing : libsepol-2.6-1.fc26.x86_64                              23/157 
warning: %post(libsepol-2.6-1.fc26.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package libsepol-2.6-1.fc26.x86_64
  Installing : pcre-8.41-1.fc27.x86_64                                 24/157
[...]


Expected results:
Successfully initialized mock profile.


Additional info:
This is a regression introduced by the following downstream commit:
https://src.fedoraproject.org/cgit/rpms/glibc.git/commit/?id=fda3e070

Comment 1 Carlos O'Donell 2017-07-21 12:45:31 UTC
(In reply to Kamil Dudka from comment #0)
> Description of problem:
> mock can no longer be used to build Fedora rawhide packages on a RHEL-6 box
> because glibc started to require a newer running kernel.  The required kernel
> version is, however, not available for RHEL-6.

This is the expected behaviour. You need a Linux 3.2 or newer kernel to run glibc 2.25.90 (2.26 development series).

You can no longer build Fedora Rawhide packages on RHEL 6. Workarounds include booting a VM with a newer Linux kernel to build glibc. Alternatively you can upgrade to RHEL 7.

From the glibc NEWS:

Version 2.26

...

* The minimum Linux kernel version that this version of the GNU C Library
  can be used with on i[4567]86 and x86_64 is 3.2.  A Linux 3.2 or later
  kernel was already required on all other architectures.

Therefore this is CLOSED / NOTABUG.

Eventually upstream will remove the "FATAL: kernel to old" error message and allow individual syscalls to fail.


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