Package Details: psflib-git r49.87f070c-1

Git Clone URL: https://aur.archlinux.org/psflib-git.git (read-only, click to copy)
Package Base: psflib-git
Description: A small C library for reading Portable Sound Format files
Upstream URL: https://bitbucket.org/losnoco/psflib
Licenses: MIT
Conflicts: psflib
Provides: psflib
Submitter: Deewiant
Maintainer: Deewiant
Last Packager: Deewiant
Votes: 1
Popularity: 0.71
First Submitted: 2015-07-14 13:40 (UTC)
Last Updated: 2025-06-25 14:25 (UTC)

Required by (0)

Sources (1)

Latest Comments

Deewiant commented on 2025-06-25 14:32 (UTC)

Yep, fixed now. (Sorry, I'd noticed this silly error of mine earlier but never got around to pushing the fix... Thanks for the nudge.)

xAsh commented on 2025-06-24 02:50 (UTC) (edited on 2025-06-24 02:51 (UTC) by xAsh)

Build fails:

lto1: error: bad value ‘x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto’ for ‘-march=’ switch
lto1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids emeraldrapids alderlake raptorlake meteorlake graniterapids graniterapids-d arrowlake arrowlake-s lunarlake pantherlake diamondrapids bonnell atom silvermont slm goldmont goldmont-plus tremont gracemont sierraforest grandridge clearwaterforest x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 lujiazui yongfeng shijidadao k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 znver4 znver5 btver1 btver2 native
lto-wrapper: fatal error: cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
==> ERROR: A failure occurred in build().
    Aborting...

just needed to remove the quotes:

build() {
  cd "$srcdir/$pkgname"
  make CFLAGS="$CFLAGS -fPIC"
  "${CC-cc}" $CFLAGS -shared -lz -o libpsflib.so *.o
}