[Bug 277778] java/apache-commons-beanutils fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Mar 2024 12:18:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277778

            Bug ID: 277778
           Summary: java/apache-commons-beanutils fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: olgeni@FreeBSD.org
          Reporter: devosalain@ymail.com
             Flags: maintainer-feedback?(olgeni@FreeBSD.org)
          Assignee: olgeni@FreeBSD.org

make.conf:
DEFAULT_VERSIONS+= java=17

```
[00:01:05] [ap-ports-job-03] `-- Extracting openjdk17-17.0.9+9.1: ..........
done
[00:01:10] [ap-ports-job-03] Extracting apache-commons-logging-1.2: ..........
done
[00:01:10] ==> Running trigger: fontconfig.ucl
[00:01:10] Running fc-cache to build fontconfig cache...
[00:01:11] ==> Running trigger: gio-modules.ucl
[00:01:11] Generating GIO modules cache
[00:01:11] ==> Running trigger: glib-schemas.ucl
[00:01:11] Compiling glib schemas
[00:01:11] No schema files found: doing nothing.
[00:01:11] =====
[00:01:11] Message from freetype2-2.13.2:
[00:01:11] 
[00:01:11] --
[00:01:11] The 2.7.x series now uses the new subpixel hinting mode (V40 port's
option) as
[00:01:11] the default, emulating a modern version of ClearType. This change
inevitably
[00:01:11] leads to different rendering results, and you might change port's
options to
[00:01:11] adapt it to your taste (or use the new "FREETYPE_PROPERTIES"
environment
[00:01:11] variable).
[00:01:11] 
[00:01:11] The environment variable "FREETYPE_PROPERTIES" can be used to
control the
[00:01:11] driver properties. Example:
[00:01:11] 
[00:01:11] FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
[00:01:11]      cff:no-stem-darkening=1 \
[00:01:11]      autofitter:warping=1
[00:01:11] 
[00:01:11] This allows to select, say, the subpixel hinting mode at runtime for
a given
[00:01:11] application.
[00:01:11] 
[00:01:11] If LONG_PCF_NAMES port's option was enabled, the PCF family names
may include
[00:01:11] the foundry and information whether they contain wide characters.
For example,
[00:01:11] "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be
disabled at
[00:01:11] run time with using pcf:no-long-family-names property, if needed.
Example:
[00:01:11] 
[00:01:11] FREETYPE_PROPERTIES=pcf:no-long-family-names=1
[00:01:11] 
[00:01:11] How to recreate fontconfig cache with using such environment
variable,
[00:01:11] if needed:
[00:01:11] # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv
[00:01:11] 
[00:01:11] The controllable properties are listed in the section "Controlling
FreeType
[00:01:11] Modules" in the reference's table of contents
[00:01:11] (/usr/local/share/doc/freetype2/reference/index.html, if
documentation was installed).
[00:01:11] =====
[00:01:11] Message from python39-3.9.18:
[00:01:11] 
[00:01:11] --
[00:01:11] Note that some standard Python modules are provided as separate
ports
[00:01:11] as they require additional dependencies. They are available as:
[00:01:11] 
[00:01:11] py39-gdbm       databases/py-gdbm@py39
[00:01:11] py39-sqlite3    databases/py-sqlite3@py39
[00:01:11] py39-tkinter    x11-toolkits/py-tkinter@py39
[00:01:11] =====
[00:01:11] Message from dejavu-2.37_3:
[00:01:11] 
[00:01:11] --
[00:01:11] Make sure that the freetype module is loaded.  If it is not, add the
following
[00:01:11] line to the "Modules" section of your X Windows configuration file:
[00:01:11] 
[00:01:11]      Load "freetype"
[00:01:11] 
[00:01:11] Add the following line to the "Files" section of X Windows
configuration file:
[00:01:11] 
[00:01:11]      FontPath "/usr/local/share/fonts/dejavu/"
[00:01:11] 
[00:01:11] Note: your X Windows configuration file is typically
/etc/X11/XF86Config
[00:01:11] if you are using XFree86, and /etc/X11/xorg.conf if you are using
X.Org.
[00:01:11] =====
[00:01:11] Message from openjdk17-17.0.9+9.1:
[00:01:11] 
[00:01:11] --
[00:01:11] This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd
and
[00:01:11] procfs(5) mounted on /proc.
[00:01:11] 
[00:01:11] If you have not done it yet, please do the following:
[00:01:11] 
[00:01:11]      mount -t fdescfs fdesc /dev/fd
[00:01:11]      mount -t procfs proc /proc
[00:01:11] 
[00:01:11] To make it permanent, you need the following lines in /etc/fstab:
[00:01:11] 
[00:01:11]      fdesc   /dev/fd         fdescfs         rw      0       0
[00:01:11]      proc    /proc           procfs          rw      0       0
[00:01:11] =====
[00:01:11] Message from apache-commons-logging-1.2:
[00:01:11] 
[00:01:11] --
[00:01:11] ===>   NOTICE:
[00:01:11] 
[00:01:11] The apache-commons-logging port currently does not have a
maintainer. As a result, it is
[00:01:11] more likely to have unresolved issues, not be up-to-date, or even be
removed in
[00:01:11] the future. To volunteer to maintain this port, please create an
issue at:
[00:01:11] 
[00:01:11] https://bugs.freebsd.org/bugzilla
[00:01:11] 
[00:01:11] More information about port maintainership is available at:
[00:01:11] 
[00:01:11]
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
[00:01:11] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/share/java/classes/commons-logging.jar - found
[00:01:11] ===>   Returning to build of apache-commons-beanutils-1.9.4
[00:01:11] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/share/java/classes/commons-collections.jar - not found
[00:01:11] ===>   Installing existing package
/packages/All/apache-commons-collections-3.2.2.pkg
[00:01:11] [ap-ports-job-03] Installing apache-commons-collections-3.2.2...
[00:01:11] [ap-ports-job-03] Extracting apache-commons-collections-3.2.2:
.......... done
[00:01:12] =====
[00:01:12] Message from apache-commons-collections-3.2.2:
[00:01:12] 
[00:01:12] --
[00:01:12] ===>   NOTICE:
[00:01:12] 
[00:01:12] The apache-commons-collections port currently does not have a
maintainer. As a result, it is
[00:01:12] more likely to have unresolved issues, not be up-to-date, or even be
removed in
[00:01:12] the future. To volunteer to maintain this port, please create an
issue at:
[00:01:12] 
[00:01:12] https://bugs.freebsd.org/bugzilla
[00:01:12] 
[00:01:12] More information about port maintainership is available at:
[00:01:12] 
[00:01:12]
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
[00:01:12] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/share/java/classes/commons-collections.jar - found
[00:01:12] ===>   Returning to build of apache-commons-beanutils-1.9.4
[00:01:12] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/openjdk17/bin/java - found
[00:01:12] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/bin/ant - not found
[00:01:12] ===>   Installing existing package
/packages/All/apache-ant-1.10.13.pkg
[00:01:12] [ap-ports-job-03] Installing apache-ant-1.10.13...
[00:01:12] [ap-ports-job-03] Extracting apache-ant-1.10.13: .......... done
[00:01:12] ===>   apache-commons-beanutils-1.9.4 depends on file:
/usr/local/bin/ant - found
[00:01:12] ===>   Returning to build of apache-commons-beanutils-1.9.4
[00:01:12]
===========================================================================
[00:01:12] =======================<phase: lib-depends   
>============================
[00:01:12] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
[00:01:12]
===========================================================================
[00:01:12] =======================<phase: configure     
>============================
[00:01:12] ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
[00:01:12] ===>  Configuring for apache-commons-beanutils-1.9.4
[00:01:12]
===========================================================================
[00:01:12] =======================<phase: build         
>============================
[00:01:12] ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
[00:01:12] ===>  Building for apache-commons-beanutils-1.9.4
[00:01:12] Buildfile:
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/build.xml
[00:01:12] 
[00:01:12] init:
[00:01:12]      [echo] -------- beanutils 1.9.4 --------
[00:01:12] 
[00:01:12] prepare:
[00:01:12]     [mkdir] Created dir:
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/target
[00:01:12]     [mkdir] Created dir:
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/target/classes
[00:01:12]     [mkdir] Created dir:
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/target/conf
[00:01:12]     [mkdir] Created dir:
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/target/tests
[00:01:12] 
[00:01:12] compile:
[00:01:12]     [javac]
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/build.xml:151:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[00:01:12]     [javac] Compiling 111 source files to
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/target/classes
[00:01:12]     [javac] warning: [options] bootstrap class path not set in
conjunction with -source 6
[00:01:12]     [javac] error: Source option 6 is no longer supported. Use 7 or
later.
[00:01:12]     [javac] error: Target option 6 is no longer supported. Use 7 or
later.
[00:01:12] 
[00:01:12] BUILD FAILED
[00:01:12]
/wrkdirs/usr/ports/java/apache-commons-beanutils/work/commons-beanutils-1.9.4-src/build.xml:151:
Compile failed; see the compiler error output for details.
[00:01:12] 
[00:01:12] Total time: 0 seconds
[00:01:12] *** Error code 1
[00:01:12] 
[00:01:12] Stop.
[00:01:12] make: stopped in /usr/ports/java/apache-commons-beanutils
[00:01:13] =>> Cleaning up wrkdir
[00:01:13] ===>  Cleaning for apache-commons-beanutils-1.9.4
[00:01:13] build of java/apache-commons-beanutils |
apache-commons-beanutils-1.9.4 ended at Mon Mar 18 12:01:43 UTC 2024
[00:01:13] build time: 00:01:13
[00:01:13] !!! build failure encountered !!!

```

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