Bug 1316840 - grub2-2.02-0.27.fc24 build failure on ppc64
grub2-2.02-0.27.fc24 build failure on ppc64
Product: Fedora
Classification: Fedora
Component: grub2 (Show other bugs)
ppc64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Peter Jones
Fedora Extras Quality Assurance
Depends On:
Blocks: PPCTracker
  Show dependency treegraph
Reported: 2016-03-11 04:32 EST by Ngo Than
Modified: 2017-08-08 09:07 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-08-08 09:07:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ngo Than 2016-03-11 04:32:03 EST
grub2-2.02-0.27.fc24 doesn't build on ppc64 in f24, it breaks with this error:

kern/efi/sb.c:22:28: fatal error: grub/cpu/linux.h: No such file or directory
 #include <grub/cpu/linux.h>
compilation terminated.
Makefile:32739: recipe for target 'kern/efi/kernel_exec-sb.o' failed

it builds fine with this change, i'm not sure if the patch is correct but it seems <grub/cpu/linux.h> is not used an the codes.

diff -up grub-2.02~beta3/grub-core/kern/efi/sb.c.than grub-2.02~beta3/grub-core/kern/efi/sb.c
--- grub-2.02~beta3/grub-core/kern/efi/sb.c.than        2016-03-11 04:18:35.814494235 -0500
+++ grub-2.02~beta3/grub-core/kern/efi/sb.c     2016-03-11 04:17:13.823148603 -0500
@@ -19,7 +19,7 @@
 #include <grub/err.h>
 #include <grub/mm.h>
 #include <grub/types.h>
-#include <grub/cpu/linux.h>
+//#include <grub/cpu/linux.h>
 #include <grub/efi/efi.h>
 #include <grub/efi/pe32.h>
 #include <grub/efi/linux.h>
Comment 1 Fedora End Of Life 2017-07-25 16:18:47 EDT
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Comment 2 Fedora End Of Life 2017-08-08 09:07:04 EDT
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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