From 46be9690af7b1395ac9db4db7e7e8387b772fa6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 23 Mar 2015 00:20:45 +0100 Subject: [PATCH 1/2] freealut: load sources from fedora - old loacation seems broken MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit first I got: | ERROR: Fetcher failure for URL: 'http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0.tar.gz'. Checksum mismatch! | File: '/home/superandy/data/download/freealut-1.1.0.tar.gz' has md5 checksum 7b1ad941fae7945c4c1025dcabf2bebd when e089b28a0267faabdb6c079ee173664a was expected | File: '/home/superandy/data/download/freealut-1.1.0.tar.gz' has sha256 checksum 7e897ee8f102c8f2244ea30e364deba7dc774453bfdb79034fbceabb866cea87 when 60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f was expected | If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe: | SRC_URI[md5sum] = "7b1ad941fae7945c4c1025dcabf2bebd" | SRC_URI[sha256sum] = "7e897ee8f102c8f2244ea30e364deba7dc774453bfdb79034fbceabb866cea87" after modifying checksums: | ERROR: Function failed: Unpack failure for URL: 'http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0.tar.gz'. Unpack command PATH="/home/superandy/data/oe-core/sources/openembedded-core/scripts:/home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/arm-angstrom-linux-gnueabi:/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2/usr/bin/crossscripts:/home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/sbin:/home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin:/home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/sbin:/home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/bin:/home/superandy/data/oe-core/sources/openembedded-core/scripts:/home/superandy/data/oe-core/sources/bitbake/bin:/usr/lib64/ccache:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/superandy/.local/bin:/home/superandy/bin" tar xz --no-same-owner -f /home/superandy/data/download/freealut-1.1.0.tar.gz failed with return value 2 inspired by [1] [1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/freealut Signed-off-by: Andreas Müller --- dependencies/freealut/freealut_1.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/freealut/freealut_1.1.0.bb b/dependencies/freealut/freealut_1.1.0.bb index 2a3a894..532e7c2 100644 --- a/dependencies/freealut/freealut_1.1.0.bb +++ b/dependencies/freealut/freealut_1.1.0.bb @@ -8,7 +8,7 @@ PR = "r1" DEPENDS = "openal-soft" -SRC_URI = "http://connect.creativelabs.com/openal/Downloads/ALUT/${PN}-${PV}.tar.gz" +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-${PV}.tar.gz/e089b28a0267faabdb6c079ee173664a/${BPN}-${PV}.tar.gz" SRC_URI[md5sum] = "e089b28a0267faabdb6c079ee173664a" SRC_URI[sha256sum] = "60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f" From 3d2d17c7322e8b261fac6fd664a7494344900131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sat, 10 Oct 2015 14:26:12 +0200 Subject: [PATCH 2/2] pingus: set CLEANBROKEN = "1" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes on re-build: | NOTE: make -e MAKEFLAGS= clean | rm -rf .sconf_temp/ | rm -f .sconsign.dblite | rm -rf build/ | rm -f pingus | scons -c | scons: Reading SConscript files ... | Checking for C++ library boost_signals... no | Checking for C++ library boost_signals-mt... no | Checking for pkg-config...(cached) /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/pkg-config | Checking for pkg-config...(cached) /home/superandy/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/bin/pkg-config | Checking for SDL_image...failed | Checking for SDL_mixer...failed | Check how to call iconv...use '' | Checking for C library iconv... no | Reports: | * OpenGL support: enabled | * Linux evdev support: ok | * Wiimote support: disabled | * XInput support: disabled | | Fatal Errors: | * library 'boost_signals' not found | * SDL library 'image' not found | * SDL library 'mixer' not found | | Makefile:30: recipe for target 'clean' failed | make: *** [clean] Error 1 | ERROR: oe_runmake failed | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/pingus/0.7.6-r0/temp/run.do_configure.27918:1 exit 1 from | exit 1 | ERROR: Function failed: do_configure (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/pingus/0.7.6-r0/temp/log.do Signed-off-by: Andreas Müller --- recipes-games/pingus/pingus_0.7.6.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-games/pingus/pingus_0.7.6.bb b/recipes-games/pingus/pingus_0.7.6.bb index 4f99520..5f2d29e 100644 --- a/recipes-games/pingus/pingus_0.7.6.bb +++ b/recipes-games/pingus/pingus_0.7.6.bb @@ -17,6 +17,7 @@ SRC_URI = "\ " EXTRA_OESCONS = "CC='${CC} -fPIC' CXX='${CXX} -fPIC'" +CLEANBROKEN = "1" do_install() { install -d ${D}${bindir}