Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487380 - =app-emulation/qemu-9999 - qemu-9999-cflags.patch fails, need to add -U_FORTIFY_SOURCE
Summary: =app-emulation/qemu-9999 - qemu-9999-cflags.patch fails, need to add -U_FORTI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-09 05:45 UTC by James Cloos
Modified: 2014-04-19 14:46 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2013-10-09 05:45:02 UTC
The patch needs this patch:

    s/-D_FORTIFY_SOURCE/-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE/

With that, it succeeds and the emerge continues on to compilation.
(Which I expect also will succeed.)
Comment 1 James Cloos 2013-10-09 18:41:32 UTC
That patch to the patch is enough to get compile to finish, but it still fails in install.

The QMP directory is gone as of commit 212774c5a50.

Even with -python the install fails in dodoc, due to the portage bug whereby missing dodoc files kill the whole merge.
Comment 2 James Cloos 2013-10-09 18:43:09 UTC
Hit save too soon....

For the docs, commit 7537fe0487 moved:

  QMP: QMP/ -> docs/qmp/
Comment 3 Anton Kochkov 2013-10-25 22:23:37 UTC
Can confirm that bug
Comment 4 Richard Yao (RETIRED) gentoo-dev 2013-11-22 19:52:59 UTC
I have reproduced this bug on my development system. I am marking it as confirmed.

I can confirm that the fix proposed by James Cloos allows us to get pass src_prepare(), but src_install() fails on the latest head with the following:

mv: cannot move ‘/var/tmp/portage/app-emulation/qemu-9999/image//usr/share/doc/qemu-9999/html/qmp-commands.txt’ to ‘/var/tmp/portage/app-emulation/qemu-9999/work/qemu-9999/QMP/’: Not a directory
/usr/bin/install: cannot stat ‘QMP/qmp-commands.txt’: No such file or directory
!!! dodoc: QMP/qmp-commands.txt does not exist
/usr/bin/install: cannot stat ‘QMP/qmp-events.txt’: No such file or directory
!!! dodoc: QMP/qmp-events.txt does not exist
/usr/bin/install: cannot stat ‘QMP/qmp-spec.txt’: No such file or directory
!!! dodoc: QMP/qmp-spec.txt does not exist