qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3
@ 2019-08-01 21:48 Toolybird
  2019-08-02  9:55 ` [Qemu-devel] [Bug 1838703] " Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Toolybird @ 2019-08-01 21:48 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

DESTDIR installs end up with wrong paths in JSON files installed to
$prefix/share/qemu/firmware. For example, the file:

  50-edk2-x86_64-secure.json

ends up incorrectly with:

  "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
code.fd",

instead of the correct:

  "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  New

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1838703] Re: Makefile BUG in edk2 firmware install 4.1.0-rc3
  2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
@ 2019-08-02  9:55 ` Philippe Mathieu-Daudé
  2019-08-02 22:48 ` Toolybird
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-08-02  9:55 UTC (permalink / raw)
  To: qemu-devel

Related to commit 26ce90fde5c.

What distribution/version are you using?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  New

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1838703] Re: Makefile BUG in edk2 firmware install 4.1.0-rc3
  2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
  2019-08-02  9:55 ` [Qemu-devel] [Bug 1838703] " Philippe Mathieu-Daudé
@ 2019-08-02 22:48 ` Toolybird
  2019-08-03  2:22 ` Laszlo Ersek (Red Hat)
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Toolybird @ 2019-08-02 22:48 UTC (permalink / raw)
  To: qemu-devel

I'm on Arch, but that shouldn't matter. It's a clear bug in the
Makefile.

I note that Fedora doesn't ship these blobs as they're provide by
separate edk2 package.

Attached patch fixes it for me.

** Patch added: "edk2 Makefile fix"
   https://bugs.launchpad.net/qemu/+bug/1838703/+attachment/5280623/+files/qemu-makefile.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  New

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1838703] Re: Makefile BUG in edk2 firmware install 4.1.0-rc3
  2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
  2019-08-02  9:55 ` [Qemu-devel] [Bug 1838703] " Philippe Mathieu-Daudé
  2019-08-02 22:48 ` Toolybird
@ 2019-08-03  2:22 ` Laszlo Ersek (Red Hat)
  2019-08-07 12:45 ` Laszlo Ersek (Red Hat)
  2019-08-16  4:44 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Laszlo Ersek (Red Hat) @ 2019-08-03  2:22 UTC (permalink / raw)
  To: qemu-devel

The same issue was reported and patched on qemu-devel by Olaf Hering two
months ago. The patch received three Reviewed-by tags, but nobody
bothered to queue it.

[Qemu-devel] [PATCH v1] Makefile: remove DESTDIR from firmware file cont

The thread is split over two months, hence two links below, into the mailing list archive:
https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg07093.html
https://lists.gnu.org/archive/html/qemu-devel/2019-06/msg00690.html

Patchew link:
https://patchew.org/QEMU/20190530192812.17637-1-olaf@aepfle.de/

There shouldn't be a need to post a new patch, just for someone to pick
up what's been posted already.

Phil: "get_maintainer.pl" reports no official owners for the root
Makefile, but you come out on top as commit-signer (26/70). Can you pick
this one up, please? Thanks!

** Changed in: qemu
       Status: New => In Progress

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  In Progress

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1838703] Re: Makefile BUG in edk2 firmware install 4.1.0-rc3
  2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
                   ` (2 preceding siblings ...)
  2019-08-03  2:22 ` Laszlo Ersek (Red Hat)
@ 2019-08-07 12:45 ` Laszlo Ersek (Red Hat)
  2019-08-16  4:44 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Laszlo Ersek (Red Hat) @ 2019-08-07 12:45 UTC (permalink / raw)
  To: qemu-devel

Fixed in commit 177cd674d620 ("Makefile: remove DESTDIR from firmware
file content", 2019-08-03), part of v4.1.0-rc4.

** Changed in: qemu
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  Fix Committed

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1838703] Re: Makefile BUG in edk2 firmware install 4.1.0-rc3
  2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
                   ` (3 preceding siblings ...)
  2019-08-07 12:45 ` Laszlo Ersek (Red Hat)
@ 2019-08-16  4:44 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2019-08-16  4:44 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1838703

Title:
  Makefile BUG in edk2 firmware install 4.1.0-rc3

Status in QEMU:
  Fix Released

Bug description:
  DESTDIR installs end up with wrong paths in JSON files installed to
  $prefix/share/qemu/firmware. For example, the file:

    50-edk2-x86_64-secure.json

  ends up incorrectly with:

    "filename": "/build/qemu/pkg/qemu/usr/share/qemu/edk2-x86_64-secure-
  code.fd",

  instead of the correct:

    "filename": "/usr/share/qemu/edk2-x86_64-secure-code.fd",

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1838703/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-16  4:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01 21:48 [Qemu-devel] [Bug 1838703] [NEW] Makefile BUG in edk2 firmware install 4.1.0-rc3 Toolybird
2019-08-02  9:55 ` [Qemu-devel] [Bug 1838703] " Philippe Mathieu-Daudé
2019-08-02 22:48 ` Toolybird
2019-08-03  2:22 ` Laszlo Ersek (Red Hat)
2019-08-07 12:45 ` Laszlo Ersek (Red Hat)
2019-08-16  4:44 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).