devtools/php: remove the failing ${D}/${TMPDIR} code
PATCH 1/8 devtools/php: remove the failing ${D}/${TMPDIR} code
From: Max Kellermann <[email protected]>
Appending ${TMPDIR} to ${D} doesn't make any sense, because both are absolute paths. And additionally, the code fails:
rmdir: failed to remove '/usr/src/oe/tmp-musl/work/core2-64-oe-linux-musl/php/7.1.9-r0/image//usr': Directory not empty
--- meta-oe/recipes-devtools/php/php.inc | 9 --------- 1 file changed, 9 deletions(-)
meta-oe/recipes-devtools/php/php.inc +0 -9
@@ -139,7 +139,6 @@ do_install_append_class-target() { if [ -d ${RECIPE_SYSROOT_NATIVE}${sysconfdir} ];then install -m 0644 ${RECIPE_SYSROOT_NATIVE}${sysconfdir}/pear.conf ${D}${sysconfdir}/ fi - rm -rf ${D}/${TMPDIR} rm -rf ${D}/.registry rm -rf ${D}/.channels rm -rf ${D}/.[a-z]*
@@ -164,14 +163,6 @@ do_install_append_class-target() { ${D}${systemd_unitdir}/system/php-fpm.service fi - TMP=`dirname ${D}/${TMPDIR}` - while test ${TMP} != ${D}; do - if [ -d ${TMP} ]; then - rmdir ${TMP} - fi - TMP=`dirname ${TMP}`; - done - if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then install -d ${D}${libdir}/apache2/modules install -d ${D}${sysconfdir}/apache2/modules.d
Signature · 1 line
2.18.0
PATCH 2/8 vorbis-tools: add PACKAGECONFIG[ogg123]
From: Max Kellermann <[email protected]>
--- .../recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta-multimedia/recipes-multimedia/vorbis-tools/vorbis-tools_1.4.0.bb +3 -2
@@ -8,7 +8,7 @@ SECTION = "multimedia" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "libogg libvorbis curl libao" +DEPENDS = "libogg libvorbis" SRC_URI = "http://downloads.xiph.org/releases/vorbis/${BP}.tar.gz \ file://0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch \
@@ -20,6 +20,7 @@ SRC_URI[sha256sum] = "a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a0 inherit autotools pkgconfig gettext -PACKAGECONFIG ??= "flac" +PACKAGECONFIG ??= "flac ogg123" PACKAGECONFIG[flac] = ",--without-flac,flac,libflac" PACKAGECONFIG[speex] = ",--without-speex,speex,speex" +PACKAGECONFIG[ogg123] = "--enable-ogg123,--disable-ogg123,libao curl"
Signature · 1 line
2.18.0
PATCH 3/8 nginx: add PACKAGECONFIG[ssl]
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
--- meta-webserver/recipes-httpd/nginx/nginx.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-webserver/recipes-httpd/nginx/nginx.inc +4 -2
@@ -9,7 +9,7 @@ LICENSE = "BSD-2-Clause" SECTION = "net" -DEPENDS = "libpcre zlib openssl" +DEPENDS = "libpcre zlib" SRC_URI = " \ http://nginx.org/download/nginx-${PV}.tar.gz \
@@ -34,7 +34,10 @@ NGINX_USER ?= "www" EXTRA_OECONF = "" DISABLE_STATIC = "" +PACKAGECONFIG ??= "ssl" + PACKAGECONFIG[http2] = "--with-http_v2_module,," +PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl" do_configure () { if [ "${SITEINFO_BITS}" = "64" ]; then
@@ -72,7 +75,6 @@ do_configure () { --pid-path=/run/nginx/nginx.pid \ --prefix=${prefix} \ --with-threads \ - --with-http_ssl_module \ --with-http_gzip_static_module \ ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} }
Signature · 1 line
2.18.0
PATCH 4/8 mpd: update 0.20.21
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
---
.../musicpd/{mpd_0.20.18.bb => mpd_0.20.21.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-multimedia/recipes-multimedia/musicpd/{mpd_0.20.18.bb => mpd_0.20.21.bb} (95%)meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb renamed from meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.18.bb +2 -2
@@ -46,8 +46,8 @@ SRC_URI = " \ http://www.musicpd.org/download/${BPN}/0.20/${BP}.tar.xz \ file://mpd.conf.in \ " -SRC_URI[md5sum] = "8dc87ba95473fd738f2aff9bd69cc212" -SRC_URI[sha256sum] = "6a582dc2ae90b94ff3853f9ffd7d80b2c2b5fe2e2c35cb1da0b36f3f3dfad434" +SRC_URI[md5sum] = "d93c3c86f5e0fc56cc2e1020f80f8b66" +SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01acc58dc" EXTRA_OECONF = "enable_bzip2=yes" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
Signature · 1 line
2.18.0
PATCH 5/8 mpd: sort PACKAGECONFIGs
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
--- meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +1 -1
@@ -54,9 +54,9 @@ EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-syst PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile" PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia" -PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" +PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" do_configure_prepend() {
Signature · 1 line
2.18.0
PATCH 6/8 mpd: make lots of plugins optional
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
The new options are enabled by default to avoid breaking existing configurations.
--- .../recipes-multimedia/musicpd/mpd_0.20.21.bb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +22 -22
@@ -6,37 +6,15 @@ HOMEPAGE ="http://www.musicpd.org" inherit autotools useradd systemd pkgconfig DEPENDS += " \ - alsa-lib \ - libsamplerate0 \ - libsndfile1 \ - libvorbis \ - libogg \ - faad2 \ - ffmpeg \ curl \ sqlite \ - bzip2 \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ tcp-wrappers \ - openal-soft \ yajl \ - jack \ - faad2 \ - flac \ - libao \ - fluidsynth \ - libcdio \ - wavpack \ - libopus \ - mpg123 \ - libmms \ - libmodplug \ boost \ icu \ dbus \ expat \ - zlib \ - libupnp \ " # While this item does not require it, it depends on mpg123 which does
@@ -52,12 +30,34 @@ SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a EXTRA_OECONF = "enable_bzip2=yes" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" +PACKAGECONFIG ??= "aac alsa ao bzip2 ffmpeg flac fluidsynth iso9660 jack libsamplerate mms mpg123 modplug sndfile upnp openal opus vorbis wavpack zlib" + +PACKAGECONFIG[aad] = "--enable-aac,--disable-aac,faad2" +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[ao] = "--enable-ao,--disable-ao,libao" PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile" +PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2" PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia" +PACKAGECONFIG[ffmpeg] = "--enable-ffmpeg,--disable-ffmpeg,ffmpeg" +PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" +PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" +PACKAGECONFIG[iso9660] = "--enable-iso9660,--disable-iso9660,libcdio" +PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" +PACKAGECONFIG[libsamplerate] = "--enable-lsr,--disable-lsr,libsamplerate0" PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" +PACKAGECONFIG[mms] = "--enable-mms,--disable-mms,libmms" +PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" +PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" +PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" +PACKAGECONFIG[upnp] = "--enable-upnp,--disable-upnp,libupnp" +PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" +PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus libogg" +PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis libogg" +PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" +PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" do_configure_prepend() { sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
Signature · 1 line
2.18.0
Re: [PATCH 6/8] [meta-oe] mpd: make lots of plugins optional
Quoted 54 lines · Max Kellermann
From: Max Kellermann <[email protected]>
The new options are enabled by default to avoid breaking existing configurations.
Signed-off-by Max Kellermann <[email protected]>--- .../recipes-multimedia/musicpd/mpd_0.20.21.bb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-)meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +0
-22@@ -6,37 +6,15 @@ HOMEPAGE ="http://www.musicpd.org" inherit autotools useradd systemd pkgconfig DEPENDS += " \ - alsa-lib \ - libsamplerate0 \ - libsndfile1 \ - libvorbis \ - libogg \ - faad2 \ - ffmpeg \ curl \ sqlite \ - bzip2 \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ tcp-wrappers \ - openal-soft \ yajl \ - jack \ - faad2 \ - flac \ - libao \ - fluidsynth \ - libcdio \ - wavpack \ - libopus \ - mpg123 \ - libmms \ - libmodplug \ boost \ icu \ dbus \ expat \ - zlib \ - libupnp \ " # While this item does not require it, it depends on mpg123 which does
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a · line 35
Quoted 6 lines
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +3
-0@@ -52,12 +30,34 @@ SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a EXTRA_OECONF = "enable_bzip2=yes" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" +PACKAGECONFIG ??= "aac alsa ao bzip2 ffmpeg flac fluidsynth iso9660 jack libsamplerate mms mpg123 modplug sndfile upnp openal opus vorbis wavpack zlib" + +PACKAGECONFIG[aad] = "--enable-aac,--disable-aac,faad2"
^^^
should this be aac ?
Quoted 36 lines
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +19
-1+PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[ao] = "--enable-ao,--disable-ao,libao" PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile" +PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2" PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia" +PACKAGECONFIG[ffmpeg] = "--enable-ffmpeg,--disable-ffmpeg,ffmpeg" +PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" +PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" +PACKAGECONFIG[iso9660] = "--enable-iso9660,--disable-iso9660,libcdio" +PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" +PACKAGECONFIG[libsamplerate] = "--enable-lsr,--disable-lsr,libsamplerate0" PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" +PACKAGECONFIG[mms] = "--enable-mms,--disable-mms,libmms" +PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" +PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" +PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" +PACKAGECONFIG[upnp] = "--enable-upnp,--disable-upnp,libupnp" +PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" +PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus libogg" +PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis libogg" +PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" +PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" do_configure_prepend() { sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac --2.18.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH v2 1/1 mpd: make lots of plugins optional
From: Max Kellermann <[email protected]>
The new options are enabled by default to avoid breaking existing configurations.
--- .../recipes-multimedia/musicpd/mpd_0.20.21.bb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +22 -22
@@ -6,37 +6,15 @@ HOMEPAGE ="http://www.musicpd.org" inherit autotools useradd systemd pkgconfig DEPENDS += " \ - alsa-lib \ - libsamplerate0 \ - libsndfile1 \ - libvorbis \ - libogg \ - faad2 \ - ffmpeg \ curl \ sqlite \ - bzip2 \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ tcp-wrappers \ - openal-soft \ yajl \ - jack \ - faad2 \ - flac \ - libao \ - fluidsynth \ - libcdio \ - wavpack \ - libopus \ - mpg123 \ - libmms \ - libmodplug \ boost \ icu \ dbus \ expat \ - zlib \ - libupnp \ " # While this item does not require it, it depends on mpg123 which does
@@ -52,12 +30,34 @@ SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a EXTRA_OECONF = "enable_bzip2=yes" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" +PACKAGECONFIG ??= "aac alsa ao bzip2 ffmpeg flac fluidsynth iso9660 jack libsamplerate mms mpg123 modplug sndfile upnp openal opus vorbis wavpack zlib" + +PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2" +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[ao] = "--enable-ao,--disable-ao,libao" PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile" +PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2" PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia" +PACKAGECONFIG[ffmpeg] = "--enable-ffmpeg,--disable-ffmpeg,ffmpeg" +PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" +PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" +PACKAGECONFIG[iso9660] = "--enable-iso9660,--disable-iso9660,libcdio" +PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" +PACKAGECONFIG[libsamplerate] = "--enable-lsr,--disable-lsr,libsamplerate0" PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" +PACKAGECONFIG[mms] = "--enable-mms,--disable-mms,libmms" +PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" +PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" +PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" +PACKAGECONFIG[upnp] = "--enable-upnp,--disable-upnp,libupnp" +PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" +PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus libogg" +PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis libogg" +PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" +PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" do_configure_prepend() { sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
Signature · 1 line
2.18.0
PATCH v2 1/1 mpd: make lots of plugins optional
In reply to Khem RajFrom: Max Kellermann <[email protected]>
The new options are enabled by default to avoid breaking existing configurations.
--- .../recipes-multimedia/musicpd/mpd_0.20.21.bb | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-)
meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb +22 -22
@@ -6,37 +6,15 @@ HOMEPAGE ="http://www.musicpd.org" inherit autotools useradd systemd pkgconfig DEPENDS += " \ - alsa-lib \ - libsamplerate0 \ - libsndfile1 \ - libvorbis \ - libogg \ - faad2 \ - ffmpeg \ curl \ sqlite \ - bzip2 \ ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \ tcp-wrappers \ - openal-soft \ yajl \ - jack \ - faad2 \ - flac \ - libao \ - fluidsynth \ - libcdio \ - wavpack \ - libopus \ - mpg123 \ - libmms \ - libmodplug \ boost \ icu \ dbus \ expat \ - zlib \ - libupnp \ " # While this item does not require it, it depends on mpg123 which does
@@ -52,12 +30,34 @@ SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a EXTRA_OECONF = "enable_bzip2=yes" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" +PACKAGECONFIG ??= "aac alsa ao bzip2 ffmpeg flac fluidsynth iso9660 jack libsamplerate mms mpg123 modplug sndfile upnp openal opus vorbis wavpack zlib" + +PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2" +PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[ao] = "--enable-ao,--disable-ao,libao" PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile" +PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2" PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia" +PACKAGECONFIG[ffmpeg] = "--enable-ffmpeg,--disable-ffmpeg,ffmpeg" +PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac" +PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag" +PACKAGECONFIG[iso9660] = "--enable-iso9660,--disable-iso9660,libcdio" +PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame" +PACKAGECONFIG[libsamplerate] = "--enable-lsr,--disable-lsr,libsamplerate0" PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" +PACKAGECONFIG[mms] = "--enable-mms,--disable-mms,libmms" +PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" +PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba" +PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" +PACKAGECONFIG[upnp] = "--enable-upnp,--disable-upnp,libupnp" +PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" +PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus libogg" +PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis libogg" +PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack" +PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" do_configure_prepend() { sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
Signature · 1 line
2.18.0
PATCH 7/8 libmicrohttpd: add PACKAGECONFIG[https]
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
--- .../recipes-support/libmicrohttpd/libmicrohttpd_0.9.59.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.59.bb +3 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/" LICENSE = "LGPL-2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5" SECTION = "net" -DEPENDS = "libgcrypt gnutls file" +DEPENDS = "file" SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz" SRC_URI[md5sum] = "8ab5123535549195aff19e91b4e49f48"
@@ -15,12 +15,13 @@ CFLAGS += "-pthread -D_REENTRANT" EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" -PACKAGECONFIG ?= "curl" +PACKAGECONFIG ?= "curl https" PACKAGECONFIG_append_class-target = "\ ${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)} \ " PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," +PACKAGECONFIG[https] = "--enable-https,--disable-https,libgcrypt gnutls," do_compile_append() { sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
Signature · 1 line
2.18.0
PATCH 8/8 libblockdev: make various features optional
In reply to Max KellermannFrom: Max Kellermann <[email protected]>
--- .../libblockdev/libblockdev_2.18.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
meta-oe/recipes-extended/libblockdev/libblockdev_2.18.bb +7 -7
@@ -10,12 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" inherit autotools python3native gobject-introspection -DEPENDS += " \ - cryptsetup \ - libbytesize \ - btrfs-tools \ -" - SRCREV = "0debeb45562ac3d8f6f43f6f942b238abab55be9" SRC_URI = " \ git://github.com/rhinstaller/libblockdev;branch=master \
@@ -25,7 +19,7 @@ S = "${WORKDIR}/git" FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" -PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow" +PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd lvm-dbus" PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python2" PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2"
@@ -39,6 +33,12 @@ PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm" PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo" PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key" +PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools" +PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key" +PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" +PACKAGECONFIG[kbd] = "--with-kbd,--without-kbd,libbytesize" +PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus,--without-lvm_dbus" +PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath" export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
Signature · 1 line
2.18.0
✗ patchtest: failure for mpd: make lots of plugins optional
In reply to Max Kellermann== Series Details ==
Series: mpd: make lots of plugins optional
Revision: 1
URL : https://patchwork.openembedded.org/series/14174/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Series sent to the wrong mailing list or some patches from the series correspond to different mailing lists [test_target_mailing_list]
Suggested fix Send the series again to the correct mailing list (ML) Suggested ML [email protected] [http://git.openembedded.org/meta-openembedded/] Patch's path: meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 957a2f95b8)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
http://errors.yoctoproject.org/Errors/Details/193970/
Quoted 48 lines · Max Kellermann
From: Max Kellermann <[email protected]>
Appending ${TMPDIR} to ${D} doesn't make any sense, because both are absolute paths. And additionally, the code fails:
rmdir: failed to remove '
/usr/src/oe/tmp-musl/work/core2-64-oe-linux-musl/php/7.1.9-r0/image//usr': Directory not emptySigned-off-by Max Kellermann <[email protected]>--- meta-oe/recipes-devtools/php/php.inc | 9 --------- 1 file changed, 9 deletions(-)meta-oe/recipes-devtools/php/php.inc +0
-10@@ -139,7 +139,6 @@ do_install_append_class-target() { if [ -d ${RECIPE_SYSROOT_NATIVE}${sysconfdir} ];then install -m 0644 ${RECIPE_SYSROOT_NATIVE}${sysconfdir}/pear.conf ${D}${sysconfdir}/ fi - rm -rf ${D}/${TMPDIR} rm -rf ${D}/.registry rm -rf ${D}/.channels rm -rf ${D}/.[a-z]*@@ -164,14 +163,6 @@ do_install_append_class-target() { ${D}${systemd_unitdir}/system/php-fpm.service fi - TMP=`dirname ${D}/${TMPDIR}` - while test ${TMP} != ${D}; do - if [ -d ${TMP} ]; then - rmdir ${TMP} - fi - TMP=`dirname ${TMP}`; - done - if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then install -d ${D}${libdir}/apache2/modules install -d ${D}${sysconfdir}/apache2/modules.d --2.18.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 1 line · Khem Raj
Hm, I tried to go back and forth to find what is causing this nonsensical path. There must be be something which concatenates two absolute paths, but I can't reproduce it.
In any case, the code which my patch removed makes the problem only worse. My build directory happens to be inside /usr/src/, and so the shell script finally attempts to remove /usr/ which is non-empty, which crashes the build.
Do you have an idea how to reproduce these strange paths?
Max
Quoted 8 lines · Max Kellermann
Quoted 1 line · Khem Raj
Hm, I tried to go back and forth to find what is causing this nonsensical path. There must be be something which concatenates two absolute paths, but I can't reproduce it.
Quoted 7 lines
In any case, the code which my patch removed makes the problem only worse. My build directory happens to be inside
/usr/src/, and so the shell script finally attempts to remove/usr/which is non-empty, which crashes the build.Do you have an idea how to reproduce these strange paths?
Build info has all needed bits you need and if you want to use the distro I use to validate
then you can try
https://github.com/YoeDistro/yoe-distro
Quoted 1 line
Max