Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 607798 [details] fix for sound.m4 Description of problem: Since _hardened_build was enabled for freeciv, SDL_mixer isn't used, due to the configure script's tests failing Version-Release number of selected component (if applicable): freeciv-2.3.2-2.fc17 How reproducible: Yes. Steps to Reproduce: 1. Check build logs. 2. 3. Actual results: Lacking sound via SDL_mixer. Expected results: Sound via SDL_mixer. Additional info: From config.log, the problem is that -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 has ended up more than once on the gcc command line: configure:20300: checking SDL_mixer.h usability configure:20300: gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=core2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=core2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c >&5 gcc: fatal error: /usr/lib/rpm/redhat/redhat-hardened-cc1: attempt to rename spec 'cc1_options' to already defined spec 'rh_cc1_options_old' compilation terminated. This is because CFLAGS got added to CPPFLAGS in tests within m4/sound.m4
Created attachment 607800 [details] patch for configure to avoid running autotools
Thanks, fix on it's way.
freeciv-2.3.2-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/freeciv-2.3.2-3.fc18
freeciv-2.3.2-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/freeciv-2.3.2-3.fc17
Package freeciv-2.3.2-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeciv-2.3.2-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12903/freeciv-2.3.2-3.fc18 then log in and leave karma (feedback).
freeciv-2.3.2-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
freeciv-2.3.2-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.