[Bug 239451] devel/apr1 fails to build on 13.0-CURRENT r350103 ppc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 26 05:03:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239451

            Bug ID: 239451
           Summary: devel/apr1 fails to build on 13.0-CURRENT r350103
                    ppc64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache at FreeBSD.org
          Reporter: dclarke at blastwave.org
          Assignee: apache at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)

Very odd problem wherein : 

hydra# uname -apKU
FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT r350103 GENERIC  powerpc
powerpc64 1300036 1300036
hydra# 
hydra# 
hydra# pwd
/usr/ports/devel/apr1
hydra# 
hydra# make clean 
===>  Cleaning for apr-1.6.5.1.6.1_1
hydra# 


hydra# ls -la 
total 184
drwxr-xr-x     2 root  wheel     512 Jul 26 04:51 .
drwxr-xr-x  6305 root  wheel  156672 Jul 23 13:22 ..
-rw-r--r--     1 root  wheel     286 Oct 27  2018 distinfo
-rw-r--r--     1 root  wheel    5908 Nov 11  2018 Makefile
-rw-r--r--     1 root  wheel     337 May 19  2016 pkg-descr
-rw-r--r--     1 root  wheel     355 Jul 13  2017 pkg-message
-rw-r--r--     1 root  wheel    3807 Jul 12  2017 pkg-plist
hydra# make install 
===>  License APACHE20 accepted by the user
===>   apr-1.6.5.1.6.1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by apr-1.6.5.1.6.1_1 for building
===>  Extracting for apr-1.6.5.1.6.1_1
=> SHA256 Checksum OK for apr-1.6.5.tar.gz.
=> SHA256 Checksum OK for apr-util-1.6.1.tar.gz.
===>  Patching for apr-1.6.5.1.6.1_1
===>   apr-1.6.5.1.6.1_1 depends on package: libiconv>=1.14_11 - found
===>   apr-1.6.5.1.6.1_1 depends on shared library: libexpat.so - found
(/usr/local/lib/libexpat.so)
===>   apr-1.6.5.1.6.1_1 depends on shared library: libgdbm.so - found
(/usr/local/lib/libgdbm.so)
===>   apr-1.6.5.1.6.1_1 depends on shared library: libodbc.so - found
(/usr/local/lib/libodbc.so)
===>   apr-1.6.5.1.6.1_1 depends on shared library: libdb-5.3.so - found
(/usr/local/lib/libdb-5.3.so)
===>   apr-1.6.5.1.6.1_1 depends on shared library: libmysqlclient.so.20 -
found (/usr/local/lib/mysql/libmysqlclient.so.20)
===>   apr-1.6.5.1.6.1_1 depends on shared library: libpq.so.5 - found
(/usr/local/lib/libpq.so.5)
===>  Configuring for apr-1.6.5.1.6.1_1
# ===> do-configure apr-1.6.5
(cd /usr/ports/devel/apr1/work/apr-1.6.5 &&  /usr/bin/env CONFIG_SHELL=/bin/sh
CONFIG_SITE=/usr/ports/Templates/config.site HOME=/usr/ports/devel/apr1/work
PATH=/usr/ports/devel/apr1/work/.bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/schily/bin
SHELL=/bin/sh TMPDIR="/var/tmp/root" XDG_CONFIG_HOME=/usr/ports/devel/apr1/work
XDG_DATA_HOME=/usr/ports/devel/apr1/work lt_cv_sys_max_cmd_len=262144 CC="cc"
CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing " CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include"
./configure --with-installbuilddir=/usr/local/share/apr/build-1 
--enable-threads  --enable-posix-shm  --with-devrandom --enable-ipv6
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS})
configure: loading site script /usr/ports/Templates/config.site
checking build system type... powerpc64-unknown-freebsd13.0
checking host system type... powerpc64-unknown-freebsd13.0
checking target system type... powerpc64-unknown-freebsd13.0
Configuring APR library
Platform: powerpc64-unknown-freebsd13.0
checking for working mkdir -p... yes
APR Version: 1.6.5
checking for chosen layout... apr
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a sed that does not truncate output... (cached) /usr/bin/sed
Applying APR hints file rules for powerpc64-unknown-freebsd13.0
  setting apr_lock_method to "USE_FLOCK_SERIALIZE"
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... cc -E
checking for gawk... (cached) /usr/bin/awk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... (cached) /usr/bin/install
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
.
.
.
/usr/ports/devel/apr1/work/apr-1.6.5/build/mkdir.sh
/usr/ports/devel/apr1/work/stage/usr/local/include/apr-1
/usr/ports/devel/apr1/work/stage/usr/local/libdata/pkgconfig 
/usr/ports/devel/apr1/work/stage/usr/local/lib
/usr/ports/devel/apr1/work/stage/usr/local/bin
for f in /usr/ports/devel/apr1/work/apr-util-1.6.1/include/*.h
/usr/ports/devel/apr1/work/apr-util-1.6.1/include/*.h; do  /usr/bin/install -m
644 ${f} /usr/ports/devel/apr1/work/stage/usr/local/include/apr-1;  done
/usr/bin/install -m 644 apr-util.pc
/usr/ports/devel/apr1/work/stage/usr/local/libdata/pkgconfig/apr-util-1.pc
list=''; for i in $list; do  ( cd $i ; /usr/bin/make
DESTDIR=/usr/ports/devel/apr1/work/stage install );  done
/bin/sh /usr/ports/devel/apr1/work/apr-1.6.5/libtool --mode=install
/usr/bin/install -m 755 libaprutil-1.la
/usr/ports/devel/apr1/work/stage/usr/local/lib
libtool: warning: relinking 'libaprutil-1.la'
libtool: install: (cd /usr/ports/devel/apr1/work/apr-util-1.6.1; /bin/sh
"/usr/ports/devel/apr1/work/apr-1.6.5/libtool"  --silent --mode=relink cc -O2
-pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing
-DHAVE_CONFIG_H -DLIBICONV_PLUG -I/usr/local/include
-I/usr/ports/devel/apr1/work/apr-util-1.6.1/include
-I/usr/ports/devel/apr1/work/apr-util-1.6.1/include/private
-I/usr/local/include -I/usr/ports/devel/apr1/work/apr-1.6.5/include
-I/usr/include -I/usr/local/include -I/usr/local/include/db5 -version-info
6:1:6 -o libaprutil-1.la -rpath /usr/local/lib buckets/apr_brigade.lo
buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_eos.lo
buckets/apr_buckets_file.lo buckets/apr_buckets_flush.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets_mmap.lo
buckets/apr_buckets_pipe.lo buckets/apr_buckets_pool.lo
buckets/apr_buckets_refcount.lo buckets/apr_buckets_simple.lo
buckets/apr_buckets_socket.lo crypto/apr_crypto.lo crypto/apr_md4.lo
crypto/apr_md5.lo crypto/apr_passwd.lo crypto/apr_sha1.lo crypto/apr_siphash.lo
crypto/crypt_blowfish.lo crypto/getuuid.lo crypto/uuid.lo dbd/apr_dbd.lo
dbm/apr_dbm.lo dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo
dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo
hooks/apr_hooks.lo ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo
memcache/apr_memcache.lo misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo
misc/apr_rmm.lo misc/apr_thread_pool.lo misc/apu_dso.lo misc/apu_version.lo
redis/apr_redis.lo strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo
xml/apr_xml.lo -lcrypt -lpthread -L/usr/lib -L/usr/local/lib
-L/usr/local/lib/db5 -lexpat /usr/ports/devel/apr1/work/apr-1.6.5/libapr-1.la
-lcrypt -lpthread -inst-prefix-dir /usr/ports/devel/apr1/work/stage)
libtool: install: /usr/bin/install -m 755 .libs/libaprutil-1.so.0.6.1T
/usr/ports/devel/apr1/work/stage/usr/local/lib/libaprutil-1.so.0.6.1
libtool: install: (cd /usr/ports/devel/apr1/work/stage/usr/local/lib && { ln -s
-f libaprutil-1.so.0.6.1 libaprutil-1.so.0 || { rm -f libaprutil-1.so.0 && ln
-s libaprutil-1.so.0.6.1 libaprutil-1.so.0; }; })
libtool: install: (cd /usr/ports/devel/apr1/work/stage/usr/local/lib && { ln -s
-f libaprutil-1.so.0.6.1 libaprutil-1.so || { rm -f libaprutil-1.so && ln -s
libaprutil-1.so.0.6.1 libaprutil-1.so; }; })
libtool: install: /usr/bin/install -m 755 .libs/libaprutil-1.lai
/usr/ports/devel/apr1/work/stage/usr/local/lib/libaprutil-1.la
libtool: install: /usr/bin/install -m 755 .libs/libaprutil-1.a
/usr/ports/devel/apr1/work/stage/usr/local/lib/libaprutil-1.a
libtool: install: chmod 644
/usr/ports/devel/apr1/work/stage/usr/local/lib/libaprutil-1.a
libtool: install: ranlib
/usr/ports/devel/apr1/work/stage/usr/local/lib/libaprutil-1.a
libtool: warning: remember to run 'libtool --finish /usr/local/lib'
/usr/bin/install -m 644 aprutil.exp
/usr/ports/devel/apr1/work/stage/usr/local/lib
/usr/bin/install -m 755 apu-config.out
/usr/ports/devel/apr1/work/stage/usr/local/bin/apu-1-config
/usr/bin/find /usr/ports/devel/apr1/work/stage/usr/local/lib/ -name \*.so |
/usr/bin/xargs /usr/bin/strip
====> Compressing man pages (compress-man)
===>  Installing for apr-1.6.5.1.6.1_1
===>  Checking if apr is already installed
===>   Registering installation for apr-1.6.5.1.6.1_1
pkg-static: Unable to access file
/usr/ports/devel/apr1/work/stage/usr/local/lib/apr-util-1/apr_dbd_mysql-1.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/apr1/work/stage/usr/local/lib/apr-util-1/apr_dbd_mysql.a:No
such file or directory
pkg-static: Unable to access file
/usr/ports/devel/apr1/work/stage/usr/local/lib/apr-util-1/apr_dbd_mysql.so:No
such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/devel/apr1
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/apr1
hydra# 
hydra# find . | grep 'config\.log'
./work/apr-1.6.5/config.log
./work/apr-util-1.6.1/config.log
hydra# 

I seem to get shared object files for PostGreSQL and ODBC but not MySQL : 

hydra# find . | grep 'apr_dbd'
./work/apr-util-1.6.1/dbd/apr_dbd_sqlite3.c
./work/apr-util-1.6.1/dbd/.libs/apr_dbd.o
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql.o
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc.o
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql-1.so
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql.so
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql.a
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql.lai
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_pgsql.la
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc-1.so
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc.so
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc.a
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc.lai
./work/apr-util-1.6.1/dbd/.libs/apr_dbd_odbc.la
./work/apr-util-1.6.1/dbd/apr_dbd_mysql.c
./work/apr-util-1.6.1/dbd/apr_dbd.o
./work/apr-util-1.6.1/dbd/apr_dbd.lo
./work/apr-util-1.6.1/dbd/apr_dbd_pgsql.o
./work/apr-util-1.6.1/dbd/apr_dbd_odbc.o
./work/apr-util-1.6.1/dbd/unsupported/apr_dbd_freetds.c
./work/apr-util-1.6.1/dbd/apr_dbd_pgsql.la
./work/apr-util-1.6.1/dbd/apr_dbd_sqlite2.c
./work/apr-util-1.6.1/dbd/apr_dbd_pgsql.lo
./work/apr-util-1.6.1/dbd/apr_dbd_odbc.lo
./work/apr-util-1.6.1/dbd/apr_dbd_odbc.la
./work/apr-util-1.6.1/dbd/apr_dbd.c
./work/apr-util-1.6.1/dbd/apr_dbd_odbc.c
./work/apr-util-1.6.1/dbd/apr_dbd_pgsql.c
./work/apr-util-1.6.1/dbd/apr_dbd_oracle.c
./work/apr-util-1.6.1/include/private/apr_dbd_odbc_v2.h
./work/apr-util-1.6.1/include/private/apr_dbd_internal.h
./work/apr-util-1.6.1/include/apr_dbd.h
./work/stage/usr/local/include/apr-1/apr_dbd.h
./work/stage/usr/local/lib/apr-util-1/apr_dbd_pgsql-1.so
./work/stage/usr/local/lib/apr-util-1/apr_dbd_pgsql.so
./work/stage/usr/local/lib/apr-util-1/apr_dbd_pgsql.a
./work/stage/usr/local/lib/apr-util-1/apr_dbd_odbc-1.so
./work/stage/usr/local/lib/apr-util-1/apr_dbd_odbc.so
./work/stage/usr/local/lib/apr-util-1/apr_dbd_odbc.a
hydra# 

So I will attach the two config.log files seen as I am stuck at this point. 


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-apache mailing list