The machine is a newly installed for this only purpose. No tweaks whatsoever. Here comes the errormessage that I get when compiling: [root@vm-bsd /usr/ports/www/trafficserver]# make ===> License AL2 accepted by the user ===> Fetching all distfiles required by trafficserver-3.2.4 for building ===> Extracting for trafficserver-3.2.4 => SHA256 Checksum OK for trafficserver-3.2.4.tar.bz2. ===> Patching for trafficserver-3.2.4 ===> Applying FreeBSD patches for trafficserver-3.2.4 ===> trafficserver-3.2.4 depends on file: /usr/local/bin/automake-1.14 - found ===> trafficserver-3.2.4 depends on file: /usr/local/bin/autoconf-2.69 - found ===> trafficserver-3.2.4 depends on package: libtool>=2.4 - found ===> trafficserver-3.2.4 depends on shared library: libiconv.so.3 - found ===> trafficserver-3.2.4 depends on shared library: execinfo - found ===> trafficserver-3.2.4 depends on shared library: expat - found ===> trafficserver-3.2.4 depends on shared library: pcre - found ===> trafficserver-3.2.4 depends on shared library: tcl86 - found ===> trafficserver-3.2.4 depends on shared library: sqlite3.8 - found ===> Configuring for trafficserver-3.2.4 libtoolize: `build/aux/ltmain.sh' is newer: use `--force' to overwrite libtoolize: `build/ltversion.m4' is newer: use `--force' to overwrite configure.ac:496: installing 'build/aux/ar-lib' configure.ac:477: installing 'build/aux/compile' parallel-tests: installing 'build/aux/test-driver' automake-1.14: warnings are treated as errors mgmt/Makefile.am:70: warning: source file '$(top_srcdir)/proxy/Error.cc' is in a subdirectory, mgmt/Makefile.am:70: but option 'subdir-objects' is disabled automake-1.14: warning: possible forward-incompatibility. automake-1.14: At least a source file is in a subdirectory, but the 'subdir-objects' automake-1.14: automake option hasn't been enabled. For now, the corresponding output automake-1.14: object file(s) will be placed in the top-level directory. However, automake-1.14: this behaviour will change in future Automake versions: they will automake-1.14: unconditionally cause object files to be placed in the same subdirectory automake-1.14: of the corresponding sources. automake-1.14: You are advised to start using 'subdir-objects' option throughout your automake-1.14: project, to avoid future incompatibilities. mgmt/api/remote/Makefile.am:38: warning: source file '../CfgContextImpl.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CfgContextManager.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CfgContextUtils.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CoreAPIShared.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../EventCallback.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../GenericParser.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../INKMgmtAPI.cc' is in a subdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/utils/Makefile.am:42: warning: source file '$(top_srcdir)/lib/ts/MatcherUtils.cc' is in a subdirectory, mgmt/utils/Makefile.am:42: but option 'subdir-objects' is disabled mgmt/utils/Makefile.am:42: warning: source file '$(top_srcdir)/proxy/DiagsConfig.cc' is in a subdirectory, mgmt/utils/Makefile.am:42: but option 'subdir-objects' is disabled autoreconf-2.69: automake failed with exit status: 1 *** [pre-configure] Error code 1 Stop in /usr/ports/www/trafficserver. [root@vm-bsd /usr/ports/www/trafficserver]# vi /home/gunnar/trafficserverbuild-error.txt [root@vm-bsd /usr/ports/www/trafficserver]# make mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CfgContextManager.cc' is in a su bdirectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CfgContextUtils.cc' is in a subd irectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../CoreAPIShared.cc' is in a subdir ectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../EventCallback.cc' is in a subdir ectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../GenericParser.cc' is in a subdir ectory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/api/remote/Makefile.am:38: warning: source file '../INKMgmtAPI.cc' is in a subdirect ory, mgmt/api/remote/Makefile.am:38: but option 'subdir-objects' is disabled mgmt/utils/Makefile.am:42: warning: source file '$(top_srcdir)/lib/ts/MatcherUtils.cc' is in a subdirectory, mgmt/utils/Makefile.am:42: but option 'subdir-objects' is disabled mgmt/utils/Makefile.am:42: warning: source file '$(top_srcdir)/proxy/DiagsConfig.cc' is i n a subdirectory, mgmt/utils/Makefile.am:42: but option 'subdir-objects' is disabled autoreconf-2.69: automake failed with exit status: 1 *** [pre-configure] Error code 1 Stop in /usr/ports/www/trafficserver. Fix: Tried everything in my knowledge, but I don't have a solution. How-To-Repeat: We started getting this problem when we upgraded from FreeBSD-8.3 to 9.0 I've tried compiling trafficserver on 9.0, 9.1 and now on 9.2 with the same result. Just for fun (!) I tried compiling on FreeBSD-8.4-RELEASE with similar result as on the 9.x-boxes. And as mentioned above the machine is pure, newly installed, with newly upgraded ports tree (using portsnap)
Author: decke Date: Wed Oct 23 12:12:40 2013 New Revision: 331378 URL: http://svnweb.freebsd.org/changeset/ports/331378 Log: - Update to 3.2.5 [1] - Add pkgconfig dependency to fix configure on FreeBSD 9.x and 10.x [2] - Add USE_GCC=any to fix configure and compile on FreeBSD 10.x - Convert LIB_DEPENDS to new shlib format - Remove checks for old EoL FreeBSD versions - Support staging PR: ports/179268 [1] PR: ports/183174 [2] Submitted by: Hung-Yi Chen <gaod@hychen.org> [1] Reported by: Gunnar Flygt <gunnar.flygt@sr.se> [2] Approved by: maintainer timeout (19 weeks) [1] With hat: portmgr Added: head/www/trafficserver/files/patch-mgmt_utils_Makefile.am (contents, props changed) Modified: head/www/trafficserver/Makefile head/www/trafficserver/distinfo (contents, props changed) head/www/trafficserver/files/patch-configure.ac (contents, props changed) head/www/trafficserver/pkg-plist (contents, props changed) Modified: head/www/trafficserver/Makefile ============================================================================== --- head/www/trafficserver/Makefile Wed Oct 23 12:06:27 2013 (r331377) +++ head/www/trafficserver/Makefile Wed Oct 23 12:12:40 2013 (r331378) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= trafficserver -PORTVERSION= 3.2.4 +PORTVERSION= 3.2.5 CATEGORIES= www MASTER_SITES= APACHE/${PORTNAME} @@ -11,41 +11,28 @@ COMMENT= A fast, scalable and extensible LICENSE= AL2 -LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \ - expat:${PORTSDIR}/textproc/expat2 \ - pcre:${PORTSDIR}/devel/pcre - -MAN1= traffic_shell.1 +LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libpcre.so:${PORTSDIR}/devel/pcre USE_AUTOTOOLS= autoconf automake libtool USE_BZIP2= yes -USES= iconv +USES= pkgconfig USE_OPENSSL= yes USE_SQLITE= yes USE_TCL= yes USE_RC_SUBR= ${PORTNAME} USE_LDCONFIG= yes +USE_GCC= any +ONLY_FOR_ARCHS= i386 amd64 LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-expat=${LOCALBASE} \ - --with-pcre=${LOCALBASE} + --with-pcre=${LOCALBASE} \ + --with-openssl=${OPENSSLBASE} -NO_STAGE= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) -BUILD_DEPENDS= xz>0:${PORTSDIR}/archivers/xz -RUN_DEPENDS= xz>0:${PORTSDIR}/archivers/xz -.endif - -.if ${OSVERSION} < 800000 && ${ARCH} == "amd64" -BROKEN= does not compile on 7.X/amd64 -.endif - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not compile on ia64, powerpc, or sparc64 -.endif - post-patch: @${REINPLACE_CMD} -e 's,|| mv,|| cp -p,' ${WRKSRC}/proxy/config/Makefile.am Modified: head/www/trafficserver/distinfo ============================================================================== --- head/www/trafficserver/distinfo Wed Oct 23 12:06:27 2013 (r331377) +++ head/www/trafficserver/distinfo Wed Oct 23 12:12:40 2013 (r331378) @@ -1,2 +1,2 @@ -SHA256 (trafficserver-3.2.4.tar.bz2) = 0f9246222960144e743dbc04d55820ce7f682cf33e950395d217d6f4cb6efcfc -SIZE (trafficserver-3.2.4.tar.bz2) = 2524893 +SHA256 (trafficserver-3.2.5.tar.bz2) = 6cada59cb8d8800d48344fa711aec6964083a182deee21fa445c31227bcd1c90 +SIZE (trafficserver-3.2.5.tar.bz2) = 2535498 Modified: head/www/trafficserver/files/patch-configure.ac ============================================================================== --- head/www/trafficserver/files/patch-configure.ac Wed Oct 23 12:06:27 2013 (r331377) +++ head/www/trafficserver/files/patch-configure.ac Wed Oct 23 12:12:40 2013 (r331378) @@ -1,13 +1,30 @@ ---- configure.ac.orig 2012-03-17 18:02:10.000000000 -0700 -+++ configure.ac 2012-05-03 16:16:05.000000000 -0700 -@@ -458,2 +458,6 @@ +--- configure.ac.orig 2013-07-03 04:17:28.000000000 +0800 ++++ configure.ac 2013-08-30 05:23:44.089882723 +0800 +@@ -40,7 +40,7 @@ + AC_CONFIG_AUX_DIR([build/aux]) + AC_CONFIG_SRCDIR([proxy/Main.cc]) + AC_CONFIG_MACRO_DIR([build]) +-AM_INIT_AUTOMAKE([-Wall -Werror foreign no-installinfo no-installman 1.9.2]) ++AM_INIT_AUTOMAKE([-Wall -Werror foreign no-installinfo no-installman 1.9.2 subdir-objects]) + AM_CONFIG_HEADER([lib/ts/ink_autoconf.h]) + + # Configure with --disable-silent-rules to get verbose output. For more info, see +@@ -497,6 +497,10 @@ + [AM_PROG_AR]) + +# required by automake-1.12 +m4_pattern_allow([AM_PROG_AR]) +AM_PROG_AR + AC_PROG_CPP -@@ -467,3 +471,2 @@ + AC_PROG_CXXCPP + AM_PROG_AS +@@ -506,7 +510,6 @@ + AC_PROG_LIBTOOL + AC_CHECK_PROG(RM, rm, rm) AC_CHECK_PROG(ASCPP, cpp, cpp) -AC_CHECK_TOOL(AR, ar, ar) AC_ISC_POSIX + AS_IF([test "x$enable_wccp" = "xyes"], + [ Added: head/www/trafficserver/files/patch-mgmt_utils_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trafficserver/files/patch-mgmt_utils_Makefile.am Wed Oct 23 12:12:40 2013 (r331378) @@ -0,0 +1,13 @@ +--- mgmt/utils/Makefile.am.orig 2013-08-30 06:02:17.979883250 +0800 ++++ mgmt/utils/Makefile.am 2013-08-30 06:02:36.918052210 +0800 +@@ -40,8 +40,8 @@ + + libutils_lm_a_CPPFLAGS = $(ink_with_modules_local) $(AM_CPPFLAGS) + libutils_lm_a_SOURCES = \ +- $(top_srcdir)/lib/ts/MatcherUtils.cc \ +- $(top_srcdir)/proxy/DiagsConfig.cc \ ++ ../../lib/ts/MatcherUtils.cc \ ++ ../../proxy/DiagsConfig.cc \ + EnvBlock.cc \ + EnvBlock.h \ + ExpandingArray.cc \ Modified: head/www/trafficserver/pkg-plist ============================================================================== --- head/www/trafficserver/pkg-plist Wed Oct 23 12:06:27 2013 (r331377) +++ head/www/trafficserver/pkg-plist Wed Oct 23 12:12:40 2013 (r331378) @@ -52,6 +52,7 @@ libexec/trafficserver/regex_remap.la libexec/trafficserver/regex_remap.so libexec/trafficserver/stats_over_http.la libexec/trafficserver/stats_over_http.so +man/man1/traffic_shell.1.gz %%ETCDIR%%/ae_ua.config.default %%ETCDIR%%/body_factory/default/.body_factory_info %%ETCDIR%%/body_factory/default/README _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed. Thanks!