Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2016 16:32:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210471] syslog-ng fails to build with JAVA option enabled
Message-ID:  <bug-210471-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210471

            Bug ID: 210471
           Summary: syslog-ng fails to build with JAVA option enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: Karli.Sjoberg@slu.se

Created attachment 171684
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171684&action=
=3Dedit
syslog-ng build log

Building with Poudriere and these options:
# This file is auto-generated by 'make config'.
# Options for syslog-ng-3.7.3_4
_OPTIONS_READ=3Dsyslog-ng-3.7.3_4
_FILE_COMPLETE_OPTIONS_LIST=3DDOCS GEOIP IPV6 JAVA JSON PYTHON REDIS SMTP S=
POOF
SQL TCP_WRAPPERS
OPTIONS_FILE_SET+=3DDOCS
OPTIONS_FILE_UNSET+=3DGEOIP
OPTIONS_FILE_SET+=3DIPV6
OPTIONS_FILE_SET+=3DJAVA
OPTIONS_FILE_UNSET+=3DJSON
OPTIONS_FILE_UNSET+=3DPYTHON
OPTIONS_FILE_UNSET+=3DREDIS
OPTIONS_FILE_UNSET+=3DSMTP
OPTIONS_FILE_UNSET+=3DSPOOF
OPTIONS_FILE_UNSET+=3DSQL
OPTIONS_FILE_UNSET+=3DTCP_WRAPPERS

Fails with:
Could not resolve all dependencies for configuration
':common:compileClasspath'.
> Could not resolve log4j:log4j:1.2.16.
  Required by:
      java-modules:common:unspecified
   > Could not resolve log4j:log4j:1.2.16.
      > Could not get resource
'https://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.pom'.
         > Could not GET
'https://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.pom'.
            > repo1.maven.org

_One_ hit on google reveals:
https://syslog-ng.org/question/the-make-of-syslog-ng-is-failing-connection-=
to-httpsrepo1-maven-org-refused/
"The resolution was to add a gradle.properties file with the http proxy det=
ails
under the /modules/java-modules/ directory. Where the build.gradle was.=20
It would be good to update the documentation to include this tip."

Log attached to bug report.

TIA
Karli Sj=C3=B6berg

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210471-13>