Bug 96865

Summary: www/apache13 doesn`t compile
Product: Ports & Packages Reporter: Pawel Pekala <c0rn>
Component: Individual Port(s)Assignee: Andrey A. Chernov <ache>
Status: Closed FIXED    
Severity: Affects Only Me CC: ache
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Pawel Pekala 2006-05-06 15:20:18 UTC

alloc.c: In function `spawn_child_core':
alloc.c:2411: error: `STDOUT_FILENO' undeclared (first use in this function)
alloc.c:2411: error: (Each undeclared identifier is reported only once
alloc.c:2411: error: for each function it appears in.)
alloc.c:2417: error: `STDIN_FILENO' undeclared (first use in this function)
alloc.c:2423: error: `STDERR_FILENO' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/www/apache13/work/apache_1.3.34/src/main.
*** Error code 1

Stop in /usr/ports/www/apache13/work/apache_1.3.34/src.
*** Error code 1

Stop in /usr/ports/www/apache13/work/apache_1.3.34.
*** Error code 1

Stop in /usr/ports/www/apache13/work/apache_1.3.34.
*** Error code 1

Stop in /usr/ports/www/apache13.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-06 15:24:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer
Comment 2 Andrey A. Chernov freebsd_committer freebsd_triage 2006-05-07 05:40:38 UTC
State Changed
From-To: open->feedback

I can't reproduce that. 
STDIN_FILENO declared in <unistd.h> which is included in ap_config.h which is  
included in httpd.h which is included in alloc.c 
1) Try to inspect why unistd.h is not included in your case. 
2) Try to build apache not from port but directly from distribution to see you'll 
catch the same error or not.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-11-29 22:59:31 UTC
State Changed
From-To: feedback->closed

Feedback timeout (6 months)