osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62417] configure: error: cannot run /usr/local/bin/bash build/config.sub similar to 21377


https://bz.apache.org/bugzilla/show_bug.cgi?id=62417

--- Comment #9 from Dennis Clarke <dclarke@xxxxxxxxxxxxx> ---
Well this whole process fell apart fast with the compiler saying : 

beta $ /usr/local/bin/gmake
Making all in srclib
gmake[1]: Entering directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/srclib'
gmake[1]: Leaving directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/srclib'
Making all in os
gmake[1]: Entering directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os'
Making all in unix
gmake[2]: Entering directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os/unix'
gmake[3]: Entering directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os/unix'
/usr/local/build-1/libtool --silent --mode=compile
/opt/developerstudio12.6/bin/cc -D_STDC_C99=    -Xa -g -errfmt=error
-erroff=%none -xmemalign=8s -errshort=full -xstrconst -xildoff -m64 -xnolibmil
-xcode=pic32 -xregs=no%appl -xlibmieee -ftrap=%none -xarch=sparc -mc -xs
-xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -D_TS_ERRNO
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE    -DSOLARIS2=10 -D_REENTRANT 
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
-D_TS_ERRNO   -I.
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os/unix
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/include
-I/usr/local/include/apr-1 -I/usr/local/include
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/aaa
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/cache
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/core
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/database
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/filters
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/ldap
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/server
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/loggers
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/lua
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/proxy
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/http2
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/session
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/ssl
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/test
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/server
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/md
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/arch/unix
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/dav/main
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/generators
-I/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/modules/mappers
 -prefer-non-pic -static -c unixd.c -o unixd.lo
"unixd.c", line 326: error: undefined struct/union member: use_specific_errors
"unixd.c", line 326: warning: implicit function declaration:
ap_accept_error_is_nonfatal
cc: acomp failed for unixd.c
gmake[3]: ***
[/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/build/rules.mk:207:
unixd.lo] Error 1
gmake[3]: Leaving directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os/unix'
gmake[2]: ***
[/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/build/rules.mk:75:
all-recursive] Error 1
gmake[2]: Leaving directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os/unix'
gmake[1]: ***
[/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/build/rules.mk:75:
all-recursive] Error 1
gmake[1]: Leaving directory
'/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/os'
gmake: ***
[/usr/local/build/httpd-trunk_rev_1832649_SunOS5.10_sparc64vii+.001/build/rules.mk:75:
all-recursive] Error 1
beta $ 

A quick diff from a previous build that works : 

beta $ diff ../httpd-2.4.rev_1832414_SunOS5.10_sparc64vii+.001/os/unix/unixd.c
./os/unix/unixd.c
20a21
> #include "http_core.h"
26a28
> #include "apr_signal.h"
183c185
<     if(apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
---
>     if (apr_procattr_cmdtype_set(attr, APR_PROGRAM) != APR_SUCCESS) {
321a324,329
>   
>     /* Let the caller handle slightly more varied return values */
>     if (lr->use_specific_errors && ap_accept_error_is_nonfatal(status)) { 
>         return status;
>     }
> 
510a519,525
> static void ap_terminate(void)
> {
>     ap_main_state = AP_SQ_MS_EXITING;
>     apr_pool_destroy(ap_pglobal);
>     apr_terminate();
> }
> 
519a535,544
>     else if (!ap_retained_data_get("ap_unixd_mpm_one_process_cleanup")) {
>         /* In one process mode (debug), httpd will exit immediately when asked
>          * to (SIGTERM/SIGINT) and never restart. We still want the cleanups to
>          * run though (such that e.g. temporary files/IPCs don't leak on the
>          * system), so the first time around we use atexit() to cleanup after
>          * ourselves.
>          */
>         ap_retained_data_create("ap_unixd_mpm_one_process_cleanup", 1);
>         atexit(ap_terminate);
>     }
beta $ 

So I will peck around and see what the issue is here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx