commits related to automake update to 1.12.1
cover commits related to automake update to 1.12.1
From: Nitin A Kamble <[email protected]>
This work is based on 1.3_M1 branch to get a stable base. These commits build core-image-sato-sdk & core-image-lsb images fine.
-Nitin
The following changes since commit 7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0:
connman: bump PR and add some comments (2012-06-13 13:11:23 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/automake_update
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/automake_update
Nitin A Kamble (15):
automake: upgrade from 1.11.3 to 1.12.1
jpeg: fix configure with automake 1.12.1
gnutls: Fix build with automake 1.12.1
pcmanfm: fix build with automake 1.12.x
avahi: fix build with automake 1.12.1
dates: fix build with automake 1.12.x
librsvg: fix build with automake 1.12.x
evolution-data-server: fix build with automake 1.12.x
tar: fix build with automake 1.12.x
libgcrypt: fix build with automake 1.12.x
gpgme: fix build with automake 1.12.x
telepathy-glib: fix build with automake 1.12.x
xf86-video-vmware: fix build with automake 1.12.x
libfm: fix build with automake 1.12.x
pango: fix dependencies to avoid build issue
meta/recipes-connectivity/avahi/avahi.inc | 3 +-
.../avahi/files/fix_for_automake_1.12.x.patch | 34 ++++++++
.../telepathy/telepathy-glib_0.19.0.bb | 6 --
.../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch | 44 ++++++++++
meta/recipes-core/jpeg/jpeg_8d.bb | 5 +-
.../automake/automake/path_prog_fixes.patch | 40 ++--------
.../{automake_1.11.3.bb => automake_1.12.1.bb} | 5 +-
meta/recipes-extended/tar/tar.inc | 2 -
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 8 +--
meta/recipes-graphics/pango/pango.inc | 2 +-
.../xorg-driver/xf86-video-vmware_12.0.2.bb | 5 -
.../avoid_automake_errors.patch | 83 ++++++++++++++++++++
.../fix_for_automake-1.12.x.patch | 28 +++++++
meta/recipes-sato/eds/evolution-data-server_git.bb | 4 +-
.../files/pcmanfm_fix_for_automake_1.12.patch | 35 ++++++++
meta/recipes-sato/pcmanfm/pcmanfm_0.9.10.bb | 5 +-
meta/recipes-sato/pimlico/dates_git.bb | 6 +-
..._MKDIR_P_warning_error_with_automake_1.12.patch | 51 ++++++++++++
.../gnutls_fix_for_automake_1.12.1.patch | 43 ++++++++++
meta/recipes-support/gnutls/gnutls_2.12.19.bb | 4 +-
meta/recipes-support/gpgme/gpgme_1.3.1.bb | 4 -
meta/recipes-support/libfm/libfm_0.1.17.bb | 5 -
meta/recipes-support/libgcrypt/libgcrypt.inc | 3 -
23 files changed, 344 insertions(+), 81 deletions(-)
create mode 100644 meta/recipes-connectivity/avahi/files/fix_for_automake_1.12.x.patch
create mode 100644 meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
rename meta/recipes-devtools/automake/{automake_1.11.3.bb => automake_1.12.1.bb} (93%)
create mode 100644 meta/recipes-sato/eds/evolution-data-server/avoid_automake_errors.patch
create mode 100644 meta/recipes-sato/eds/evolution-data-server/fix_for_automake-1.12.x.patch
create mode 100644 meta/recipes-sato/pcmanfm/files/pcmanfm_fix_for_automake_1.12.patch
create mode 100644 meta/recipes-support/gnutls/gnutls-2.12.19/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
create mode 100644 meta/recipes-support/gnutls/gnutls-2.12.19/gnutls_fix_for_automake_1.12.1.patchSignature · 1 line
1.7.3.4
PATCH 1/15 automake: upgrade from 1.11.3 to 1.12.1
From: Nitin A Kamble <[email protected]>
---
.../automake/automake/path_prog_fixes.patch | 40 +++-----------------
.../{automake_1.11.3.bb => automake_1.12.1.bb} | 5 +-
2 files changed, 8 insertions(+), 37 deletions(-)
rename meta/recipes-devtools/automake/{automake_1.11.3.bb => automake_1.12.1.bb} (93%)meta/recipes-devtools/automake/automake/path_prog_fixes.patch +6 -34
@@ -7,38 +7,10 @@ Upstream-Status: Inappropriate [embedded specific] automake.in | 6 ++++-- 4 files changed, 10 insertions(+), 6 deletions(-) -Index: automake-1.10.1/Makefile.am +Index: automake-1.12.1/aclocal.in =================================================================== ---- automake-1.10.1.orig/Makefile.am 2008-01-21 22:28:58.000000000 +0000 -+++ automake-1.10.1/Makefile.am 2008-10-10 17:21:20.000000000 +0100 -@@ -75,7 +75,8 @@ - -e 's,[@]SHELL[@],$(SHELL),g' \ - -e 's,[@]VERSION[@],$(VERSION),g' \ - -e 's,[@]configure_input[@],Generated from [email protected]; do not edit by hand.,g' \ -- -e 's,[@]datadir[@],$(datadir),g' -+ -e 's,[@]datadir[@],$(datadir),g' \ -+ -e 's,[@]bindir[@],$(bindir),g' - - ## These files depend on Makefile so they are rebuilt if $(VERSION), - ## $(datadir) or other do_subst'ituted variables change. -Index: automake-1.10.1/Makefile.in -=================================================================== ---- automake-1.10.1.orig/Makefile.in 2008-01-21 22:29:10.000000000 +0000 -+++ automake-1.10.1/Makefile.in 2008-10-10 17:22:21.000000000 +0100 -@@ -185,7 +185,8 @@ - -e 's,[@]SHELL[@],$(SHELL),g' \ - -e 's,[@]VERSION[@],$(VERSION),g' \ - -e 's,[@]configure_input[@],Generated from [email protected]; do not edit by hand.,g' \ -- -e 's,[@]datadir[@],$(datadir),g' -+ -e 's,[@]datadir[@],$(datadir),g' \ -+ -e 's,[@]bindir[@],$(bindir),g' - - WGET = wget - WGET_SV_CVS = $(WGET) http://savannah.gnu.org/cgi-bin/viewcvs/~checkout~/ -Index: automake-1.10.1/aclocal.in -=================================================================== ---- automake-1.10.1.orig/aclocal.in 2008-01-21 22:11:41.000000000 +0000 -+++ automake-1.10.1/aclocal.in 2008-10-10 17:21:20.000000000 +0100 +--- automake-1.12.1.orig/aclocal.in ++++ automake-1.12.1/aclocal.in @@ -1,8 +1,8 @@ -#!@PERL@ -w +#!@bindir@/env perl
@@ -50,10 +22,10 @@ Index: automake-1.10.1/aclocal.in if 0; # aclocal - create aclocal.m4 by scanning configure.ac -Index: automake-1.10.1/automake.in +Index: automake-1.12.1/automake.in =================================================================== ---- automake-1.10.1.orig/automake.in 2008-01-21 22:11:41.000000000 +0000 -+++ automake-1.10.1/automake.in 2008-10-10 17:21:20.000000000 +0100 +--- automake-1.12.1.orig/automake.in ++++ automake-1.12.1/automake.in @@ -1,8 +1,10 @@ -#!@PERL@ -w +#!@bindir@/env perl
meta/recipes-devtools/automake/automake_1.12.1.bb renamed from meta/recipes-devtools/automake/automake_1.11.3.bb +2 -3
@@ -43,9 +43,8 @@ SRC_URI += "${PATHFIXPATCH} \ file://python-libdir.patch \ file://py-compile-compile-only-optimized-byte-code.patch" - -SRC_URI[md5sum] = "93ecb319f0365cb801990b00f658d026" -SRC_URI[sha256sum] = "921b5188057e57bdd9c0ba06e21d0b0ea7dafa61a9bd08a2b041215bcff12f55" +SRC_URI[md5sum] = "ec25c1855cacf47e4bdee76a776b96ba" +SRC_URI[sha256sum] = "24bf1640679ba4a9cbe2d36422f39a81eced7f556b576a7a2ccfc70ca85a1e2f" PR = "r0"
Signature · 1 line
1.7.3.4
PATCH 2/15 jpeg: fix configure with automake 1.12.1
From: Nitin A Kamble <[email protected]>
Bring back earlier jpeg fix. upstream has removed the fix from earlier release.
The support for automatic de-ANSI-fication has been deprecated in automake 1.11.2, and will be removed altogether in automake 1.12
This avoids this error:
| configure.ac:24: automatic de-ANSI-fication support is deprecated | autoreconf: automake failed with exit status: 1 | ERROR: autoreconf execution failed.
NOTE: package jpeg-native-8c-r2: task do_configure: Failed
(From OE-Core rev: 893ce9db79a5c4cca8a6b6ed6a9cec81777aba2f)
--- .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch | 44 ++++++++++++++++++++ meta/recipes-core/jpeg/jpeg_8d.bb | 5 +- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch
meta/recipes-core/jpeg/jpeg-8d/fix_for_automake_1.12.1.patch new file +44 -0
@@ -0,0 +1,44 @@ +Upstream-Status: Pending + +The support for automatic de-ANSI-fication has been deprecated in +automake 1.11.2, and will be removed altogether in automake 1.12 + +This avoids this error: +| configure.ac:24: automatic de-ANSI-fication support is deprecated +| autoreconf: automake failed with exit status: 1 +| ERROR: autoreconf execution failed. +NOTE: package jpeg-native-8c-r2: task do_configure: Failed + +Signed-Off-By: Nitin A Kamble <[email protected]> +2011/12/28 + + +Index: jpeg-8d/configure.ac +=================================================================== +--- jpeg-8d.orig/configure.ac ++++ jpeg-8d/configure.ac +@@ -21,7 +21,7 @@ AC_CANONICAL_TARGET + + # Initialize Automake + # Don't require all the GNU mandated files +-AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete ansi2knr no-dist foreign]) ++AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete no-dist foreign]) + + # Make --enable-silent-rules the default. + # To get verbose build output you may configure +@@ -29,7 +29,14 @@ AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obs + AM_SILENT_RULES([yes]) + + # This is required when using the de-ANSI-fication feature. +-AM_C_PROTOTYPES ++#AM_C_PROTOTYPES ++# add following to avoid this error: ++#| automake: warnings are treated as errors ++#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libjpeg.la': linking libtool libraries using a non-POSIX ++#| /srv/home/nitin/builds2/build0/tmp/sysroots/x86_64-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' ++#| Makefile.am:65: while processing Libtool library 'libjpeg.la' ++#| autoreconf: automake failed with exit status: 1 ++AM_PROG_AR + + # Add configure option --enable-maintainer-mode which enables + # dependency checking and generation useful to package maintainers.
meta/recipes-core/jpeg/jpeg_8d.bb +3 -2
@@ -11,10 +11,11 @@ SECTION = "libs" DEPENDS = "libtool-cross" DEPENDS_virtclass-native = "libtool-native" -PR = "r0" +PR = "r1" SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ - file://debian-libjpeg7_7-1.diff" + file://debian-libjpeg7_7-1.diff \ + file://fix_for_automake_1.12.1.patch" SRC_URI[md5sum] = "52654eb3b2e60c35731ea8fc87f1bd29" SRC_URI[sha256sum] = "00029b1473f0f0ea72fbca3230e8cb25797fbb27e58ae2e46bb8bf5a806fe0b3"
Signature · 1 line
1.7.3.4
PATCH 3/15 gnutls: Fix build with automake 1.12.1
In reply to [email protected]From: Nitin A Kamble <[email protected]>
Added new patches:
avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch gnutls_fix_for_automake_1.12.1.patch
more details in patch headers.
--- ..._MKDIR_P_warning_error_with_automake_1.12.patch | 51 ++++++++++++++++++++ .../gnutls_fix_for_automake_1.12.1.patch | 43 ++++++++++++++++ meta/recipes-support/gnutls/gnutls_2.12.19.bb | 4 +- 3 files changed, 97 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-support/gnutls/gnutls-2.12.19/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch create mode 100644 meta/recipes-support/gnutls/gnutls-2.12.19/gnutls_fix_for_automake_1.12.1.patch
meta/recipes-support/gnutls/gnutls-2.12.19/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch new file +51 -0
@@ -0,0 +1,51 @@ +Upsteam-Status: Inappropriate + +automake 1.12.x has depricated AM_PROG_MKDIR_P , and throws a warning for that, +and the warnings are treated as errors becuase of the -Werror parameter. + +These AM_PROG_MKDIR_P are coming from gettext, and the latest gettext code has not +eliminated these depricated macros yet. So disable the treatment of warnings +as errors until gettext is updeated to remove the depricated macros. + +Signed-Off-by: Nitin A Kamble <[email protected]> +2012/07/09 + +Index: gnutls-2.12.19/configure.ac +=================================================================== +--- gnutls-2.12.19.orig/configure.ac ++++ gnutls-2.12.19/configure.ac +@@ -26,7 +26,7 @@ AC_INIT([GnuTLS], [2.12.19], [bug-gnutls + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_MACRO_DIR([m4]) + +-AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Werror -Wno-override]) ++AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Wno-override]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AM_CONFIG_HEADER(config.h) + +Index: gnutls-2.12.19/lib/configure.ac +=================================================================== +--- gnutls-2.12.19.orig/lib/configure.ac ++++ gnutls-2.12.19/lib/configure.ac +@@ -26,7 +26,7 @@ AC_INIT([libgnutls], [2.12.19], [bug-gnu + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_MACRO_DIR([m4]) + +-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) ++AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AM_CONFIG_HEADER(config.h) + +Index: gnutls-2.12.19/libextra/configure.ac +=================================================================== +--- gnutls-2.12.19.orig/libextra/configure.ac ++++ gnutls-2.12.19/libextra/configure.ac +@@ -26,7 +26,7 @@ AC_INIT([libgnutls-extra], [2.12.19], [b + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_MACRO_DIR([m4]) + +-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) ++AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AM_CONFIG_HEADER(config.h) +
meta/recipes-support/gnutls/gnutls-2.12.19/gnutls_fix_for_automake_1.12.1.patch new file +43 -0
43 lines not on this page · raw message
meta/recipes-support/gnutls/gnutls_2.12.19.bb +3 -1
@@ -1,10 +1,12 @@ require gnutls.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" SRC_URI += "file://gnutls-openssl.patch \ file://correct_rpl_gettimeofday_signature.patch \ file://configure-fix.patch \ + file://gnutls_fix_for_automake_1.12.1.patch \ + file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \ " SRC_URI[md5sum] = "14228b34e3d8ed176a617df40693b441"
Signature · 1 line
1.7.3.4
PATCH 4/15 pcmanfm: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
Added a patch:
pcmanfm_fix_for_automake_1.12.patch
More information in the patch header.
--- .../files/pcmanfm_fix_for_automake_1.12.patch | 35 ++++++++++++++++++++ meta/recipes-sato/pcmanfm/pcmanfm_0.9.10.bb | 5 ++- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/pcmanfm/files/pcmanfm_fix_for_automake_1.12.patch
meta/recipes-sato/pcmanfm/files/pcmanfm_fix_for_automake_1.12.patch new file +35 -0
@@ -0,0 +1,35 @@ +Upstream-Status: Pending + +Fix these errors: +| automake: warnings are treated as errors +| data/ui/Makefile.am:18: warning: '%'-style pattern rules are a GNU make extension +| src/Makefile.am:10: warning: compiling 'pcmanfm.c' with per-target flags requires 'AM_PROG_CC_C_O' in 'configure.ac' +| autoreconf: automake failed with exit status: 1 +| ERROR: autoreconf execution failed. +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/07/09 + +Index: pcmanfm-0.9.10/configure.ac +=================================================================== +--- pcmanfm-0.9.10.orig/configure.ac ++++ pcmanfm-0.9.10/configure.ac +@@ -13,6 +13,7 @@ AC_PROG_CC + AM_PROG_LIBTOOL + AM_PROG_CC_STDC + AC_HEADER_STDC ++AM_PROG_CC_C_O + + # Checks for header files. + AC_HEADER_STDC +Index: pcmanfm-0.9.10/data/ui/Makefile.am +=================================================================== +--- pcmanfm-0.9.10.orig/data/ui/Makefile.am ++++ pcmanfm-0.9.10/data/ui/Makefile.am +@@ -15,6 +15,6 @@ EXTRA_DIST = \ + $(NULL) + + # Purge GtkBuilder UI files +-%.ui: %.glade ++.glade.ui: + cp $< $@ + # $(top_builddir)/src/xml-purge $@
meta/recipes-sato/pcmanfm/pcmanfm_0.9.10.bb +3 -2
@@ -11,7 +11,7 @@ SECTION = "x11" DEPENDS = "gtk+ startup-notification libfm" DEPENDS_append_poky = " libowl" -PR = "r0" +PR = "r1" COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
@@ -20,7 +20,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.gz \ file://gnome-fs-regular.png \ file://gnome-mime-text-plain.png \ file://emblem-symbolic-link.png \ - file://cross-compile-fix.patch" + file://cross-compile-fix.patch \ + file://pcmanfm_fix_for_automake_1.12.patch" SRC_URI_append_poky = " file://owl-window-menu.patch"
Signature · 1 line
1.7.3.4
PATCH 5/15 avahi: fix build with automake 1.12.1
In reply to [email protected]From: Nitin A Kamble <[email protected]>
added a new patch : fix_for_automake_1.12.x.patch
More information in the patch header.
--- meta/recipes-connectivity/avahi/avahi.inc | 3 +- .../avahi/files/fix_for_automake_1.12.x.patch | 34 ++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-connectivity/avahi/files/fix_for_automake_1.12.x.patch
meta/recipes-connectivity/avahi/avahi.inc +2 -1
@@ -14,7 +14,7 @@ SECTION = "network" # python scripts are under GPLv2+ LICENSE = "GPLv2+ & LGPLv2.1+" -INC_PR = "r4" +INC_PR = "r5" DEPENDS = "expat libcap libdaemon dbus glib-2.0"
@@ -23,6 +23,7 @@ SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ file://99avahi-autoipd \ file://initscript.patch \ file://avahi_fix_install_issue.patch \ + file://fix_for_automake_1.12.x.patch \ " USERADD_PACKAGES = "avahi-daemon"
meta/recipes-connectivity/avahi/files/fix_for_automake_1.12.x.patch new file +34 -0
@@ -0,0 +1,34 @@ +Upstream-Status: Pending + +autoamke 1.12.x has depricated use of mkdir_p , and recommends use of MKDIR_P +instead. Fixed the automake files accordingly to avoid warning-errors. +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/07/09 + + +Index: avahi-0.6.31/avahi-daemon/Makefile.am +=================================================================== +--- avahi-0.6.31.orig/avahi-daemon/Makefile.am ++++ avahi-0.6.31/avahi-daemon/Makefile.am +@@ -169,7 +169,7 @@ xmllint: + done + + install-data-local: +- test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run" ++ test -z "$(localstatedir)/run" || $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run" + + update-systemd: + curl http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c > sd-daemon.c +Index: avahi-0.6.31/avahi-autoipd/Makefile.am +=================================================================== +--- avahi-0.6.31.orig/avahi-autoipd/Makefile.am ++++ avahi-0.6.31/avahi-autoipd/Makefile.am +@@ -76,7 +76,7 @@ dhcliententerdir = $(sysconfdir)/dhcp/dh + dhclientexitdir = $(sysconfdir)/dhcp/dhclient-exit-hooks.d + + install-exec-hook: dhclient-exit-hook dhclient-enter-hook +- $(mkdir_p) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir) ++ $(MKDIR_P) $(DESTDIR)$(dhcliententerdir) $(DESTDIR)$(dhclientexitdir) + $(INSTALL) dhclient-enter-hook $(DESTDIR)$(dhcliententerdir)/avahi-autoipd + $(INSTALL) dhclient-exit-hook $(DESTDIR)$(dhclientexitdir)/avahi-autoipd +
Signature · 1 line
1.7.3.4
PATCH 6/15 dates: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
--- meta/recipes-sato/pimlico/dates_git.bb | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
meta/recipes-sato/pimlico/dates_git.bb +1 -5
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ SRCREV = "514185dc1f6588085fda41eb59898b93d0487dd4" PV = "0.4.11+git${SRCPV}" -PR = "r7" +PR = "r8" S = "${WORKDIR}/git"
@@ -16,7 +16,3 @@ SRC_URI = "git://git.gnome.org/${BPN};protocol=git \ file://dso_linking_change_build_fix.patch \ file://uclibc-NL_TIME_FIRST_WEEKDAY-absent.patch \ " - -do_install_append () { - rmdir ${D}/srv -}
Signature · 1 line
1.7.3.4
PATCH 7/15 librsvg: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
--- meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-)
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb +2 -6
@@ -11,7 +11,7 @@ DEPENDS = "gtk+ libcroco cairo libxml2 popt" DEPENDS_virtclass-native = "cairo-native pango-native gdk-pixbuf-native" BBCLASSEXTEND = "native" -PR = "r5" +PR = "r6" inherit autotools pkgconfig gnome
@@ -27,11 +27,6 @@ do_configure_prepend () { echo "CLEANFILES=" > gtk-doc.make } -do_install_append () { - rmdir ${D}${libdir}/gtk-3.0/engines/ - rmdir ${D}${libdir}/gtk-3.0/ -} - PACKAGES =+ "librsvg-gtk librsvg-gtk-dbg librsvg-gtk-dev rsvg" FILES_${PN} = "${libdir}/*.so.*" FILES_${PN}-staticdev += "${libdir}/gdk-pixbuf-2.0/*.a ${libdir}/gdk-pixbuf-2.0/*/*/*.a \
@@ -65,3 +60,4 @@ fi test -x ${bindir}/gdk-pixbuf-query-loaders && gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor } +PARALLEL_MAKE = ""
Signature · 1 line
1.7.3.4
PATCH 8/15 evolution-data-server: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
Added 2 patches:
avoid_automake_errors.patch
fix_for_automake-1.12.x.patch
More information in the patch headers.
--- .../avoid_automake_errors.patch | 83 ++++++++++++++++++++ .../fix_for_automake-1.12.x.patch | 28 +++++++ meta/recipes-sato/eds/evolution-data-server_git.bb | 4 +- 3 files changed, 114 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-sato/eds/evolution-data-server/avoid_automake_errors.patch create mode 100644 meta/recipes-sato/eds/evolution-data-server/fix_for_automake-1.12.x.patch
meta/recipes-sato/eds/evolution-data-server/avoid_automake_errors.patch new file +83 -0
@@ -0,0 +1,83 @@ +Upstream-Status: Inappropriate [embedded specific] + +Avoid these warning-errors + +automake: warnings are treated as errors +Makefile.am:15: warning: '%'-style pattern rules are a GNU make extension +Makefile.am:21: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +addressbook/backends/file/Makefile.am: installing './depcomp' +addressbook/libebook/Makefile.am:55: warning: '%'-style pattern rules are a GNU make extension +addressbook/libebook/Makefile.am:65: warning: '%'-style pattern rules are a GNU make extension +addressbook/libebook/Makefile.am:66: warning: subst -,_,$*: non-POSIX variable name +addressbook/libebook/Makefile.am:66: (probably a GNU make extension) +addressbook/libebook/Makefile.am:72: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +addressbook/libedata-book/Makefile.am:2: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:3: warning: subst -,_,$*: non-POSIX variable name +addressbook/libedata-book/Makefile.am:3: (probably a GNU make extension) +glib-gen.mak:9: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +glib-gen.mak:13: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +glib-gen.mak:18: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +glib-gen.mak:26: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +glib-gen.mak:38: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +glib-gen.mak:41: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:5: 'glib-gen.mak' included from here +addressbook/libedata-book/Makefile.am:86: warning: '%'-style pattern rules are a GNU make extension +addressbook/libedata-book/Makefile.am:101: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +calendar/backends/weather/Makefile.am:44: warning: '%'-style pattern rules are a GNU make extension +calendar/libecal/Makefile.am:53: warning: '%'-style pattern rules are a GNU make extension +calendar/libecal/Makefile.am:61: warning: '%'-style pattern rules are a GNU make extension +calendar/libecal/Makefile.am:62: warning: subst -,_,$*: non-POSIX variable name +calendar/libecal/Makefile.am:62: (probably a GNU make extension) calendar/libecal/Makefile.am:68: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +calendar/libedata-cal/Makefile.am:5: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:6: warning: subst -,_,$*: non-POSIX variable name +calendar/libedata-cal/Makefile.am:6: (probably a GNU make extension) +glib-gen.mak:9: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +glib-gen.mak:13: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +glib-gen.mak:18: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +glib-gen.mak:26: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +glib-gen.mak:38: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +glib-gen.mak:41: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:8: 'glib-gen.mak' included from here +calendar/libedata-cal/Makefile.am:71: warning: '%'-style pattern rules are a GNU make extension +calendar/libedata-cal/Makefile.am:86: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +camel/Makefile.am:17: warning: '%'-style pattern rules are a GNU make extension +libebackend/Makefile.am:35: warning: '%'-style pattern rules are a GNU make extension +libebackend/Makefile.am:41: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +libedataserver/Makefile.am:91: warning: '%'-style pattern rules are a GNU make extension +libedataserver/Makefile.am:97: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +libedataserverui/Makefile.am:108: warning: '%'-style pattern rules are a GNU make extension +libedataserverui/Makefile.am:118: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +servers/google/libgdata-google/Makefile.am:27: warning: '%'-style pattern rules are a GNU make extension +servers/google/libgdata-google/Makefile.am:33: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +servers/google/libgdata/Makefile.am:31: warning: '%'-style pattern rules are a GNU make extension +servers/google/libgdata/Makefile.am:37: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +servers/groupwise/Makefile.am:85: warning: '%'-style pattern rules are a GNU make extension +servers/groupwise/Makefile.am:91: warning: pkgconfig_DATA:-$(API_VERSION: non-POSIX variable name +autoreconf: automake failed with exit status: 1 + +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/07/09 + +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac ++++ git/configure.ac +@@ -21,7 +21,7 @@ m4_define([api_version], [1.2]) + dnl Autoconf / Automake Initialization + AC_PREREQ(2.58) + AC_INIT([evolution-data-server],[eds_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server]) +-AM_INIT_AUTOMAKE([gnu 1.9 tar-ustar -Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([gnu 1.9 tar-ustar -Wall foreign]) + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_SRCDIR(README) + AC_CONFIG_HEADERS(config.h)
meta/recipes-sato/eds/evolution-data-server/fix_for_automake-1.12.x.patch new file +28 -0
@@ -0,0 +1,28 @@ +Upstream-Status: Pending + +Fixed these kinds if warning-errors + +warning: 'libebookbackendfile.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' +Signed-Off-By: Nitin A Kamble <[email protected]> +2012/07/09 + +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac ++++ git/configure.ac +@@ -17,6 +17,7 @@ dnl This number is meaningless, but we'r + dnl library names for backward compatibility. + m4_define([api_version], [1.2]) + ++ + dnl Autoconf / Automake Initialization + AC_PREREQ(2.58) + AC_INIT([evolution-data-server],[eds_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution-Data-Server]) +@@ -30,6 +31,7 @@ AC_LANG(C) + + dnl Automake 1.11 - Silent Build Rules + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) ++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12 + + dnl Required Package Versions + m4_define([glib_minimum_version], [2.16.1])
meta/recipes-sato/eds/evolution-data-server_git.bb +3 -1
@@ -12,7 +12,7 @@ DEPENDS = "intltool-native glib-2.0 gtk+ gconf dbus db gnome-common virtual/libi SRCREV = "7337d11aed576e7caaa12b4e881ad8d33668799f" PV = "2.30+git${SRCPV}" -PR = "r1" +PR = "r2" SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \ file://oh-contact.patch;striplevel=0 \
@@ -21,6 +21,8 @@ SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \ file://new-contact-fix.patch \ file://old-gdk-api.patch \ file://depbuildfix.patch \ + file://fix_for_automake-1.12.x.patch \ + file://avoid_automake_errors.patch \ file://iconv-detect.h" S = "${WORKDIR}/git"
Signature · 1 line
1.7.3.4
PATCH 9/15 tar: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
Avoid this error:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/tar-1.26-r1/image/usr/sbin/': No such file or directory
NOTE: package tar-1.26-r1: task do_install: Failed
no PR bump as no change in the output.
--- meta/recipes-extended/tar/tar.inc | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
meta/recipes-extended/tar/tar.inc +0 -2
@@ -18,8 +18,6 @@ do_install () { do_install_extra () { install -d ${D}${base_bindir} mv ${D}${bindir}/tar ${D}${base_bindir}/tar - rmdir ${D}${bindir}/ - rmdir ${D}${sbindir}/ } inherit update-alternatives
Signature · 1 line
1.7.3.4
PATCH 10/15 libgcrypt: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
avoid this issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory
NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed
no PR bump as no change in the output
--- meta/recipes-support/libgcrypt/libgcrypt.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
meta/recipes-support/libgcrypt/libgcrypt.inc +0 -3
@@ -21,9 +21,6 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" do_install_append() { install -d ${D}/${libdir}/pkgconfig install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/ - - # Remove empty sbin directory since we don't build the daemon that would install there - rmdir ${D}${sbindir} } ARM_INSTRUCTION_SET = "arm"
Signature · 1 line
1.7.3.4
PATCH 11/15 gpgme: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
avoid this issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/wERROR: Function failed: do_install (see /srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/gpgme-1.3.1-r1/temp/log.do_install.36763 for further information) | ork/i586-poky-linux/gpgme-1.3.1-r1/image/usr/libexec': No such file or directory
NOTE: package gpgme-1.3.1-r1: task do_install: Failed
no PR bump as no change in the output
--- meta/recipes-support/gpgme/gpgme_1.3.1.bb | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
meta/recipes-support/gpgme/gpgme_1.3.1.bb +0 -4
@@ -29,7 +29,3 @@ FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*" FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*" FILES_${PN} = "${libdir}/libgpgme.so.*" FILES_${PN}-dev += "${bindir}/gpgme-config ${datadir}/common-lisp/source/gpgme/*" - -do_install_append() { - rmdir ${D}/usr/libexec -}
Signature · 1 line
1.7.3.4
PATCH 12/15 telepathy-glib: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
avoid this issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/telepathy-glib-0.18.1-r0/image/usr/bin': No such file or directory
NOTE: package telepathy-glib-0.18.1-r0: task do_install: Failed
no PR bump as no change in the output
--- .../telepathy/telepathy-glib_0.19.0.bb | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
meta/recipes-connectivity/telepathy/telepathy-glib_0.19.0.bb +0 -6
@@ -16,9 +16,3 @@ inherit autotools pkgconfig gettext FILES_${PN} += "${datadir}/telepathy \ ${datadir}/dbus-1" - -do_install_append() { - rmdir ${D}${bindir} - rmdir ${D}${libexecdir} - rmdir ${D}${servicedir} -}
Signature · 1 line
1.7.3.4
PATCH 13/15 xf86-video-vmware: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
Fixes this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/xf86-video-vmware-2_12.0.1-r17.1/image/usr/bin':
No such file or directory
NOTE: package xf86-video-vmware-2_12.0.1-r17.1: task do_install: Failed
No PR bump as no change in the output.
--- .../xorg-driver/xf86-video-vmware_12.0.2.bb | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-graphics/xorg-driver/xf86-video-vmware_12.0.2.bb +0 -5
@@ -15,8 +15,3 @@ SRC_URI[md5sum] = "0743ec7c479603fba60d118858fd5783" SRC_URI[sha256sum] = "c827875fd94805ec9b925fe09aaa973e7e3f9096c7ef311d449c3f134ae75147" COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' - -do_install_append () { - # Remove useless empty directory - rmdir ${D}${bindir} -}
Signature · 1 line
1.7.3.4
PATCH 14/15 libfm: fix build with automake 1.12.x
In reply to [email protected]From: Nitin A Kamble <[email protected]>
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails.
cleanup the do_install_append for automake 1.12.x
Avoids this build issue:
| rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libfm-0.1.17-r4/image/usr/lib/gio/modules/': No such file or directory
NOTE: package libfm-0.1.17-r4: task do_install: Failed
--- meta/recipes-support/libfm/libfm_0.1.17.bb | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-)
meta/recipes-support/libfm/libfm_0.1.17.bb +0 -5
@@ -21,10 +21,5 @@ SRC_URI[sha256sum] = "1740681cff4cd4c5a2eaa9805d8898269cfb6a49a0bda0acb242def15b inherit autotools pkgconfig -do_install_append () { - rmdir ${D}${libdir}/gio/modules/ - rmdir ${D}${libdir}/gio/ -} - PACKAGES += "${PN}-mime" FILES_${PN}-mime = "${datadir}/mime/"
Signature · 1 line
1.7.3.4
PATCH 15/15 pango: fix dependencies to avoid build issue
In reply to [email protected]From: Nitin A Kamble <[email protected]>
this commit avoids this build issue:
| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.1/ld: cannot find -lelf | collect2: error: ld returned 1 exit status
...
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package pango-1.28.4-r7: task do_compile: Failed
--- meta/recipes-graphics/pango/pango.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-graphics/pango/pango.inc +1 -1
@@ -10,7 +10,7 @@ SECTION = "libs" LICENSE = "LGPLv2.0+" X11DEPENDS = "virtual/libx11 libxft" -DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo " +DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo elfutils" PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" PACKAGECONFIG[x11] = "--with-x,--without-x,${X11DEPENDS}"
Signature · 1 line
1.7.3.4
Re: [PATCH 15/15] pango: fix dependencies to avoid build issue
Quoted 3 lines · On Mon, Jul 9, 2012 at 9:26 AM, <[email protected]> wrote:
|
/srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.1/ld: cannot find -lelf | collect2: error: ld returned 1 exit status
I wonder why this is not seen generally. Is there something in your build box thats triggering pango to ask for libelf ?
Re: [PATCH 15/15] pango: fix dependencies to avoid build issue
In reply to [email protected]Quoted 21 lines · On Mon, 2012-07-09 at 09:26 -0700, [email protected] wrote:
From: Nitin A Kamble <[email protected]>
this commit avoids this build issue:
|
/srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.1/ld: cannot find -lelf | collect2: error: ld returned 1 exit status
...
| make: *** [all] Error 2
| ERROR:oe_runmakefailed
NOTE: package pango-1.28.4-r7: taskdo_compile: FailedSigned-off-by Nitin A Kamble <[email protected]>--- meta/recipes-graphics/pango/pango.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/recipes-graphics/pango/pango.inc +0
-0
meta/recipes-graphics/pango/pango.inc SECTION = "libs" · line 16
Quoted 8 lines
meta/recipes-graphics/pango/pango.inc +1
-1@@ -10,7 +10,7 @@ SECTION = "libs" LICENSE = "LGPLv2.0+" X11DEPENDS = "virtual/libx11 libxft" -DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo " +DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo elfutils" PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" PACKAGECONFIG[x11] = "--with-x,--without-x,${X11DEPENDS}"
I think rather than blindly adding the dependency, we need to figure out what this is needed for. We had a similar issue with glib-2.0:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=38da655788361e949d605bebfab45cf5830df613
so I'm leaning to disabling this here.
Cheers,
Richard
Quoted 4 lines · On Mon, 2012-07-09 at 09:26 -0700, [email protected] wrote:
From: Nitin A Kamble <[email protected]>
This work is based on 1.3_M1 branch to get a stable base. These commits build core-image-sato-sdk & core-image-lsb images fine.
This is all well and good but its neigh on impossible for me to merge this since many of the packages have been upgraded after 1.3M1. Please rebase this on master.
I've attempted this on OE-Core's master-next branch but many of the commits didn't apply and were dropped.
Cheers,
Richard