packages upgrade
cover packages upgrade
The following changes since commit 221d864042658daa054281aab439b44d54fe94d7:
bitbake: fetch/git: Change to use clearer ssh url syntax for broken servers (2016-01-08 13:58:08 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/upgrade-11012016
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/upgrade-11012016
Hongxu Jia (9):
dhcp: 4.3.2 -> 4.3.3
elfutils: 0.163 -> 0.164
pax-utils: 1.0.5 -> 1.1.4
xmlto: 0.0.26 -> 0.0.28
libgcrypt: 1.6.3 -> 1.6.4
ghostscript: 9.16 -> 9.18
man-pages: 4.02 -> 4.04
help2man-native: 1.47.1 -> 1.47.3
gnupg: 2.1.7 -> 2.1.10
.../dhcp/dhcp/fix-external-bind.patch | 79 +-
.../dhcp/dhcp/fixsepbuild.patch | 19 -
.../dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} | 4 +-
.../elfutils/elfutils-0.163/arm_func_value.patch | 165 ----
.../elfutils-0.163/arm_unwind_ret_mask.patch | 83 --
.../elfutils/elfutils-0.163/non_linux.patch | 35 -
.../elfutils-0.163/redhat-portability.diff | 1021 --------------------
.../elfutils/elfutils-0.163/scanf-format.patch | 40 -
.../uclibc-support-for-elfutils-0.161.patch | 106 --
...ferences-between-mips-machine-identifiers.patch | 34 +
...m-Silence-Werror-maybe-uninitialized-fals.patch | 0
.../0001-fix-a-stack-usage-warning.patch | 0
.../0001-remove-the-unneed-checking.patch | 0
...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++
.../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++
.../arm_backend.diff | 389 ++++----
.../fixheadercheck.patch | 0
.../hppa_backend.diff | 69 +-
.../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 +
.../m68k_backend.diff | 61 +-
.../mips_backend.diff | 71 +-
.../mips_readelf_w.patch | 8 +-
.../testsuite-ignore-elflint.diff | 0
.../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +-
...-native_1.47.1.bb => help2man-native_1.47.3.bb} | 4 +-
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 4 +-
....in-drop-the-test-of-xmllint-and-xsltproc.patch | 0
.../xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} | 4 +-
.../{ghostscript_9.16.bb => ghostscript_9.18.bb} | 6 +-
.../{man-pages_4.02.bb => man-pages_4.04.bb} | 4 +-
.../gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} | 7 +-
meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb | 4 -
meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bb | 4 +
33 files changed, 798 insertions(+), 1847 deletions(-)
rename meta/recipes-connectivity/dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} (70%)
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diff
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-fix-a-stack-usage-warning.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-remove-the-unneed-checking.patch (100%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/arm_backend.diff (82%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/fixheadercheck.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/hppa_backend.diff (93%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/m68k_backend.diff (89%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_backend.diff (92%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_readelf_w.patch (75%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/testsuite-ignore-elflint.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils_0.163.bb => elfutils_0.164.bb} (87%)
rename meta/recipes-devtools/help2man/{help2man-native_1.47.1.bb => help2man-native_1.47.3.bb} (79%)
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (83%)
rename meta/recipes-devtools/xmlto/{xmlto-0.0.26 => xmlto-0.0.28}/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch (100%)
rename meta/recipes-devtools/xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} (88%)
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (94%)
rename meta/recipes-extended/man-pages/{man-pages_4.02.bb => man-pages_4.04.bb} (86%)
rename meta/recipes-support/gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} (84%)
delete mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb
create mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bbSignature · 1 line
1.9.1
PATCH 1/9 dhcp: 4.3.2 -> 4.3.3
- Rebase: fix-external-bind.patch and fixsepbuild.patch for 4.3.3
---
.../dhcp/dhcp/fix-external-bind.patch | 79 +++++++++++-----------
.../dhcp/dhcp/fixsepbuild.patch | 19 ------
.../dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} | 4 +-
3 files changed, 43 insertions(+), 59 deletions(-)
rename meta/recipes-connectivity/dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} (70%)meta/recipes-connectivity/dhcp/dhcp/fix-external-bind.patch +41 -38
@@ -6,24 +6,25 @@ this patch is to allow building with external bind Signed-off-by: Qing He <[email protected]> -Index: dhcp-4.3.0/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/Makefile.am -+++ dhcp-4.3.0/Makefile.am +Rebase the patch to 4.3.3 +Signed-off-by: Hongxu Jia <[email protected]> +--- +diff --git a/Makefile.am b/Makefile.am +--- a/Makefile.am ++++ b/Makefile.am @@ -25,7 +25,7 @@ EXTRA_DIST = RELNOTES LICENSE \ - bind/Makefile bind/bind.tar.gz bind/version.tmp \ + bind/Makefile.in bind/bind.tar.gz bind/version.tmp \ common/tests/Atffile server/tests/Atffile --SUBDIRS = bind includes tests common dst omapip client dhcpctl relay server -+SUBDIRS = includes tests common dst omapip client dhcpctl relay server +-SUBDIRS = bind includes tests common omapip client dhcpctl relay server ++SUBDIRS = includes tests common omapip client dhcpctl relay server nobase_include_HEADERS = dhcpctl/dhcpctl.h -Index: dhcp-4.3.0/client/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/client/Makefile.am -+++ dhcp-4.3.0/client/Makefile.am -@@ -4,8 +4,8 @@ dhclient_SOURCES = clparse.c dhclient.c +diff --git a/client/Makefile.am b/client/Makefile.am +--- a/client/Makefile.am ++++ b/client/Makefile.am +@@ -10,8 +10,8 @@ dhclient_SOURCES = clparse.c dhclient.c dhc6.c \ scripts/bsdos scripts/freebsd scripts/linux scripts/macos \ scripts/netbsd scripts/nextstep scripts/openbsd \ scripts/solaris scripts/openwrt
@@ -34,22 +35,20 @@ Index: dhcp-4.3.0/client/Makefile.am man_MANS = dhclient.8 dhclient-script.8 dhclient.conf.5 dhclient.leases.5 EXTRA_DIST = $(man_MANS) -Index: dhcp-4.3.0/configure.ac -=================================================================== ---- dhcp-4.3.0.orig/configure.ac -+++ dhcp-4.3.0/configure.ac -@@ -566,6 +566,7 @@ no) - libbind="$use_libbind" +diff --git a/configure.ac b/configure.ac +--- a/configure.ac ++++ b/configure.ac +@@ -623,6 +623,7 @@ no) + fi ;; esac +AC_SUBST([libbind]) # OpenLDAP support. AC_ARG_WITH(ldap, -Index: dhcp-4.3.0/dhcpctl/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/dhcpctl/Makefile.am -+++ dhcp-4.3.0/dhcpctl/Makefile.am +diff --git a/dhcpctl/Makefile.am b/dhcpctl/Makefile.am +--- a/dhcpctl/Makefile.am ++++ b/dhcpctl/Makefile.am @@ -6,12 +6,12 @@ EXTRA_DIST = $(man_MANS) omshell_SOURCES = omshell.c
@@ -67,10 +66,9 @@ Index: dhcp-4.3.0/dhcpctl/Makefile.am - ../bind/lib/libisccfg.a ../bind/lib/libisc.a + $(libbind)/libirs.a $(libbind)/libdns.a \ + $(libbind)/libisccfg.a $(libbind)/libisc.a -Index: dhcp-4.3.0/omapip/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/omapip/Makefile.am -+++ dhcp-4.3.0/omapip/Makefile.am +diff --git a/omapip/Makefile.am b/omapip/Makefile.am +--- a/omapip/Makefile.am ++++ b/omapip/Makefile.am @@ -10,6 +10,6 @@ man_MANS = omapi.3 EXTRA_DIST = $(man_MANS)
@@ -80,11 +78,10 @@ Index: dhcp-4.3.0/omapip/Makefile.am +svtest_LDADD = libomapi.a $(libbind)/libirs.a $(libbind)/libdns.a \ + $(libbind)/libisccfg.a $(libbind)/libisc.a -Index: dhcp-4.3.0/relay/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/relay/Makefile.am -+++ dhcp-4.3.0/relay/Makefile.am -@@ -3,8 +3,8 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localst +diff --git a/relay/Makefile.am b/relay/Makefile.am +--- a/relay/Makefile.am ++++ b/relay/Makefile.am +@@ -3,8 +3,8 @@ AM_CPPFLAGS = -DLOCALSTATEDIR='"@localstatedir@"' sbin_PROGRAMS = dhcrelay dhcrelay_SOURCES = dhcrelay.c dhcrelay_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \
@@ -95,18 +92,24 @@ Index: dhcp-4.3.0/relay/Makefile.am man_MANS = dhcrelay.8 EXTRA_DIST = $(man_MANS) -Index: dhcp-4.3.0/server/Makefile.am -=================================================================== ---- dhcp-4.3.0.orig/server/Makefile.am -+++ dhcp-4.3.0/server/Makefile.am -@@ -14,8 +14,8 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c c +diff --git a/server/Makefile.am b/server/Makefile.am +--- a/server/Makefile.am ++++ b/server/Makefile.am +@@ -14,10 +14,12 @@ dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \ dhcpd_CFLAGS = $(LDAP_CFLAGS) dhcpd_LDADD = ../common/libdhcp.a ../omapip/libomapi.a \ - ../dhcpctl/libdhcpctl.a ../bind/lib/libirs.a \ -- ../bind/lib/libdns.a ../bind/lib/libisccfg.a ../bind/lib/libisc.a +- ../bind/lib/libdns.a ../bind/lib/libisccfg.a ../bind/lib/libisc.a \ + ../dhcpctl/libdhcpctl.a $(libbind)/libirs.a \ -+ $(libbind)/libdns.a $(libbind)/libisccfg.a $(libbind)/libisc.a ++ $(libbind)/libdns.a $(libbind)/libisccfg.a $(libbind)/libisc.a \ + $(LDAP_LIBS) ++ dhcpd_CFLAGS = $(LDAP_CFLAGS) ++ man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5 EXTRA_DIST = $(man_MANS) + +-- +1.9.1 +
meta/recipes-connectivity/dhcp/dhcp/fixsepbuild.patch +0 -19
@@ -7,15 +7,6 @@ RP 2013/03/21 Rebase to 4.3.1 Signed-off-by: Hongxu Jia <[email protected]> --- - client/Makefile.am | 6 ++++-- - common/Makefile.am | 2 +- - dhcpctl/Makefile.am | 2 ++ - dst/Makefile.am | 2 +- - omapip/Makefile.am | 2 ++ - relay/Makefile.am | 2 +- - server/Makefile.am | 2 +- - 7 files changed, 12 insertions(+), 6 deletions(-) - diff --git a/client/Makefile.am b/client/Makefile.am index 8411960..1740f72 100644 --- a/client/Makefile.am
@@ -60,16 +51,6 @@ index 2987a53..cd72d75 100644 bin_PROGRAMS = omshell lib_LIBRARIES = libdhcpctl.a noinst_PROGRAMS = cltest -diff --git a/dst/Makefile.am b/dst/Makefile.am -index 8937fe8..a14798b 100644 ---- a/dst/Makefile.am -+++ b/dst/Makefile.am -@@ -1,4 +1,4 @@ --AM_CPPFLAGS = -DMINIRES_LIB -DHMAC_MD5 -+AM_CPPFLAGS = -DMINIRES_LIB -DHMAC_MD5 -I$(top_srcdir)/includes - - lib_LIBRARIES = libdst.a - diff --git a/omapip/Makefile.am b/omapip/Makefile.am index 5074479..9c0fab3 100644 --- a/omapip/Makefile.am
meta/recipes-connectivity/dhcp/dhcp_4.3.3.bb renamed from meta/recipes-connectivity/dhcp/dhcp_4.3.2.bb +2 -2
@@ -8,5 +8,5 @@ SRC_URI += "file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \ file://replace-ifconfig-route.patch \ " -SRC_URI[md5sum] = "5a284875dd2c12ddd388416d69156a67" -SRC_URI[sha256sum] = "6246c9b358759f6cdcc45104caaf76e732a211dbbbbf64a21f499c8db1298165" +SRC_URI[md5sum] = "c5577b09c9017cdd319a11ff6364268e" +SRC_URI[sha256sum] = "553c4945b09b1c1b904c4780f34f72aaefa2fc8c6556715de0bc9d4e3d255ede"
Signature · 1 line
1.9.1
PATCH 2/9 elfutils: 0.163 -> 0.164
In reply to Hongxu JiaUpdate patches from debian
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xz
---
.../elfutils/elfutils-0.163/arm_func_value.patch | 165 ----
.../elfutils-0.163/arm_unwind_ret_mask.patch | 83 --
.../elfutils/elfutils-0.163/non_linux.patch | 35 -
.../elfutils-0.163/redhat-portability.diff | 1021 --------------------
.../elfutils/elfutils-0.163/scanf-format.patch | 40 -
.../uclibc-support-for-elfutils-0.161.patch | 106 --
...ferences-between-mips-machine-identifiers.patch | 34 +
...m-Silence-Werror-maybe-uninitialized-fals.patch | 0
.../0001-fix-a-stack-usage-warning.patch | 0
.../0001-remove-the-unneed-checking.patch | 0
...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++
.../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++
.../arm_backend.diff | 389 ++++----
.../fixheadercheck.patch | 0
.../hppa_backend.diff | 69 +-
.../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 +
.../m68k_backend.diff | 61 +-
.../mips_backend.diff | 71 +-
.../mips_readelf_w.patch | 8 +-
.../testsuite-ignore-elflint.diff | 0
.../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +-
21 files changed, 735 insertions(+), 1771 deletions(-)
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diff
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-fix-a-stack-usage-warning.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-remove-the-unneed-checking.patch (100%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/arm_backend.diff (82%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/fixheadercheck.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/hppa_backend.diff (93%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/m68k_backend.diff (89%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_backend.diff (92%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_readelf_w.patch (75%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/testsuite-ignore-elflint.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils_0.163.bb => elfutils_0.164.bb} (87%)meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patch deleted +0 -165
@@ -1,165 +0,0 @@ -From: Mark Wielaard <[email protected]> -Date: Sun, 15 Jun 2014 11:30:35 +0200 -Subject: libebl: Add sym_func_value hook. - -The ARM EABI says that the zero bit of function symbol st_value indicates -whether the symbol points to a THUMB or ARM function. Add a new ebl hook -to adjust the st_value in such a case so that we get the actual value that -the symbol points to. It isn't easily possible to reuse the existing -resolve_sym_value for this purpose, so we end up with another hook that -can be used from dwfl_module_getsym and elflint. - -Rebase arm_func_value.patch from 0.159 to 0.160 -Signed-off-by: Hongxu Jia <[email protected]> ---- - backends/arm_init.c | 1 + - backends/arm_symbol.c | 8 ++++++++ - libdwfl/dwfl_module_getsym.c | 2 +- - libebl/Makefile.am | 3 ++- - libebl/ebl-hooks.h | 3 +++ - libebl/eblsymfuncval.c | 43 ++++++++++++++++++++++++++++++++++++++++++ - libebl/libebl.h | 11 +++++++++++ - 7 files changed, 69 insertions(+), 2 deletions(-) - -diff --git a/backends/arm_init.c b/backends/arm_init.c -index 7171186..9f03630 100644 ---- a/backends/arm_init.c -+++ b/backends/arm_init.c -@@ -78,6 +78,7 @@ arm_init (elf, machine, eh, ehlen) - eh->return_value_location = arm_return_value_location_hard; - HOOK (eh, abi_cfi); - HOOK (eh, check_reloc_target_type); -+ HOOK (eh, sym_func_value); - HOOK (eh, symbol_type_name); - - /* We only unwind the core integer registers. */ -diff --git a/backends/arm_symbol.c b/backends/arm_symbol.c -index da4a50a..ccea03b 100644 ---- a/backends/arm_symbol.c -+++ b/backends/arm_symbol.c -@@ -130,6 +130,14 @@ arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_ty - return sh_type == SHT_ARM_EXIDX; - } - -+/* ARM EABI says that the low bit indicates whether the function -+ symbol value is a THUMB function or not. Mask it off. */ -+GElf_Addr -+arm_sym_func_value (Ebl *ebl __attribute__ ((unused)), GElf_Addr val) -+{ -+ return val & ~(GElf_Addr)1; -+} -+ - const char * - arm_symbol_type_name (int type, - char *buf __attribute__ ((unused)), -diff --git a/libdwfl/dwfl_module_getsym.c b/libdwfl/dwfl_module_getsym.c -index 42d2b67..fb192d7 100644 ---- a/libdwfl/dwfl_module_getsym.c -+++ b/libdwfl/dwfl_module_getsym.c -@@ -119,7 +119,7 @@ __libdwfl_getsym (Dwfl_Module *mod, int ndx, GElf_Sym *sym, GElf_Addr *addr, - descriptors). */ - - char *ident; -- GElf_Addr st_value = sym->st_value & ebl_func_addr_mask (mod->ebl); -+ GElf_Addr st_value = ebl_sym_func_value (mod->ebl, sym->st_value); - *resolved = false; - if (! adjust_st_value && mod->e_type != ET_REL && alloc - && (GELF_ST_TYPE (sym->st_info) == STT_FUNC -diff --git a/libebl/Makefile.am b/libebl/Makefile.am -index ec4477b..889c21b 100644 ---- a/libebl/Makefile.am -+++ b/libebl/Makefile.am -@@ -55,7 +55,8 @@ gen_SOURCES = eblopenbackend.c eblclosebackend.c eblstrtab.c \ - eblsysvhashentrysize.c eblauxvinfo.c eblcheckobjattr.c \ - ebl_check_special_section.c ebl_syscall_abi.c eblabicfi.c \ - eblstother.c eblinitreg.c ebldwarftoregno.c eblnormalizepc.c \ -- eblunwind.c eblresolvesym.c eblcheckreloctargettype.c -+ eblunwind.c eblresolvesym.c eblcheckreloctargettype.c \ -+ eblsymfuncval.c - - libebl_a_SOURCES = $(gen_SOURCES) - -diff --git a/libebl/ebl-hooks.h b/libebl/ebl-hooks.h -index 2e31446..9df945d 100644 ---- a/libebl/ebl-hooks.h -+++ b/libebl/ebl-hooks.h -@@ -191,5 +191,8 @@ bool EBLHOOK(unwind) (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc, - (e.g. function descriptor resolving) */ - bool EBLHOOK(resolve_sym_value) (Ebl *ebl, GElf_Addr *addr); - -+/* Returns the real value of a symbol function address or offset. */ -+GElf_Addr EBLHOOK(sym_func_value) (Ebl *ebl, GElf_Addr val); -+ - /* Destructor for ELF backend handle. */ - void EBLHOOK(destr) (struct ebl *); -diff --git a/libebl/eblsymfuncval.c b/libebl/eblsymfuncval.c -new file mode 100644 -index 0000000..c0b322f ---- /dev/null -+++ b/libebl/eblsymfuncval.c -@@ -0,0 +1,43 @@ -+/* Turn a symbol function value into a real function address or offset. -+ Copyright (C) 2014 Red Hat, Inc. -+ This file is part of elfutils. -+ -+ This file is free software; you can redistribute it and/or modify -+ it under the terms of either -+ -+ * the GNU Lesser General Public License as published by the Free -+ Software Foundation; either version 3 of the License, or (at -+ your option) any later version -+ -+ or -+ -+ * the GNU General Public License as published by the Free -+ Software Foundation; either version 2 of the License, or (at -+ your option) any later version -+ -+ or both in parallel, as here. -+ -+ elfutils is distributed in the hope that it will be useful, but -+ WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received copies of the GNU General Public License and -+ the GNU Lesser General Public License along with this program. If -+ not, see <http://www.gnu.org/licenses/>. */ -+ -+#ifdef HAVE_CONFIG_H -+# include <config.h> -+#endif -+ -+#include <libeblP.h> -+#include <assert.h> -+ -+GElf_Addr -+ebl_sym_func_value (Ebl *ebl, GElf_Addr val) -+{ -+ if (ebl == NULL || ebl->sym_func_value == NULL) -+ return val; -+ -+ return ebl->sym_func_value (ebl, val); -+} -diff --git a/libebl/libebl.h b/libebl/libebl.h -index 7dbf460..96c076b 100644 ---- a/libebl/libebl.h -+++ b/libebl/libebl.h -@@ -472,6 +472,17 @@ extern bool ebl_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc, - extern bool ebl_resolve_sym_value (Ebl *ebl, GElf_Addr *addr) - __nonnull_attribute__ (2); - -+/* Returns the real value of a symbol function address or offset -+ (e.g. when the st_value contains some flag bits that need to be -+ masked off). This is different from ebl_resolve_sym_value which -+ only works for actual symbol addresses (in non-ET_REL files) that -+ might resolve to an address in a different section. -+ ebl_sym_func_value is called to turn the given value into the a -+ real address or offset (the original value might not be a real -+ address). This works for both ET_REL when the value is a section -+ offset or ET_EXEC or ET_DYN symbol values, which are addresses. */ -+extern GElf_Addr ebl_sym_func_value (Ebl *ebl, GElf_Addr val); -+ - #ifdef __cplusplus - } - #endif
meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patch deleted +0 -83
83 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch deleted +0 -35
@@ -1,35 +0,0 @@ -Index: elfutils-0.159/libdwfl/linux-pid-attach.c -=================================================================== ---- elfutils-0.159.orig/libdwfl/linux-pid-attach.c -+++ elfutils-0.159/libdwfl/linux-pid-attach.c -@@ -393,6 +393,16 @@ pid_getthread (Dwfl *dwfl __attribute__ - return false; - } - -+bool -+internal_function -+__libdwfl_ptrace_attach (pid_t tid __attribute__ ((unused)), -+ bool *tid_was_stoppedp __attribute__ ((unused))) -+{ -+ errno = ENOSYS; -+ __libdwfl_seterrno (DWFL_E_ERRNO); -+ return false; -+} -+ - static bool - pid_memory_read (Dwfl *dwfl __attribute__ ((unused)), - Dwarf_Addr addr __attribute__ ((unused)), -@@ -419,6 +429,13 @@ pid_detach (Dwfl *dwfl __attribute__ ((u - { - } - -+void -+internal_function -+__libdwfl_ptrace_detach (pid_t tid __attribute__ ((unused)), -+ bool tid_was_stopped __attribute__ ((unused))) -+{ -+} -+ - static void - pid_thread_detach (Dwfl_Thread *thread __attribute__ ((unused)), - void *thread_arg __attribute__ ((unused)))
meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diff deleted +0 -1021
1,021 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From: Kurt Roeckx <[email protected]> -Subject: Use %m[ instead of %a[ in scanf() - -%a was a gnu extention, but C99 made this a float. So it got -changed to %m (supported by glibc 2.7), but %a[ and %as are -still supported by glibc. The portability branch changed this -from %m to %a again since that's supported by more versions of -glibc. However gcc gives a warning about this using -Wformat -and we have a new enough libc to use %m. - -Index: elfutils-0.153/src/addr2line.c -=================================================================== ---- elfutils-0.153.orig/src/addr2line.c 2012-02-24 22:29:50.000000000 +0000 -+++ elfutils-0.153/src/addr2line.c 2012-02-24 22:29:52.000000000 +0000 -@@ -455,10 +455,10 @@ - bool parsed = false; - int i, j; - char *name = NULL; -- if (sscanf (string, "(%a[^)])%" PRIiMAX "%n", &name, &addr, &i) == 2 -+ if (sscanf (string, "(%m[^)])%" PRIiMAX "%n", &name, &addr, &i) == 2 - && string[i] == '\0') - parsed = adjust_to_section (name, &addr, dwfl); -- switch (sscanf (string, "%a[^-+]%n%" PRIiMAX "%n", &name, &i, &addr, &j)) -+ switch (sscanf (string, "%m[^-+]%n%" PRIiMAX "%n", &name, &i, &addr, &j)) - { - default: - break; -Index: elfutils-0.153/tests/line2addr.c -=================================================================== ---- elfutils-0.153.orig/tests/line2addr.c 2012-02-24 22:29:50.000000000 +0000 -+++ elfutils-0.153/tests/line2addr.c 2012-02-24 22:29:52.000000000 +0000 -@@ -132,7 +132,7 @@ - { - struct args a = { .arg = argv[cnt] }; - -- switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line)) -+ switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line)) - { - default: - case 0:
meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch deleted +0 -106
106 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch new file +34 -0
@@ -0,0 +1,34 @@ +From 77cb4a53c270d5854d3af24f19547bc3de825233 Mon Sep 17 00:00:00 2001 +From: James Cowgill <[email protected]> +Date: Mon, 5 Jan 2015 15:16:58 +0000 +Subject: [PATCH 1/3] Ignore differences between mips machine identifiers + +Little endian binaries actually use EM_MIPS so you can't tell the endianness +from the elf machine id. Also, the EM_MIPS_RS3_LE machine is dead anyway (the +kernel will not load binaries containing it). + +Signed-off-by: James Cowgill <[email protected]> +--- + backends/mips_init.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/backends/mips_init.c b/backends/mips_init.c +index 7429a89..d10e940 100644 +--- a/backends/mips_init.c ++++ b/backends/mips_init.c +@@ -46,11 +46,7 @@ mips_init (elf, machine, eh, ehlen) + return NULL; + + /* We handle it. */ +- if (machine == EM_MIPS) +- eh->name = "MIPS R3000 big-endian"; +- else if (machine == EM_MIPS_RS3_LE) +- eh->name = "MIPS R3000 little-endian"; +- ++ eh->name = "MIPS"; + mips_init_reloc (eh); + HOOK (eh, reloc_simple_type); + HOOK (eh, return_value_location); +-- +2.1.4 +
meta/recipes-devtools/elfutils/elfutils-0.164/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.163/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.164/0001-fix-a-stack-usage-warning.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.163/0001-fix-a-stack-usage-warning.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.164/0001-remove-the-unneed-checking.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.163/0001-remove-the-unneed-checking.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch new file +168 -0
168 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch new file +226 -0
226 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/arm_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.163/arm_backend.diff +182 -207
494 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/fixheadercheck.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.163/fixheadercheck.patch +0 -0
meta/recipes-devtools/elfutils/elfutils-0.164/hppa_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.163/hppa_backend.diff +34 -35
146 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch new file +15 -0
@@ -0,0 +1,15 @@ +--- elfutils/tests/run-native-test.sh.orig ++++ elfutils/tests/run-native-test.sh +@@ -78,6 +78,12 @@ + test $native -eq 0 || testrun "$@" -p $native > /dev/null + } + ++# On the Debian buildds, GNU/kFreeBSD linprocfs /proc/$PID/maps does ++# not give absolute paths due to sbuild's bind mounts (bug #570805) ++# therefore the next two test programs are expected to fail with ++# "cannot attach to process: Function not implemented". ++[ "$(uname)" = "GNU/kFreeBSD" ] && exit 77 ++ + native_test ${abs_builddir}/allregs + native_test ${abs_builddir}/funcretval +
meta/recipes-devtools/elfutils/elfutils-0.164/m68k_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.163/m68k_backend.diff +30 -31
122 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/mips_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.163/mips_backend.diff +35 -36
145 lines not on this page · raw message
meta/recipes-devtools/elfutils/elfutils-0.164/mips_readelf_w.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.163/mips_readelf_w.patch +4 -4
@@ -6,11 +6,11 @@ Forwarded: not-needed Upstreams wants a change where this is handled by a hook that needs to be filled in by the backend for the arch. -Index: elfutils-0.153/src/readelf.c +Index: elfutils-0.164/src/readelf.c =================================================================== ---- elfutils-0.153.orig/src/readelf.c 2012-08-10 22:01:55.000000000 +0200 -+++ elfutils-0.153/src/readelf.c 2012-09-18 21:46:27.000000000 +0200 -@@ -7364,7 +7364,8 @@ +--- elfutils-0.164.orig/src/readelf.c ++++ elfutils-0.164/src/readelf.c +@@ -8218,7 +8218,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl * GElf_Shdr shdr_mem; GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
meta/recipes-devtools/elfutils/elfutils-0.164/testsuite-ignore-elflint.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.163/testsuite-ignore-elflint.diff +0 -0
meta/recipes-devtools/elfutils/elfutils_0.164.bb renamed from meta/recipes-devtools/elfutils/elfutils_0.163.bb +7 -8
@@ -7,8 +7,8 @@ DEPENDS = "libtool bzip2 zlib virtual/libintl" SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/${BP}.tar.bz2" -SRC_URI[md5sum] = "77ce87f259987d2e54e4d87b86cbee41" -SRC_URI[sha256sum] = "7c774f1eef329309f3b05e730bdac50013155d437518a2ec0e24871d312f2e23" +SRC_URI[md5sum] = "2e4536c1c48034f188a80789a59114d8" +SRC_URI[sha256sum] = "9683c025928a12d06b7fe812928aa6235249e22d197d086f7084606a48165900" SRC_URI += "\ file://mempcpy.patch \
@@ -21,19 +21,18 @@ SRC_URI += "\ " # pick the patch from debian -# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.159-4.debian.tar.xz +# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xz SRC_URI += "\ - file://redhat-portability.diff \ file://hppa_backend.diff \ file://arm_backend.diff \ file://mips_backend.diff \ file://m68k_backend.diff \ file://testsuite-ignore-elflint.diff \ - file://scanf-format.patch \ file://mips_readelf_w.patch \ - file://arm_func_value.patch \ - file://arm_unwind_ret_mask.patch \ - file://non_linux.patch \ + file://kfreebsd_path.patch \ + file://0001-Ignore-differences-between-mips-machine-identifiers.patch \ + file://0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \ + file://0003-Add-mips-n64-relocation-format-hack.patch \ " # Only apply when building uclibc based target recipe
Signature · 1 line
1.9.1
PATCH 3/9 pax-utils: 1.0.5 -> 1.1.4
In reply to Hongxu Jia---
.../pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (83%)meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +2 -2
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" RDEPENDS_${PN} += "bash python"
Signature · 1 line
1.9.1
PATCH 4/9 xmlto: 0.0.26 -> 0.0.28
In reply to Hongxu Jia---
.../configure.in-drop-the-test-of-xmllint-and-xsltproc.patch | 0
meta/recipes-devtools/xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/xmlto/{xmlto-0.0.26 => xmlto-0.0.28}/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch (100%)
rename meta/recipes-devtools/xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} (88%)meta/recipes-devtools/xmlto/xmlto-0.0.28/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch renamed from meta/recipes-devtools/xmlto/xmlto-0.0.26/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch +0 -0
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb renamed from meta/recipes-devtools/xmlto/xmlto_0.0.26.bb +2 -2
@@ -9,8 +9,8 @@ SRC_URI = "https://fedorahosted.org/releases/x/m/xmlto/xmlto-${PV}.tar.gz \ file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \ file://catalog.xml \ " -SRC_URI[md5sum] = "0cca8be787ba01e00c618cb390c988b9" -SRC_URI[sha256sum] = "cfd8d2a26077be1d5566dfe22dd66099ae4f4600dea97d6e113a2cc5b8708977" +SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" +SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" inherit autotools
Signature · 1 line
1.9.1
PATCH 5/9 libgcrypt: 1.6.3 -> 1.6.4
In reply to Hongxu Jia--- meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb | 4 ---- meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bb | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb create mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bb
meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require libgcrypt.inc - -SRC_URI[md5sum] = "de03b867d02fdf115a1bac8bb8b5c3a3" -SRC_URI[sha256sum] = "69e94e1a7084d94e1a6ca26d436068cb74862d10a7353cfae579a2d88674ff09"
meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bb new file +4 -0
@@ -0,0 +1,4 @@ +require libgcrypt.inc + +SRC_URI[md5sum] = "7dc7d51cdbf56ad75e95c4166f90e985" +SRC_URI[sha256sum] = "5c2076212961712e4774abf32c85cb58537d544d6016a2464fb32783653d1b6d"
Signature · 1 line
1.9.1
PATCH 6/9 ghostscript: 9.16 -> 9.18
In reply to Hongxu JiaRemove '--without-jbig2dec', since upstream did not support it very well which caused build failure:
...
|make[1]: *** No rule to make target obj/sjbig2_.dev', needed by obj/sjbig2.dev'. Stop.
...
The same to option '--without-jbig2dec'.
Already file a bug to upstream:
http://bugs.ghostscript.com/show_bug.cgi?id=696497
---
.../ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (94%)meta/recipes-extended/ghostscript/ghostscript_9.18.bb renamed from meta/recipes-extended/ghostscript/ghostscript_9.16.bb +3 -3
@@ -34,10 +34,10 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ " -SRC_URI[md5sum] = "829319325bbdb83f5c81379a8f86f38f" -SRC_URI[sha256sum] = "746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d" +SRC_URI[md5sum] = "33a47567d7a591c00a253caddd12a88a" +SRC_URI[sha256sum] = "5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b" -EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \ +EXTRA_OECONF = "--without-x --with-system-libtiff \ --with-fontpath=${datadir}/fonts \ --without-libidn --with-cups-serverbin=${exec_prefix}/lib/cups \ --with-cups-datadir=${datadir}/cups \
Signature · 1 line
1.9.1
PATCH 7/9 man-pages: 4.02 -> 4.04
In reply to Hongxu Jia---
.../man-pages/{man-pages_4.02.bb => man-pages_4.04.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-extended/man-pages/{man-pages_4.02.bb => man-pages_4.04.bb} (86%)meta/recipes-extended/man-pages/man-pages_4.04.bb renamed from meta/recipes-extended/man-pages/man-pages_4.02.bb +2 -2
@@ -7,8 +7,8 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://README;md5=8f2a3d43057d458e5066714980567a60" SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/Archive/${BP}.tar.gz" -SRC_URI[md5sum] = "93df3279798a3345bb2c709584c83639" -SRC_URI[sha256sum] = "42324f9ed47c89a43cb37b6bb0d5fbcad44838eee45cd394e181c98d038c49ff" +SRC_URI[md5sum] = "901cd52e0ee2a9d7508ae1ab15d5e835" +SRC_URI[sha256sum] = "bff072462baea8d1b8e4568759324c5ed6c760716fe830bca71129cc09e00668" RDEPENDS_${PN} = "man"
Signature · 1 line
1.9.1
PATCH 8/9 help2man-native: 1.47.1 -> 1.47.3
In reply to Hongxu Jia---
.../help2man/{help2man-native_1.47.1.bb => help2man-native_1.47.3.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/help2man/{help2man-native_1.47.1.bb => help2man-native_1.47.3.bb} (79%)meta/recipes-devtools/help2man/help2man-native_1.47.3.bb renamed from meta/recipes-devtools/help2man/help2man-native_1.47.1.bb +2 -2
@@ -6,8 +6,8 @@ DEPENDS = "autoconf-native automake-native" SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz" -SRC_URI[md5sum] = "cf7aaaeea40bff1176df825430694173" -SRC_URI[sha256sum] = "c59b26f60cb06e45b00e729dea721e7a17220e2c17d800eb428271a750382b06" +SRC_URI[md5sum] = "d1d44a7a7b2bd61755a2045d96ecaea0" +SRC_URI[sha256sum] = "c232af6475ef65bee02770862a362f4c4c2e6c9967d39e987eb94cadcfc13856" inherit autotools native
Signature · 1 line
1.9.1
PATCH 9/9 gnupg: 2.1.7 -> 2.1.10
In reply to Hongxu JiaAdd PACKAGECONFIG for sqlite3 to avoid QA Warning
...
WARNING: QA Issue: gnupg rdepends on libsqlite3, but it isn't a build dependency? [build-deps]
...
---
meta/recipes-support/gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
rename meta/recipes-support/gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} (84%)meta/recipes-support/gnupg/gnupg_2.1.10.bb renamed from meta/recipes-support/gnupg/gnupg_2.1.7.bb +5 -2
@@ -15,8 +15,8 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ file://autogen.sh-fix-find-version-for-beta-checking.patch \ " -SRC_URI[md5sum] = "ebdf92b15b8bcd8579b643c7f41a3238" -SRC_URI[sha256sum] = "c18a3776d47fec98892d51d28b6574ef16bf0a25eabb0956231058aaf2e7846e" +SRC_URI[md5sum] = "f0a7cb09fe119f8b82eba7efecd27dc0" +SRC_URI[sha256sum] = "93bd58d81771a4fa488566e5d2e13b1fd7afc86789401eb41731882abfd26cf9" EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \
@@ -40,3 +40,6 @@ do_install_append() { } RDEPENDS_${PN} = "gnutls" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3"
Signature · 1 line
1.9.1
Re: [PATCH 3/9] pax-utils: 1.0.5 -> 1.1.4
In reply to Hongxu JiaQuoted 14 lines · Hongxu Jia
Signed-off-by Hongxu Jia <[email protected]>--- .../pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (83%)
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +0
-0
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" · line 16
Quoted 10 lines
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +2
-2@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" RDEPENDS_${PN} += "bash python"
FYI,
This looked like it might be a significant upgrade but I checked it out and it's not that big a deal as shown below.
I like to see a diffstat and if present a ChangeLog diff on package uprev. Do people think that's worthwhile so that there's evidence that we've looked at the package changes and thought about the impact to the YP build? Again, in this case, there's no ChangeLog and the commits and diffstat don't reveal interesting new functionality to me at least.
../Randy
$ git clone git://anongit.gentoo.org/proj/pax-utils.git pax-utils.git $ cd pax-utils.git $ git diff v1.0.5..v1.1.4 | diffstat b/Makefile | 57 ++++++----- b/Makefile.am | 52 +++++++++- b/configure.ac | 18 +++ b/dumpelf.c | 1 b/lddtree.py | 6 - b/lddtree.sh | 20 +++ b/make-tarball.sh | 2 b/paxelf.c | 2 b/paxinc.h | 7 + b/paxmacho.h | 2 b/porting.h | 23 +++- b/pspax.c | 4 b/scanelf.c | 81 +++++++++------- b/scanmacho.c | 5 b/security.c | 272 +++++++++++++++++++++++++++++++++++++++++...+ b/security.h | 29 +++++ man/.cvsignore | 1 17 files changed, 507 insertions(+), 75 deletions(-)
$ git log --oneline v1.0.5..v1.1.4 | wc -l 22
$ git log --oneline v1.0.5..v1.1.4 353a328 security: whitelist the getcwd syscall a7ec3aa porting: fix android builds 9575f81 security: fix build on systems w/out si_syscall 1f7a936 security: whitelist the futex syscall ee6925b security: whitelist dup syscalls 6fa4f46 security: do not warn when seccomp is disabled in the kernel c39a557 security: whitelist fakeroot syscalls bcb6683 security: add a debug handler for seccomp 9d0a60f build: add plumbing for building w/debug code 6e0e840 security: clean up syscall ifdefs d6fcdb5 security: use seccomp to lock ourselves down bdf41eb security: lock down privs a bit via prctl a743806 security: leverage namespaces to restrict the runtime a bit ef15f60 lddtree.sh: fix interp handling when doing a full listing 5e8a1d4 lddtree.py: fix glob handling w/ld.so.conf 0fccfd9 avoid using \n with warn macros 99f303d build: refresh autotool regen logic for git ce30b2e build: use pkg-config for libcap settings 0afc2cc scanelf: fix memory leak with the -s option 51d892d debug: improve cleanup logic cf37405 build: use pkg-config for libcap settings ca9a45b use __typeof__ instead of typeof to build with stricter standards
Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
Re: [PATCH 3/9] pax-utils: 1.0.5 -> 1.1.4
Quoted 26 lines · Randy MacLeod
Quoted 22 lines · Hongxu Jia
Signed-off-by Hongxu Jia <[email protected]>--- .../pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (83%)meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +2
-2@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414"
Quoted 7 lines
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" · line 16
Quoted 2 lines
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +0
-0RDEPENDS_${PN} += "bash python"FYI,
This looked like it might be a significant upgrade but I checked it out and it's not that big a deal as shown below.
it seems to indicate that it will use pkg-config to detect libcap
but the dependency is floating as recipe doesnt express this either using DEPENDS or some other exclusion logic if this dep is to be disabled by default.
Quoted 8 lines
I like to see a diffstat and if present a ChangeLog diff on package uprev. Do people think that's worthwhile so that there's evidence that we've looked at the package changes and thought about the impact to the YP build? Again, in this case, there's no ChangeLog and the commits and diffstat don't reveal interesting new functionality to me at least.
I think that would be an improvement. A link to diffs on upstream SCM should be enough too.
Quoted 62 lines
../Randy
$ git clone git://anongit.gentoo.org/proj/pax-utils.git pax-utils.git $ cd pax-utils.git $ git diff v1.0.5..v1.1.4 | diffstat b/Makefile | 57 ++++++----- b/Makefile.am | 52 +++++++++- b/configure.ac | 18 +++ b/dumpelf.c | 1 b/lddtree.py | 6 - b/lddtree.sh | 20 +++ b/make-tarball.sh | 2 b/paxelf.c | 2 b/paxinc.h | 7 + b/paxmacho.h | 2 b/porting.h | 23 +++- b/pspax.c | 4 b/scanelf.c | 81 +++++++++------- b/scanmacho.c | 5 b/security.c | 272 +++++++++++++++++++++++++++++++++++++++++...+ b/security.h | 29 +++++ man/.cvsignore | 1 17 files changed, 507 insertions(+), 75 deletions(-)$ git log --oneline v1.0.5..v1.1.4 | wc -l 22$ git log --oneline v1.0.5..v1.1.4 353a328 security: whitelist the getcwd syscall a7ec3aa porting: fix android builds 9575f81 security: fix build on systems w/out si_syscall 1f7a936 security: whitelist the futex syscall ee6925b security: whitelist dup syscalls 6fa4f46 security: do not warn when seccomp is disabled in the kernel c39a557 security: whitelist fakeroot syscalls bcb6683 security: add a debug handler for seccomp 9d0a60f build: add plumbing for building w/debug code 6e0e840 security: clean up syscall ifdefs d6fcdb5 security: use seccomp to lock ourselves down bdf41eb security: lock down privs a bit via prctl a743806 security: leverage namespaces to restrict the runtime a bit ef15f60 lddtree.sh: fix interp handling when doing a full listing 5e8a1d4 lddtree.py: fix glob handling w/ld.so.conf 0fccfd9 avoid using \n with warn macros 99f303d build: refresh autotool regen logic for git ce30b2e build: use pkg-config for libcap settings 0afc2cc scanelf: fix memory leak with the -s option 51d892d debug: improve cleanup logic cf37405 build: use pkg-config for libcap settings ca9a45b use __typeof__ instead of typeof to build with stricter standards--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5 --
_______________________________________________
Openembedded-core mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 3/9] pax-utils: 1.0.5 -> 1.1.4
Quoted 29 lines · Khem Raj
Quoted 29 lines · Randy MacLeod
Quoted 14 lines · Hongxu Jia
Signed-off-by Hongxu Jia <[email protected]>--- .../pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (83%)
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +0
-0meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" · line 16
Quoted 10 lines
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +2
-2@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" RDEPENDS_${PN} += "bash python"FYI,
Quoted 5 lines
Quoted 2 lines
This looked like it might be a significant upgrade but I checked it out and it's not that big a deal as shown below.
it seems to indicate that it will use pkg-config to detect libcap
but the dependency is floating as recipe doesnt express this either using DEPENDS or some other exclusion logic if this dep is to be disabled by default.
Yes, we also need to do the same thing on libseccomp.
Refer gentoo's recipe, we should do the same thing for yocto:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9396479e32f6d1034a8ccd3b1bd0e8fab8395b
Quoted 8 lines
Quoted 7 lines
I like to see a diffstat and if present a ChangeLog diff on package uprev. Do people think that's worthwhile so that there's evidence that we've looked at the package changes and thought about the impact to the YP build? Again, in this case, there's no ChangeLog and the commits and diffstat don't reveal interesting new functionality to me at least.
I think that would be an improvement. A link to diffs on upstream SCM should be enough too.
For pax-utils, I am afraid there is no Changelog or release note to introduce the change.
As http://gentoo.osuosl.org/distfiles/ shows, the version jumps very quick
...
pax-utils-1.0.5.tar.xz 2015-07-20 04:15 608K
pax-utils-1.1.tar.xz 2015-08-20 14:48 613K
pax-utils-1.1.1.tar.xz 2015-08-28 06:04 613K pax-utils-1.1.2.tar.xz 2015-09-12 04:17 613K pax-utils-1.1.3.tar.xz 2015-09-19 06:27 613K pax-utils-1.1.4.tar.xz 2015-10-26 04:38 613K
...
And Randy's git diff also shows there was no big change.
//Hongxu
Quoted 64 lines
Quoted 62 lines
../Randy
$ git clone git://anongit.gentoo.org/proj/pax-utils.git pax-utils.git $ cd pax-utils.git $ git diff v1.0.5..v1.1.4 | diffstat b/Makefile | 57 ++++++----- b/Makefile.am | 52 +++++++++- b/configure.ac | 18 +++ b/dumpelf.c | 1 b/lddtree.py | 6 - b/lddtree.sh | 20 +++ b/make-tarball.sh | 2 b/paxelf.c | 2 b/paxinc.h | 7 + b/paxmacho.h | 2 b/porting.h | 23 +++- b/pspax.c | 4 b/scanelf.c | 81 +++++++++------- b/scanmacho.c | 5 b/security.c | 272 +++++++++++++++++++++++++++++++++++++++++...+ b/security.h | 29 +++++ man/.cvsignore | 1 17 files changed, 507 insertions(+), 75 deletions(-)$ git log --oneline v1.0.5..v1.1.4 | wc -l 22$ git log --oneline v1.0.5..v1.1.4 353a328 security: whitelist the getcwd syscall a7ec3aa porting: fix android builds 9575f81 security: fix build on systems w/out si_syscall 1f7a936 security: whitelist the futex syscall ee6925b security: whitelist dup syscalls 6fa4f46 security: do not warn when seccomp is disabled in the kernel c39a557 security: whitelist fakeroot syscalls bcb6683 security: add a debug handler for seccomp 9d0a60f build: add plumbing for building w/debug code 6e0e840 security: clean up syscall ifdefs d6fcdb5 security: use seccomp to lock ourselves down bdf41eb security: lock down privs a bit via prctl a743806 security: leverage namespaces to restrict the runtime a bit ef15f60 lddtree.sh: fix interp handling when doing a full listing 5e8a1d4 lddtree.py: fix glob handling w/ld.so.conf 0fccfd9 avoid using \n with warn macros 99f303d build: refresh autotool regen logic for git ce30b2e build: use pkg-config for libcap settings 0afc2cc scanelf: fix memory leak with the -s option 51d892d debug: improve cleanup logic cf37405 build: use pkg-config for libcap settings ca9a45b use __typeof__ instead of typeof to build with stricter standards--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5 --
_______________________________________________
Openembedded-core mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 6/9] ghostscript: 9.16 -> 9.18
In reply to Hongxu JiaQuoted 7 lines · Hongxu Jia
Remove '--without-jbig2dec', since upstream did not support it very well which caused build failure:
...Quoted 1 line
make[1]: *** No rule to make target `obj/sjbig2_.dev',
needed by `obj/sjbig2.dev'. Stop.
...
Quoted 6 lines
The same to option '--without-jbig2dec'.
Already file a bug to upstream:
http://bugs.ghostscript.com/show_bug.cgi?id=696497Signed-off-by Hongxu Jia <[email protected]>
Presumably we use this option for a reason. What effect does removing it have? Should we backport the fixes instead?
Cheers,
Richard
Re: [PATCH 6/9] ghostscript: 9.16 -> 9.18
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Hongxu Jia
Remove '--without-jbig2dec', since upstream did not support it very well which caused build failure:
...Quoted 1 line
make[1]: *** No rule to make target `obj/sjbig2_.dev',
needed by `obj/sjbig2.dev'. Stop.
...
Quoted 8 lines
Quoted 6 lines
The same to option '--without-jbig2dec'.
Already file a bug to upstream:
http://bugs.ghostscript.com/show_bug.cgi?id=696497Signed-off-by Hongxu Jia <[email protected]>Presumably we use this option for a reason. What effect does removing it have? Should we backport the fixes instead?
The initial recipe has used this option without reason, The upstream have replied the bug:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4b7b278d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b0f5a975
I will do the test and backport them in V2
//Hongxu
Quoted 3 lines
Cheers,
Richard
PATCH v2 3/9 pax-utils: 1.0.5 -> 1.1.4
In reply to Hongxu Jia- Support autotools:
*) Touch NEWS/AUTHORS/ChangeLog to workaroud failure
caused by 'automake --add-missing'
*) Add patch to fix configure failure caused by missing
macro definition in m4 directory
- Add PACKAGECONFIG flags for libcap, libseccomp and pyelftools, and disable them by default.
- Add PACKAGECONFIG flag for largefile.
- Since we add PACKAGECONFIG flags for pyelftools, we do not need python in RDEPENDS.
BTW:
Currently oe-core does not support libseccomp.
(https://github.com/seccomp/libseccomp)
Currently oe-core does not support pyelftools.
(https://github.com/eliben/pyelftools)
---
.../pax-utils/files/fix-configure-failure.patch | 146 +++++++++++++++++++++
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 23 +++-
2 files changed, 165 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (48%)meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch new file +146 -0
@@ -0,0 +1,146 @@ +From 70334129f5d849813c2ea5ce6070e6fb433412f7 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Wed, 13 Jan 2016 01:12:19 -0500 +Subject: [PATCH] autotools/m4: fix unexpected token 'AX_APPEND_FLAG' + +Added missing macro definition "ax_require_defined.m4" and "ax_append_flag.m4" +to the m4 macro directories. +... +pax-utils-1.1.4/configure: line 33077: syntax error near unexpected token `AX_APPEND_FLAG' +pax-utils-1.1.4/configure: line 33077: `AX_REQUIRE_DEFINED(AX_APPEND_FLAG)' +... +Upstream-Status: Pending + +Signed-off-by: Hongxu Jia <[email protected]> +--- + autotools/m4/ax_append_flag.m4 | 72 ++++++++++++++++++++++++++++++++++++++ + autotools/m4/ax_require_defined.m4 | 38 ++++++++++++++++++++ + 2 files changed, 110 insertions(+) + create mode 100644 autotools/m4/ax_append_flag.m4 + create mode 100644 autotools/m4/ax_require_defined.m4 + +diff --git a/autotools/m4/ax_append_flag.m4 b/autotools/m4/ax_append_flag.m4 +new file mode 100644 +index 0000000..c98a5c5 +--- /dev/null ++++ b/autotools/m4/ax_append_flag.m4 +@@ -0,0 +1,72 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) ++# ++# DESCRIPTION ++# ++# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space ++# added in between. ++# ++# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. ++# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains ++# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly ++# FLAG. ++# ++# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. ++# ++# LICENSE ++# ++# Copyright (c) 2008 Guido U. Draheim <[email protected]> ++# Copyright (c) 2011 Maarten Bosmans <[email protected]> ++# ++# This program is free software: you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published by the ++# Free Software Foundation, either version 3 of the License, or (at your ++# option) any later version. ++# ++# This program is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General ++# Public License for more details. ++# ++# You should have received a copy of the GNU General Public License along ++# with this program. If not, see <http://www.gnu.org/licenses/>. ++# ++# As a special exception, the respective Autoconf Macro's copyright owner ++# gives unlimited permission to copy, distribute and modify the configure ++# scripts that are the output of Autoconf when processing the Macro. You ++# need not follow the terms of the GNU General Public License when using ++# or distributing such scripts, even though portions of the text of the ++# Macro appear in them. The GNU General Public License (GPL) does govern ++# all other use of the material that constitutes the Autoconf Macro. ++# ++# This special exception to the GPL applies to versions of the Autoconf ++# Macro released by the Autoconf Archive. When you make and distribute a ++# modified version of the Autoconf Macro, you may extend this special ++# exception to the GPL to apply to your modified version as well. ++ ++#serial 6 ++ ++AC_DEFUN([AX_APPEND_FLAG], ++[dnl ++AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF ++AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) ++AS_VAR_SET_IF(FLAGS,[ ++ AS_CASE([" AS_VAR_GET(FLAGS) "], ++ [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], ++ [ ++ AS_VAR_APPEND(FLAGS,[" $1"]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++ ], ++ [ ++ AS_VAR_SET(FLAGS,[$1]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++AS_VAR_POPDEF([FLAGS])dnl ++])dnl AX_APPEND_FLAG ++ +diff --git a/autotools/m4/ax_require_defined.m4 b/autotools/m4/ax_require_defined.m4 +new file mode 100644 +index 0000000..4cb6f3c +--- /dev/null ++++ b/autotools/m4/ax_require_defined.m4 +@@ -0,0 +1,38 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_REQUIRE_DEFINED(MACRO) ++# ++# DESCRIPTION ++# ++# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have ++# been defined and thus are available for use. This avoids random issues ++# where a macro isn't expanded. Instead the configure script emits a ++# non-fatal: ++# ++# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found ++# ++# It's like AC_REQUIRE except it doesn't expand the required macro. ++# ++# Here's an example: ++# ++# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) ++# ++# LICENSE ++# ++# Copyright (c) 2014 Mike Frysinger <[email protected]> ++# ++# Copying and distribution of this file, with or without modification, are ++# permitted in any medium without royalty provided the copyright notice ++# and this notice are preserved. This file is offered as-is, without any ++# warranty. ++ ++#serial 1 ++ ++AC_DEFUN([AX_REQUIRE_DEFINED], [dnl ++ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) ++])dnl AX_REQUIRE_DEFINED ++ +-- +1.9.1 +
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +19 -4
@@ -7,15 +7,30 @@ HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" -SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" +SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz \ + file://fix-configure-failure.patch \ +" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" -RDEPENDS_${PN} += "bash python" +RDEPENDS_${PN} += "bash" + +do_configure_prepend() { + touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog +} do_install() { oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install } BBCLASSEXTEND = "native" + +inherit autotools pkgconfig + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ +" +PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" +PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," +PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools"
Signature · 1 line
1.9.1
PATCH v2 1/1 upgrade v2 pax-utils and v2 ghostscript
In reply to Hongxu JiaUpdate git repo:
git://git.pokylinux.org/poky-contrib hongxu/upgrade-11012016
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/upgrade-11012016
//Hongxu
Hongxu Jia (9):
dhcp: 4.3.2 -> 4.3.3
elfutils: 0.163 -> 0.164
pax-utils: 1.0.5 -> 1.1.4
xmlto: 0.0.26 -> 0.0.28
libgcrypt: 1.6.3 -> 1.6.4
ghostscript: 9.16 -> 9.18
man-pages: 4.02 -> 4.04
help2man-native: 1.47.1 -> 1.47.3
gnupg: 2.1.7 -> 2.1.10
.../dhcp/dhcp/fix-external-bind.patch | 79 +-
.../dhcp/dhcp/fixsepbuild.patch | 19 -
.../dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} | 4 +-
.../elfutils/elfutils-0.163/arm_func_value.patch | 165 ----
.../elfutils-0.163/arm_unwind_ret_mask.patch | 83 --
.../elfutils/elfutils-0.163/non_linux.patch | 35 -
.../elfutils-0.163/redhat-portability.diff | 1021 --------------------
.../elfutils/elfutils-0.163/scanf-format.patch | 40 -
.../uclibc-support-for-elfutils-0.161.patch | 106 --
...ferences-between-mips-machine-identifiers.patch | 34 +
...m-Silence-Werror-maybe-uninitialized-fals.patch | 0
.../0001-fix-a-stack-usage-warning.patch | 0
.../0001-remove-the-unneed-checking.patch | 0
...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++
.../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++
.../arm_backend.diff | 389 ++++----
.../fixheadercheck.patch | 0
.../hppa_backend.diff | 69 +-
.../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 +
.../m68k_backend.diff | 61 +-
.../mips_backend.diff | 71 +-
.../mips_readelf_w.patch | 8 +-
.../testsuite-ignore-elflint.diff | 0
.../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +-
...-native_1.47.1.bb => help2man-native_1.47.3.bb} | 4 +-
.../pax-utils/files/fix-configure-failure.patch | 146 +++
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 23 +-
....in-drop-the-test-of-xmllint-and-xsltproc.patch | 0
.../xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} | 4 +-
...Fix-support-for-building-with-no-jbig2-de.patch | 81 ++
...part-2-fix-support-for-building-with-a-JP.patch | 48 +
.../{ghostscript_9.16.bb => ghostscript_9.18.bb} | 6 +-
.../{man-pages_4.02.bb => man-pages_4.04.bb} | 4 +-
.../gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} | 7 +-
meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb | 4 -
meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bb | 4 +
36 files changed, 1091 insertions(+), 1848 deletions(-)
rename meta/recipes-connectivity/dhcp/{dhcp_4.3.2.bb => dhcp_4.3.3.bb} (70%)
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diff
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0001-Ignore-differences-between-mips-machine-identifiers.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-fix-a-stack-usage-warning.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/0001-remove-the-unneed-checking.patch (100%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/0003-Add-mips-n64-relocation-format-hack.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/arm_backend.diff (82%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/fixheadercheck.patch (100%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/hppa_backend.diff (93%)
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/m68k_backend.diff (89%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_backend.diff (92%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/mips_readelf_w.patch (75%)
rename meta/recipes-devtools/elfutils/{elfutils-0.163 => elfutils-0.164}/testsuite-ignore-elflint.diff (100%)
rename meta/recipes-devtools/elfutils/{elfutils_0.163.bb => elfutils_0.164.bb} (87%)
rename meta/recipes-devtools/help2man/{help2man-native_1.47.1.bb => help2man-native_1.47.3.bb} (79%)
create mode 100644 meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (48%)
rename meta/recipes-devtools/xmlto/{xmlto-0.0.26 => xmlto-0.0.28}/configure.in-drop-the-test-of-xmllint-and-xsltproc.patch (100%)
rename meta/recipes-devtools/xmlto/{xmlto_0.0.26.bb => xmlto_0.0.28.bb} (88%)
create mode 100644 meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch
create mode 100644 meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (91%)
rename meta/recipes-extended/man-pages/{man-pages_4.02.bb => man-pages_4.04.bb} (86%)
rename meta/recipes-support/gnupg/{gnupg_2.1.7.bb => gnupg_2.1.10.bb} (84%)
delete mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.3.bb
create mode 100644 meta/recipes-support/libgcrypt/libgcrypt_1.6.4.bbSignature · 1 line
1.9.1
PATCH v2 6/9 ghostscript: 9.16 -> 9.18
Backport patches to fix build failure caused by '--without-jbig2dec' and '--without-jbig2dec'.
...
|make[1]: *** No rule to make target obj/sjbig2_.dev', needed by obj/sjbig2.dev'. Stop.
...
http://bugs.ghostscript.com/show_bug.cgi?id=696497
---
...Fix-support-for-building-with-no-jbig2-de.patch | 81 ++++++++++++++++++++++
...part-2-fix-support-for-building-with-a-JP.patch | 48 +++++++++++++
.../{ghostscript_9.16.bb => ghostscript_9.18.bb} | 6 +-
3 files changed, 133 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch
create mode 100644 meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (91%)meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch new file +81 -0
@@ -0,0 +1,81 @@ +From 1d19998091154f89b8294e4594a05986b4c2f822 Mon Sep 17 00:00:00 2001 +From: Chris Liddell <[email protected]> +Date: Wed, 13 Jan 2016 02:08:42 -0500 +Subject: [PATCH 1/2] Bug 696497: Fix support for building with no jbig2 + decoder + +Author: Chris Liddell <[email protected]> + +Upstream-Status: Backport +http://bugs.ghostscript.com/show_bug.cgi?id=696497 +http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b0f5a975 +Signed-off-by: Hongxu Jia <[email protected]> +--- + base/lib.mak | 9 +++++++++ + psi/int.mak | 23 ++++++++++++++++++----- + 2 files changed, 27 insertions(+), 5 deletions(-) + +diff --git a/base/lib.mak b/base/lib.mak +index 241df2f..daa7056 100644 +--- a/base/lib.mak ++++ b/base/lib.mak +@@ -1732,6 +1732,10 @@ $(GLD)sjbig2_jbig2dec.dev : $(LIB_MAK) $(ECHOGS_XE) \ + $(SETMOD) $(GLD)sjbig2_jbig2dec $(sjbig2_jbig2dec) + $(ADDMOD) $(GLD)sjbig2_jbig2dec -include $(GLD)jbig2dec.dev + ++$(GLD)sjbig2_.dev : $(LIB_MAK) $(ECHOGS_XE) \ ++ $(LIB_MAK) $(MAKEDIRS) ++ $(SETMOD) $(GLD)sjbig2_ ++ + # jbig2dec.dev is defined in jbig2.mak + + $(GLOBJ)sjbig2.$(OBJ) : $(GLSRC)sjbig2.c $(AK) \ +@@ -1739,6 +1743,11 @@ $(GLOBJ)sjbig2.$(OBJ) : $(GLSRC)sjbig2.c $(AK) \ + $(sjbig2_h) $(strimpl_h) $(MAKEDIRS) + $(GLJBIG2CC) $(GLO_)sjbig2.$(OBJ) $(C_) $(GLSRC)sjbig2.c + ++$(GLOBJ)snojbig2.$(OBJ) : $(GLSRC)snojbig2.c $(AK) \ ++ $(stdint__h) $(memory__h) $(stdio__h) $(gserrors_h) $(gdebug_h) \ ++ $(strimpl_h) $(LIB_MAK) $(MAKEDIRS) ++ $(GLJBIG2CC) $(GLO_)snojbig2.$(OBJ) $(C_) $(GLSRC)snojbig2.c ++ + # luratech version + sjbig2_luratech=$(GLOBJ)sjbig2_luratech.$(OBJ) + +diff --git a/psi/int.mak b/psi/int.mak +index 6149a3b..f9d667d 100644 +--- a/psi/int.mak ++++ b/psi/int.mak +@@ -1254,11 +1254,24 @@ $(PSOBJ)zfaes.$(OBJ) : $(PSSRC)zfaes.c $(OP) $(memory__h)\ + # this can be turned on and off with a FEATURE_DEV + + fjbig2_=$(PSOBJ)zfjbig2_$(JBIG2_LIB).$(OBJ) +-$(PSD)jbig2.dev : $(INT_MAK) $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ +- $(MAKEDIRS) +- $(SETMOD) $(PSD)jbig2 $(fjbig2_) +- $(ADDMOD) $(PSD)jbig2 -include $(GLD)sjbig2 +- $(ADDMOD) $(PSD)jbig2 -oper zfjbig2 ++ ++$(PSD)jbig2_jbig2dec.dev : $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ ++ $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_jbig2dec $(fjbig2_) ++ $(ADDMOD) $(PSD)jbig2_jbig2dec -include $(GLD)sjbig2 ++ $(ADDMOD) $(PSD)jbig2_jbig2dec -oper zfjbig2 ++ ++$(PSD)jbig2_luratech.dev : $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ ++ $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_luratech $(fjbig2_) ++ $(ADDMOD) $(PSD)jbig2_luratech -include $(GLD)sjbig2 ++ $(ADDMOD) $(PSD)jbig2_luratech -oper zfjbig2 ++ ++$(PSD)jbig2_.dev : $(ECHOGS_XE) $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_ ++ ++$(PSD)jbig2.dev : $(PSD)jbig2_$(JBIG2_LIB).dev $(INT_MAK) $(MAKEDIRS) ++ $(CP_) $(PSD)jbig2_$(JBIG2_LIB).dev $(PSD)jbig2.dev + + $(PSOBJ)zfjbig2_jbig2dec.$(OBJ) : $(PSSRC)zfjbig2.c $(OP) $(memory__h)\ + $(gsstruct_h) $(gstypes_h) $(ialloc_h) $(idict_h) $(ifilter_h)\ +-- +1.9.1 +
meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch new file +48 -0
48 lines not on this page · raw message
meta/recipes-extended/ghostscript/ghostscript_9.18.bb renamed from meta/recipes-extended/ghostscript/ghostscript_9.16.bb +4 -2
@@ -20,6 +20,8 @@ SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz file://ghostscript-9.15-parallel-make.patch \ file://ghostscript-9.16-Werror-return-type.patch \ file://png_mak.patch \ + file://0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch \ + file://0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch \ " SRC_URI = "${SRC_URI_BASE} \
@@ -34,8 +36,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ " -SRC_URI[md5sum] = "829319325bbdb83f5c81379a8f86f38f" -SRC_URI[sha256sum] = "746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d" +SRC_URI[md5sum] = "33a47567d7a591c00a253caddd12a88a" +SRC_URI[sha256sum] = "5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b" EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \ --with-fontpath=${datadir}/fonts \
Signature · 1 line
1.9.1
Re: [PATCH V2] upgrade v2 pax-utils and v2 ghostscript
In reply to Hongxu JiaAdd V2 pax-utils to this thread
Sorry for the mess.
//Hongxu
Subject: [PATCH V2 3/9] pax-utils: 1.0.5 -> 1.1.4
- Support autotools:
*) Touch NEWS/AUTHORS/ChangeLog to workaroud failure
caused by 'automake --add-missing'
*) Add patch to fix configure failure caused by missing
macro definition in m4 directory
- Add PACKAGECONFIG flags for libcap, libseccomp and pyelftools, and disable them by default.
- Add PACKAGECONFIG flag for largefile.
- Since we add PACKAGECONFIG flags for pyelftools, we do not need python in RDEPENDS.
BTW:
Currently oe-core does not support libseccomp.
(https://github.com/seccomp/libseccomp)
Currently oe-core does not support pyelftools.
(https://github.com/eliben/pyelftools)
---
.../pax-utils/files/fix-configure-failure.patch | 146 +++++++++++++++++++++
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 23 +++-
2 files changed, 165 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (48%)meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch new file +146 -0
@@ -0,0 +1,146 @@ +From 70334129f5d849813c2ea5ce6070e6fb433412f7 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Wed, 13 Jan 2016 01:12:19 -0500 +Subject: [PATCH] autotools/m4: fix unexpected token 'AX_APPEND_FLAG' + +Added missing macro definition "ax_require_defined.m4" and "ax_append_flag.m4" +to the m4 macro directories. +... +pax-utils-1.1.4/configure: line 33077: syntax error near unexpected token `AX_APPEND_FLAG' +pax-utils-1.1.4/configure: line 33077: `AX_REQUIRE_DEFINED(AX_APPEND_FLAG)' +... +Upstream-Status: Pending + +Signed-off-by: Hongxu Jia <[email protected]> +--- + autotools/m4/ax_append_flag.m4 | 72 ++++++++++++++++++++++++++++++++++++++ + autotools/m4/ax_require_defined.m4 | 38 ++++++++++++++++++++ + 2 files changed, 110 insertions(+) + create mode 100644 autotools/m4/ax_append_flag.m4 + create mode 100644 autotools/m4/ax_require_defined.m4 + +diff --git a/autotools/m4/ax_append_flag.m4 b/autotools/m4/ax_append_flag.m4 +new file mode 100644 +index 0000000..c98a5c5 +--- /dev/null ++++ b/autotools/m4/ax_append_flag.m4 +@@ -0,0 +1,72 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) ++# ++# DESCRIPTION ++# ++# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space ++# added in between. ++# ++# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. ++# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains ++# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly ++# FLAG. ++# ++# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. ++# ++# LICENSE ++# ++# Copyright (c) 2008 Guido U. Draheim <[email protected]> ++# Copyright (c) 2011 Maarten Bosmans <[email protected]> ++# ++# This program is free software: you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published by the ++# Free Software Foundation, either version 3 of the License, or (at your ++# option) any later version. ++# ++# This program is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General ++# Public License for more details. ++# ++# You should have received a copy of the GNU General Public License along ++# with this program. If not, see <http://www.gnu.org/licenses/>. ++# ++# As a special exception, the respective Autoconf Macro's copyright owner ++# gives unlimited permission to copy, distribute and modify the configure ++# scripts that are the output of Autoconf when processing the Macro. You ++# need not follow the terms of the GNU General Public License when using ++# or distributing such scripts, even though portions of the text of the ++# Macro appear in them. The GNU General Public License (GPL) does govern ++# all other use of the material that constitutes the Autoconf Macro. ++# ++# This special exception to the GPL applies to versions of the Autoconf ++# Macro released by the Autoconf Archive. When you make and distribute a ++# modified version of the Autoconf Macro, you may extend this special ++# exception to the GPL to apply to your modified version as well. ++ ++#serial 6 ++ ++AC_DEFUN([AX_APPEND_FLAG], ++[dnl ++AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF ++AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) ++AS_VAR_SET_IF(FLAGS,[ ++ AS_CASE([" AS_VAR_GET(FLAGS) "], ++ [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], ++ [ ++ AS_VAR_APPEND(FLAGS,[" $1"]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++ ], ++ [ ++ AS_VAR_SET(FLAGS,[$1]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++AS_VAR_POPDEF([FLAGS])dnl ++])dnl AX_APPEND_FLAG ++ +diff --git a/autotools/m4/ax_require_defined.m4 b/autotools/m4/ax_require_defined.m4 +new file mode 100644 +index 0000000..4cb6f3c +--- /dev/null ++++ b/autotools/m4/ax_require_defined.m4 +@@ -0,0 +1,38 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_REQUIRE_DEFINED(MACRO) ++# ++# DESCRIPTION ++# ++# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have ++# been defined and thus are available for use. This avoids random issues ++# where a macro isn't expanded. Instead the configure script emits a ++# non-fatal: ++# ++# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found ++# ++# It's like AC_REQUIRE except it doesn't expand the required macro. ++# ++# Here's an example: ++# ++# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) ++# ++# LICENSE ++# ++# Copyright (c) 2014 Mike Frysinger <[email protected]> ++# ++# Copying and distribution of this file, with or without modification, are ++# permitted in any medium without royalty provided the copyright notice ++# and this notice are preserved. This file is offered as-is, without any ++# warranty. ++ ++#serial 1 ++ ++AC_DEFUN([AX_REQUIRE_DEFINED], [dnl ++ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) ++])dnl AX_REQUIRE_DEFINED ++ +-- +1.9.1 +
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +19 -4
@@ -7,15 +7,30 @@ HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" -SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" +SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz \ + file://fix-configure-failure.patch \ +" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" -RDEPENDS_${PN} += "bash python" +RDEPENDS_${PN} += "bash" + +do_configure_prepend() { + touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog +} do_install() { oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install } BBCLASSEXTEND = "native" + +inherit autotools pkgconfig + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ +" +PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" +PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," +PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools"
Signature · 1 line
1.9.1
Re: [PATCH V2 6/9] ghostscript: 9.16 -> 9.18
In reply to Hongxu JiaQuoted 10 lines · Hongxu Jia
Backport patches to fix build failure caused by
'--without-jbig2dec' and '--without-jbig2dec'.
...Quoted 1 line
make[1]: *** No rule to make target `obj/sjbig2_.dev',
needed by `obj/sjbig2.dev'. Stop.
...http://bugs.ghostscript.com/show_bug.cgi?id=696497
Signed-off-by Hongxu Jia <[email protected]>
This upgrade seems to have some issues on arm:
http://errors.yoctoproject.org/Errors/Details/27534/
http://errors.yoctoproject.org/Errors/Details/27528/
http://errors.yoctoproject.org/Errors/Details/27527/
Cheers,
Richard
Re: [PATCH V2 6/9] ghostscript: 9.16 -> 9.18
Quoted 4 lines · Richard Purdie
Quoted 3 lines · Hongxu Jia
Backport patches to fix build failure caused by
'--without-jbig2dec' and '--without-jbig2dec'.
...
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
make[1]: *** No rule to make target `obj/sjbig2_.dev',
needed by `obj/sjbig2.dev'. Stop.
...http://bugs.ghostscript.com/show_bug.cgi?id=696497
Signed-off-by Hongxu Jia <[email protected]>This upgrade seems to have some issues on arm:
OK, I am working on it
//Hongxu
v3 cover upgrade pax-utils and ghostscript
In reply to Richard PurdieChanged in V3:
- ghostscript: fix compile failure on arm
Changed in V2:
- pax-utils: Support autotools
- ghostscript: Backport patches to fix build failure caused by
'--without-jbig2dec' and '--without-jbig2dec'.
//Hongxu
The following changes since commit 0fe6e2dc7ba02fe03fe2c8434a469580ead6ebcd:
bitbake: toaster: increase timeout (2016-01-16 10:36:50 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib hongxu/upgrade-11012016
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=hongxu/upgrade-11012016
Hongxu Jia (2):
pax-utils: 1.0.5 -> 1.1.4
ghostscript: 9.16 -> 9.18
.../pax-utils/files/fix-configure-failure.patch | 146 +++++++++++++++++++++
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 23 +++-
...Fix-support-for-building-with-no-jbig2-de.patch | 81 ++++++++++++
...part-2-fix-support-for-building-with-a-JP.patch | 48 +++++++
.../files/do-not-check-local-libpng-source.patch | 38 ++++++
.../{ghostscript_9.16.bb => ghostscript_9.18.bb} | 11 +-
6 files changed, 339 insertions(+), 8 deletions(-)
create mode 100644 meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (48%)
create mode 100644 meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch
create mode 100644 meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch
create mode 100644 meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (87%)Signature · 1 line
1.9.1
PATCH v2 1/2 pax-utils: 1.0.5 -> 1.1.4
- Support autotools:
*) Touch NEWS/AUTHORS/ChangeLog to workaroud failure
caused by 'automake --add-missing'
*) Add patch to fix configure failure caused by missing
macro definition in m4 directory
- Add PACKAGECONFIG flags for libcap, libseccomp and pyelftools, and disable them by default.
- Add PACKAGECONFIG flag for largefile.
- Since we add PACKAGECONFIG flags for pyelftools, we do not need python in RDEPENDS.
BTW:
Currently oe-core does not support libseccomp.
(https://github.com/seccomp/libseccomp)
Currently oe-core does not support pyelftools.
(https://github.com/eliben/pyelftools)
---
.../pax-utils/files/fix-configure-failure.patch | 146 +++++++++++++++++++++
.../{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} | 23 +++-
2 files changed, 165 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch
rename meta/recipes-devtools/pax-utils/{pax-utils_1.0.5.bb => pax-utils_1.1.4.bb} (48%)meta/recipes-devtools/pax-utils/files/fix-configure-failure.patch new file +146 -0
@@ -0,0 +1,146 @@ +From 70334129f5d849813c2ea5ce6070e6fb433412f7 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Wed, 13 Jan 2016 01:12:19 -0500 +Subject: [PATCH] autotools/m4: fix unexpected token 'AX_APPEND_FLAG' + +Added missing macro definition "ax_require_defined.m4" and "ax_append_flag.m4" +to the m4 macro directories. +... +pax-utils-1.1.4/configure: line 33077: syntax error near unexpected token `AX_APPEND_FLAG' +pax-utils-1.1.4/configure: line 33077: `AX_REQUIRE_DEFINED(AX_APPEND_FLAG)' +... +Upstream-Status: Pending + +Signed-off-by: Hongxu Jia <[email protected]> +--- + autotools/m4/ax_append_flag.m4 | 72 ++++++++++++++++++++++++++++++++++++++ + autotools/m4/ax_require_defined.m4 | 38 ++++++++++++++++++++ + 2 files changed, 110 insertions(+) + create mode 100644 autotools/m4/ax_append_flag.m4 + create mode 100644 autotools/m4/ax_require_defined.m4 + +diff --git a/autotools/m4/ax_append_flag.m4 b/autotools/m4/ax_append_flag.m4 +new file mode 100644 +index 0000000..c98a5c5 +--- /dev/null ++++ b/autotools/m4/ax_append_flag.m4 +@@ -0,0 +1,72 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) ++# ++# DESCRIPTION ++# ++# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space ++# added in between. ++# ++# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. ++# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains ++# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly ++# FLAG. ++# ++# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. ++# ++# LICENSE ++# ++# Copyright (c) 2008 Guido U. Draheim <[email protected]> ++# Copyright (c) 2011 Maarten Bosmans <[email protected]> ++# ++# This program is free software: you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published by the ++# Free Software Foundation, either version 3 of the License, or (at your ++# option) any later version. ++# ++# This program is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General ++# Public License for more details. ++# ++# You should have received a copy of the GNU General Public License along ++# with this program. If not, see <http://www.gnu.org/licenses/>. ++# ++# As a special exception, the respective Autoconf Macro's copyright owner ++# gives unlimited permission to copy, distribute and modify the configure ++# scripts that are the output of Autoconf when processing the Macro. You ++# need not follow the terms of the GNU General Public License when using ++# or distributing such scripts, even though portions of the text of the ++# Macro appear in them. The GNU General Public License (GPL) does govern ++# all other use of the material that constitutes the Autoconf Macro. ++# ++# This special exception to the GPL applies to versions of the Autoconf ++# Macro released by the Autoconf Archive. When you make and distribute a ++# modified version of the Autoconf Macro, you may extend this special ++# exception to the GPL to apply to your modified version as well. ++ ++#serial 6 ++ ++AC_DEFUN([AX_APPEND_FLAG], ++[dnl ++AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF ++AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) ++AS_VAR_SET_IF(FLAGS,[ ++ AS_CASE([" AS_VAR_GET(FLAGS) "], ++ [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], ++ [ ++ AS_VAR_APPEND(FLAGS,[" $1"]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++ ], ++ [ ++ AS_VAR_SET(FLAGS,[$1]) ++ AC_RUN_LOG([: FLAGS="$FLAGS"]) ++ ]) ++AS_VAR_POPDEF([FLAGS])dnl ++])dnl AX_APPEND_FLAG ++ +diff --git a/autotools/m4/ax_require_defined.m4 b/autotools/m4/ax_require_defined.m4 +new file mode 100644 +index 0000000..4cb6f3c +--- /dev/null ++++ b/autotools/m4/ax_require_defined.m4 +@@ -0,0 +1,38 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_REQUIRE_DEFINED(MACRO) ++# ++# DESCRIPTION ++# ++# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have ++# been defined and thus are available for use. This avoids random issues ++# where a macro isn't expanded. Instead the configure script emits a ++# non-fatal: ++# ++# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found ++# ++# It's like AC_REQUIRE except it doesn't expand the required macro. ++# ++# Here's an example: ++# ++# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) ++# ++# LICENSE ++# ++# Copyright (c) 2014 Mike Frysinger <[email protected]> ++# ++# Copying and distribution of this file, with or without modification, are ++# permitted in any medium without royalty provided the copyright notice ++# and this notice are preserved. This file is offered as-is, without any ++# warranty. ++ ++#serial 1 ++ ++AC_DEFUN([AX_REQUIRE_DEFINED], [dnl ++ m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) ++])dnl AX_REQUIRE_DEFINED ++ +-- +1.9.1 +
meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb renamed from meta/recipes-devtools/pax-utils/pax-utils_1.0.5.bb +19 -4
@@ -7,15 +7,30 @@ HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" -SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz" +SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz \ + file://fix-configure-failure.patch \ +" -SRC_URI[md5sum] = "d731f5385682a7a62ee2e7b7dacc13a7" -SRC_URI[sha256sum] = "f69a9938e4af7912d26d585094bc0203e43571a990fdd048319088a8b8ad906f" +SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" +SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" -RDEPENDS_${PN} += "bash python" +RDEPENDS_${PN} += "bash" + +do_configure_prepend() { + touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog +} do_install() { oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install } BBCLASSEXTEND = "native" + +inherit autotools pkgconfig + +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ +" +PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" +PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," +PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools"
Signature · 1 line
1.9.1
PATCH v3 2/2 ghostscript: 9.16 -> 9.18
In reply to Hongxu Jia- Backport patches to fix build failure caused by '--without-jbig2dec' and '--without-jbig2dec'.
...
|make[1]: *** No rule to make target obj/sjbig2_.dev', needed by obj/sjbig2.dev'. Stop.
...
http://bugs.ghostscript.com/show_bug.cgi?id=696497
- Previously, it did not build the whole local libpng source in ghostscript, only picked up specific files and compile them. But on ghostscript 9.18, when the arm's FPU has been set to NEON (-mfpu=neon * with GCC), the selected file "libpng/pngrutil.c" needs to link 'png_init_filter_functions_neon' which should be compiled by a non-selected file "libpng/arm/arm_init.c".
...
|./obj/pngrutil.o: In function `png_init_filter_functions':
|armv7a-neon-poky-linux-gnueabi/ghostscript/9.18-r0/build/../ ghostscript-9.18/libpng/pngrutil.c:3921: undefined reference to `png_init_filter_functions_neon'
...
So do not compile local libpng source in ghostscript, use shared libpng to instead.
---
...Fix-support-for-building-with-no-jbig2-de.patch | 81 ++++++++++++++++++++++
...part-2-fix-support-for-building-with-a-JP.patch | 48 +++++++++++++
.../files/do-not-check-local-libpng-source.patch | 38 ++++++++++
.../{ghostscript_9.16.bb => ghostscript_9.18.bb} | 11 +--
4 files changed, 174 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch
create mode 100644 meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch
create mode 100644 meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch
rename meta/recipes-extended/ghostscript/{ghostscript_9.16.bb => ghostscript_9.18.bb} (87%)meta/recipes-extended/ghostscript/files/0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch new file +81 -0
@@ -0,0 +1,81 @@ +From 1d19998091154f89b8294e4594a05986b4c2f822 Mon Sep 17 00:00:00 2001 +From: Chris Liddell <[email protected]> +Date: Wed, 13 Jan 2016 02:08:42 -0500 +Subject: [PATCH 1/2] Bug 696497: Fix support for building with no jbig2 + decoder + +Author: Chris Liddell <[email protected]> + +Upstream-Status: Backport +http://bugs.ghostscript.com/show_bug.cgi?id=696497 +http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=b0f5a975 +Signed-off-by: Hongxu Jia <[email protected]> +--- + base/lib.mak | 9 +++++++++ + psi/int.mak | 23 ++++++++++++++++++----- + 2 files changed, 27 insertions(+), 5 deletions(-) + +diff --git a/base/lib.mak b/base/lib.mak +index 241df2f..daa7056 100644 +--- a/base/lib.mak ++++ b/base/lib.mak +@@ -1732,6 +1732,10 @@ $(GLD)sjbig2_jbig2dec.dev : $(LIB_MAK) $(ECHOGS_XE) \ + $(SETMOD) $(GLD)sjbig2_jbig2dec $(sjbig2_jbig2dec) + $(ADDMOD) $(GLD)sjbig2_jbig2dec -include $(GLD)jbig2dec.dev + ++$(GLD)sjbig2_.dev : $(LIB_MAK) $(ECHOGS_XE) \ ++ $(LIB_MAK) $(MAKEDIRS) ++ $(SETMOD) $(GLD)sjbig2_ ++ + # jbig2dec.dev is defined in jbig2.mak + + $(GLOBJ)sjbig2.$(OBJ) : $(GLSRC)sjbig2.c $(AK) \ +@@ -1739,6 +1743,11 @@ $(GLOBJ)sjbig2.$(OBJ) : $(GLSRC)sjbig2.c $(AK) \ + $(sjbig2_h) $(strimpl_h) $(MAKEDIRS) + $(GLJBIG2CC) $(GLO_)sjbig2.$(OBJ) $(C_) $(GLSRC)sjbig2.c + ++$(GLOBJ)snojbig2.$(OBJ) : $(GLSRC)snojbig2.c $(AK) \ ++ $(stdint__h) $(memory__h) $(stdio__h) $(gserrors_h) $(gdebug_h) \ ++ $(strimpl_h) $(LIB_MAK) $(MAKEDIRS) ++ $(GLJBIG2CC) $(GLO_)snojbig2.$(OBJ) $(C_) $(GLSRC)snojbig2.c ++ + # luratech version + sjbig2_luratech=$(GLOBJ)sjbig2_luratech.$(OBJ) + +diff --git a/psi/int.mak b/psi/int.mak +index 6149a3b..f9d667d 100644 +--- a/psi/int.mak ++++ b/psi/int.mak +@@ -1254,11 +1254,24 @@ $(PSOBJ)zfaes.$(OBJ) : $(PSSRC)zfaes.c $(OP) $(memory__h)\ + # this can be turned on and off with a FEATURE_DEV + + fjbig2_=$(PSOBJ)zfjbig2_$(JBIG2_LIB).$(OBJ) +-$(PSD)jbig2.dev : $(INT_MAK) $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ +- $(MAKEDIRS) +- $(SETMOD) $(PSD)jbig2 $(fjbig2_) +- $(ADDMOD) $(PSD)jbig2 -include $(GLD)sjbig2 +- $(ADDMOD) $(PSD)jbig2 -oper zfjbig2 ++ ++$(PSD)jbig2_jbig2dec.dev : $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ ++ $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_jbig2dec $(fjbig2_) ++ $(ADDMOD) $(PSD)jbig2_jbig2dec -include $(GLD)sjbig2 ++ $(ADDMOD) $(PSD)jbig2_jbig2dec -oper zfjbig2 ++ ++$(PSD)jbig2_luratech.dev : $(ECHOGS_XE) $(fjbig2_) $(GLD)sjbig2.dev\ ++ $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_luratech $(fjbig2_) ++ $(ADDMOD) $(PSD)jbig2_luratech -include $(GLD)sjbig2 ++ $(ADDMOD) $(PSD)jbig2_luratech -oper zfjbig2 ++ ++$(PSD)jbig2_.dev : $(ECHOGS_XE) $(INT_MAK) $(MAKEDIRS) ++ $(SETMOD) $(PSD)jbig2_ ++ ++$(PSD)jbig2.dev : $(PSD)jbig2_$(JBIG2_LIB).dev $(INT_MAK) $(MAKEDIRS) ++ $(CP_) $(PSD)jbig2_$(JBIG2_LIB).dev $(PSD)jbig2.dev + + $(PSOBJ)zfjbig2_jbig2dec.$(OBJ) : $(PSSRC)zfjbig2.c $(OP) $(memory__h)\ + $(gsstruct_h) $(gstypes_h) $(ialloc_h) $(idict_h) $(ifilter_h)\ +-- +1.9.1 +
meta/recipes-extended/ghostscript/files/0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch new file +48 -0
48 lines not on this page · raw message
meta/recipes-extended/ghostscript/files/do-not-check-local-libpng-source.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 5ef8b85bc98f3bd9a15d5f47e24d3e23ae27c265 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <[email protected]> +Date: Mon, 18 Jan 2016 01:00:30 -0500 +Subject: [PATCH] configure.ac: do not check local png source + +In oe-core, it did not need to compile local libpng +source in ghostscript, so do not check local png +source, and directly check the existance of shared +libpng library. + +Upstream-Status: Inappropriate [OE-Core specific] + +Signed-off-by: Hongxu Jia <[email protected]> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index ab30a97..b762fd7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -955,11 +955,11 @@ AC_SUBST(ZLIBDIR) + AC_SUBST(FT_SYS_ZLIB) + + dnl png for the png output device; it also requires zlib +-LIBPNGDIR=src ++LIBPNGDIR=$srcdir/libpng + PNGDEVS='' + PNGDEVS_ALL='png48 png16m pnggray pngmono png256 png16 pngalpha' + AC_MSG_CHECKING([for local png library source]) +-if test -f $srcdir/libpng/pngread.c; then ++if false; then + AC_MSG_RESULT([yes]) + SHARE_LIBPNG=0 + LIBPNGDIR=$srcdir/libpng +-- +1.9.1 +
meta/recipes-extended/ghostscript/ghostscript_9.18.bb renamed from meta/recipes-extended/ghostscript/ghostscript_9.16.bb +7 -4
@@ -13,13 +13,16 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=b17cea54743435ab2a581c237bea294a" -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" -DEPENDS_class-native = "" +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng" +DEPENDS_class-native = "libpng-native" SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz \ file://ghostscript-9.15-parallel-make.patch \ file://ghostscript-9.16-Werror-return-type.patch \ file://png_mak.patch \ + file://0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch \ + file://0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch \ + file://do-not-check-local-libpng-source.patch \ " SRC_URI = "${SRC_URI_BASE} \
@@ -34,8 +37,8 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ " -SRC_URI[md5sum] = "829319325bbdb83f5c81379a8f86f38f" -SRC_URI[sha256sum] = "746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d" +SRC_URI[md5sum] = "33a47567d7a591c00a253caddd12a88a" +SRC_URI[sha256sum] = "5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b" EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \ --with-fontpath=${datadir}/fonts \
Signature · 1 line
1.9.1
Re: [PATCH 2/9] elfutils: 0.163 -> 0.164
In reply to Hongxu JiaHi,
Quoted 25 lines · Hongxu Jia
Update patches from debian
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xzSigned-off-by Hongxu Jia <[email protected]>--- .../elfutils/elfutils-0.163/arm_func_value.patch | 165 ---- .../elfutils-0.163/arm_unwind_ret_mask.patch | 83 -- .../elfutils/elfutils-0.163/non_linux.patch | 35 - .../elfutils-0.163/redhat-portability.diff | 1021 -------------------- .../elfutils/elfutils-0.163/scanf-format.patch | 40 - .../uclibc-support-for-elfutils-0.161.patch | 106 -- ...ferences-between-mips-machine-identifiers.patch | 34 + ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++ .../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++ .../arm_backend.diff | 389 ++++---- .../fixheadercheck.patch | 0 .../hppa_backend.diff | 69 +- .../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 + .../m68k_backend.diff | 61 +- .../mips_backend.diff | 71 +- .../mips_readelf_w.patch | 8 +- .../testsuite-ignore-elflint.diff | 0
Quoted 8 lines
.../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +-
21 files changed, 735 insertions(+), 1771 deletions(-)
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diff
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patch
delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patchHere, the patch uclibc-support-for-elfutils-0.161.patch was removed. However, it is still referenced in the recipe. It should be updated to fix build error with uclibc.
WARNING: Failed to fetch URL file://uclibc-support-for-elfutils-0.161.patch, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://uclibc-support-for-elfutils-0.161.patch anywhere. The paths that were searched were:
...
Best Regards,
Maxin
Re: [PATCH 2/9] elfutils: 0.163 -> 0.164
Quoted 40 lines · Maxin B. John
Hi,
Quoted 27 lines · Hongxu Jia
Update patches from debian
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xzSigned-off-by Hongxu Jia <[email protected]>---
.../elfutils/elfutils-0.163/arm_func_value.patch | 165 ---- .../elfutils-0.163/arm_unwind_ret_mask.patch | 83 -- .../elfutils/elfutils-0.163/non_linux.patch | 35 - .../elfutils-0.163/redhat-portability.diff | 1021 -------------------- .../elfutils/elfutils-0.163/scanf-format.patch | 40 - .../uclibc-support-for-elfutils-0.161.patch | 106 -- ...ferences-between-mips-machine-identifiers.patch | 34 + ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++ .../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++ .../arm_backend.diff | 389 ++++---- .../fixheadercheck.patch | 0 .../hppa_backend.diff | 69 +- .../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 + .../m68k_backend.diff | 61 +- .../mips_backend.diff | 71 +- .../mips_readelf_w.patch | 8 +- .../testsuite-ignore-elflint.diff | 0 .../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +- 21 files changed, 735 insertions(+), 1771 deletions(-)Quoted 6 lines
delete mode 100644
meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diffdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch
Quoted 7 lines
Here, the patch uclibc-support-for-elfutils-0.161.patch was removed. However, it is still referenced in the recipe. It should be updated to fix build error with uclibc.
WARNING: Failed to fetch URL file://uclibc-support-for-elfutils-0.161.patch, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://uclibc-support-for-elfutils-0.161.patch anywhere. The paths that were searched were:
…
its already fixed in my musl pull request.
Quoted 8 lines
Best Regards,
Maxin
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 2/9] elfutils: 0.163 -> 0.164
Quoted 38 lines · Khem Raj
Quoted 38 lines · Maxin B. John
Hi,
Quoted 33 lines · Hongxu Jia
Update patches from debian
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.164-1.debian.tar.xzSigned-off-by Hongxu Jia <[email protected]>---
.../elfutils/elfutils-0.163/arm_func_value.patch | 165 ---- .../elfutils-0.163/arm_unwind_ret_mask.patch | 83 -- .../elfutils/elfutils-0.163/non_linux.patch | 35 - .../elfutils-0.163/redhat-portability.diff | 1021 -------------------- .../elfutils/elfutils-0.163/scanf-format.patch | 40 - .../uclibc-support-for-elfutils-0.161.patch | 106 -- ...ferences-between-mips-machine-identifiers.patch | 34 + ...m-Silence-Werror-maybe-uninitialized-fals.patch | 0 .../0001-fix-a-stack-usage-warning.patch | 0 .../0001-remove-the-unneed-checking.patch | 0 ...-support-for-mips64-abis-in-mips_retval.c.patch | 168 ++++ .../0003-Add-mips-n64-relocation-format-hack.patch | 226 +++++ .../arm_backend.diff | 389 ++++---- .../fixheadercheck.patch | 0 .../hppa_backend.diff | 69 +- .../elfutils/elfutils-0.164/kfreebsd_path.patch | 15 + .../m68k_backend.diff | 61 +- .../mips_backend.diff | 71 +- .../mips_readelf_w.patch | 8 +- .../testsuite-ignore-elflint.diff | 0 .../{elfutils_0.163.bb => elfutils_0.164.bb} | 15 +- 21 files changed, 735 insertions(+), 1771 deletions(-)delete mode 100644
meta/recipes-devtools/elfutils/elfutils-0.163/arm_func_value.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/arm_unwind_ret_mask.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/non_linux.patch
delete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/redhat-portability.diffdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/scanf-format.patchdelete mode 100644meta/recipes-devtools/elfutils/elfutils-0.163/uclibc-support-for-elfutils-0.161.patch
Quoted 8 lines
Quoted 7 lines
Here, the patch uclibc-support-for-elfutils-0.161.patch was removed. However, it is still referenced in the recipe. It should be updated to fix build error with uclibc.
WARNING: Failed to fetch URL file://uclibc-support-for-elfutils-0.161.patch, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://uclibc-support-for-elfutils-0.161.patch anywhere. The paths that were searched were:
…its already fixed in my musl pull request.
Oh, sorry for the incorrectly deleting, thanks Khem to fix it.
//Hongxu
Quoted 7 lines
Quoted 7 lines
Best Regards,
Maxin
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core