pavucontrol: replace intltool by intltool-native in DEPENDS
PATCH 1/5 pavucontrol: replace intltool by intltool-native in DEPENDS
--- meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/pulseaudio/pavucontrol_3.0.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "PulseAudio Volume Control (pavucontrol) is a simple GTK based vol LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS = "intltool gtkmm libcanberra pulseaudio" +DEPENDS = "intltool-native gtkmm libcanberra pulseaudio" inherit gnome
Signature · 1 line
2.5.5
PATCH 2/5 libgsf: add intltool-native to DEPENDS
--- meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/libgsf/libgsf_1.14.29.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dc7371b50816c96e145fa0f8ade8e24d \ SECTION = "libs" -DEPENDS= "libxml2 bzip2 glib-2.0 zlib" +DEPENDS= "libxml2 bzip2 glib-2.0 zlib intltool-native" inherit autotools pkgconfig gnome gconf gobject-introspection
Signature · 1 line
2.5.5
PATCH 3/5 libgnome: add intltool-native to DEPENDS
In reply to Andreas Müller--- meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI[archive.sha256sum] = "b2c63916866485793b87398266dd7778548c1734923c272a94 SRC_URI += "file://0001-libgnome-Makefile.am-allow-deprecated-symbols.patch" GNOME_COMPRESS_TYPE="bz2" -DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound" +DEPENDS += "libcanberra gconf-native gnome-vfs libbonobo esound intltool-native" EXTRA_OECONF += "--disable-gtk-doc"
Signature · 1 line
2.5.5
PATCH 4/5 gtkmathview: unbreak gcc-6 build and unblacklist
In reply to Andreas Müller--- ...c-header-detection-of-hash_map-is-broken-.patch | 63 +++++++++++++++ .../gtkmathview/0003-gcc-6.0-build-fixes.patch | 93 ++++++++++++++++++++++ .../mml-widget/gtkmathview_0.8.0.bb | 5 +- 3 files changed, 158 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch create mode 100644 meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch
meta-oe/recipes-extended/mml-widget/gtkmathview/0002-configure.ac-header-detection-of-hash_map-is-broken-.patch new file +63 -0
@@ -0,0 +1,63 @@ +From 9c226fbc6a42540cb492fcfcb81ff16fffb086d6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Tue, 30 Aug 2016 23:24:53 +0200 +Subject: [PATCH] configure.ac: header detection of hash_map is broken - pin to + correct implementation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <[email protected]> +--- + configure.ac | 31 ++++--------------------------- + 1 file changed, 4 insertions(+), 27 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4f2118e..16c09d5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -252,35 +252,12 @@ AC_SUBST(GTKMATHVIEW_SIZEOF_WCHAR_T, "$ac_cv_sizeof_wchar_t") + + AC_LANG_PUSH(C++) + +-AC_CHECK_HEADERS(unordered_map, +- [ +- AC_DEFINE(GMV_HAVE_UNORDERED_MAP,1,[Define if <unordered_map> is provided]) +- GMV_HAVE_UNORDERED_MAP_CFLAGS=-DGMV_HAVE_UNORDERED_MAP=1 +- ], +- [ +- GMV_HAVE_UNORDERED_MAP_CFLAGS= +- ] +-) ++GMV_HAVE_UNORDERED_MAP_CFLAGS= + AC_SUBST(GMV_HAVE_UNORDERED_MAP_CFLAGS) +-AC_CHECK_HEADERS(hash_map, +- [ +- AC_DEFINE(GMV_HAVE_HASH_MAP,1,[Define if <hash_map> is provided]) +- GMV_HAVE_HASH_MAP_CFLAGS=-DGMV_HAVE_HASH_MAP=1 +- ], +- [ +- GMV_HAVE_HASH_MAP_CFLAGS= +- ] +-) ++GMV_HAVE_HASH_MAP_CFLAGS= + AC_SUBST(GMV_HAVE_HASH_MAP_CFLAGS) +-AC_CHECK_HEADERS(ext/hash_map, +- [ +- AC_DEFINE(GMV_HAVE_EXT_HASH_MAP,1,[Define if <ext/hash_map> is provided]) +- GMV_HAVE_EXT_HASH_MAP_CFLAGS=-DGMV_HAVE_EXT_HASH_MAP=1 +- ], +- [ +- GMV_HAVE_EXT_HASH_MAP_CFLAGS= +- ] +-) ++AC_DEFINE(GMV_HAVE_EXT_HASH_MAP,1,[Define if <ext/hash_map> is provided]) ++GMV_HAVE_EXT_HASH_MAP_CFLAGS=-DGMV_HAVE_EXT_HASH_MAP=1 + AC_SUBST(GMV_HAVE_EXT_HASH_MAP_CFLAGS) + + AC_MSG_CHECKING([whether the C++ compiler supports the standard character traits]) +-- +2.5.5 +
meta-oe/recipes-extended/mml-widget/gtkmathview/0003-gcc-6.0-build-fixes.patch new file +93 -0
93 lines not on this page · raw message
meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +2 -3
@@ -11,6 +11,8 @@ PV = "0.8.0+git${SRCPV}" SRC_URI = "git://github.com/GNOME/gtkmathview.git \ file://use_hostcxx.patch \ file://0001-include-cstdio-to-get-printf-definitions.patch \ + file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \ + file://0003-gcc-6.0-build-fixes.patch \ " S = "${WORKDIR}/git"
@@ -21,6 +23,3 @@ do_configure_append() { # avoid host polution inf pkg-config files sed -i "s:${STAGING_DIR_HOST}::g" `find -name '*.pc'` } - -# http://errors.yoctoproject.org/Errors/Details/68615/ -PNBLACKLIST[gtkmathview] ?= "BROKEN: fails to build with gcc-6"
Signature · 1 line
2.5.5
PATCH 5/5 samba: fix build by linking with bfd instead of gold
In reply to Andreas MüllerUse this workaround as long as there is no better (upstream) fix
--- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1 -1
@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then
Signature · 1 line
2.5.5
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
Quoted 18 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>---
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ "
DISABLE_STATIC= ""
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
Quoted 2 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-1-LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}”
what is the original problem ?
Quoted 11 lines
do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then--
2.5.5--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
Quoted 18 lines · Khem Raj
Quoted 18 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>---
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ "
DISABLE_STATIC= ""
Quoted 5 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
Quoted 2 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-1-LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}”what is the original problem ?
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| Waf: Leaving directory `/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/samba-4.4.5/bin'
| Build failed:
| -> task failed (err #1):
| {task: cc_link vlp_232.o -> vlp}
| -> task failed (err #1):
| {task: cc_link notifydd_4.o,notifyd_1.o -> notifydd}
| -> task failed (err #1):
| {task: cc_link msgtest_192.o -> msgtest}
| -> task failed (err #1):
| {task: cc_link msg_sink_194.o -> msg_sink}
| -> task failed (err #1):
| {task: cc_link tests_2.o -> notifyd-tests}
| -> task failed (err #1):
| {task: cc_link version_test_218.o -> versiontest}
| WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/run.do_compile.20288:1exit 1 from 'python ./buildtools/bin/waf -j8'
| ERROR: Function failed: do_compile (log file is located at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/log.do_compil
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
Quoted 22 lines · Andreas Müller
Quoted 18 lines · Khem Raj
Quoted 18 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>---
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ "
DISABLE_STATIC= ""
Quoted 7 lines
Quoted 5 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
Quoted 2 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-1-LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}”what is the original problem ?
| default/source3/libsamba-cluster-support-samba4.so: error: undefined reference to ‘dbghdrclass'
Does it mean that we are missing some library or object on linker cmdline ?
Quoted 200 lines
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbghdrclass'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'dbgtext'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'DEBUGLEVEL_CLASS'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'generate_random_buffer'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'GetTimeOfDay'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'tdb_wrap_open'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'string_term_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'make_tdb_data'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_tdb'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_hash_size'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'lpcfg_tdb_flags'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'map_nt_error_from_unix'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'loadparm_init_s3'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'become_root'
| default/source3/libsamba-cluster-support-samba4.so: error: undefined
reference to 'unbecome_root'
| collect2: error: ld returned 1 exit status
| Waf: Leaving directory `/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/samba-4.4.5/bin'| Build failed: | -> task failed (err #1): | {task: cc_link vlp_232.o -> vlp} | -> task failed (err #1): | {task: cc_link notifydd_4.o,notifyd_1.o -> notifydd} | -> task failed (err #1): | {task: cc_link msgtest_192.o -> msgtest} | -> task failed (err #1): | {task: cc_link msg_sink_194.o -> msg_sink} | -> task failed (err #1): | {task: cc_link tests_2.o -> notifyd-tests} | -> task failed (err #1): | {task: cc_link version_test_218.o -> versiontest} | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/run.do_compile.20288:1exit 1 from 'python ./buildtools/bin/waf -j8'
| ERROR: Function failed:do_compile(log file is located at/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/samba/4.4.5-r0/temp/log.do_compil--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
Quoted 27 lines · Khem Raj
Quoted 27 lines · Andreas Müller
Quoted 23 lines · Khem Raj
Quoted 18 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>---
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ "
DISABLE_STATIC= ""meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
Quoted 2 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-1-LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}”what is the original problem ?
Quoted 6 lines
Quoted 2 lines
| default/source3/libsamba-cluster-support-samba4.so: error: undefined reference to ‘dbghdrclass'
Does it mean that we are missing some library or object on linker cmdline ?
Have no idea. Googling around and checking samba's git I saw that it tends to break with new version of binutils. Before changing linker, I played around with patches adding dependencies / removing LDFLAGS all did not lead to working build. So I finally replaced gold and samba is fine again.
Andreas
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
In reply to Andreas MüllerQuoted 21 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>--- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-2@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then --
Quoted 2 lines
2.5.5
1. This did not make it into master but is still in master-next.
2. Jackie Huang has sent a patch only blacklisting on arm [1] => seems only arm has this bug
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109036.html
=> I would like to send a patch changing to bfd linker only on arm. Against which branch shall I create this patch?
Andreas
Re: [PATCH 5/5] samba: fix build by linking with bfd instead of gold
Quoted 36 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of Andreas Müller
Sent: Sunday, September 11, 2016 8:06 PM
To: [email protected]
Subject: Re: [oe] [PATCH 5/5] samba: fix build by linking with bfd instead of goldmeta-
Quoted 8 lines · Andreas Müller
Use this workaround as long as there is no better (upstream) fix
Signed-off-by Andreas Müller <[email protected]>--- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta- renamed from meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0networking/recipes-connectivity/samba/samba_4.4.5.bb
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb EXTRA_OECONF += "--enable-fhs \ · line 91
Quoted 9 lines
index e35d527..3205c5d 100644
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +1
-1@@ -88,7 +88,7 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
Quoted 6 lines
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-1do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'systemd', 'true', 'false', d)}; then --2.5.5
Quoted 5 lines
1. This did not make it into master but is still in master-next.
2. Jackie Huang has sent a patch only blacklisting on arm [1] => seems only arm has this bug[1] http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109036.html
Please see my reply on this:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/109071.html
Quoted 2 lines
=> I would like to send a patch changing to bfd linker only on arm.
I agree if it's confirmed only arm has this issue.
Thanks,
Jackie
Quoted 8 lines
Against which branch shall I create this patch?
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel