Bug 239451 - devel/apr1 fails to build on 13.0-CURRENT r350103 ppc64
Summary: devel/apr1 fails to build on 13.0-CURRENT r350103 ppc64
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Some People
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-26 05:03 UTC by Dennis Clarke
Modified: 2019-09-17 11:03 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (apache)


Attachments
config.log for apr-1.6.5 on r350103 ppc64 (36.72 KB, application/gzip)
2019-07-26 05:04 UTC, Dennis Clarke
no flags Details
config.log for apt-util-1.6.1 on r350103 ppc64 (27.38 KB, application/gzip)
2019-07-26 05:04 UTC, Dennis Clarke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Clarke 2019-07-26 05:03:26 UTC
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
Comment 1 Dennis Clarke 2019-07-26 05:04:18 UTC
Created attachment 206069 [details]
config.log for apr-1.6.5 on r350103 ppc64
Comment 2 Dennis Clarke 2019-07-26 05:04:51 UTC
Created attachment 206070 [details]
config.log for apt-util-1.6.1 on r350103 ppc64
Comment 3 Dennis Clarke 2019-07-26 05:10:51 UTC
Worth noting the config options : 

┌──────────────────────────── apr-1.6.5.1.6.1_1 ──────
│ ┌───────────────────────────────────────────────────
│ │ [x] IPV6    IPv6 protocol support                 
│ │───────────────────────────── Database support ────
│ │ [x] BDB     Berkeley DB support                   
│ │ [x] GDBM    GNU dbm library support               
│ │ [ ] LDAP    LDAP protocol support                 
│ │ [x] MYSQL   MySQL database support                
│ │ [ ] NDBM    NDBM support                          
│ │ [x] ODBC    ODBC database backend                 
│ │ [x] PGSQL   PostgreSQL database support           
│ │ [ ] SQLITE  SQLite database support               
│ │────────────────────────── Cryptography provider ──
│ │ (*) SSL     OpenSSL crypto driver                 
│ │ ( ) NSS     NSS crypto driver                     
│ └───────────────────────────────────────────────────


With very few problems all of these built neatly : 

hydra$ pkg query %t\ %n\ %v\ %o | sort -n 
1563889733 pkg 1.11.1 ports-mgmt/pkg
1563889853 dialog4ports 0.1.6 ports-mgmt/dialog4ports
1563890793 indexinfo 0.3.1 print/indexinfo
1563891959 libtextstyle 0.20.1 devel/libtextstyle
1563898811 perl5 5.28.2 lang/perl5.28
1563900877 p5-Locale-gettext 1.07 devel/p5-Locale-gettext
1563900956 pkgconf 1.6.1,1 devel/pkgconf
1563900964 xorg-macros 1.19.2 devel/xorg-macros
1563901028 xtrans 1.4.0 x11/xtrans
1563901083 xorgproto 2019.1 x11/xorgproto
1563901126 libXau 1.0.9 x11/libXau
1563901191 libXdmcp 1.1.3 x11/libXdmcp
1563901238 libsigsegv 2.12 devel/libsigsegv
1563901260 autoconf-wrapper 20131203 devel/autoconf-wrapper
1563901353 libffi 3.2.1_3 devel/libffi
1563901406 readline 8.0.0 devel/readline
1563901672 python27 2.7.16_1 lang/python27
1563901907 libxml2 2.9.9 textproc/libxml2
1563902270 python36 3.6.9 lang/python36
1563902294 xcb-proto 1.13_1 x11/xcb-proto
1563902343 libpthread-stubs 0.4 devel/libpthread-stubs
1563902468 libgpg-error 1.36 security/libgpg-error
1563902633 libiconv 1.14_11 converters/libiconv
1563902657 p5-Locale-libintl 1.31 devel/p5-Locale-libintl
1563902671 p5-Text-Unidecode 1.30 converters/p5-Text-Unidecode
1563902679 p5-Unicode-EastAsianWidth 1.40 textproc/p5-Unicode-EastAsianWidth
1563902830 texinfo 6.6_1,1 print/texinfo
1563902935 libgcrypt 1.8.4_1 security/libgcrypt
1563902997 libxslt 1.1.33 textproc/libxslt
1563903135 m4 1.4.18_1,1 devel/m4
1563903184 autoconf 2.69_3 devel/autoconf
1563903222 automake 1.16.1_2 devel/automake
1563903271 libtool 2.4.6_1 devel/libtool
1563903363 check 0.12.0_1 devel/check
1563903519 libxcb 1.13.1 x11/libxcb
1563932795 libX11 1.6.8,1 x11/libX11
1563932886 libXext 1.3.4,1 x11/libXext
1563932940 libICE 1.0.9_3,1 x11/libICE
1563934003 libSM 1.2.3,1 x11/libSM
1563934072 libXt 1.2.0,1 x11-toolkits/libXt
1563934126 libXmu 1.1.3,1 x11-toolkits/libXmu
1563934157 xauth 1.0.10 x11/xauth
1563934206 expat 2.2.6_1 textproc/expat2
1564034898 binutils 2.32_1,1 devel/binutils
1564036007 gettext-tools 0.20.1_1 devel/gettext-tools
1564036346 gettext-runtime 0.20.1 devel/gettext-runtime
1564036422 gmake 4.2.1_3 devel/gmake
1564036914 gmp 6.1.2_1 math/gmp
1564036959 help2man 1.47.10 misc/help2man
1564037197 mpfr 4.0.2 math/mpfr
1564037408 bison 3.4.1,1 devel/bison
1564037527 mpc 1.1.0_2 math/mpc
1564054263 gcc8 8.3.0_2 lang/gcc8
1564056792 ctags 5.8 devel/ctags
1564057022 boost-jam 1.70.0 devel/boost-jam
1564057853 icu 64.2,1 devel/icu
1564060777 boost-libs 1.70.0_2 devel/boost-libs
1564061320 source-highlight 3.1.8_6 textproc/source-highlight
1564062957 gdb 8.3_2 devel/gdb
1564084792 bash 5.0.7 shells/bash
1564088691 ca_root_nss 3.45 security/ca_root_nss
1564089025 libnghttp2 1.39.1 www/libnghttp2
1564090894 libunistring 0.9.10_1 devel/libunistring
1564090989 libidn2 2.2.0 dns/libidn2
1564092909 libssh2 1.8.2,3 security/libssh2
1564093226 curl 7.65.3 ftp/curl
1564093304 cvsps 2.1_2 devel/cvsps
1564094530 gawk 5.0.0 lang/gawk
1564102672 gsed 4.7 textproc/gsed
1564103483 p5-Error 0.17027 lang/p5-Error
1564103508 getopt 1.1.6 misc/getopt
1564103646 xmlcatmgr 2.2_2 textproc/xmlcatmgr
1564103660 iso8879 1986_3 textproc/iso8879
1564103663 docbook-sgml 4.5_1 textproc/docbook-sgml
1564103674 xmlcharent 0.3_2 textproc/xmlcharent
1564103677 docbook-xml 5.0_3 textproc/docbook-xml
1564103680 sdocbook-xml 1.1_2,2 textproc/sdocbook-xml
1564103682 docbook 1.5 textproc/docbook
1564103709 docbook-xsl 1.79.1_1,1 textproc/docbook-xsl
1564103738 libpaper 1.1.24.4 print/libpaper
1564103858 libltdl 2.4.6 devel/libltdl
1564103913 libatomic_ops 7.6.10 devel/libatomic_ops
1564103973 boehm-gc 8.0.4 devel/boehm-gc
1564104063 w3m 0.5.3.20190702 www/w3m
1564104078 xmlto 0.0.28 textproc/xmlto
1564104110 asciidoc 8.6.10_1 textproc/asciidoc
1564105129 pcre2 10.32_1 devel/pcre2
1564105513 p5-HTML-Tagset 3.20_1 www/p5-HTML-Tagset
1564105523 p5-HTML-Parser 3.72 www/p5-HTML-Parser
1564105530 p5-CGI 4.44 www/p5-CGI
1564105545 p5-Digest-HMAC 1.03_1 security/p5-Digest-HMAC
1564105578 p5-GSSAPI 0.28_1 security/p5-GSSAPI
1564105586 p5-Authen-SASL 2.16_1 security/p5-Authen-SASL
1564105690 p5-Net-SSLeay 1.85 security/p5-Net-SSLeay
1564105697 p5-Mozilla-CA 20180117 www/p5-Mozilla-CA
1564105706 p5-URI 1.76 net/p5-URI
1564105726 p5-Socket6 0.29 net/p5-Socket6
1564105731 p5-IO-Socket-INET6 2.72_1 net/p5-IO-Socket-INET6
1564105738 p5-IO-Socket-SSL 2.066 security/p5-IO-Socket-SSL
1564105747 p5-Term-ReadKey 2.38 devel/p5-Term-ReadKey
1564105995 pcre 8.43_1 devel/pcre
1564106048 libedit 3.1.20190324,1 devel/libedit
1564106055 lua52 5.2.4 lang/lua52
1564106178 swig30 3.0.12 devel/swig30
1564106339 gdbm 1.18.1_1 databases/gdbm
1564106527 unixODBC 2.3.7 databases/unixODBC
1564107203 tcl86 8.6.9_1 lang/tcl86
1564107399 db5 5.3.28_7 databases/db5
1564107677 cyrus-sasl 2.1.27 security/cyrus-sasl2
1564107983 openldap-sasl-client 2.4.47 net/openldap24-sasl-client
1564108059 py36-setuptools 41.0.1 devel/py-setuptools
1564108084 py36-MarkupSafe 1.1.1 textproc/py-MarkupSafe
1564108124 py36-pytz 2019.1,1 devel/py-pytz
1564108136 py36-Babel 2.7.0 devel/py-babel
1564108144 py36-Jinja2 2.10.1 devel/py-Jinja2
1564108684 py36-docutils 0.14_4 textproc/py-docutils
1564108696 py36-six 1.12.0 devel/py-six
1564108718 py36-sphinxcontrib-websupport 1.1.2 textproc/py-sphinxcontrib-websupport
1564108739 py36-pygments 2.4.1 textproc/py-pygments
1564108754 py36-sphinx_rtd_theme 0.4.3 textproc/py-sphinx_rtd_theme
1564108766 py36-alabaster 0.7.6 textproc/py-alabaster
1564110125 py36-cython 0.29_1 lang/cython
1564110163 py36-pystemmer 1.3.0_2 textproc/py-pystemmer
1564110170 py36-snowballstemmer 1.2.1 textproc/py-snowballstemmer
1564110197 py36-setuptools_scm 3.3.3 devel/py-setuptools_scm
1564110209 py36-pytest-runner 2.11.1 devel/py-pytest-runner
1564110224 py36-chardet 3.0.4_1 textproc/py-chardet
1564110239 py36-idna 2.8 dns/py-idna
1564110292 py36-pycparser 2.19 devel/py-pycparser
1564110303 py36-cffi 1.12.3 devel/py-cffi
1564110392 py36-asn1crypto 0.24.0 devel/py-asn1crypto
1564110410 py36-cryptography 2.6.1 security/py-cryptography
1564110528 py36-openssl 18.0.0 security/py-openssl
1564110542 py36-pysocks 1.7.0 net/py-pysocks
1564110550 py36-urllib3 1.22,1 net/py-urllib3
1564110566 py36-certifi 2019.6.16 security/py-certifi
1564110574 py36-requests 2.21.0 www/py-requests
1564110589 py36-imagesize 1.1.0 graphics/py-imagesize
1564110610 py36-sphinx 1.6.5_2,1 textproc/py-sphinx
1564110633 py27-setuptools 41.0.1 devel/py-setuptools
1564110643 scons 3.0.1 devel/scons
1564110684 jsoncpp 1.8.1_6 devel/jsoncpp
1564110797 libuv 1.30.1 devel/libuv
1564110829 rhash 1.3.5 security/rhash
1564110894 liblz4 1.9.1,1 archivers/liblz4
1564111019 lzo2 2.10_1 archivers/lzo2
1564111141 nettle 3.5.1 security/nettle
1564111294 libarchive 3.3.3_1,1 archivers/libarchive
1564113067 cmake 3.14.5 devel/cmake
1564113250 libevent 2.1.10 devel/libevent
1564114066 protobuf 3.8.0,1 devel/protobuf
1564114518 mysql57-client 5.7.26 databases/mysql57-client
1564114912 postgresql95-client 9.5.18 databases/postgresql95-client
hydra$
Comment 4 Dennis Clarke 2019-07-26 10:21:01 UTC
With no clear way forwards I will drop MySQL from the config : 

hydra# 
hydra# make clean 
===>  Cleaning for apr-1.6.5.1.6.1_1
hydra# make config 

┌──────────────────────────── apr-1.6.5.1.6.1_1 ───
│ ┌────────────────────────────────────────────────
│ │ [x] IPV6    IPv6 protocol support
│ │───────────────────────────── Database support ─
│ │ [x] BDB     Berkeley DB support
│ │ [x] GDBM    GNU dbm library support
│ │ [ ] LDAP    LDAP protocol support
| │ [ ] MYSQL   MySQL database support
│ │ [ ] NDBM    NDBM support
│ │ [x] ODBC    ODBC database backend
| │ [x] PGSQL   PostgreSQL database support
│ │ [ ] SQLITE  SQLite database support
│ │────────────────────────── Cryptography provider ─
│ │ (*) SSL     OpenSSL crypto driver
│ │ ( ) NSS     NSS crypto driver
│ └──────────────────────────────────────────────────

hydra# make 
===>  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: 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
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
.
.
.
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)
real 256.64
user 144.30
sys 245.77
hydra# make install 
===>  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
Installing apr-1.6.5.1.6.1_1...
/!\ ================================================================== /!\

The Apache Portable Runtime project removed support for FreeTDS with
version 1.6. Users requiring MS-SQL connectivity must migrate
configurations to use the added ODBC driver and FreeTDS' ODBC features.

/!\ ================================================================== /!\

===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libapr-1.so.0.6.5
/usr/local/lib/libapr-1.a(sendrecv.o)

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
http://apr.apache.org/
hydra# 

Oh well. 

I may come back if I need the MySQL functionality.

Dennis
Comment 5 Jochen Neumeister freebsd_committer freebsd_triage 2019-09-13 05:58:44 UTC
Does the problem still exist?
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2019-09-13 12:23:15 UTC
(In reply to Jochen Neumeister from comment #5)

fwiw, this builds on our test machine ppcports:

  building for: FreeBSD ppcports 13.0-CURRENT FreeBSD 13.0-CURRENT 1300013 powerpc
  build of devel/apr1 | apr-1.7.0.1.6.1 ended at Tue Sep 10 00:41:49 UTC 2019