pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/57360: apr-util 1.6.3 fails to build with apr-1.7.3nb1
The following reply was made to PR pkg/57360; it has been noted by GNATS.
From: Hiroshi Hakoyama <hiroshi-hakoyama%nagano.ac.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/57360: apr-util 1.6.3 fails to build with apr-1.7.3nb1
Date: Tue, 18 Apr 2023 09:52:31 +0900
> Please check the config.log file for details what fails in your =
environment.
Here is the config.log.
/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --with-apr=3D/usr/pkg/bin/apr-1-config =
--with-expat=3D/usr/pkg --without-gdbm --without-odbc --without-sqlite2 =
--with-dbm=3Dsdbm --without-pgsql --without-sqlite3 --without-crypto =
--with-libiconv-prefix=3D/usr/pkg --prefix=3D/usr/pkg =
--build=3Dsparc-sun-solaris2.10 --host=3Dsparc-sun-solaris2.10 =
--mandir=3D/usr/pkg/man --enable-option-checking=3Dyes
## --------- ##
## Platform. ##
## --------- ##
hostname =3D ec21
uname -m =3D sun4u
uname -r =3D 5.10
uname -s =3D SunOS
uname -v =3D Generic_147147-26
/usr/bin/uname -p =3D sparc
/bin/uname -X =3D System =3D SunOS
Node =3D ec21
Release =3D 5.10
KernelID =3D Generic_147147-26
Machine =3D sun4u
BusType =3D <unknown>
Serial =3D <unknown>
Users =3D <unknown>
OEM# =3D 0
Origin# =3D 1
NumCPU =3D 2
/bin/arch =3D sun4
/usr/bin/arch -k =3D sun4u
/usr/convex/getsysinfo =3D unknown
/usr/bin/hostinfo =3D unknown
/bin/machine =3D unknown
/usr/bin/oslevel =3D unknown
/bin/universe =3D unknown
PATH: /usr/pkgsrc/devel/apr-util/work/.cwrapper/bin/
PATH: /usr/pkgsrc/devel/apr-util/work/.buildlink/bin/
PATH: /usr/pkgsrc/devel/apr-util/work/.gcc/bin/
PATH: /usr/pkgsrc/devel/apr-util/work/.tools/bin/
PATH: /usr/pkg/bin/
PATH: /usr/ccs/bin/
PATH: /usr/pkg/bin/
PATH: /usr/pkg/sbin/
PATH: /opt/csw/bin/
PATH: /usr/local/bin/
PATH: /usr/local/sbin/
PATH: /usr/sunvts/bin/
PATH: /usr/bin/
PATH: /usr/sbin/
PATH: /usr/sadm/admin/bin/
PATH: /usr/sadm/bin/
PATH: /bin/
PATH: /sbin/
PATH: /usr/openwin/bin/
PATH: /usr/pkg/bin/
PATH: /usr/pkg/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2538: looking for aux files: install-sh config.guess =
config.sub
configure:2551: trying ./build/
configure:2565: ./build/install.sh found
configure:2580: ./build/config.guess found
configure:2580: ./build/config.sub found
configure:2954: checking build system type
configure:2969: result: sparc-sun-solaris2.10
configure:2989: checking host system type
configure:3003: result: sparc-sun-solaris2.10
configure:3023: checking target system type
configure:3037: result: sparc-sun-solaris2.10
configure:3080: checking for a BSD-compatible install
configure:3153: result: /usr/pkg/bin/bsdinstall -c -o root -g root
configure:3188: checking for working mkdir -p
configure:3205: result: yes
configure:3300: checking for chosen layout
configure:3302: result: apr-util
configure:3444: checking for sparc-sun-solaris2.10-gcc
configure:3476: result: gcc
configure:3874: checking for C compiler version
configure:3883: gcc --version >&5
gcc (GCC) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is =
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =
PURPOSE.
configure:3894: $? =3D 0
configure:3883: gcc -v >&5
Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/specs
COLLECT_GCC=3D/usr/pkgsrc/devel/apr-util/work/.gcc/bin/gcc
=
COLLECT_LTO_WRAPPER=3D/opt/csw/libexec/gcc/sparc-sun-solaris2.10/5.5.0/lto=
-wrapper
Target: sparc-sun-solaris2.10
Configured with: =
/home/dam/mgar/pkg/gcc5/trunk/work/solaris10-sparc/build-isa-sparcv8plus/g=
cc-5.5.0/configure --prefix=3D/opt/csw --exec_prefix=3D/opt/csw =
--bindir=3D/opt/csw/bin --sbindir=3D/opt/csw/sbin =
--libexecdir=3D/opt/csw/libexec --datadir=3D/opt/csw/share =
--sysconfdir=3D/etc/opt/csw --sharedstatedir=3D/opt/csw/share =
--localstatedir=3D/var/opt/csw --libdir=3D/opt/csw/lib =
--infodir=3D/opt/csw/share/info --includedir=3D/opt/csw/include =
--mandir=3D/opt/csw/share/man --enable-cloog-backend=3Disl =
--enable-java-awt=3Dxlib =
--enable-languages=3Dada,c,c++,fortran,go,java,objc --enable-libada =
--enable-libssp --enable-nls --enable-objc-gc --enable-threads=3Dposix =
--program-suffix=3D-5.5 --with-cloog=3D/opt/csw --with-gmp=3D/opt/csw =
--with-included-gettext --with-ld=3D/usr/ccs/bin/ld --without-gnu-ld =
--with-libiconv-prefix=3D/opt/csw --with-mpfr=3D/opt/csw =
--with-ppl=3D/opt/csw --with-system-zlib=3D/opt/csw =
--with-as=3D/usr/ccs/bin/as --without-gnu-as
Thread model: posix
gcc version 5.5.0 (GCC)=20
configure:3894: $? =3D 0
configure:3883: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3894: $? =3D 1
configure:3883: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3894: $? =3D 1
configure:3883: gcc -version >&5
gcc: error: unrecognized command line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3894: $? =3D 1
configure:3914: checking whether the C compiler works
configure:3936: gcc -O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include -Wl,-R/usr/pkg/lib -liconv -L/usr/pkg/lib -L/usr/lib =
-Wl,-R/usr/lib conftest.c >&5
configure:3940: $? =3D 0
configure:3990: result: yes
configure:3993: checking for C compiler default output file name
configure:3995: result: a.out
configure:4001: checking for suffix of executables
configure:4008: gcc -o conftest -O3 -mcpu=3Dultrasparc3 =
-mtune=3Dultrasparc3 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -Wl,-R/usr/pkg/lib -liconv =
-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c >&5
configure:4012: $? =3D 0
configure:4035: result:=20
configure:4057: checking whether we are cross compiling
configure:4065: gcc -o conftest -O3 -mcpu=3Dultrasparc3 =
-mtune=3Dultrasparc3 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -Wl,-R/usr/pkg/lib -liconv =
-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c >&5
configure:4069: $? =3D 0
configure:4076: ./conftest
configure:4080: $? =3D 0
configure:4095: result: no
configure:4100: checking for suffix of object files
configure:4123: gcc -c -O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include conftest.c >&5
configure:4127: $? =3D 0
configure:4149: result: o
configure:4153: checking whether the compiler supports GNU C
configure:4173: gcc -c -O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include conftest.c >&5
configure:4173: $? =3D 0
configure:4183: result: yes
configure:4194: checking whether gcc accepts -g
configure:4215: gcc -c -g -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include conftest.c >&5
configure:4215: $? =3D 0
configure:4259: result: yes
configure:4279: checking for gcc option to enable C11 features
configure:4294: gcc -c -O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include conftest.c >&5
configure:4294: $? =3D 0
configure:4312: result: none needed
configure:4475: checking for library containing fdatasync
configure:4505: gcc -o conftest -O3 -mcpu=3Dultrasparc3 =
-mtune=3Dultrasparc3 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -I/usr/pkg/include =
-I/usr/pkg/include/apr-1 -I/usr/include -Wl,-R/usr/pkg/lib -liconv =
-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c >&5
configure:4505: $? =3D 0
configure:4525: result: none required
configure:4582: checking for APR
configure:4612: error: the --with-apr parameter is incorrect. It must =
specify an install prefix, a build directory, or an apr-config file.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=3Dsparc-sun-solaris2.10
ac_cv_c_compiler_gnu=3Dyes
ac_cv_env_CC_set=3Dset
ac_cv_env_CC_value=3Dgcc
ac_cv_env_CFLAGS_set=3Dset
ac_cv_env_CFLAGS_value=3D'-O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include'
ac_cv_env_CPPFLAGS_set=3Dset
ac_cv_env_CPPFLAGS_value=3D'-I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include'
ac_cv_env_CPP_set=3D
ac_cv_env_CPP_value=3D
ac_cv_env_LDFLAGS_set=3Dset
ac_cv_env_LDFLAGS_value=3D'-Wl,-R/usr/pkg/lib -liconv -L/usr/pkg/lib =
-L/usr/lib -Wl,-R/usr/lib'
ac_cv_env_LIBS_set=3Dset
ac_cv_env_LIBS_value=3D
ac_cv_env_build_alias_set=3Dset
ac_cv_env_build_alias_value=3Dsparc-sun-solaris2.10
ac_cv_env_host_alias_set=3Dset
ac_cv_env_host_alias_value=3Dsparc-sun-solaris2.10
ac_cv_env_target_alias_set=3D
ac_cv_env_target_alias_value=3D
ac_cv_host=3Dsparc-sun-solaris2.10
ac_cv_mkdir_p=3Dyes
ac_cv_objext=3Do
ac_cv_path_CAT=3D/usr/bin/cat
ac_cv_path_ECHO=3Decho
ac_cv_path_EGREP=3D'/usr/sfw/bin/ggrep -E'
ac_cv_path_ENV=3D/usr/bin/env
ac_cv_path_FALSE=3Dfalse
ac_cv_path_GREP=3D/usr/sfw/bin/ggrep
ac_cv_path_TEST=3Dtest
ac_cv_path_TRUE=3Dtrue
ac_cv_prog_CC=3Dgcc
ac_cv_prog_cc_c11=3D
ac_cv_prog_cc_g=3Dyes
ac_cv_prog_cc_stdc=3D
ac_cv_search_fdatasync=3D'none required'
ac_cv_target=3Dsparc-sun-solaris2.10
apu_cv_memset_s=3Dno
## ----------------- ##
## Output variables. ##
## ----------------- ##
APRUTIL_DOTTED_VERSION=3D'1.6.3'
APRUTIL_EXPORT_LIBS=3D''
APRUTIL_INCLUDES=3D''
APRUTIL_LDFLAGS=3D''
APRUTIL_LIBNAME=3D''
APRUTIL_LIBS=3D''
APRUTIL_MAJOR_VERSION=3D'1'
=
APRUTIL_PRIV_INCLUDES=3D'-I/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3/=
include =
-I/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3/include/private'
APR_BUILD_DIR=3D''
APR_ICONV_DIR=3D''
APR_INCLUDES=3D''
APR_LIBS=3D''
APU_CONFIG_LOCATION=3D'source'
APU_DSO_LIBDIR=3D''
APU_HAVE_MODULES=3D''
APU_LTVERSION=3D'-version-info 6:3:6'
APU_MODULES=3D''
CC=3D'gcc'
CFLAGS=3D'-O3 -mcpu=3Dultrasparc3 -mtune=3Dultrasparc3 =
-D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include -I/usr/pkg/include/apr-1 =
-I/usr/include'
CPP=3D''
CPPFLAGS=3D'-I/usr/pkg/include -I/usr/pkg/include/apr-1 -I/usr/include'
DEFS=3D''
ECHO_C=3D''
ECHO_N=3D'-n'
ECHO_T=3D''
EGREP=3D'/usr/sfw/bin/ggrep -E'
EXEEXT=3D''
EXTRA_OBJECTS=3D''
GREP=3D'/usr/sfw/bin/ggrep'
INCLUDE_OUTPUTS=3D''
INCLUDE_RULES=3D''
INSTALL_DATA=3D'/usr/pkg/bin/bsdinstall -c -o root -g root -m 644'
INSTALL_PROGRAM=3D'/usr/pkg/bin/bsdinstall -c -s -o root -g root -m 755'
INSTALL_SCRIPT=3D'/usr/pkg/bin/bsdinstall -c -o root -g root -m 755'
LDADD_crypto_commoncrypto=3D''
LDADD_crypto_nss=3D''
LDADD_crypto_openssl=3D''
LDADD_dbd_mysql=3D''
LDADD_dbd_odbc=3D''
LDADD_dbd_oracle=3D''
LDADD_dbd_pgsql=3D''
LDADD_dbd_sqlite2=3D''
LDADD_dbd_sqlite3=3D''
LDADD_dbm_db=3D''
LDADD_dbm_gdbm=3D''
LDADD_dbm_ndbm=3D''
LDADD_ldap=3D''
LDFLAGS=3D'-Wl,-R/usr/pkg/lib -liconv -L/usr/pkg/lib -L/usr/lib =
-Wl,-R/usr/lib'
LIBOBJS=3D''
LIBS=3D''
LTLIBOBJS=3D''
LT_NO_INSTALL=3D'-no-install'
MYSQL_CONFIG=3D''
OBJEXT=3D'o'
ODBC_CONFIG=3D''
PACKAGE_BUGREPORT=3D''
PACKAGE_NAME=3D''
PACKAGE_STRING=3D''
PACKAGE_TARNAME=3D''
PACKAGE_URL=3D''
PACKAGE_VERSION=3D''
PATH_SEPARATOR=3D':'
PGSQL_CONFIG=3D''
PKG_CONFIG=3D'/usr/pkgsrc/devel/apr-util/work/.tools/bin/pkg-config'
SHELL=3D'/usr/bin/bash'
abs_builddir=3D'/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3'
abs_srcdir=3D'/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3'
ac_ct_CC=3D''
apr_shlibpath_var=3D''
apu_db_header=3D''
apu_db_version=3D''
apu_dbd_tests=3D''
apu_has_ldap=3D''
apu_has_ldap_microsoft=3D''
apu_has_ldap_mozilla=3D''
apu_has_ldap_netscape=3D''
apu_has_ldap_novell=3D''
apu_has_ldap_openldap=3D''
apu_has_ldap_other=3D''
apu_has_ldap_solaris=3D''
apu_has_ldap_sslinit=3D''
apu_has_ldap_start_tls_s=3D''
apu_has_ldap_tivoli=3D''
apu_has_ldap_zos=3D''
apu_has_ldapssl_add_trusted_cert=3D''
apu_has_ldapssl_client_deinit=3D''
apu_has_ldapssl_client_init=3D''
apu_has_ldapssl_init=3D''
apu_has_ldapssl_install_routines=3D''
apu_have_commoncrypto=3D''
apu_have_crypto=3D''
apu_have_db=3D''
apu_have_gdbm=3D''
apu_have_mysql=3D''
apu_have_ndbm=3D''
apu_have_nss=3D''
apu_have_odbc=3D''
apu_have_openssl=3D''
apu_have_oracle=3D''
apu_have_pgsql=3D''
apu_have_sdbm=3D''
apu_have_sqlite2=3D''
apu_have_sqlite3=3D''
apu_use_db=3D''
apu_use_gdbm=3D''
apu_use_ndbm=3D''
apu_use_sdbm=3D''
bindir=3D'${exec_prefix}/bin'
build=3D'sparc-sun-solaris2.10'
build_alias=3D'sparc-sun-solaris2.10'
build_cpu=3D'sparc'
build_os=3D'solaris2.10'
build_vendor=3D'sun'
datadir=3D'${prefix}'
datarootdir=3D'${prefix}/share'
docdir=3D'${datarootdir}/doc/${PACKAGE}'
dvidir=3D'${docdir}'
exec_prefix=3D'${prefix}'
have_apr_iconv=3D''
have_iconv=3D''
host=3D'sparc-sun-solaris2.10'
host_alias=3D'sparc-sun-solaris2.10'
host_cpu=3D'sparc'
host_os=3D'solaris2.10'
host_vendor=3D'sun'
htmldir=3D'${docdir}'
includedir=3D'${prefix}/include/apr-${APRUTIL_MAJOR_VERSION}'
infodir=3D'${datarootdir}/info'
lber_h=3D''
ldap_h=3D''
ldap_ssl_h=3D''
lib_target=3D''
libdir=3D'${exec_prefix}/lib'
libexecdir=3D'${exec_prefix}/modules'
localedir=3D'${datarootdir}/locale'
localstatedir=3D'${prefix}'
mandir=3D'/usr/pkg/man'
oldincludedir=3D'/usr/include'
pdfdir=3D'${docdir}'
prefix=3D'/usr/pkg'
program_transform_name=3D's,x,x,'
psdir=3D'${docdir}'
runstatedir=3D'${localstatedir}/run'
sbindir=3D'${exec_prefix}/bin'
sharedstatedir=3D'${prefix}/com'
so_ext=3D''
sysconfdir=3D'${prefix}/conf'
target=3D'sparc-sun-solaris2.10'
target_alias=3D''
target_cpu=3D'sparc'
target_os=3D'solaris2.10'
target_vendor=3D'sun'
top_builddir=3D'/usr/pkgsrc/devel/apr-util/work/apr-util-1.6.3'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
configure: exit 1
> 2023/04/17 18:55=E3=80=81Thomas Klausner <wiz%NetBSD.org@localhost>=E3=81=AE=E3=83=
=A1=E3=83=BC=E3=83=AB:
>=20
> The following reply was made to PR pkg/57360; it has been noted by =
GNATS.
>=20
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Cc:=20
> Subject: Re: pkg/57360: apr-util 1.6.3 fails to build with =
apr-1.7.3nb1
> Date: Mon, 17 Apr 2023 11:50:06 +0200
>=20
> On Mon, Apr 17, 2023 at 09:45:00AM +0000, =
hiroshi-hakoyama%nagano.ac.jp@localhost wrote:
>> checking for APR... configure: error: the --with-apr parameter is =
incorrect. It must specify an install prefix, a build directory, or an =
apr-config file
>=20
> Works for me on NetBSD 10.99.3/amd64.
>=20
> =3D> Creating binary package /packages/All/apr-util-1.6.3.tgz
>=20
> # pkg_info
> ...
> apr-1.7.3nb1 Apache Portable Runtime
>=20
> Please check the config.log file for details what fails in your =
environment.
>=20
> Thanks,
> Thomas
>=20
Home |
Main Index |
Thread Index |
Old Index