Summary: | app-emulation/xen-tools-3.4.1 don't compile on hardened | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Roma <droma> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | fabiano.francesconi, mail, mike, prometheanfire |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info emerge --info emerge --info xen-tools-3.4.2 on x86 build log xen-3-4-2 build log after applying changes to Rules.mk |
Description
David Roma
2009-08-18 14:32:27 UTC
Same happens here. Created attachment 208762 [details]
build log
Created attachment 208764 [details]
emerge --info
Created attachment 208765 [details]
emerge --info
Sorry the previous was the wrong machine
Created attachment 208766 [details]
emerge --info
Please, kill me. Statistics is killing me softly.
Switching to i686-pc-linux-gnu-4.3.4-hardenednopie seems to fix the issue although this is more a workaround than a solution. Same problem here, and workaround from #6 gets it to build. Interestingly amd64 builds fine. This problem keeps occurring even with xen-tools-3.4.2 When I emerge I get these errors, are these what you were seeing? blktapctrl.c: In function 'open_ctrl_socket': blktapctrl.c:765: error: implicit declaration of function 'mkdir' blktapctrl.c:767: error: implicit declaration of function 'mkfifo' Created attachment 278741 [details]
xen-tools-3.4.2 on x86 build log
Created attachment 278743 [details] xen-3-4-2 build log after applying changes to Rules.mk (In reply to comment #8) > This problem keeps occurring even with xen-tools-3.4.2 I confirm, problem exists with xen-tools-3.4.2 on x86 hardened (see attachment 278741 [details] for buildlog) I used solution given here, only to get another error, sililar to Matthew's (see attachment to this post) (In reply to comment #9) > When I emerge I get these errors, are these what you were seeing? > > blktapctrl.c: In function 'open_ctrl_socket': > blktapctrl.c:765: error: implicit declaration of function 'mkdir' > blktapctrl.c:767: error: implicit declaration of function 'mkfifo' Then, I used solution given here https://bugs.gentoo.org/show_bug.cgi?id=369615 (they use x64, but it worked for me on x86) After applying both solutions, I managed to build xen-tools. (In reply to comment #9) > When I emerge I get these errors, are these what you were seeing? > > blktapctrl.c: In function 'open_ctrl_socket': > blktapctrl.c:765: error: implicit declaration of function 'mkdir' > blktapctrl.c:767: error: implicit declaration of function 'mkfifo' Fixed in xen-tools-3.4.1-r1 |