You are not logged in.

#1 2017-04-26 20:01:39

TyranT
Banned
Registered: 2017-03-01
Posts: 88

[PKGBUILD Review] "openal-git" and "lib32-openal-git"

I've been git cloning the OpenAL git repository for a while now. It installs into my "/usr/local/" directory, which is cool, but the system still doesn't detect it when I'm compiling a game that requires OpenAL. I'm just assuming that it is using the OpenAL from "/usr/local/" instead of the official package libs that are in "/usr/lib/" when I'm playing a game. I tried making a PKGBUILD of openal-git using the official OpenAL PKGBUILD in the Arch repository, but it would delete my "/usr/lib/" folder. Not cool. So could someone with experience on making PKGBUILDs be so kind and make an openal-git package, especially a lib32-openal-git package, since most games use the 32bit version.

Last edited by TyranT (2017-05-19 16:52:29)

Offline

#2 2017-04-26 20:13:12

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

TyranT wrote:

I tried making a PKGBUILD of openal-git using the official OpenAL PKGBUILD in the Arch repository, but it would delete my "/usr/lib/" folder.

It should be trivial to alter the existing openal PKGBUILD, it sounds like your issue is probably a typo somewhere that should be easy to fix, post what you've got so far.

Last edited by Slithery (2017-04-26 20:20:20)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-04-26 22:20:27

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I'm for certain all I did was change the Line 17, which is the "source=" to "git+https://github.com/kcat/openal-soft".

Last edited by TyranT (2017-04-26 23:00:13)

Offline

#4 2017-04-27 15:53:05

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I remember it has something to do with how OpenAL writes to the directories. I couldn't get it to install correctly, so I opted to just build it manually and git clone it into "/usr/local/", but I would prefer to have it as a package instead. The 32bit wouldn't build at all. Please! Some body make the packages!

Offline

#5 2017-05-03 21:15:52

Joel
Member
From: Tijuana, BC, México
Registered: 2011-12-21
Posts: 121

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Why are you building in /usr/local, that's unwise.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.
* AUR contributor.

Offline

#6 2017-05-04 13:35:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

There a few more changes needed to build git then just the sources array,
Below is  a PKGBUILD that builds latest openal-git .

I couldn't figure out what the sed command in prepare was supposed to achieve, so I commented it out.

P.S.
Added provides and conflicts lines

# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>

pkgbase=openal-git
_gitname=openal-soft
pkgname=(openal-git openal-examples-git)
pkgver=1.17.2
pkgrel=2
pkgdesc="Cross-platform 3D audio library, software implementation"
arch=(i686 x86_64)
url="https://github.com/kcat/openal-soft"
license=(LGPL)
depends=(glibc)
provides=(openal)
conflicts=(openal)

makedepends=(alsa-lib pkgconfig cmake libpulse qt4 fluidsynth portaudio jack sdl2 sdl_sound ffmpeg
             git)
source=("git+$url")
sha256sums=('SKIP')

prepare() {
  mkdir build examples
  cd $_gitname
#  sed -i 's/PIX_FMT_YUV420P/AV_&/g' examples/alffplay.c
}

build() {
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ../$_gitname
  make
}

package_openal-git() {
  optdepends=('qt4: alsoft-config GUI Configurator'
              'fluidsynth: MIDI rendering')

  make -C build DESTDIR="$pkgdir/" install
  install -m644 $_gitname/docs//{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"

### Split openal-examples
  mv "$pkgdir"/usr/bin/al{ffplay,hrtf,latency,loopback,reverb,stream} examples/
}

package_openal-examples-git() {
  pkgdesc+=" (example programs)"
  depends=("openal-git" sdl2 sdl_sound ffmpeg)

  mkdir -p "$pkgdir/usr/bin"
  mv examples/* "$pkgdir/usr/bin/"
}

Last edited by Lone_Wolf (2017-05-04 13:37:15)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2017-05-05 18:25:50

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Joel wrote:

Why are you building in /usr/local, that's unwise.

If you simply do a "git clone", this is were it installs by default. I'm sure all packages that are built with "sudo make install" go in this directory.

Lone_Wolf wrote:

There a few more changes needed to build git then just the sources array,
Below is  a PKGBUILD that builds latest openal-git .

Tried installing the package with your provided PKGBUILD. This is as far as I got as well. I got the same error when I tweaked the PKGBUILD myself.

error: failed to commit transaction (conflicting files)
openal-git: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.

Is there a way you can change the build options so it just simply goes into the "lib" directory instead? "lib64" is simply a symlink of the "lib" directory.

Last edited by TyranT (2017-05-05 18:26:38)

Offline

#8 2017-05-06 05:41:15

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I may have found something. If we change the "CMAKE_INSTALL_PREFIX=" to "/usr/lib", it might force the package to install into the "/usr/lib" directory instead of the "/usr/lib64" directory. Anyone want to try it or know if this actually works to fix the "/usr/lib64 exists in filesystem" error?

Offline

#9 2017-05-08 12:00:41

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Close, but no cigar.
(figuring out the correct cmake options is often tricky and cumbersome)

-D CMAKE_INSTALL_LIBDIR=/usr/lib

Add that to the cmake line in the build() function.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2017-05-08 18:06:21

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

DUUUUUDE!!! It works!! Awesome!!! I made a backup of the lib directory just in case. Thank you so much Lone_Wolf for that walkthrough. Do you think it would be safe to do this with the 32bit version of the package and just add

 export CC="gcc -m32"
  export CXX="g++ -m32"
  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

And...

-D LIB_SUFFIX=32

There's a OpenAL overrun crash when I'm playing de_aztec in Counter-Strike 1.6, and I really want to see if the 32bit git version added a commit that fixes this bug. I use the "sdl2-hg" and "lib32-sdl2-hg" packages, so it would be nice to team them up with "openal-git" and "lib32-openal-git".

Last edited by TyranT (2017-05-08 18:09:14)

Offline

#11 2017-05-09 12:09:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Let's go  a bit slower, TyranT .

I focused on helping you to get this working, it is possible the PKGBUILD can be improved. Please post the complete one as it is now.
Posting namcap output for the PKGBUILD and the resulting binary would also be  a good idea.

There are things that are ok in PKGBUILDs for personal use (like not conforming to PKGBUILD guidelines), but should be corrected for uploading to AUR.
Do you feel like uploading openal-git to AUR and become the maintainer ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2017-05-09 23:58:27

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Heres the PKGBUILD as of right now.

# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>

pkgbase=openal-git
_gitname=openal-soft
pkgname=(openal-git openal-examples-git)
pkgver=1.17.2
pkgrel=2
pkgdesc="Cross-platform 3D audio library, software implementation"
arch=(i686 x86_64)
url="https://github.com/kcat/openal-soft"
license=(LGPL)
depends=(glibc)
provides=(openal)
conflicts=(openal)

makedepends=(alsa-lib pkgconfig cmake libpulse qt4 fluidsynth portaudio jack sdl2 sdl_sound ffmpeg
             git)
source=("git+$url")
sha256sums=('SKIP')

prepare() {
  mkdir build examples
  cd $_gitname
#  sed -i 's/PIX_FMT_YUV420P/AV_&/g' examples/alffplay.c
}

build() {
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_LIBDIR=/usr/lib -D CMAKE_BUILD_TYPE=Release ../$_gitname
  make
}

package_openal-git() {
  optdepends=('qt4: alsoft-config GUI Configurator'
              'fluidsynth: MIDI rendering')

  make -C build DESTDIR="$pkgdir/" install
  install -m644 $_gitname/docs//{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"

### Split openal-examples
  mv "$pkgdir"/usr/bin/al{ffplay,hrtf,latency,loopback,reverb,stream} examples/
}

package_openal-examples-git() {
  pkgdesc+=" (example programs)"
  depends=("openal-git" sdl2 sdl_sound ffmpeg)

  mkdir -p "$pkgdir/usr/bin"
  mv examples/* "$pkgdir/usr/bin/"
}

When running namcap on the PKGBUILD, it returns no information. But, when running namcap on the binary, the following is outputted.

openal-git E: Dependency qt5-base detected and not included (libraries ['usr/lib/libQt5Core.so.5', 'usr/lib/libQt5Gui.so.5', 'usr/lib/libQt5Widgets.so.5'] needed in files ['usr/bin/alsoft-config'])
openal-git W: Dependency gcc-libs-multilib detected but optional (libraries ['usr/lib/libstdc++.so.6', 'usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/alsoft-config'])

I would gladly maintain both these packages in the AUR, and I truly appreciate all your help.

Last edited by TyranT (2017-05-10 00:06:58)

Offline

#13 2017-05-10 12:07:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

First step is then to remove the first line ( $Id$ is only useful in official repo packages) and change the 2nd line so Jan Steffens is listed as Contributor .
Add a line at start of PKGBUILD listing yourself as maintainer .

The official openal package builds against qt4, but namcap output indicates openal-git builds against qt5 .
Replace qt4 with qt5-base in the PKGBUILD.

rebuild, run namcap again (also run it on the 2nd binary ) .



install -m644 $_gitname/docs//{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"

This line is a bit puzzling, as there are more files in that folder then just those two .
And why are they put in /usr/share/openal instead of /usr/share/docs/openal ?
Not sure how to deal with these.

Last edited by Lone_Wolf (2017-05-10 12:09:27)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#14 2017-05-10 12:30:25

mis
Member
Registered: 2016-03-16
Posts: 234

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

In addition to what Lone_Wolf said, it's recommended to check if the packages build in a clean chroot before uploading to AUR.
The easiest way is to install devtools and run extra-x86_64-build from the directory that contains the PKGBUILD.
https://wiki.archlinux.org/index.php/De … ean_Chroot

If you already did it just forget this comment. wink

Offline

#15 2017-05-10 18:37:28

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I replaced qt4 with qt5-base and heres the output of namcap now.

openal-git W: Dependency gcc-libs-multilib detected but optional (libraries ['usr/lib/libstdc++.so.6', 'usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/alsoft-config'])
openal-git W: Dependency qt5-base detected but optional (libraries ['usr/lib/libQt5Gui.so.5', 'usr/lib/libQt5Widgets.so.5', 'usr/lib/libQt5Core.so.5'] needed in files ['usr/bin/alsoft-config'])

Here is the namcap for openal-examples-git.

openal-examples-git W: Unused shared library '/usr/lib/libSDL2-2.0.so.0' by file ('usr/bin/alreverb')
openal-examples-git W: Unused shared library '/usr/lib/libSDL2-2.0.so.0' by file ('usr/bin/alstream')
openal-examples-git W: Unused shared library '/usr/lib/libSDL2-2.0.so.0' by file ('usr/bin/allatency')
openal-examples-git W: Unused shared library '/usr/lib/libSDL2-2.0.so.0' by file ('usr/bin/alhrtf')

For some reason, when trying to install the open-examples-git package, it has a conflict with the openal-git package.

Last edited by TyranT (2017-05-10 18:52:48)

Offline

#16 2017-05-11 10:59:27

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

qt5-base brings gcc-libs/gcc-libs-multilib as dependency, so i think we can ignore those namcap warnings .

The unused shared library is a rather common warning and i have no idea why it gives that.
If you remove the dependency that provides the library from the pkgbuild, rebuild and run namcap again it will complain about missing that same dependency.

The conflict between openal-examples-git and openal-git is probably due to the provides/conflicts lines being in the main body of the PKGBUILD.
In a split package they should be  in one of the package_xyzzyx()  functions.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#17 2017-05-11 15:57:45

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I remember creating a symlink for "libSDL2-2.0.so.0" because it was missing when installing the "sdl2-hg" package. That must be why.

I think the openal-examples-git package is like a sample of the openal-git package, so it's cool how it is.

Would you say it's safe to create the lib32 build of OpenAL git? Should I just do the tweaks to the PKGBUILD I said earlier? I would feel alot more confident if you made it since you're way more experienced in making PKGBUILDS. I can use your 32bit git PKGBUILD tweaks as a template for other 32bit git builds I'm interested in.

Last edited by TyranT (2017-05-11 16:00:20)

Offline

#18 2017-05-12 09:43:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I think openal-git is almost ready for upload, post the latest PKGBUILD, so we can verify .

As for lib32 version :

Try starting it yourself, use the finished openal-git as base.
Those 3 tweaks will probably be needed , but multilib differs a lot between packages. and there may be more needed.

Look closely at makepkg output and what ends up in $pkgdir.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#19 2017-05-12 19:33:26

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Here is the final version of the 64bit openal-git PKGBUILD.

# Maintainer: Vincent Grande (shoober420)
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>

pkgbase=openal-git
_gitname=openal-soft
pkgname=(openal-git openal-examples-git)
pkgver=1.17.2
pkgrel=2
pkgdesc="Cross-platform 3D audio library, software implementation"
arch=(i686 x86_64)
url="https://github.com/kcat/openal-soft"
license=(LGPL)
depends=(glibc)
provides=(openal)
conflicts=(openal)

makedepends=(alsa-lib pkgconfig cmake libpulse qt5-base fluidsynth portaudio jack sdl2 sdl_sound ffmpeg
             git)
source=("git+$url")
sha256sums=('SKIP')

prepare() {
  mkdir build examples
  cd $_gitname
#  sed -i 's/PIX_FMT_YUV420P/AV_&/g' examples/alffplay.c
}

build() {
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_LIBDIR=/usr/lib -D CMAKE_BUILD_TYPE=Release ../$_gitname
  make
}

package_openal-git() {
  optdepends=('qt5-base: alsoft-config GUI Configurator'
              'fluidsynth: MIDI rendering')

  make -C build DESTDIR="$pkgdir/" install
  install -m644 $_gitname/docs//{env-vars,hrtf}.txt "$pkgdir/usr/share/openal/"

### Split openal-examples
  mv "$pkgdir"/usr/bin/al{ffplay,hrtf,latency,loopback,reverb,stream} examples/
}

package_openal-examples-git() {
  pkgdesc+=" (example programs)"
  depends=("openal-git" sdl2 sdl_sound ffmpeg)

  mkdir -p "$pkgdir/usr/bin"
  mv examples/* "$pkgdir/usr/bin/"
}

I'm so close to getting the 32bit version of openal-git working. I got through the dependency hell, and added "lib32-ffmpeg" and "lib32-sdl_sound" to the makedepends. Now at the end of compilation, I get an error.

[100%] Linking CXX executable ../../alsoft-config
/usr/lib/libQt5Widgets.so.5.8.0: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [utils/alsoft-config/CMakeFiles/alsoft-config.dir/build.make:158: alsoft-config] Error 1
make[1]: *** [CMakeFiles/Makefile2:525: utils/alsoft-config/CMakeFiles/alsoft-config.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I went ahead and installed "lib32-qt5-base-bin" and ran the "update_pkgbuild.sh" script. I got it to the latest version and I had high hopes at this point, but it still crashed with the same error. I literally don't know what to do at this point. I have both 32bit and 64bit versions of qt5-base installed, and I still get that error. There must be some compile flag for it to recognize that 32bit qt5 package. I wouldn't have the slightest clue which one though.

Here is the PKGBUILD for the 32bit version as of now. I used the official 32bit template from the official repository and tweaked it. Its not much different from the official 64bit template.

# Maintainer: Vincent Grande (shoober420)
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>

_pkgbasename=openal
_gitname=openal-soft
pkgname=lib32-openal-git
pkgver=1.17.2
pkgrel=1
pkgdesc="A cross-platform 3D audio library (32-bit)"
arch=(x86_64)
url="https://github.com/kcat/openal-soft"
license=(LGPL)
depends=(lib32-glibc $_pkgbasename)
makedepends=(lib32-alsa-lib pkgconfig cmake lib32-libpulse lib32-portaudio lib32-jack
             git gcc-multilib lib32-ffmpeg lib32-sdl_sound)
source=("git+$url")
sha256sums=('SKIP')

prepare() {
  mkdir build
  cd $_gitname
}

build() {
  export CC="gcc -m32"
  export CXX="g++ -m32"
  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_LIBDIR=/usr/lib32 -D CMAKE_BUILD_TYPE=Release -D LIB_SUFFIX=32 ../$_gitname
  make
}

package() {
  optdepends=('lib32-qt5-base-bin: alsoft-config GUI Configurator'
              'lib32-fluidsynth: MIDI rendering')

  make -C build DESTDIR="$pkgdir/" install
  rm -rf "$pkgdir"/usr/{include,share,bin}
}

Last edited by TyranT (2017-05-12 19:39:02)

Offline

#20 2017-05-13 18:21:54

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I tried some googling, and came across these flags.

 export CXXFLAGS=-m32
 export CFLAGS=-m32
 export LDFLAGS=-m32

I added them to the PKGBUILD and it didn't help. Anyone know how to tell the compiler to look for the 32bit libs of qt5 instead of the 64bit ones?

Last edited by TyranT (2017-05-13 22:34:30)

Offline

#21 2017-05-13 18:33:18

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

usually i686 builds are not very useful for multilib, but I haven't had time to look into this yet.

can you post full log without those 3 flags and the lib32-qt5-base-bin ?

The cause may lie way before the error report.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#22 2017-05-13 22:16:04

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

Here is the output log of cmake for lib32-openal-git.

==> Making package: lib32-openal-git 1.17.2-1 (Sat May 13 17:30:58 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning openal-soft git repo...
Cloning into bare repository '/home/abc/Downloads/packages/lib32-openal-git/openal-soft'...
/etc/host.conf: line 2: bad command `nospoof on'
==> Validating source files with sha256sums...
    openal-soft ... Skipped
==> Extracting sources...
  -> Creating working copy of openal-soft git repo...
Cloning into 'openal-soft'...
done.
/etc/host.conf: line 2: bad command `nospoof on'
==> Starting prepare()...
==> Starting build()...
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/gcc
-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/g++
-- Check for working CXX compiler: /usr/lib/hardening-wrapper/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:61 (message):
  LIB_SUFFIX is deprecated.  Use the variables provided by the GNUInstallDirs
  module instead


-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Performing Test HAVE_STD_C11
-- Performing Test HAVE_STD_C11 - Success
-- Performing Test HAVE_STD_CXX11
-- Performing Test HAVE_STD_CXX11 - Success
-- Looking for posix_memalign
-- Looking for posix_memalign - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - 64
-- Performing Test INLINE_IS_C99
-- Performing Test INLINE_IS_C99 - Success
-- Performing Test HAVE_STRUCT_TIMESPEC
-- Performing Test HAVE_STRUCT_TIMESPEC - Success
-- Performing Test HAVE_LIBATOMIC
-- Performing Test HAVE_LIBATOMIC - Success
-- Looking for __android_log_print in log
-- Looking for __android_log_print in log - not found
-- Performing Test HAVE_C99_VLA
-- Performing Test HAVE_C99_VLA - Success
-- Performing Test HAVE_C99_BOOL
-- Performing Test HAVE_C99_BOOL - Success
-- Performing Test HAVE_C11_STATIC_ASSERT
-- Performing Test HAVE_C11_STATIC_ASSERT - Success
-- Performing Test HAVE_C11_ALIGNAS
-- Performing Test HAVE_C11_ALIGNAS - Success
-- Performing Test HAVE_C11_ATOMIC
-- Performing Test HAVE_C11_ATOMIC - Success
-- Performing Test HAVE_W_EXTRA
-- Performing Test HAVE_W_EXTRA - Success
-- Performing Test HAVE_FNO_MATH_ERRNO
-- Performing Test HAVE_FNO_MATH_ERRNO - Success
-- Performing Test HAVE_GCC_DESTRUCTOR
-- Performing Test HAVE_GCC_DESTRUCTOR - Success
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success
-- Performing Test HAVE_ATTRIBUTE_ALIGNED
-- Performing Test HAVE_ATTRIBUTE_ALIGNED - Success
-- Performing Test HAVE___BUILTIN_ASSUME_ALIGNED
-- Performing Test HAVE___BUILTIN_ASSUME_ALIGNED - Success
-- Performing Test HAVE_MSSE_SWITCH
-- Performing Test HAVE_MSSE_SWITCH - Success
-- Performing Test HAVE_MSSE2_SWITCH
-- Performing Test HAVE_MSSE2_SWITCH - Success
-- Performing Test HAVE_MSSE3_SWITCH
-- Performing Test HAVE_MSSE3_SWITCH - Success
-- Performing Test HAVE_MSSE4_1_SWITCH
-- Performing Test HAVE_MSSE4_1_SWITCH - Success
-- Performing Test HAVE_MFPU_NEON_SWITCH
-- Performing Test HAVE_MFPU_NEON_SWITCH - Failed
-- Performing Test HAVE_GCC_FORMAT
-- Performing Test HAVE_GCC_FORMAT - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdalign.h
-- Looking for stdalign.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for intrin.h
-- Looking for intrin.h - not found
-- Looking for sys/sysconf.h
-- Looking for sys/sysconf.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for float.h
-- Looking for float.h - found
-- Looking for ieeefp.h
-- Looking for ieeefp.h - not found
-- Looking for guiddef.h
-- Looking for guiddef.h - not found
-- Looking for initguid.h
-- Looking for initguid.h - not found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Looking for aligned_alloc
-- Looking for aligned_alloc - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for modff
-- Looking for modff - found
-- Looking for _controlfp
-- Looking for _controlfp - not found
-- Looking for __control87_2
-- Looking for __control87_2 - not found
-- Looking for stat
-- Looking for stat - found
-- Looking for strtof
-- Looking for strtof - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnlen
-- Looking for strnlen - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Performing Test HAVE_PTHREAD
-- Performing Test HAVE_PTHREAD - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_setschedparam
-- Looking for pthread_setschedparam - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for pthread_mutexattr_setkind_np
-- Looking for pthread_mutexattr_setkind_np - not found
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for xmmintrin.h
-- Looking for xmmintrin.h - found
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for pmmintrin.h
-- Looking for pmmintrin.h - found
-- Looking for smmintrin.h
-- Looking for smmintrin.h - found
-- Looking for arm_neon.h
-- Looking for arm_neon.h - not found
-- Found ALSA: /usr/lib32/libasound.so (found version "1.1.3") 
-- Found OSS: /usr/include  
-- Could NOT find AudioIO (missing:  AUDIOIO_INCLUDE_DIR) 
-- Could NOT find SoundIO (missing:  SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) 
-- Could NOT find QSA (missing:  QSA_LIBRARY QSA_INCLUDE_DIR) 
-- Found PortAudio: /usr/lib32/libportaudio.so  
-- Found PulseAudio: /usr/lib32/libpulse.so (found version "10.0.0") 
-- Found JACK: /usr/lib32/libjack.so  
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
-- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/lib32/libSDL2main.a;/usr/lib32/libSDL2.so  
-- Found SDL_sound: /usr/lib32/libSDL_sound.so;/usr/lib32/libSDL2main.a;/usr/lib32/libSDL2.so (found version "1.0.3") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'libavcodec'
--   Found libavcodec, version 57.89.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.71.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 57.6.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.58.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.6.100
-- Checking for module 'libswresample'
--   Found libswresample, version 2.7.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.5.100
-- Found FFmpeg: /usr/lib32/libavformat.so;/usr/lib32/libavcodec.so;/usr/lib32/libavutil.so;/usr/lib32/libswscale.so;/usr/lib32/libswresample.so;/usr/lib32/libz.so  
-- Found Git: /usr/bin/git (found version "2.13.0") 
-- 
-- Building OpenAL with support for the following backends:
--      ALSA, OSS, PortAudio, PulseAudio, JACK, WaveFile, Null
-- 
-- Building with support for CPU extensions:
--     Default, SSE, SSE2, SSE3, SSE4.1
-- 
-- Installing sample configuration
-- 
-- Installing HRTF definitions
-- 
-- Installing AmbDec presets
-- 
-- Building utility programs
-- Building configuration program
-- 
-- Building test programs
-- 
-- Building SDL_sound example programs
-- Building SDL+FFmpeg example programs
-- 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LIB_SUFFIX


-- Build files have been written to: /home/jukilo420_-/Downloads/packages/lib32-openal-git/src/build
Scanning dependencies of target build_version
[  0%] Built target build_version
Scanning dependencies of target OpenAL
[  0%] Building C object CMakeFiles/OpenAL.dir/common/almalloc.c.o
[  1%] Building C object CMakeFiles/OpenAL.dir/common/atomic.c.o
[  2%] Building C object CMakeFiles/OpenAL.dir/common/rwlock.c.o
[  3%] Building C object CMakeFiles/OpenAL.dir/common/threads.c.o
[  4%] Building C object CMakeFiles/OpenAL.dir/common/uintmap.c.o
[  4%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alAuxEffectSlot.c.o
[  5%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alBuffer.c.o
[  6%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alEffect.c.o
[  7%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alError.c.o
[  8%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alExtension.c.o
[  8%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alFilter.c.o
[  9%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alListener.c.o
[ 10%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alSource.c.o
[ 11%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alState.c.o
[ 12%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/alThunk.c.o
[ 13%] Building C object CMakeFiles/OpenAL.dir/OpenAL32/sample_cvt.c.o
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c: In function ‘DecodeIMA4Block’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[7]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 code[c] >>= 4;
                         ^~~
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[6]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[5]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[4]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/OpenAL32/sample_cvt.c:267:25: warning: ‘code[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[ 13%] Building C object CMakeFiles/OpenAL.dir/Alc/ALc.c.o
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c: In function ‘LockLists’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c:801:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_lock(&ListLock);
         ^~~
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c: In function ‘UnlockLists’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c:806:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_unlock(&ListLock);
         ^~~
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c: In function ‘alc_init’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/ALc.c:878:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
     int ret;
         ^~~
[ 14%] Building C object CMakeFiles/OpenAL.dir/Alc/ALu.c.o
[ 15%] Building C object CMakeFiles/OpenAL.dir/Alc/alcConfig.c.o
[ 16%] Building C object CMakeFiles/OpenAL.dir/Alc/alcRing.c.o
[ 17%] Building C object CMakeFiles/OpenAL.dir/Alc/bs2b.c.o
[ 17%] Building C object CMakeFiles/OpenAL.dir/Alc/converter.c.o
[ 18%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/chorus.c.o
[ 19%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/compressor.c.o
[ 20%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/dedicated.c.o
[ 21%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/distortion.c.o
[ 21%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/echo.c.o
[ 22%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/equalizer.c.o
[ 23%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/flanger.c.o
[ 24%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/modulator.c.o
[ 25%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/null.c.o
[ 26%] Building C object CMakeFiles/OpenAL.dir/Alc/effects/reverb.c.o
[ 26%] Building C object CMakeFiles/OpenAL.dir/Alc/helpers.c.o
[ 27%] Building C object CMakeFiles/OpenAL.dir/Alc/bsinc.c.o
[ 28%] Building C object CMakeFiles/OpenAL.dir/Alc/hrtf.c.o
[ 29%] Building C object CMakeFiles/OpenAL.dir/Alc/uhjfilter.c.o
[ 30%] Building C object CMakeFiles/OpenAL.dir/Alc/ambdec.c.o
[ 30%] Building C object CMakeFiles/OpenAL.dir/Alc/bformatdec.c.o
[ 31%] Building C object CMakeFiles/OpenAL.dir/Alc/nfcfilter.c.o
[ 32%] Building C object CMakeFiles/OpenAL.dir/Alc/panning.c.o
[ 33%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer.c.o
[ 34%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer_c.c.o
[ 34%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer_sse.c.o
[ 35%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer_sse2.c.o
[ 36%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer_sse3.c.o
[ 37%] Building C object CMakeFiles/OpenAL.dir/Alc/mixer_sse41.c.o
[ 38%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/base.c.o
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c: In function ‘ALCbackend_Construct’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c:17:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_init(&self->mMutex, almtx_recursive);
         ^~~
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c: In function ‘ALCbackend_lock’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c:67:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_lock(&self->mMutex);
         ^~~
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c: In function ‘ALCbackend_unlock’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/base.c:73:9: warning: unused variable ‘ret’ [-Wunused-variable]
     int ret = almtx_unlock(&self->mMutex);
         ^~~
[ 39%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/loopback.c.o
[ 39%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/null.c.o
[ 40%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/alsa.c.o
[ 41%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/oss.c.o
[ 42%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/portaudio.c.o
[ 43%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/pulseaudio.c.o
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/pulseaudio.c: In function ‘ALCpulsePlayback_mixerProc’:
/home/abc/Downloads/packages/lib32-openal-git/src/openal-soft/Alc/backends/pulseaudio.c:834:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(len < self->attr.minreq)
                ^
[ 43%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/jack.c.o
[ 44%] Building C object CMakeFiles/OpenAL.dir/Alc/backends/wave.c.o
[ 45%] Linking C shared library libopenal.so
[ 45%] Built target OpenAL
Scanning dependencies of target alffplay
[ 46%] Building CXX object CMakeFiles/alffplay.dir/examples/alffplay.cpp.o
[ 47%] Building C object CMakeFiles/alffplay.dir/common/almalloc.c.o
[ 47%] Building C object CMakeFiles/alffplay.dir/common/atomic.c.o
[ 48%] Building C object CMakeFiles/alffplay.dir/common/rwlock.c.o
[ 49%] Building C object CMakeFiles/alffplay.dir/common/threads.c.o
[ 50%] Building C object CMakeFiles/alffplay.dir/common/uintmap.c.o
[ 51%] Linking CXX executable alffplay
[ 51%] Built target alffplay
Scanning dependencies of target makehrtf
[ 52%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
[ 53%] Linking C executable makehrtf
[ 53%] Built target makehrtf
Scanning dependencies of target bsincgen
[ 53%] Building C object CMakeFiles/bsincgen.dir/utils/bsincgen.c.o
[ 54%] Linking C executable bsincgen
[ 54%] Built target bsincgen
Scanning dependencies of target alhrtf
[ 55%] Building C object CMakeFiles/alhrtf.dir/examples/alhrtf.c.o
[ 55%] Building C object CMakeFiles/alhrtf.dir/common/almalloc.c.o
[ 56%] Building C object CMakeFiles/alhrtf.dir/common/atomic.c.o
[ 57%] Building C object CMakeFiles/alhrtf.dir/common/rwlock.c.o
[ 58%] Building C object CMakeFiles/alhrtf.dir/common/threads.c.o
[ 59%] Building C object CMakeFiles/alhrtf.dir/common/uintmap.c.o
[ 59%] Building C object CMakeFiles/alhrtf.dir/examples/common/alhelpers.c.o
[ 60%] Linking C executable alhrtf
[ 60%] Built target alhrtf
Scanning dependencies of target alreverb
[ 61%] Building C object CMakeFiles/alreverb.dir/examples/alreverb.c.o
[ 62%] Building C object CMakeFiles/alreverb.dir/common/almalloc.c.o
[ 63%] Building C object CMakeFiles/alreverb.dir/common/atomic.c.o
[ 63%] Building C object CMakeFiles/alreverb.dir/common/rwlock.c.o
[ 64%] Building C object CMakeFiles/alreverb.dir/common/threads.c.o
[ 65%] Building C object CMakeFiles/alreverb.dir/common/uintmap.c.o
[ 66%] Building C object CMakeFiles/alreverb.dir/examples/common/alhelpers.c.o
[ 67%] Linking C executable alreverb
[ 67%] Built target alreverb
Scanning dependencies of target alstream
[ 67%] Building C object CMakeFiles/alstream.dir/examples/alstream.c.o
[ 68%] Building C object CMakeFiles/alstream.dir/common/almalloc.c.o
[ 69%] Building C object CMakeFiles/alstream.dir/common/atomic.c.o
[ 70%] Building C object CMakeFiles/alstream.dir/common/rwlock.c.o
[ 71%] Building C object CMakeFiles/alstream.dir/common/threads.c.o
[ 71%] Building C object CMakeFiles/alstream.dir/common/uintmap.c.o
[ 72%] Building C object CMakeFiles/alstream.dir/examples/common/alhelpers.c.o
[ 73%] Linking C executable alstream
[ 73%] Built target alstream
Scanning dependencies of target altonegen
[ 74%] Building C object CMakeFiles/altonegen.dir/examples/altonegen.c.o
[ 75%] Building C object CMakeFiles/altonegen.dir/common/almalloc.c.o
[ 76%] Building C object CMakeFiles/altonegen.dir/common/atomic.c.o
[ 76%] Building C object CMakeFiles/altonegen.dir/common/rwlock.c.o
[ 77%] Building C object CMakeFiles/altonegen.dir/common/threads.c.o
[ 78%] Building C object CMakeFiles/altonegen.dir/common/uintmap.c.o
[ 79%] Building C object CMakeFiles/altonegen.dir/examples/common/alhelpers.c.o
[ 80%] Linking C executable altonegen
[ 80%] Built target altonegen
Scanning dependencies of target allatency
[ 81%] Building C object CMakeFiles/allatency.dir/examples/allatency.c.o
[ 82%] Building C object CMakeFiles/allatency.dir/common/almalloc.c.o
[ 83%] Building C object CMakeFiles/allatency.dir/common/atomic.c.o
[ 83%] Building C object CMakeFiles/allatency.dir/common/rwlock.c.o
[ 84%] Building C object CMakeFiles/allatency.dir/common/threads.c.o
[ 85%] Building C object CMakeFiles/allatency.dir/common/uintmap.c.o
[ 86%] Building C object CMakeFiles/allatency.dir/examples/common/alhelpers.c.o
[ 87%] Linking C executable allatency
[ 87%] Built target allatency
Scanning dependencies of target openal-info
[ 88%] Building C object CMakeFiles/openal-info.dir/utils/openal-info.c.o
[ 89%] Linking C executable openal-info
[ 89%] Built target openal-info
Scanning dependencies of target alloopback
[ 90%] Building C object CMakeFiles/alloopback.dir/examples/alloopback.c.o
[ 90%] Building C object CMakeFiles/alloopback.dir/common/almalloc.c.o
[ 91%] Building C object CMakeFiles/alloopback.dir/common/atomic.c.o
[ 92%] Building C object CMakeFiles/alloopback.dir/common/rwlock.c.o
[ 93%] Building C object CMakeFiles/alloopback.dir/common/threads.c.o
[ 94%] Building C object CMakeFiles/alloopback.dir/common/uintmap.c.o
[ 94%] Building C object CMakeFiles/alloopback.dir/examples/common/alhelpers.c.o
[ 95%] Linking C executable alloopback
[ 95%] Built target alloopback
[ 95%] Generating moc_mainwindow.cpp
[ 96%] Generating ui_mainwindow.h
Scanning dependencies of target alsoft-config
[ 97%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/main.cpp.o
[ 98%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/mainwindow.cpp.o
[ 99%] Building CXX object utils/alsoft-config/CMakeFiles/alsoft-config.dir/moc_mainwindow.cpp.o
[100%] Linking CXX executable ../../alsoft-config
/usr/lib/libQt5Widgets.so.5.8.0: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [utils/alsoft-config/CMakeFiles/alsoft-config.dir/build.make:158: alsoft-config] Error 1
make[1]: *** [CMakeFiles/Makefile2:525: utils/alsoft-config/CMakeFiles/alsoft-config.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Here's the info on lib32-qt5-base-bin.

AUR Page: https://aur.archlinux.org/packages/lib32-qt5-base-bin/
PKGBUILD: https://aur.archlinux.org/cgit/aur.git/ … 5-base-bin

The build log for lib32-qt5-base-bin doesn't say much...

==> Making package: lib32-qt5-base-bin 5.8.0_11-1 (Sat May 13 17:22:57 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found qt5-base-i686.pkg.tar.xz
==> Validating source files with md5sums...
    qt5-base-i686.pkg.tar.xz ... Passed
==> Extracting sources...
  -> Extracting qt5-base-i686.pkg.tar.xz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "lib32-qt5-base-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: lib32-qt5-base-bin 5.8.0_11-1 (Sat May 13 17:23:35 UTC 2017)

Last edited by TyranT (2017-05-13 22:32:41)

Offline

#23 2017-05-14 13:19:31

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/gcc
-- Check for working C compiler: /usr/lib/hardening-wrapper/bin/gcc -- works

remove hardening-wrapper .

It doesn't play nice with many software, and likely overrides the exported CC / CXX settings.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#24 2017-05-14 19:55:17

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

After removing the "hardening-wrapper" package from my system, it still crashes with the same error about qt5. I find it odd that it looks for the other libs like sdl_sound and ffmpeg in /usr/lib32, but looks for qt5 in /usr/lib. There must be a way to tell cmake to look for all libs in /usr/lib32...

Last edited by TyranT (2017-05-14 19:56:43)

Offline

#25 2017-05-15 05:44:04

TyranT
Banned
Registered: 2017-03-01
Posts: 88

Re: [PKGBUILD Review] "openal-git" and "lib32-openal-git"

I made an GitHub issue on the OpenAL page to see if kcat can help us too. He has some interesting compile options, but they still didn't work.

https://github.com/kcat/openal-soft/issues/115

There was an interesting CMAKE options he mentioned.

 -DQt5Widgets_DIR=/usr/lib32/cmake/Qt5Widgets 
-DQt5Gui_DIR=/usr/lib32/cmake/Qt5Gui
 -DQt5Core_DIR=/usr/lib32/cmake/Qt5Core

I added them to the PKGBUILD but it still gave the same error.

Last edited by TyranT (2017-05-15 09:37:20)

Offline

Board footer

Powered by FluxBB