Summary: | sys-block/gpart-0.1h-r1 fails to build with _FORTIFY_SOURCE=2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | email, ikelos, kogorman, matimatik, mimosinnet, stefano.priore |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 308135 | ||
Bug Blocks: | 259417 | ||
Attachments: |
Build log
fix for O_CREAT bug in gpart.c |
Description
Diego Elio Pettenò (RETIRED)
![]() I don't see any build.log. Created attachment 183947 [details]
Build log
Created attachment 184610 [details, diff]
fix for O_CREAT bug in gpart.c
There would seem to be another occurance of this error: In function 'open', inlined from 'make_mbr_backup' at gpart.c:1224, inlined from 'main' at gpart.c:1829: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[1]: *** [gpart.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/back/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src' make: *** [gpart] Error 2 * * ERROR: sys-block/gpart-0.1h-r1 failed. Bump *** Bug 295142 has been marked as a duplicate of this bug. *** (In reply to comment #4) > There would seem to be another occurance of this error: > > > In function 'open', > inlined from 'make_mbr_backup' at gpart.c:1224, > inlined from 'main' at gpart.c:1829: > /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared > with attribute error: open with O_CREAT in second argument needs 3 arguments > make[1]: *** [gpart.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory > `/back/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src' > make: *** [gpart] Error 2 > * > * ERROR: sys-block/gpart-0.1h-r1 failed. > I can confirm this on i686/amd64. (In reply to comment #4) > In function 'open', > inlined from 'make_mbr_backup' at gpart.c:1224, > inlined from 'main' at gpart.c:1829: > /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared > with attribute error: open with O_CREAT in second argument needs 3 arguments > make[1]: *** [gpart.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory > `/back/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src' > make: *** [gpart] Error 2 > * > * ERROR: sys-block/gpart-0.1h-r1 failed. I was having the same error. sys-block/gpart-0.1h-r2 emerged with no errors. *** Bug 307417 has been marked as a duplicate of this bug. *** as noted, this has been fixed in 0.1h-r2 already |