Re: FreeBSD Port: emulators/wine-devel configure failed unexpectedly

From: Fernando_Apesteguía <fernando.apesteguia_at_gmail.com>
Date: Wed, 03 Nov 2021 10:09:41 UTC
On Wed, Nov 3, 2021 at 10:46 AM Miroslav Lachman <000.fbsd@quip.cz> wrote:
>
> On 03/11/2021 09:03, Fernando Apesteguía wrote:
> > On Tue, Nov 2, 2021 at 10:13 PM Miroslav Lachman <000.fbsd@quip.cz> wrote:
> >>
> >> Hello,
> >> I am trying to build wine-devel in poudriere for FreeBSD 12.2 amd64 but
> >> it fails with some openal error. I tried it again with updated ports
> >> tree from yesterday but the same error again.
> >>
> >> checking for fontconfig/fontconfig.h... yes
> >> checking for -lfontconfig... libfontconfig.so.1
> >> checking jpeglib.h usability... yes
> >> checking jpeglib.h presence... yes
> >> checking for jpeglib.h... yes
> >> checking for -ljpeg... libjpeg.so.8
> >> checking for -lopenal... not found
> >> configure: error: libopenal 64-bit development files not found (or too
> >> old), OpenAL won't be supported.
> >> This is an error since --with-openal was requested.
> >> ===>  Script "configure" failed unexpectedly.
> >> Please report the problem to damjan.jov@gmail.com [maintainer] and
> >> attach the
> >> "/wrkdirs/usr/ports/emulators/wine-devel/work/wine-6.20/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
> >> /usr/local/sbin/pkg-static info -g -Ea).
> >> *** Error code 1
> >>
> >> Stop.
> >> make: stopped in /usr/ports/emulators/wine-devel
> >> =>> Cleaning up wrkdir
> >> ===>  Cleaning for wine-devel-6.20,1
> >> build of emulators/wine-devel | wine-devel-6.20,1 ended at Tue Nov  2
> >> 20:43:50 CET 2021
> >> build time: 00:31:11
> >> !!! build failure encountered !!!
> >>
> >>
> >> I don't have a config.log available (don't have SAVE_WRKDIR=yes in
> >> poudriere.conf) but I can send build logs from poudriere for any package
> >> if it helps.
> >>
> >> What can cause this error?
> >
> > checking for -lopenal... not found
> > configure: error: libopenal 64-bit development files not found (or too
> > old), OpenAL won't be supported.
> > This is an error since --with-openal was requested.
> >
> > The configure script is not finding your openal library. The port has
> > the OPENAL option ON by default.
> > In a clean environment (poudriere) openal-soft is built as a
> > dependency and properly detected.
> >
> > How are you trying to build emulators/wine-devel?
>
> I am building it in a poudriere with "poudrieer bulk", 547 ports were
> built, only wine-devel failed.
>
> The openal was built and installed during wine-devel build.
>
> More from the log:
> ===> The following configuration options are available for
> wine-devel-6.20,1:

This is a bit outdated. Current version is 6.20_1,1.

I'm build testing in 12.2 amd64. My test was in 13.0.

>       CUPS=off: CUPS printing system support
>       DOCS=on: Build and/or install documentation
>       DOSBOX=off: Use DOSBox to run MS-DOS programs
>       GECKO=off: Bundle Gecko MSI package for Wine
>       GNUTLS=on: SSL/TLS support via GnuTLS
>       LDAP=off: LDAP protocol support
>       LIBXSLT=off: Use libxslt (only used by msxml3.dll)
>       MONO=off: Bundle Mono MSI package for Wine
>       MPG123=off: MP3 decoding support via mpg123
>       OPENAL=on: Audio support via OpenAL
>       STAGING=off: Include Wine Staging patchset (experimental&unsupported)
>       V4L=off: Video 4 Linux support
>       WINEMAKER=off: Fully support winemaker (requires Perl)
>       X11=on: X11 (graphics) support
>
>
> ===>   wine-devel-6.20,1 depends on shared library: libopenal.so.1 - not
> found
> ===>   Installing existing package /packages/All/openal-soft-1.21.1_3.pkg
> [pkg.example.com] Installing openal-soft-1.21.1_3...
> [pkg.example.com] `-- Installing jackit-1.9.16_1...
> [pkg.example.com] |   `-- Installing dbus-1.12.20_5...
> [pkg.example.com] |   | `-- Installing libICE-1.0.10,1...
> [pkg.example.com] |   | `-- Extracting libICE-1.0.10,1: .......... done
> [pkg.example.com] |   | `-- Installing libSM-1.2.3,1...
> [pkg.example.com] |   | `-- Extracting libSM-1.2.3,1: ........ done
> ..
> ..
> [pkg.example.com] `-- Extracting qt5-widgets-5.15.2_3: .......... done
> Building the Shared MIME-Info database cache
> Generating GTK icon cache for /usr/local/share/icons/Adwaita
> Generating GTK icon cache for /usr/local/share/icons/hicolor
> [pkg.example.com] Extracting openal-soft-1.21.1_3: .......... done
> Building the Shared MIME-Info database cache
> Generating GTK icon cache for /usr/local/share/icons/Adwaita
> Generating GTK icon cache for /usr/local/share/icons/hicolor
> ..
> ..
> ===>   wine-devel-6.20,1 depends on shared library: libopenal.so.1 -
> found (/usr/local/lib/libopenal.so.1)
> ===>   Returning to build of wine-devel-6.20,1
> ===>   wine-devel-6.20,1 depends on shared library: libGLU.so - found
> (/usr/local/lib/libGLU.so)
> ..
>
> but at the end:
> checking for -lopenal... not found
> configure: error: libopenal 64-bit development files not found (or too
> old), OpenAL won't be supported.
>
> That's why I am asking.
>
> Full log can be found https://pastebin.com/82yNwrVB
>
> Kind regards
> Miroslav Lachman