Opened 3 years ago
Closed 3 years ago
#63303 closed defect (duplicate)
apr-util @1.6.1_2+openldap build failure on Big Sur
Reported by: | sudhee99 | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | apr-util |
Description (last modified by jmroot (Joshua Root))
Hi,
If i execute command 'sudo /opt/local/bin/port install apr-util +openldap' in Apple M1 chip Macmini with Bigsur OS getting following error:
---> Computing dependencies for apr-util ---> Fetching archive for apr-util ---> Attempting to fetch apr-util-1.6.1_2+openldap.darwin_20.arm64.tbz2 from https://packages.macports.org/apr-util ---> Attempting to fetch apr-util-1.6.1_2+openldap.darwin_20.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/apr-util ---> Attempting to fetch apr-util-1.6.1_2+openldap.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/apr-util ---> Building apr-util Error: Failed to build apr-util: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port apr-util failed.
Log file is attached with this.
Attachments (1)
Change History (4)
Changed 3 years ago by sudhee99
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to danielluke |
Port: | apr-util added |
Status: | new → assigned |
Summary: | Unable to install apr-util → apr-util @1.6.1_2+openldap build failure on Big Sur |
comment:2 Changed 3 years ago by sudhee99
Hi,
Tried above mentioned step. But getting following error:
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1' make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1' /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_brigade.lo -c buckets/apr_brigade.c && touch buckets/apr_brigade.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets.lo -c buckets/apr_buckets.c && touch buckets/apr_buckets.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_alloc.lo -c buckets/apr_buckets_alloc.c && touch buckets/apr_buckets_alloc.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_eos.lo -c buckets/apr_buckets_eos.c && touch buckets/apr_buckets_eos.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_file.lo -c buckets/apr_buckets_file.c && touch buckets/apr_buckets_file.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_flush.lo -c buckets/apr_buckets_flush.c && touch buckets/apr_buckets_flush.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_heap.lo -c buckets/apr_buckets_heap.c && touch buckets/apr_buckets_heap.lo /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch arm64 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/private -I/opt/local/include -I/opt/local/include/apr-1 -I/opt/local/include -o buckets/apr_buckets_mmap.lo -c buckets/apr_buckets_mmap.c && touch buckets/apr_buckets_mmap.lo clang: clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot]warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot] buckets/apr_buckets_alloc.c:17:10: fatal error: 'stdlib.h' file not found #include <stdlib.h> ^~~~~~~~~~ In file included from buckets/apr_buckets_heap.c:17: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/apr_buckets.h:29: In file included from /opt/local/include/apr-1/apr_network_io.h:24: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ In file included from buckets/apr_buckets.c:17: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/apr_buckets.h:29: In file included from /opt/local/include/apr-1/apr_network_io.h:24: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ 1 error generated. In file included from buckets/apr_buckets_eos.c:17: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/apr_buckets.h:29: In file included from /opt/local/include/apr-1/apr_network_io.h:24: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ In file included from buckets/apr_buckets_flush.c:17: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/apr_buckets.h:29: In file included from /opt/local/include/apr-1/apr_network_io.h:24: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ 1 error generated. 1 error generated. make[1]: *** [buckets/apr_buckets_alloc.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [buckets/apr_buckets_heap.lo] Error 1 In file included from buckets/apr_brigade.c:17: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ In file included from buckets/apr_buckets_mmap.c:17: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1/include/apr_buckets.h:29: In file included from /opt/local/include/apr-1/apr_network_io.h:24: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ In file included from buckets/apr_buckets_file.c:17: /opt/local/include/apr-1/apr.h:165:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ 1 error generated. make[1]: *** [buckets/apr_buckets.lo] Error 1 1 error generated. 1 error generated. make[1]: *** [buckets/apr_buckets_eos.lo] Error 1 make[1]: *** [buckets/apr_buckets_mmap.lo] Error 1 1 error generated. make[1]: *** [buckets/apr_buckets_flush.lo] Error 1 1 error generated. make[1]: *** [buckets/apr_buckets_file.lo] Error 1 make[1]: *** [buckets/apr_brigade.lo] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1' make: *** [all-recursive] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apr-util/apr-util/work/apr-util-1.6.1'
comment:3 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Likely a duplicate of #61321, but please clean apr-util and try the installation again in order to generate a complete log.