#3584 closed defect (fixed)
[bug] apache2 fails to build
Reported by: | paulbeard@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
---> Building apache2 with target all Making all in srclib Making all in pcre make[3]: Nothing to be done for `local-all'. Making all in os Making all in unix /opt/local/share/apr-0/build/libtool --silent --mode=compile gcc -g -O2 -DDARWIN - DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DAP_HAVE_DESIGNATED_INITIALIZER -I/ opt/local/include/apr-0 -I/opt/local/include -I. -I/opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/os/unix -I/opt/local/var/ db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/server/ mpm/prefork -I/opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/modules/http -I/opt/local/ var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/ modules/filters -I/opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/modules/proxy -I/opt/ local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/ include -I/opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/modules/generators -I/opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/server -I/opt/local/include/ openssl -I/opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/ work/httpd-2.0.54/modules/dav/main -prefer-non-pic -static -c unixd.c && touch unixd.lo In file included from unixd.c:19: /opt/local/include/httpd.h:170: error: parse error before 'FILE' /opt/local/include/httpd.h:170: warning: no semicolon at end of struct or union /opt/local/include/httpd.h:172: warning: data definition has no type or storage class /opt/local/include/httpd.h:181: error: parse error before '*' token /opt/local/include/httpd.h:181: error: 'httpdAddCContent' declared as function returning a function /opt/local/include/httpd.h:181: error: parse error before 'void' /opt/local/include/httpd.h:182: error: parse error before '*' token /opt/local/include/httpd.h:182: error: 'httpdAddFileContent' declared as function returning a function /opt/local/include/httpd.h:182: error: parse error before 'char' /opt/local/include/httpd.h:183: error: parse error before '*' token /opt/local/include/httpd.h:183: error: 'httpdAddStaticContent' declared as function returning a function /opt/local/include/httpd.h:183: error: parse error before 'char' /opt/local/include/httpd.h:184: error: parse error before '*' token /opt/local/include/httpd.h:184: error: 'httpdAddWildcardContent' declared as function returning a function /opt/local/include/httpd.h:184: error: parse error before 'char' /opt/local/include/httpd.h:185: error: parse error before '*' token /opt/local/include/httpd.h:185: error: 'httpdAddCWildcardContent' declared as function returning a function /opt/local/include/httpd.h:185: error: parse error before 'void' /opt/local/include/httpd.h:186: error: parse error before '*' token /opt/local/include/httpd.h:187: error: parse error before '*' token /opt/local/include/httpd.h:188: error: parse error before '*' token /opt/local/include/httpd.h:189: error: parse error before '*' token /opt/local/include/httpd.h:191: error: parse error before '*' token /opt/local/include/httpd.h:194: error: parse error before '*' token /opt/local/include/httpd.h:195: error: parse error before '*' token /opt/local/include/httpd.h:196: error: parse error before '*' token /opt/local/include/httpd.h:197: error: parse error before '*' token /opt/local/include/httpd.h:199: error: parse error before '*' token /opt/local/include/httpd.h:199: warning: data definition has no type or storage class /opt/local/include/httpd.h:200: error: parse error before '*' token /opt/local/include/httpd.h:201: error: parse error before '*' token /opt/local/include/httpd.h:202: error: parse error before '*' token /opt/local/include/httpd.h:203: error: parse error before '*' token /opt/local/include/httpd.h:204: error: parse error before '*' token /opt/local/include/httpd.h:205: error: parse error before '*' token /opt/local/include/httpd.h:206: error: parse error before '*' token /opt/local/include/httpd.h:207: error: parse error before '*' token /opt/local/include/httpd.h:209: error: parse error before '*' token /opt/local/include/httpd.h:210: error: parse error before '*' token /opt/local/include/httpd.h:211: error: parse error before '*' token /opt/local/include/httpd.h:213: error: parse error before '*' token /opt/local/include/httpd.h:214: error: parse error before '*' token /opt/local/include/httpd.h:215: error: parse error before '*' token /opt/local/include/httpd.h:218: error: parse error before '*' token In file included from unixd.c:20: /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:267: error: parse error before 'ap_method_list_t' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:267: warning: no semicolon at end of struct or union /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:280: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:280: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:295: error: parse error before '}' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:331: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:353: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:744: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:752: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:780: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:780: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:783: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:789: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:804: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:813: error: parse error before 'ap_create_request_config' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:813: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:820: error: parse error before 'ap_create_per_dir_config' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:820: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:828: error: parse error before 'ap_merge_per_dir_configs' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:830: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:838: error: parse error before 'ap_create_conn_config' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:838: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:851: error: parse error before 'ap_parse_htaccess' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:852: error: parse error before 'request_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:854: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:864: error: parse error before 'ap_init_virtual_host' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:866: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:867: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:877: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:888: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:898: error: parse error before 'ap_invoke_handler' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:898: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:898: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:908: error: parse error before 'ap_find_command' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:909: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:917: error: parse error before 'ap_find_command_in_modules' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:918: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:931: error: parse error before 'ap_set_config_vectors' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:931: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:934: warning: data definition has no type or storage class /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:945: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:945: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:966: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:966: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:977: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:977: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:985: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:985: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:992: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:992: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:1005: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:1005: error: parse error before '*' token In file included from unixd.c:22: /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:117: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:149: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:197: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:206: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:276: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:276: error: parse error before '*' token unixd.c: In function 'unixd_set_rlimit': unixd.c:238: error: dereferencing pointer to incomplete type unixd.c:242: error: dereferencing pointer to incomplete type unixd.c:243: error: dereferencing pointer to incomplete type unixd.c:247: error: dereferencing pointer to incomplete type unixd.c:256: error: dereferencing pointer to incomplete type unixd.c:257: error: dereferencing pointer to incomplete type unixd.c:261: error: dereferencing pointer to incomplete type unixd.c:269: error: dereferencing pointer to incomplete type unixd.c:270: error: dereferencing pointer to incomplete type make[3]: * [unixd.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54" && make all" returned error 2 Command output: /opt/local/var/db/dports/build/ file._Users_paul_Documents_src_dports_www_apache2/work/httpd-2.0.54/include/http_config.h:966: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:977: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:977: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:985: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:985: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:992: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:992: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:1005: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_config.h:1005: error: parse error before '*' token In file included from unixd.c:22: /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:117: error: parse error before 'server_rec' /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:149: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:197: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:206: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:276: error: parse error before '*' token /opt/local/var/db/dports/build/file._Users_paul_Documents_src_dports_www_apache2/work/ httpd-2.0.54/include/http_log.h:276: error: parse error before '*' token unixd.c: In function 'unixd_set_rlimit': unixd.c:238: error: dereferencing pointer to incomplete type unixd.c:242: error: dereferencing pointer to incomplete type unixd.c:243: error: dereferencing pointer to incomplete type unixd.c:247: error: dereferencing pointer to incomplete type unixd.c:256: error: dereferencing pointer to incomplete type unixd.c:257: error: dereferencing pointer to incomplete type unixd.c:261: error: dereferencing pointer to incomplete type unixd.c:269: error: dereferencing pointer to incomplete type unixd.c:270: error: dereferencing pointer to incomplete type make[3]: * [unixd.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1
Warning: the following items did not execute (for apache2): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
Also, james@… is shown as the maintainer but bugzilla doesn't know anything about him.
Change History (5)
comment:1 Changed 19 years ago by jmpp@…
Component: | dp-cocoa → dports |
---|
comment:2 Changed 19 years ago by mww@…
comment:3 Changed 19 years ago by paulbeard@…
white:~ paul$ port provides /opt/local/include/httpd.h /opt/local/include/httpd.h is not provided by a DarwinPorts port.
comment:4 Changed 19 years ago by paulbeard@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
So I moved that httpd.h file aside and ran port install again: worked like a charm.
No idea where that came from, but I'll call it resolved.
what port owns "/opt/local/include/httpd.h"? Seems like this one gets included though shouldnt...