Package Details: lib32-libsidplay 1.36.59-7

Git Clone URL: https://aur.archlinux.org/lib32-libsidplay.git (read-only, click to copy)
Package Base: lib32-libsidplay
Description: A library for playing SID music files, lib32 (32-bit)
Upstream URL: https://critical.ch/distfiles/
Keywords: lib32
Licenses: GPL
Submitter: GordonGR
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 8
Popularity: 0.000001
First Submitted: 2013-05-07 20:17 (UTC)
Last Updated: 2020-11-22 19:58 (UTC)

Latest Comments

zfkerr commented on 2023-01-23 08:19 (UTC) (edited on 2023-01-23 08:20 (UTC) by zfkerr)

g++ -m32 -Wno-narrowing -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.59\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT_INT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=4 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -MT info_.lo -MD -MP -MF .deps/info_.Tpo -c info_.cpp  -fPIC -DPIC -o .libs/info_.o
fformat_.cpp: In function 'int myStrNcaseCmp(const char*, const char*)':
fformat_.cpp:19:12: error: 'strnicmp' was not declared in this scope; did you mean 'strncmp'?
   19 |     return strnicmp( s1, s2, strlen(s2) );
  |            ^~~~~~~~
  |            strncmp
fformat_.cpp: In function 'int myStrCaseCmp(const char*, const char*)':
fformat_.cpp:53:12: error: 'stricmp' was not declared in this scope; did you mean 'strncmp'?
   53 |     return stricmp( s1, s2 );
  |            ^~~~~~~
  |            strncmp
make[1]: *** [Makefile:327: fformat_.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
 g++ -m32 -Wno-narrowing -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.59\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT_INT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=4 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -MT info_.lo -MD -MP -MF .deps/info_.Tpo -c info_.cpp -o info_.o >/dev/null 2>&1
make[1]: Leaving directory '/tmp/makepkg/lib32-libsidplay/src/libsidplay-1.36.59/src'
make: *** [Makefile:241: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Nocifer commented on 2022-01-25 12:45 (UTC) (edited on 2022-01-25 15:11 (UTC) by Nocifer)

EDIT: Turns out it builds successfully in a clean chroot, so it is indeed something somewhere somehow misconfigured on my system (possibly the use of the march=native CFLAG but I can't test it right now). Still, I'm leaving the original comment untouched in case anyone encounters a similar issue.


It wouldn't build for me, with the following error:

fformat_.cpp: In function 'int myStrNcaseCmp(const char*, const char*)':
fformat_.cpp:19:12: error: 'strnicmp' was not declared in this scope; did you mean 'strncmp'?
   19 |     return strnicmp( s1, s2, strlen(s2) );
      |            ^~~~~~~~
      |            strncmp
fformat_.cpp: In function 'int myStrCaseCmp(const char*, const char*)':
fformat_.cpp:53:12: error: 'stricmp' was not declared in this scope; did you mean 'strncmp'?
   53 |     return stricmp( s1, s2 );
      |            ^~~~~~~
      |            strncmp

I traced the error to a seemingly malfunctioning #ifdef directive inside fformat_.cpp, and fixed it by removing that #ifdef altogether. I don't know if this is an issue only on my system (due to something somewhere somehow misconfigured) or if it's more widespread, but here's a patch in case anyone else is also affected; it's to be applied exactly like the other two patches already present in the PKGBUILD.

GordonGR commented on 2018-07-01 12:35 (UTC)

Thank you, Enverex, I changed it.

Enverex commented on 2018-06-29 10:23 (UTC) (edited on 2018-06-29 10:28 (UTC) by Enverex)

The source for this package doesn't exist anymore (http://critical.ch/distfiles/libsidplay-1.36.59.tgz). In fact that entire folder doesn't exist anymore.

Looks like you can use Ubuntu's Launchbox source as a drop-in replacement - https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libsidplay/1.36.59-11/libsidplay_1.36.59.orig.tar.gz - worked and built for me using this instead.

GordonGR commented on 2016-05-16 18:50 (UTC)

Thank you!

Tomato commented on 2016-05-14 12:54 (UTC)

package does not compile with current gcc to compile, it's necessary to add `-Wno-narrowing` to g++ options