Opened 13 years ago
Closed 12 years ago
#8371 closed bug (fixed)
sdllibs meta pkg fails to install due to missing speex
Reported by: | Disreali | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | - General | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Occurs on hrev43809-4h nightly.
'installoptionalpackage -a sdllibs' fails because the speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip file does not exist at http://haiku-files.org/files/optional-packages/lib/
Change History (10)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 13 years ago
Owner: | changed from | to
---|
korli, you may have plans here (hrev43846) and I don't want to touch it.
SDL relied on speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip... there is a newer package at http://haiku-files.org/files/optional-packages/lib/speex-1.2rc1-x86-gcc4-2012-03-12.zip but it was never pointed to in OptionalPackages.
Thoughts?
comment:4 by , 13 years ago
Went ahead and linked newer speex package in hrev43890
See if it works... if not we should rebuild sdl and friends.
comment:5 by , 13 years ago
Actually, it is Xiphlibs and its dependencies that should be rebuilt.
It is Xiphlibs, one of 'SDLlibs' dependencies, that is the issue. It is the 'Xiphlibs' metapkg that includes speex. Now that speex is already included in the build as a requirement of ffmpeg, I expect that we should not be re-installing it and others as part of the 'Xiphlibs' pkg.
As it is now, If someone installs the xiphlibs pkg they will be overwriting libogg, libthoera, libvorbis, and speex with older versions.
According to the /boot/common/data/optional-packages/OptionalBuildFeatures ffmpeg installs the following:
# FFmpeg local ffmpegBaseURL = http://haiku-files.org/files/optional-packages/lib ; if $(TARGET_ARCH) = x86 { if $(HAIKU_GCC_VERSION[1]) >= 4 { HAIKU_FFMPEG_FILE = ffmpeg-0.10-x86-gcc4-2012-03-19.zip ; HAIKU_SPEEX_FILE = speex-1.2rc1-x86-gcc4-2012-03-12.zip ; HAIKU_LIBTHEORA_FILE = libtheora-1.1.1-x86-gcc4-2012-03-12.zip ; HAIKU_LIBVORBIS_FILE = libvorbis-1.3.2-x86-gcc4-2012-03-12.zip ; HAIKU_LIBOGG_FILE = libogg-1.3.0-x86-gcc4-2012-03-12.zip ; HAIKU_LIBVPX_FILE = libvpx-1.0.0-x86-gcc4-2012-03-14.zip ; } else { HAIKU_FFMPEG_FILE = ffmpeg-0.10-x86-gcc2-2012-03-19.zip ; HAIKU_SPEEX_FILE = speex-1.2rc1-x86-gcc2-2012-03-11.zip ; HAIKU_LIBTHEORA_FILE = libtheora-1.1.1-x86-gcc2-2012-03-11.zip ; HAIKU_LIBVORBIS_FILE = libvorbis-1.3.2-x86-gcc2-2012-03-11.zip ; HAIKU_LIBOGG_FILE = libogg-1.3.0-x86-gcc2-2012-03-11.zip ; HAIKU_LIBVPX_FILE = libvpx-1.0.0-x86-gcc2-2012-03-14.zip ;
/boot/common/data/optional-packages/OptionalPackageDependencies states:
OptionalPackageDependencies SDLLibs : XiphLibs libmad libmikmod Libmng libmodplug physfs
And Xiphlib installs:
# XiphLibs if [ IsOptionalHaikuImagePackageAdded XiphLibs ] { if $(TARGET_ARCH) != x86 { Echo "No optional package XiphLibs available for $(TARGET_ARCH)" ; } else if $(HAIKU_GCC_VERSION[1]) >= 4 { InstallOptionalHaikuImagePackage flac-1.2.1-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/flac-1.2.1-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage libao-1.0.0-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/libao-1.0.0-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage libogg-1.2.2-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/libogg-1.2.2-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage libtheora-1.1.1-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/libtheora-1.1.1-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage libvorbis-1.3.2-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/libvorbis-1.3.2-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip ; InstallOptionalHaikuImagePackage vorbis-tools-1.4.0-r1a3-x86-gcc4-2011-05-26.zip : $(baseURL)/lib/vorbis-tools-1.4.0-r1a3-x86-gcc4-2011-05-26.zip ; } else { InstallOptionalHaikuImagePackage flac-1.2.1-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/flac-1.2.1-r1a3-x86-gcc2-2011-05-19.zip ; InstallOptionalHaikuImagePackage libao-1.0.0-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/libao-1.0.0-r1a3-x86-gcc2-2011-05-19.zip ; InstallOptionalHaikuImagePackage libogg-1.2.2-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/libogg-1.2.2-r1a3-x86-gcc2-2011-05-19.zip ; InstallOptionalHaikuImagePackage libtheora-1.1.1-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/libtheora-1.1.1-r1a3-x86-gcc2-2011-05-19.zip ; InstallOptionalHaikuImagePackage libvorbis-1.3.2-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/libvorbis-1.3.2-r1a3-x86-gcc2-2011-05-19.zip ; InstallOptionalHaikuImagePackage speex-1.2-git-r1a3-x86-gcc2-2011-05-26.zip : $(baseURL)/lib/speex-1.2-git-r1a3-x86-gcc2-2011-05-26.zip ; InstallOptionalHaikuImagePackage vorbis-tools-1.4.0-r1a3-x86-gcc2-2011-05-19.zip : $(baseURL)/lib/vorbis-tools-1.4.0-r1a3-x86-gcc2-2011-05-19.zip ;
comment:6 by , 13 years ago
eeeeeeh.
I thought that as well originally... however what it is doing is providing a binary speex (and vorbis, etc) binary package to ffmpeg so it can link it into ffmpeg... however if you check the libraries on a recent Haiku system, the speex library isn't anywhere to be found (libspeex.a or something it was called)
unless I missed something.
But yeah, either way a Xiphlibs meta package would be good. Not sure of the space requirements however of having it installed by default. :\
comment:7 by , 13 years ago
OptionalBuildFeatures is different from OptionalPackages and doesn't install its' deps.
comment:8 by , 13 years ago
Most of the SDLLibs have seen new releases this year, so they should all be rebuilt. I plan to do this soon... I'll probably rebuild most everything that's in HaikuPorts libpak.
comment:9 by , 12 years ago
Is this still a valid issue? I've not been able to run Haiku for quite some time, so I can not test.
comment:10 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing as rebuilds were done as part of release A4
All that this needs is a gcc4 optional pkg of speex built and placed in http://haiku-files.org/files/optional-packages/lib/.