samba: unblacklist
PATCH 1/1 samba: unblacklist
This should make all happy:
* arm people can build again
* others are not affected
Andreas Müller (1):
samba: unblacklist and link with bfd on arm only
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
Signature · 1 line
2.5.5
PATCH 1/1 samba: unblacklist and link with bfd on arm only
--- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +2 -6
@@ -88,7 +88,8 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" +LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS_append_arm = " ${@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
@@ -317,8 +318,3 @@ FILES_${PN}-python-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.d RDEPENDS_${PN}-pidl_append = " perl" FILES_${PN}-pidl = "${bindir}/pidl ${datadir}/perl5/Parse" - -# http://errors.yoctoproject.org/Errors/Details/81004/ -# before this issue it was also failing in do_package and -# autodetecting libpam dependency -PNBLACKLIST[samba] ?= "BROKEN: fails to build with new binutils-2.27"
Signature · 1 line
2.5.5
Re: [PATCH] samba: unblacklist and link with bfd on arm only
What about the other 2 issues mentioned in the comment?
Quoted 42 lines · Andreas Müller
Signed-off-by Andreas Müller <[email protected]>--- meta-networking/recipes-connectivity/samba/samba_4.4.5.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-1@@ -88,7 +88,8 @@ EXTRA_OECONF += "--enable-fhs \ " DISABLE_STATIC = "" -LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES','ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +2
-0+LDFLAGS += "-Wl,-z,relro,-z,now" +LDFLAGS_append_arm = " ${@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
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-0@@ -317,8 +318,3 @@ FILES_${PN}-python-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.d
RDEPENDS_${PN}-pidl_append = " perl" FILES_${PN}-pidl = "${bindir}/pidl ${datadir}/perl5/Parse"
meta-networking/recipes-connectivity/samba/samba_4.4.5.bb +0
-6- -# http://errors.yoctoproject.org/Errors/Details/81004/ -# before this issue it was also failing in do_package and -# autodetecting libpam dependency -PNBLACKLIST[samba] ?= "BROKEN: fails to build with new binutils-2.27" --2.5.5
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 2 lines · Martin Jansa
What about the other 2 issues mentioned in the comment?
I am sure I am missing something. I did
* pull meta-oe
* built samba with this patch attached in a 'crowded' sysroot (good for floating dependencies) for arm (raspi2)
-> No warnings/errors
Andreas
Re: [PATCH] samba: unblacklist and link with bfd on arm only
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than a year
- pam isn't in typical 'crowded' sysroot unless you have pam in DISTRO_FEATURES and it might be always detected when you have pam in DISTRO_FEATURES.
There is also at least one report where it failed with ld.gold also for qemux86, e.g.:
http://errors.yoctoproject.org/Errors/Details/75447/
I'll of course include these changes in next jenkins build to report which failures it will re-introduce.
Quoted 19 lines · Andreas Müller
Quoted 2 lines · Martin Jansa
What about the other 2 issues mentioned in the comment?
I am sure I am missing something. I did
* pull meta-oe
* built samba with this patch attached in a 'crowded' sysroot (good for floating dependencies) for arm (raspi2)-> No warnings/errors
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 8 lines · Martin Jansa
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than a year
- pam isn't in typical 'crowded' sysroot unless you have pam inDISTRO_FEATURESand it might be always detected when you have pam inDISTRO_FEATURES.
Quoted 7 lines
There is also at least one report where it failed with ld.gold also for qemux86, e.g.:
http://errors.yoctoproject.org/Errors/Details/75447/I'll of course include these changes in next jenkins build to report which failures it will re-introduce.
I cannot check this now - tested at home - but as far as I can remember I have pam in DISTRO_FEATURES.
Whatever:
* I will check for pam and send a follow up if necessary
* autobuilder will tell us if other archs need bfd too - if so I will take care
Andreas
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 19 lines · Andreas Müller
Quoted 8 lines · Martin Jansa
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than a year
- pam isn't in typical 'crowded' sysroot unless you have pam inDISTRO_FEATURESand it might be always detected when you have pam inDISTRO_FEATURES.Quoted 7 lines
There is also at least one report where it failed with ld.gold also for qemux86, e.g.:
http://errors.yoctoproject.org/Errors/Details/75447/I'll of course include these changes in next jenkins build to report which failures it will re-introduce.
I cannot check this now - tested at home - but as far as I can remember I have pam in
DISTRO_FEATURES.
Quoted 7 lines
Whatever:
* I will check for pam and send a follow up if necessary
* autobuilder will tell us if other archs need bfd too - if so I will take careAndreas
I built samba yesterday on master without any changes apart from removing the blacklist. Built on corei7 and arm64 without any warnings/issues. I don't have pam in my DISTRO_FEATURES. All standard toolchain setup.
Re: [PATCH] samba: unblacklist and link with bfd on arm only
In reply to Martin JansaQuoted 8 lines · Martin Jansa
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than a year
- pam isn't in typical 'crowded' sysroot unless you have pam inDISTRO_FEATURESand it might be always detected when you have pam inDISTRO_FEATURES.
Just checked: libpam was in my sysroot and I received no warnings.
Andreas
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Does your log.do_package show that it was actually linked with libpam?
more details in:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106583.html
Quoted 20 lines · Andreas Müller
Quoted 4 lines · Martin Jansa
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than ayear
Quoted 4 lines
- pam isn't in typical 'crowded' sysroot unless you have pam in
DISTRO_FEATURESand it might be always detected when you have pam inDISTRO_FEATURES.Just checked: libpam was in my sysroot and I received no warnings.
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH] samba: unblacklist and link with bfd on arm only
and
http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106661.html
Quoted 31 lines · Martin Jansa
Does your log.do_package show that it was actually linked with libpam?
more details in:
http://lists.openembedded.org/pipermail/openembedded-devel/
2016-March/106583.htmlQuoted 20 lines · Andreas Müller
Quoted 4 lines · Martin Jansa
WARN: samba: samba rdepends on libpam, but it isn't a build dependency?
is reported in every report (where samba was successfully built)
http://www.openembedded.org/wiki/Bitbake_World_Status for more than ayear
Quoted 4 lines
- pam isn't in typical 'crowded' sysroot unless you have pam in
DISTRO_FEATURESand it might be always detected when you have pam inDISTRO_FEATURES.Just checked: libpam was in my sysroot and I received no warnings.
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 8 lines · Martin Jansa
and
http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106661.htmlQuoted 2 lines · Martin Jansa
Does your log.do_package show that it was actually linked with libpam?
I think I got it now: Problem does not occur to me as I have pam in DISTRO_FEATURE -> pam in PACKAGECONFIG -> libpam in DEPENDS. To get 'your' problem, I have to remove pam from PACKAGECONFIG explicitly.
Will report...
Andreas
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 4 lines · Andreas Müller
Quoted 3 lines · Martin Jansa
and
http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106661.html
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines · Martin Jansa
Does your log.do_package show that it was actually linked with libpam?
I think I got it now: Problem does not occur to me as I have pam in
DISTRO_FEATURE-> pam in PACKAGECONFIG -> libpam in DEPENDS. To get 'your' problem, I have to remove pam from PACKAGECONFIG explicitly.
Right, that's what I meant by "and it might be always detected when you have pam in DISTRO_FEATURES."
Sorry that I wasn't clear.
Quoted 1 line
Will report...
Thanks
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 14 lines · Martin Jansa
Quoted 4 lines · Andreas Müller
Quoted 3 lines · Martin Jansa
and
http://lists.openembedded.org/pipermail/openembedded-devel/2016-March/106661.htmlQuoted 8 lines
Quoted 5 lines
Quoted 2 lines · Martin Jansa
Does your log.do_package show that it was actually linked with libpam?
I think I got it now: Problem does not occur to me as I have pam in
DISTRO_FEATURE-> pam in PACKAGECONFIG -> libpam in DEPENDS. To get 'your' problem, I have to remove pam from PACKAGECONFIG explicitly.
Quoted 8 lines
Right, that's what I meant by "and it might be always detected when you have pam in
DISTRO_FEATURES."Sorry that I wasn't clear.
Quoted 1 line
Will report...
Thanks
OK in same environment I did remove samba from PACKAGECONFIG, did cleansstate / build -> no warnings.
Just to be sure I checked do_package and samba still links against libpam. Where is my warning???
Have no secret appends for samba (checked with bitbake-layers show-appends). Strange
Apart from this mystery: I found [1] and will play around with it.
[1] https://lists.samba.org/archive/samba-technical/2011-May/077532.html
Andreas
Re: [PATCH] samba: unblacklist and link with bfd on arm only
Quoted 4 lines · Andreas Müller
Apart from this mystery: I found [1] and will play around with it.
[1] https://lists.samba.org/archive/samba-technical/2011-May/077532.html
Would have been too easy :(
Andreas