recent port for java fails if ALSA not selected and not present

Jung-uk Kim jkim at FreeBSD.org
Thu Nov 30 22:35:55 UTC 2017


On 11/29/2017 10:16, Julian Elischer wrote:
> config looks like:
> 
> $ cat /usr/build/pzb/ports/java_openjdk*/o*
> # This file is auto-generated by 'make config'.
> # Options for openjdk-7.141.02,1
> _OPTIONS_READ=openjdk-7.141.02,1
> _FILE_COMPLETE_OPTIONS_LIST=DEBUG POLICY TZUPDATE X11
> OPTIONS_FILE_UNSET+=DEBUG
> OPTIONS_FILE_UNSET+=POLICY
> OPTIONS_FILE_UNSET+=TZUPDATE
> OPTIONS_FILE_UNSET+=X11
> # This file is auto-generated by 'make config'.
> # Options for openjdk8-jre-8.131.11
> _OPTIONS_READ=openjdk8-jre-8.131.11
> _FILE_COMPLETE_OPTIONS_LIST=ALSA POLICY TZUPDATE X11
> OPTIONS_FILE_UNSET+=ALSA
> OPTIONS_FILE_UNSET+=POLICY
> OPTIONS_FILE_UNSET+=TZUPDATE
> OPTIONS_FILE_UNSET+=X11
> # This file is auto-generated by 'make config'.
> # Options for openjdk8-8.131.11
> _OPTIONS_READ=openjdk8-8.131.11
> _FILE_COMPLETE_OPTIONS_LIST=ALSA POLICY TEST TZUPDATE X11 DEBUG
> DEBUGFAST RELEASE
> OPTIONS_FILE_UNSET+=ALSA
> OPTIONS_FILE_UNSET+=POLICY
> OPTIONS_FILE_UNSET+=TEST
> OPTIONS_FILE_UNSET+=TZUPDATE
> OPTIONS_FILE_UNSET+=X11
> OPTIONS_FILE_UNSET+=DEBUG
> OPTIONS_FILE_UNSET+=DEBUGFAST
> OPTIONS_FILE_SET+=RELEASE
> 
> 
> however even though ALSA is not requested, the build fails at:
> 
> [...]
> 
> checking for ALSA... no
> checking alsa/asoundlib.h usability... no
> checking alsa/asoundlib.h presence... no
> checking for alsa/asoundlib.h... no
> configure: error: Could not find alsa!
> configure exiting with result code 1
> ===>  Script "../../configure" failed unexpectedly.
> Please report the problem to java at FreeBSD.org [maintainer] and attach the
> config log including the output of the failure of your make command.
> Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. a
> 
> ).
> 
> so as requested here are installed packages, and the log is attached.
> 
> All ports/packages were compiled from a ports snapshot at r451075./
> /
> 
> /at Mon Oct 2 11:06:33 2017 UTC/ (8 weeks, 2 days ago)
...

I can't reproduce it with the current ports tree.  Can you please update
ports and try again?  Maybe you have set BUILD_JRE environment variable
somewhere?

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20171130/eaf2fcf2/attachment.sig>


More information about the freebsd-java mailing list