Hi, today I switched to the new gcc-7.2.0 profile but now I'm not able to compile the adplay package again. gr33tz j0inty Reproducible: Always Steps to Reproduce: 1. switch to gcc-7.2.0 2. emerge adplay 3. Actual Results: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/usr/include/libbinio -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DADPLUG_DATA_DIR=\"/usr/com/adplug\" -march=skylake -O2 -pipe -c -o alsa.o alsa.cc In file included from /usr/include/bits/getopt_posix.h:27:0, from /usr/include/unistd.h:872, from /usr/include/alsa/asoundlib.h:31, from alsa.h:25, from players.h:79, from adplay.cc:46: /usr/include/bits/getopt_core.h:91:12: error: declaration of ‘int getopt(int, char* const*, const char*) throw ()’ has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from adplay.cc:40:0: getopt.h:134:12: note: from previous declaration ‘int getopt(int, char* const*, const char*)’ extern int getopt (int __argc, char *const *__argv, const char *__shortopts); ^~~~~~ make[2]: *** [Makefile:375: adplay.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-sound/adplay-1.7/work/adplay-1.7/src'
Created attachment 505908 [details] build.log
confirmed at 17.0-desktop-plasma-systemd_libressl_20171208-173134
Created attachment 510082 [details] emerge-info.txt
Created attachment 510084 [details] emerge-history.txt
Created attachment 510086 [details] environment
Created attachment 510088 [details] etc.portage.tbz2
Created attachment 510090 [details] logs.tbz2
Created attachment 510092 [details] media-sound:adplay-1.7:20171215-011038.log
Created attachment 510094 [details] temp.tbz2
fixed upstream: https://github.com/adplug/adplay-unix/commit/aa4718cdbf1e9d6427960f3239c87b0e71434317 and fwiw in the "sabayon" overlay too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fe1489af29c9159ec8709779e7a56cbd657047 commit c0fe1489af29c9159ec8709779e7a56cbd657047 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-12-12 23:48:43 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-12-12 23:48:49 +0000 media-sound/adplay: bump up to 1.8, bug #638580 New release fixes build failure against modern glibc. Reported-by: Steffen 'j0inty' Stollfuß Closes: https://bugs.gentoo.org/638580 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> media-sound/adplay/Manifest | 1 + media-sound/adplay/adplay-1.8.ebuild | 30 ++++++++++++++++++++++++++++++ media-sound/adplay/metadata.xml | 1 + 3 files changed, 32 insertions(+)