Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394131 - app-portage/portage-utils-0.6 failed because of missing O_CLOEXEC
Summary: app-portage/portage-utils-0.6 failed because of missing O_CLOEXEC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 393163
  Show dependency tree
 
Reported: 2011-12-09 12:11 UTC by Naohiro Aota
Modified: 2011-12-09 16:55 UTC (History)
1 user (show)

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


Attachments
0001-Add-O_CLOEXEC-fallback-define.patch (0001-Add-O_CLOEXEC-fallback-define.patch,647 bytes, patch)
2011-12-09 12:11 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2011-12-09 12:11:59 UTC
Created attachment 295279 [details, diff]
0001-Add-O_CLOEXEC-fallback-define.patch

Failed with:

In file included from libq/libq.c:17:0,
                 from main.c:91:
libq/md5_sha1_sum.c: In function ‘hash_file_at_cb’:
libq/md5_sha1_sum.c:55:38: error: ‘O_CLOEXEC’ undeclared (first use in this function)
libq/md5_sha1_sum.c:55:38: note: each undeclared identifier is reported only once for each function it appears in
Comment 1 SpanKY gentoo-dev 2011-12-09 16:53:18 UTC
Comment on attachment 295279 [details, diff]
0001-Add-O_CLOEXEC-fallback-define.patch

O_CLOEXEC gets used in a lot more places than this one file
Comment 2 SpanKY gentoo-dev 2011-12-09 16:55:58 UTC
this was easy enough to make work

http://sources.gentoo.org/gentoo-projects/portage-utils/main.h?r1=1.9&r2=1.10