Date: Thu, 4 Nov 2021 09:01:53 +0100 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com> To: Damjan Jovanovic <damjan.jov@gmail.com> Cc: Miroslav Lachman <000.fbsd@quip.cz>, FreeBSD Ports <freebsd-ports@freebsd.org>, Alexander88207@protonmail.com Subject: Re: FreeBSD Port: emulators/wine-devel configure failed unexpectedly Message-ID: <CAGwOe2ZTR3QoN9SBTzm37Z%2BCZiFAdPDoK0K8ePOF%2BVUJOik1LQ@mail.gmail.com> In-Reply-To: <CAJm2B-nUoxeCeYaReh0C76fKJuWR9_zWb28LLsAKphKXEpDFzg@mail.gmail.com> References: <6c82ad3d-0d18-9625-bb13-a004fa2f45ab@quip.cz> <CAGwOe2b4ug-yF6fzrCQCgObjZRpUW3cPrzFjMrm0Cdb7zZ-sSQ@mail.gmail.com> <16d9acc0-ff10-6da7-2a72-daa13d8ff277@quip.cz> <CAGwOe2apPM0unbfbA09fQtGR-XEu3kwWztfDvqY-tpeiZfv03w@mail.gmail.com> <62d46d2c-6429-39c8-bc45-02ea0c2a257b@quip.cz> <CAGwOe2YoZN9BkqjgXDDtnnzuau19f3i%2BU6UNQsx1E1LiNcoBSg@mail.gmail.com> <967fa3cf-3de4-e598-cae9-62c47f0b0d8e@quip.cz> <CAJm2B-nUoxeCeYaReh0C76fKJuWR9_zWb28LLsAKphKXEpDFzg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 4, 2021 at 1:43 AM Damjan Jovanovic <damjan.jov@gmail.com> wrot= e: > > When JACK is on, does it appear in: > pkg-config openal --libs > ? > > If no, that's a bug in OpenAL, it should generate pkg-config files with t= he jack library. If yes, that's a bug in Wine, it should use pkg-config whe= n present instead of trying to guess in configure.ac how to link to the lib= rary itself. With Options : CONFIG : on EXAMPLES : on JACK : on OSS : on PORTAUDIO : off PULSEAUDIO : off SDL : off SNDIO : off root@13_0amd64-default:~ # pkg info -l openal-soft | grep pkgconfig /usr/local/libdata/pkgconfig/openal.pc root@13_0amd64-default:~ # pkg-config openal --libs -L/usr/local/lib -lopenal I think at this point we should open a PR for further reference. > > > On Wed, Nov 3, 2021 at 11:27 PM Miroslav Lachman <000.fbsd@quip.cz> wrote= : >> >> On 03/11/2021 16:01, Fernando Apestegu=C3=ADa wrote: >> > On Wed, Nov 3, 2021 at 12:04 PM Miroslav Lachman <000.fbsd@quip.cz> wr= ote: >> >> >> >> On 03/11/2021 11:09, Fernando Apestegu=C3=ADa wrote: >> >>> On Wed, Nov 3, 2021 at 10:46 AM Miroslav Lachman <000.fbsd@quip.cz> = wrote: >> >>>> >> >>>> On 03/11/2021 09:03, Fernando Apestegu=C3=ADa 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 amd= 64 but >> >>>>>> it fails with some openal error. I tried it again with updated po= rts >> >>>>>> 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 (o= r too >> >>>>>> old), OpenAL won't be supported. >> >>>>>> This is an error since --with-openal was requested. >> >>>>>> =3D=3D=3D> Script "configure" failed unexpectedly. >> >>>>>> Please report the problem to damjan.jov@gmail.com [maintainer] an= d >> >>>>>> attach the >> >>>>>> "/wrkdirs/usr/ports/emulators/wine-devel/work/wine-6.20/config.lo= g" >> >>>>>> 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 >> >>>>>> =3D>> Cleaning up wrkdir >> >>>>>> =3D=3D=3D> Cleaning for wine-devel-6.20,1 >> >>>>>> build of emulators/wine-devel | wine-devel-6.20,1 ended at Tue No= v 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=3Dyes= 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 we= re >> >>>> built, only wine-devel failed. >> >>>> >> >>>> The openal was built and installed during wine-devel build. >> >>>> >> >>>> More from the log: >> >>>> =3D=3D=3D> 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=3Doff: CUPS printing system support >> >>>> DOCS=3Don: Build and/or install documentation >> >>>> DOSBOX=3Doff: Use DOSBox to run MS-DOS programs >> >>>> GECKO=3Doff: Bundle Gecko MSI package for Wine >> >>>> GNUTLS=3Don: SSL/TLS support via GnuTLS >> >>>> LDAP=3Doff: LDAP protocol support >> >>>> LIBXSLT=3Doff: Use libxslt (only used by msxml3.dll) >> >>>> MONO=3Doff: Bundle Mono MSI package for Wine >> >>>> MPG123=3Doff: MP3 decoding support via mpg123 >> >>>> OPENAL=3Don: Audio support via OpenAL >> >>>> STAGING=3Doff: Include Wine Staging patchset (experimental&= unsupported) >> >>>> V4L=3Doff: Video 4 Linux support >> >>>> WINEMAKER=3Doff: Fully support winemaker (requires Perl) >> >>>> X11=3Don: X11 (graphics) support >> >>>> >> >>>> >> >>>> =3D=3D=3D> wine-devel-6.20,1 depends on shared library: libopenal= .so.1 - not >> >>>> found >> >>>> =3D=3D=3D> 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: .......... d= one >> >>>> 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 >> >>>> .. >> >>>> .. >> >>>> =3D=3D=3D> wine-devel-6.20,1 depends on shared library: libopenal= .so.1 - >> >>>> found (/usr/local/lib/libopenal.so.1) >> >>>> =3D=3D=3D> Returning to build of wine-devel-6.20,1 >> >>>> =3D=3D=3D> 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 >> >> >> >> I got the same error with wine-devel-6.20_1,1 >> >> >> >> https://pastebin.com/TSxvVx4Q >> > >> > I can't see any significant differences between your log and mine >> > prior to the error report. >> > >> > You have some global options like never use X11 OPTION and such, but I >> > don't see how that can affect. >> > >> > If you do a poudriere testport -i and do "pkg info openal-soft", what >> > output do you get? >> > >> > Also, can you provide the file >> > /wrkdirs/usr/ports/emulators/wine-devel/work/wine-6.20/config.log? >> >> It seems the problem is with JACK options enabled. Openal was built with >> this options: >> >> "CONFIG": "on", >> "EXAMPLES": "on", >> "JACK": "on", >> "OSS": "on", >> "PORTAUDIO": "off", >> "PULSEAUDIO": "off", >> "SDL": "off", >> "SNDIO": "off" >> >> config.log from wine-6.20 can be found https://pastebin.com/C80HLJYm >> >> There are some interesting parts: >> >> configure:7545: checking OpenAL/al.h usability >> configure:7545: gcc10 -m64 -c -O2 -pipe -fstack-protector-strong >> -Wl,-rpath=3D/usr/local/lib/gcc10 -isystem /usr/local/include >> -fno-strict-aliasing -isystem /usr/local/include conftest.c >&5 >> conftest.c:55:10: fatal error: OpenAL/al.h: No such file or directory >> 55 | #include <OpenAL/al.h> >> | ^~~~~~~~~~~~~ >> compilation terminated. >> configure:7545: $? =3D 1 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "Wine" >> | #define PACKAGE_TARNAME "wine" >> | #define PACKAGE_VERSION "6.20" >> >> >> | #include <OpenAL/al.h> >> configure:7545: result: no >> configure:7545: checking OpenAL/al.h presence >> configure:7545: cpp10 -isystem /usr/local/include conftest.c >> conftest.c:22:10: fatal error: OpenAL/al.h: No such file or directory >> 22 | #include <OpenAL/al.h> >> | ^~~~~~~~~~~~~ >> compilation terminated. >> configure:7545: $? =3D 1 >> configure: failed program was: >> >> >> | #include <OpenAL/al.h> >> configure:7545: result: no >> configure:7545: checking for OpenAL/al.h >> configure:7545: result: no >> configure:7545: checking for OpenCL/opencl.h >> configure:7545: result: no >> configure:7545: checking QuickTime/ImageCompression.h usability >> configure:7545: gcc10 -m64 -c -O2 -pipe -fstack-protector-strong >> -Wl,-rpath=3D/usr/local/lib/gcc10 -isystem /usr/local/include >> -fno-strict-aliasing -isystem /usr/local/include conftest.c >&5 >> conftest.c:55:10: fatal error: QuickTime/ImageCompression.h: No such >> file or directory >> 55 | #include <QuickTime/ImageCompression.h> >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> compilation terminated. >> configure:7545: $? =3D 1 >> configure: failed program was: >> >> >> configure:15271: result: libjpeg.so.8 >> configure:15298: checking for -lopenal >> configure:15323: gcc10 -m64 -o conftest -O2 -pipe >> -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -isystem >> /usr/local/include -fno-strict-aliasing -isystem /usr/local/include >> -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 >> -L/usr/local/lib/gcc10 conftest.c -lopenal -L/usr/local/lib >&5 >> /usr/local/bin/ld: /usr/local/lib/libopenal.so: undefined reference to >> `jack_error_callback' >> collect2: error: ld returned 1 exit status >> configure:15323: $? =3D 1 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "Wine" >> | #define PACKAGE_TARNAME "wine" >> | #define PACKAGE_VERSION "6.20" >> >> >> ac_cv_header_OpenAL_al_h=3Dno >> >> ac_cv_lib_soname_openal=3D'' >> >> I tried to turn JACK option off and rebuild wine (poudriere bulk) but it >> took 207 packages for rebuild so I will wait about 30 hours for the >> result (there are huge ports like firefox, thunderbird etc. which need >> to be rebuild when openal option changed) >> >> Anyway if this (JACK) is the issue it needs to be fixed. JACK is valid >> option for openal. >> >> Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2ZTR3QoN9SBTzm37Z%2BCZiFAdPDoK0K8ePOF%2BVUJOik1LQ>