Summary: | в libSDL2_mixer-2.0.2-alt1.S1 сломана поддержка Ogg Vorbis | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | viy <viy> |
Component: | libSDL2_mixer | Assignee: | Денис Назаров <nenderus> |
Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P3 | CC: | mike, nenderus, vseleznv |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
URL: | http://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/wesnoth-1.13.8-alt1 |
Description
viy
2017-11-15 23:09:25 MSK
У меня вот такая ошибка получается: Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/srpm/wesnoth-1.13.8-alt1.src.rpm Installing wesnoth-1.13.8-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.94193 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf wesnoth-1.13.8 + echo 'Source #0 (wesnoth-1.13.8.tar):' Source #0 (wesnoth-1.13.8.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/wesnoth-1.13.8.tar + cd wesnoth-1.13.8 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (wesnoth-1.13.8-boost1.64.patch):' Patch #0 (wesnoth-1.13.8-boost1.64.patch): + /usr/bin/patch -p1 patching file src/tests/main.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.38553 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd wesnoth-1.13.8 + scons all prefix=/usr bindir=/usr/bin libdir=/usr/lib64 fifodir=/var/run/wesnothd datadirname=wesnoth docdir=/usr/share/doc/wesnoth 'extra_flags_release=-pipe -Wall -g -O3' scons: Reading SConscript files ... scons: warning: EnsureSConsVersion is ignored for development version File "/usr/src/RPM/BUILD/wesnoth-1.13.8/SConstruct", line 10, in <module> Building Wesnoth version 1.13.8 Mkdir("build") ---[checking prerequisites]--- Checking for C header file poll.h... yes Checking for C header file sys/poll.h... yes Checking for C header file sys/select.h... yes Checking for C header file sys/sendfile.h... yes Checking for C function sendfile()... yes Checking for C library m... yes Checking for C function round()... yes Checking if floating point numbers are in the IEEE 754 format... yes Checking whether C++ compiler works (g++ version >= 4.8 required)... yes Checking for Boost iostreams library version >= 1.48.0... yes Checking for gzip support in Boost Iostreams... yes Checking for bzip2 support in Boost Iostreams... yes Checking for C library pthread... yes Checking for Boost system library... yes Checking for Boost asio library... yes Checking for Boost random library version >= 1.48.0... yes Checking for Boost smart_ptr library... yes Checking for Boost system library... yes Checking for Boost filesystem library version >= 1.48.0... yes Checking for Boost locale library... yes INFO: Base prerequisites are met Checking for Simple DirectMedia Layer library version >= 2.0.4... yes Checking for SDL2_ttf library... yes Checking for SDL2_mixer library... yes Checking for SDL2_image library... yes Checking for C library vorbisfile... yes Checking for Ogg Vorbis support in SDL... no Checking for PNG support in SDL... yes Checking for JPG support in SDL... yes Checking for Cairo... (cached) yes Checking for Pango with cairo backend... (cached) yes Checking for fontconfig... (cached) yes Checking for Boost program_options library version >= 1.48.0... yes Checking for Boost thread library... yes Checking for Boost regex library... yes WARNING: Client prerequisites are not met. wesnoth cannot be built WARNING: Unit tests are disabled because their prerequisites are not met If any config checks fail, look in build/config.log for details If a check fails spuriously due to caching, use --config=force to force its rerun ---[applying configuration]--- error: No repo or cache detected. scons: done reading SConscript files. scons: Building targets ... error_action(["wesnoth"], []) scons: *** [wesnoth] Target disabled because its prerequisites are not met scons: building terminated because of errors. error: Bad exit status from /usr/src/tmp/rpm-tmp.38553 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.38553 (%build) Command exited with non-zero status 1 17.16user 2.51system 0:19.83elapsed 99%CPU (0avgtext+0avgdata 245680maxresident)k 0inputs+0outputs (0major+616668minor)pagefaults 0swaps hsh-rebuild: rebuild of `pkg.tar' failed. Про тесты всего-лишь WARNING, а не ERROR вроде... ну да. [...] Checking for Ogg Vorbis support in SDL... no [...] и выбивает. тестовая программа на С не может проиграть .ogg файл. Да, с 2.0.1 в этом месте проходит нормально. Попробую найти патч для исправления... (В ответ на комментарий №3) > Попробую найти патч для исправления... "SDL2_mixer" "2.0.2" wesnoth ogg patch сходу безрезультатно -- похоже, стоит сообщить о регрессии апстриму по возможности. похоже, все-таки, это не проблема libSDL2_mixer см. https://github.com/wesnoth/wesnoth/issues/2137 закрываю. там в SDL2_mixer что-то все же поменялось, но wesnoth приспособился. так что я соберу. Fix Scons for SDL2_mixer 2.0.2 With the change from SDL_mixer 2.0.1 to 2.0.2, we cannot simply check if SDL_mixer can open an OGG/Vorbis file, we must first open an audio device. [This is probably a mistake, since the documentation implies simply initializing the codec should be enough.] To avoid future problems, upgrade the feature-test program to perform a full initialization and shut-down; everything except actually playing the sound. |