Bug 220699

Summary: devel/apr1 apr-1.6.2.1.6.0 fails to install apr_dbd_sqlite3-1.so
Product: Ports & Packages Reporter: papowell
Component: Individual Port(s)Assignee: freebsd-apache mailing list <apache>
Status: Closed FIXED    
Severity: Affects Many People CC: brnrd, david, i.dani, igor.arabesc.pavlov, kib, please
Priority: --- Flags: bugzilla: maintainer-feedback? (apache)
i.dani: maintainer-feedback? (brnrd)
Version: Latest   
Hardware: Any   
OS: Any   

Description papowell 2017-07-13 04:19:31 UTC
test110: {232} # more /var/db/ports/devel_apr1/options
# This file is auto-generated by 'make config'.
# Options for apr-1.6.2.1.6.0
_OPTIONS_READ=apr-1.6.2.1.6.0
_FILE_COMPLETE_OPTIONS_LIST=DEVRANDOM IPV6 SSL NSS BDB GDBM LDAP MYSQL NDBM ODBC PGSQL SQLITE
OPTIONS_FILE_SET+=DEVRANDOM
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=SSL
OPTIONS_FILE_UNSET+=NSS
OPTIONS_FILE_SET+=BDB
OPTIONS_FILE_SET+=GDBM
OPTIONS_FILE_SET+=LDAP
OPTIONS_FILE_SET+=MYSQL
OPTIONS_FILE_SET+=NDBM
OPTIONS_FILE_UNSET+=ODBC
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_SET+=SQLITE
test110: {233} #
test110: {233} # make install
===>  Installing for apr-1.6.2.1.6.0
===>   apr-1.6.2.1.6.0 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   apr-1.6.2.1.6.0 depends on shared library: libgdbm.so - found (/usr/local/lib/libgdbm.so)
===>   apr-1.6.2.1.6.0 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so)
===>   apr-1.6.2.1.6.0 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   apr-1.6.2.1.6.0 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===>   apr-1.6.2.1.6.0 depends on shared library: libldap-2.4.so.2 - found (/usr/local/lib/libldap-2.4.so.2)
===>  Checking if apr already installed
===>   Registering installation for apr-1.6.2.1.6.0
pkg-static: Unable to access file /usr/ports/devel/apr1/work/stage/usr/local/lib/apr-util-1/apr_dbd_sqlite3-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_sqlite3.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_sqlite3.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
Comment 2 david 2017-07-13 11:16:45 UTC
Happened to me as well, first with portmaster, then just using "make clean reinstall".  Options set:

root@freebeast:/usr/ports/devel/apr1 # make showconfig
===> The following configuration options are available for apr-1.6.2.1.6.0:
     DEVRANDOM=on: Use /dev/random or compatible
     IPV6=on: IPv6 protocol support
====> Database support
     BDB=on: Berkeley DB support
     GDBM=on: GNU dbm library support
     LDAP=off: LDAP protocol support
     MYSQL=off: MySQL database support
     NDBM=off: NDBM support
     ODBC=off: ODBC database backend
     PGSQL=off: PostgreSQL database support
     SQLITE=on: SQLite database support
====> Cryptography provider: you can only select none or one of them
     SSL=on: OpenSSL crypto driver
     NSS=off: NSS crypto driver
===> Use 'make config' to modify these settings
root@freebeast:/usr/ports/devel/apr1 #
Comment 3 david 2017-07-13 17:12:03 UTC
Looks as if r445645 addresses the problem successfully.
Comment 4 Igor Pavlov 2018-04-14 23:42:32 UTC
Have the same issue again:

===>  Installing for apr-1.6.3.1.6.1_1
===>  Checking if apr already installed
===>   Registering installation for apr-1.6.3.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


[/usr/ports/devel/apr1]# make showconfig
===> The following configuration options are available for apr-1.6.3.1.6.1_1:
     IPV6=on: IPv6 protocol support
====> Database support
     BDB=on: Berkeley DB support
     GDBM=on: GNU dbm library support
     LDAP=off: LDAP protocol support
     MYSQL=on: MySQL database support
     NDBM=off: NDBM support
     ODBC=off: ODBC database backend
     PGSQL=on: PostgreSQL database support
     SQLITE=on: SQLite database support
====> Cryptography provider: you can only select none or one of them
     SSL=on: OpenSSL crypto driver
     NSS=off: NSS crypto driver
===> Use 'make config' to modify these settings
Comment 5 Bernard Spil freebsd_committer 2018-04-15 17:13:47 UTC
Please open a new PR and include full build logs (i.e. poudriere). Otherwise, build-logs and environment you're building in (packages installed etc.)