All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
@ 2019-10-21  5:50 Zang Ruochen
  2019-10-24 13:06 ` Trevor Woerner
  0 siblings, 1 reply; 20+ messages in thread
From: Zang Ruochen @ 2019-10-21  5:50 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../{libcap-ng-python_0.7.9.bb => libcap-ng-python_0.7.10.bb}       | 0
 meta/recipes-support/libcap-ng/libcap-ng.inc                        | 6 +++---
 .../libcap-ng/{libcap-ng_0.7.9.bb => libcap-ng_0.7.10.bb}           | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/libcap-ng/{libcap-ng-python_0.7.9.bb => libcap-ng-python_0.7.10.bb} (100%)
 rename meta/recipes-support/libcap-ng/{libcap-ng_0.7.9.bb => libcap-ng_0.7.10.bb} (100%)

diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.7.9.bb b/meta/recipes-support/libcap-ng/libcap-ng-python_0.7.10.bb
similarity index 100%
rename from meta/recipes-support/libcap-ng/libcap-ng-python_0.7.9.bb
rename to meta/recipes-support/libcap-ng/libcap-ng-python_0.7.10.bb
diff --git a/meta/recipes-support/libcap-ng/libcap-ng.inc b/meta/recipes-support/libcap-ng/libcap-ng.inc
index 739b91f..aec8389 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng.inc
+++ b/meta/recipes-support/libcap-ng/libcap-ng.inc
@@ -11,7 +11,7 @@ SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
            file://python.patch \
 "
 
-SRC_URI[md5sum] = "2398d695508fab9ce33668c53a89b0e9"
-SRC_URI[sha256sum] = "4a1532bcf3731aade40936f6d6a586ed5a66ca4c7455e1338d1f6c3e09221328"
+SRC_URI[md5sum] = "57dc267e2949cdecb651a929f9206572"
+SRC_URI[sha256sum] = "a84ca7b4e0444283ed269b7a29f5b6187f647c82e2b876636b49b9a744f0ffbf"
 
-BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.9.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
similarity index 100%
rename from meta/recipes-support/libcap-ng/libcap-ng_0.7.9.bb
rename to meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
-- 
2.7.4





^ permalink raw reply related	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-21  5:50 [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10 Zang Ruochen
@ 2019-10-24 13:06 ` Trevor Woerner
  2019-10-24 13:37   ` Trevor Gamblin
  2019-10-24 23:05   ` Khem Raj
  0 siblings, 2 replies; 20+ messages in thread
From: Trevor Woerner @ 2019-10-24 13:06 UTC (permalink / raw)
  To: Zang Ruochen; +Cc: openembedded-core

This upgrade caused my build to fail :-(
Is anyone else seeing this?

	22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
	22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
	22:47:40 | collect2: error: ld returned 1 exit status
	22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
	22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
	22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
	22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
	22:47:40 | make: *** [Makefile:377: all] Error 2
	22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
	22:47:40 |
	22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-24 13:06 ` Trevor Woerner
@ 2019-10-24 13:37   ` Trevor Gamblin
  2019-10-25  0:19     ` akuster808
  2019-10-24 23:05   ` Khem Raj
  1 sibling, 1 reply; 20+ messages in thread
From: Trevor Gamblin @ 2019-10-24 13:37 UTC (permalink / raw)
  To: Trevor Woerner, Zang Ruochen; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 5580 bytes --]

On 10/24/19 9:06 AM, Trevor Woerner wrote:

> This upgrade caused my build to fail :-(
> Is anyone else seeing this?
>
> 	22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-na
>   tive/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
> 	22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> 	22:47:40 | collect2: error: ld returned 1 exit status
> 	22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
> 	22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
> 	22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
> 	22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
> 	22:47:40 | make: *** [Makefile:377: all] Error 2
> 	22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
> 	22:47:40 |
> 	22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed

I see it too, when trying to build binutils:

|||| x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef 
-D_GNU_SOURCE 
-isystem/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/re[6/1973]||
||root-native/usr/include -O2 -pipe -Wl,--enable-new-dtags 
-Wl,-rpath-link 
-Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/us||
||r/lib -Wl,-rpath-link 
-Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib 
-Wl,-rpath -Wl,/ala-lpggp21/tgamblin/yocto/build/||
||tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib 
-Wl,-rpath 
-Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/r||
||ecipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o 
-L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/l||
||ib 
-L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib 
-L../src /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux||
||/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so||
||| 
/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
undefined reference to `pthread_atfork'||
||| collect2: error: ld returned 1 exit status||
||| Makefile:483: recipe for target 'pscap' failed||
||| make[2]: *** [pscap] Error 1||
||| make[2]: *** Waiting for unfinished jobs....||
||| 
/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
undefined reference to `pthread_atfork'||
||| collect2: error: ld returned 1 exit status||
||| Makefile:471: recipe for target 'captest' failed||
||| make[2]: *** [captest] Error 1||
||| 
/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
undefined reference to `pthread_atfork'||
||| collect2: error: ld returned 1 exit status||
||| 
/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
undefined reference to `pthread_atfork'||
||| collect2: error: ld returned 1 exit status||
||| Makefile:475: recipe for target 'filecap' failed||
||| make[2]: *** [filecap] Error 1||
||| Makefile:479: recipe for target 'netcap' failed||
||| make[2]: *** [netcap] Error 1||
||| make[2]: Leaving directory 
'/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'||
||| Makefile:445: recipe for target 'all-recursive' failed||
||| make[1]: *** [all-recursive] Error 1||
||| make[1]: Leaving directory 
'/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'||
||| Makefile:377: recipe for target 'all' failed||
||| make: *** [all] Error 2|


[-- Attachment #2: Type: text/html, Size: 6933 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-24 13:06 ` Trevor Woerner
  2019-10-24 13:37   ` Trevor Gamblin
@ 2019-10-24 23:05   ` Khem Raj
  2019-10-25 13:22     ` Trevor Woerner
  1 sibling, 1 reply; 20+ messages in thread
From: Khem Raj @ 2019-10-24 23:05 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: openembedded-core

On Thu, Oct 24, 2019 at 09:06:41AM -0400, Trevor Woerner wrote:
> This upgrade caused my build to fail :-(
> Is anyone else seeing this?
> 
> 	22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-na
>  tive/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
> 	22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> 	22:47:40 | collect2: error: ld returned 1 exit status

perhaps you need to add -pthread to LDFLAGS

> 	22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
> 	22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
> 	22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
> 	22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
> 	22:47:40 | make: *** [Makefile:377: all] Error 2
> 	22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
> 	22:47:40 |
> 	22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-24 13:37   ` Trevor Gamblin
@ 2019-10-25  0:19     ` akuster808
  2019-10-25  5:30       ` zangrc
  0 siblings, 1 reply; 20+ messages in thread
From: akuster808 @ 2019-10-25  0:19 UTC (permalink / raw)
  To: Trevor Gamblin, Trevor Woerner, Zang Ruochen; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 5858 bytes --]



On 10/24/19 6:37 AM, Trevor Gamblin wrote:
>
> On 10/24/19 9:06 AM, Trevor Woerner wrote:
>
>> This upgrade caused my build to fail :-(
>> Is anyone else seeing this?

Me too but only on my older ubunto 16.04.

we should bug this. If no one does by Friday night I will.

- armin
>> 	22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-na
>>  tive/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
>> 	22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
>> 	22:47:40 | collect2: error: ld returned 1 exit status
>> 	22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
>> 	22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
>> 	22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
>> 	22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
>> 	22:47:40 | make: *** [Makefile:377: all] Error 2
>> 	22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
>> 	22:47:40 |
>> 	22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed
>
> I see it too, when trying to build binutils:
>
> |||| x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat
> -Wundef -D_GNU_SOURCE
> -isystem/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/re[6/1973]||
> ||root-native/usr/include -O2 -pipe -Wl,--enable-new-dtags
> -Wl,-rpath-link
> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/us||
> ||r/lib -Wl,-rpath-link
> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib
> -Wl,-rpath -Wl,/ala-lpggp21/tgamblin/yocto/build/||
> ||tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib
> -Wl,-rpath
> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/r||
> ||ecipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o
> proc-llist.o 
> -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/l||
> ||ib
> -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib
> -L../src /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux||
> ||/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so||
> |||
> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so:
> undefined reference to `pthread_atfork'||
> ||| collect2: error: ld returned 1 exit status||
> ||| Makefile:483: recipe for target 'pscap' failed||
> ||| make[2]: *** [pscap] Error 1||
> ||| make[2]: *** Waiting for unfinished jobs....||
> |||
> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so:
> undefined reference to `pthread_atfork'||
> ||| collect2: error: ld returned 1 exit status||
> ||| Makefile:471: recipe for target 'captest' failed||
> ||| make[2]: *** [captest] Error 1||
> |||
> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so:
> undefined reference to `pthread_atfork'||
> ||| collect2: error: ld returned 1 exit status||
> |||
> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so:
> undefined reference to `pthread_atfork'||
> ||| collect2: error: ld returned 1 exit status||
> ||| Makefile:475: recipe for target 'filecap' failed||
> ||| make[2]: *** [filecap] Error 1||
> ||| Makefile:479: recipe for target 'netcap' failed||
> ||| make[2]: *** [netcap] Error 1||
> ||| make[2]: Leaving directory
> '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'||
> ||| Makefile:445: recipe for target 'all-recursive' failed||
> ||| make[1]: *** [all-recursive] Error 1||
> ||| make[1]: Leaving directory
> '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'||
> ||| Makefile:377: recipe for target 'all' failed||
> ||| make: *** [all] Error 2|
>
>


[-- Attachment #2: Type: text/html, Size: 7875 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25  0:19     ` akuster808
@ 2019-10-25  5:30       ` zangrc
  2019-10-25 13:17         ` Trevor Woerner
  2019-10-26  9:06         ` Khem Raj
  0 siblings, 2 replies; 20+ messages in thread
From: zangrc @ 2019-10-25  5:30 UTC (permalink / raw)
  To: akuster808, twoerner, twoerner, raj.khem; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 6259 bytes --]

hello!

We think this problem has something to do with the host environment. We 
tried to reproduce the error on ubuntu16.04 and fedora29, but they all 
compiled successfully. Can you tell us which distributions are having 
this problem?

On 10/25/19 8:19 AM, akuster808 wrote:
>
>
> On 10/24/19 6:37 AM, Trevor Gamblin wrote:
>>
>> On 10/24/19 9:06 AM, Trevor Woerner wrote:
>>
>>> This upgrade caused my build to fail :-(
>>> Is anyone else seeing this?
>
> Me too but only on my older ubunto 16.04.
>
> we should bug this. If no one does by Friday night I will.
>
> - armin
>>> 	22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-na
>>>   tive/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
>>> 	22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
>>> 	22:47:40 | collect2: error: ld returned 1 exit status
>>> 	22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
>>> 	22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
>>> 	22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
>>> 	22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
>>> 	22:47:40 | make: *** [Makefile:377: all] Error 2
>>> 	22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
>>> 	22:47:40 |
>>> 	22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed
>>
>> I see it too, when trying to build binutils:
>>
>> |||| x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat 
>> -Wundef -D_GNU_SOURCE 
>> -isystem/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/re[6/1973]||
>> ||root-native/usr/include -O2 -pipe -Wl,--enable-new-dtags 
>> -Wl,-rpath-link 
>> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/us||
>> ||r/lib -Wl,-rpath-link 
>> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib 
>> -Wl,-rpath -Wl,/ala-lpggp21/tgamblin/yocto/build/||
>> ||tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib 
>> -Wl,-rpath 
>> -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/r||
>> ||ecipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o 
>> proc-llist.o 
>> -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/l||
>> ||ib 
>> -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib 
>> -L../src /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux||
>> ||/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so||
>> ||| 
>> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
>> undefined reference to `pthread_atfork'||
>> ||| collect2: error: ld returned 1 exit status||
>> ||| Makefile:483: recipe for target 'pscap' failed||
>> ||| make[2]: *** [pscap] Error 1||
>> ||| make[2]: *** Waiting for unfinished jobs....||
>> ||| 
>> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
>> undefined reference to `pthread_atfork'||
>> ||| collect2: error: ld returned 1 exit status||
>> ||| Makefile:471: recipe for target 'captest' failed||
>> ||| make[2]: *** [captest] Error 1||
>> ||| 
>> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
>> undefined reference to `pthread_atfork'||
>> ||| collect2: error: ld returned 1 exit status||
>> ||| 
>> /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: 
>> undefined reference to `pthread_atfork'||
>> ||| collect2: error: ld returned 1 exit status||
>> ||| Makefile:475: recipe for target 'filecap' failed||
>> ||| make[2]: *** [filecap] Error 1||
>> ||| Makefile:479: recipe for target 'netcap' failed||
>> ||| make[2]: *** [netcap] Error 1||
>> ||| make[2]: Leaving directory 
>> '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'||
>> ||| Makefile:445: recipe for target 'all-recursive' failed||
>> ||| make[1]: *** [all-recursive] Error 1||
>> ||| make[1]: Leaving directory 
>> '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'||
>> ||| Makefile:377: recipe for target 'all' failed||
>> ||| make: *** [all] Error 2|
>>
>>
>



[-- Attachment #2: Type: text/html, Size: 8409 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25  5:30       ` zangrc
@ 2019-10-25 13:17         ` Trevor Woerner
  2019-10-25 13:31           ` Trevor Gamblin
  2019-10-26  9:06         ` Khem Raj
  1 sibling, 1 reply; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 13:17 UTC (permalink / raw)
  To: zangrc; +Cc: openembedded-core

On Fri 2019-10-25 @ 01:30:32 PM, zangrc wrote:
> hello!
> 
> We think this problem has something to do with the host environment. We
> tried to reproduce the error on ubuntu16.04 and fedora29, but they all
> compiled successfully. Can you tell us which distributions are having this
> problem?

openSUSE 15.1
(which is the current "latest" openSUSE release)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-24 23:05   ` Khem Raj
@ 2019-10-25 13:22     ` Trevor Woerner
  2019-10-25 13:44       ` Trevor Woerner
  0 siblings, 1 reply; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 13:22 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
> perhaps you need to add -pthread to LDFLAGS

That's what it feels like.
I'll set up a test build.

I'm pretty sure I've stumbled across this in the past, but it seems like
different distros package the crypto things differently, therefore building on
some distros require linking to one set of libraries, and building on other
distros require linking to a different set. Does that seem right?

Is there a mechanism for telling OE to tweak a parameter based on the distro
on which it is building? A distro override of some sort?


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 13:17         ` Trevor Woerner
@ 2019-10-25 13:31           ` Trevor Gamblin
  0 siblings, 0 replies; 20+ messages in thread
From: Trevor Gamblin @ 2019-10-25 13:31 UTC (permalink / raw)
  To: Trevor Woerner, zangrc; +Cc: openembedded-core

On 10/25/19 9:17 AM, Trevor Woerner wrote:

> On Fri 2019-10-25 @ 01:30:32 PM, zangrc wrote:
>> hello!
>>
>> We think this problem has something to do with the host environment. We
>> tried to reproduce the error on ubuntu16.04 and fedora29, but they all
>> compiled successfully. Can you tell us which distributions are having this
>> problem?
> openSUSE 15.1
> (which is the current "latest" openSUSE release)

I'm seeing it on Ubuntu 18.04.3 LTS. I've managed to get past the same 
attempted build (bitbake binutils) on Fedora 30 Server.

Out of curiosity I checked out the commit prior to the upgrade 
(a5a987ff5e5e) on Ubuntu 18.04.3 LTS and did bitbake libcap-ng-native,

and it succeeded. Going back to latest master (with the upgrade), the 
same bitbake fails as described at do_compile.



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 13:22     ` Trevor Woerner
@ 2019-10-25 13:44       ` Trevor Woerner
  2019-10-25 14:37         ` akuster808
  2019-10-25 17:01         ` Khem Raj
  0 siblings, 2 replies; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 13:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Fri 2019-10-25 @ 09:22:04 AM, Trevor Woerner wrote:
> On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
> > perhaps you need to add -pthread to LDFLAGS
> 
> I'll set up a test build.

Yes, adding the following line fixes it:

	LDFLAGS_append_class-native = " -lpthread"

(unless there's a distro-override way of doing it...?)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 13:44       ` Trevor Woerner
@ 2019-10-25 14:37         ` akuster808
  2019-10-25 15:16           ` Trevor Woerner
  2019-10-25 17:24           ` Trevor Woerner
  2019-10-25 17:01         ` Khem Raj
  1 sibling, 2 replies; 20+ messages in thread
From: akuster808 @ 2019-10-25 14:37 UTC (permalink / raw)
  To: Trevor Woerner, Khem Raj; +Cc: openembedded-core



On 10/25/19 6:44 AM, Trevor Woerner wrote:
> On Fri 2019-10-25 @ 09:22:04 AM, Trevor Woerner wrote:
>> On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
>>> perhaps you need to add -pthread to LDFLAGS
>> I'll set up a test build.
> Yes, adding the following line fixes it:
>
> 	LDFLAGS_append_class-native = " -lpthread"
>
> (unless there's a distro-override way of doing it...?)

is someone going to send a patch?

- armin



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 14:37         ` akuster808
@ 2019-10-25 15:16           ` Trevor Woerner
  2019-10-25 15:44             ` Trevor Gamblin
  2019-10-25 17:24           ` Trevor Woerner
  1 sibling, 1 reply; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 15:16 UTC (permalink / raw)
  To: akuster808; +Cc: openembedded-core

On Fri 2019-10-25 @ 07:37:34 AM, akuster808 wrote:
> 
> 
> On 10/25/19 6:44 AM, Trevor Woerner wrote:
> > On Fri 2019-10-25 @ 09:22:04 AM, Trevor Woerner wrote:
> >> On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
> >>> perhaps you need to add -pthread to LDFLAGS
> >> I'll set up a test build.
> > Yes, adding the following line fixes it:
> >
> > 	LDFLAGS_append_class-native = " -lpthread"
> >
> > (unless there's a distro-override way of doing it...?)
> 
> is someone going to send a patch?

Does this break on hosts where it had previously worked?
Is there a better (host-specific) way of doing this?


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 15:16           ` Trevor Woerner
@ 2019-10-25 15:44             ` Trevor Gamblin
  2019-10-25 17:22               ` Trevor Woerner
  0 siblings, 1 reply; 20+ messages in thread
From: Trevor Gamblin @ 2019-10-25 15:44 UTC (permalink / raw)
  To: Trevor Woerner, akuster808; +Cc: openembedded-core


On 10/25/19 11:16 AM, Trevor Woerner wrote:
> On Fri 2019-10-25 @ 07:37:34 AM, akuster808 wrote:
>>
>> On 10/25/19 6:44 AM, Trevor Woerner wrote:
>>> On Fri 2019-10-25 @ 09:22:04 AM, Trevor Woerner wrote:
>>>> On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
>>>>> perhaps you need to add -pthread to LDFLAGS
>>>> I'll set up a test build.
>>> Yes, adding the following line fixes it:
>>>
>>> 	LDFLAGS_append_class-native = " -lpthread"
>>>
>>> (unless there's a distro-override way of doing it...?)
>> is someone going to send a patch?
> Does this break on hosts where it had previously worked?
> Is there a better (host-specific) way of doing this?
Doesn't affect my (successful) Fedora build. Would also be interested to 
know.


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 13:44       ` Trevor Woerner
  2019-10-25 14:37         ` akuster808
@ 2019-10-25 17:01         ` Khem Raj
  2019-10-25 17:23           ` Trevor Woerner
  1 sibling, 1 reply; 20+ messages in thread
From: Khem Raj @ 2019-10-25 17:01 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

On Fri, Oct 25, 2019 at 2:45 PM Trevor Woerner <twoerner@gmail.com> wrote:

> On Fri 2019-10-25 @ 09:22:04 AM, Trevor Woerner wrote:
> > On Thu 2019-10-24 @ 04:05:10 PM, Khem Raj wrote:
> > > perhaps you need to add -pthread to LDFLAGS
> >
> > I'll set up a test build.
>
> Yes, adding the following line fixes it:
>
>         LDFLAGS_append_class-native = " -lpthread"
>
> (unless there's a distro-override way of doing it...?)
>
 There is no need to make it disto specific it should work always and I
think it’s better to use -pthread so gcc driver can decide where to add the
pthread library in link order

[-- Attachment #2: Type: text/html, Size: 973 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 15:44             ` Trevor Gamblin
@ 2019-10-25 17:22               ` Trevor Woerner
  0 siblings, 0 replies; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 17:22 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: openembedded-core

On Fri 2019-10-25 @ 11:44:14 AM, Trevor Gamblin wrote:
> On 10/25/19 11:16 AM, Trevor Woerner wrote:
> > Does this break on hosts where it had previously worked?
> Doesn't affect my (successful) Fedora build. Would also be interested to
> know.

Okay, thanks for the report! :-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 17:01         ` Khem Raj
@ 2019-10-25 17:23           ` Trevor Woerner
  0 siblings, 0 replies; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 17:23 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Fri 2019-10-25 @ 06:01:54 PM, Khem Raj wrote:
> On Fri, Oct 25, 2019 at 2:45 PM Trevor Woerner <twoerner@gmail.com> wrote:
> > Yes, adding the following line fixes it:
> >
> >         LDFLAGS_append_class-native = " -lpthread"
> >
> > (unless there's a distro-override way of doing it...?)
> >
>  There is no need to make it disto specific it should work always and I
> think it’s better to use -pthread so gcc driver can decide where to add the
> pthread library in link order

Excellent, thanks for your input! :-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 14:37         ` akuster808
  2019-10-25 15:16           ` Trevor Woerner
@ 2019-10-25 17:24           ` Trevor Woerner
  2019-10-25 21:38             ` Trevor Woerner
  1 sibling, 1 reply; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 17:24 UTC (permalink / raw)
  To: akuster808; +Cc: openembedded-core

On Fri 2019-10-25 @ 07:37:34 AM, akuster808 wrote:
> is someone going to send a patch?

Yes, I'm working on that now. This looks like something that should be fixed
upstream, so that's the approach I'm taking. Please bear with me :-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 17:24           ` Trevor Woerner
@ 2019-10-25 21:38             ` Trevor Woerner
  2019-10-26  9:35               ` akuster808
  0 siblings, 1 reply; 20+ messages in thread
From: Trevor Woerner @ 2019-10-25 21:38 UTC (permalink / raw)
  To: akuster808; +Cc: openembedded-core

On Fri 2019-10-25 @ 01:24:51 PM, Trevor Woerner wrote:
> On Fri 2019-10-25 @ 07:37:34 AM, akuster808 wrote:
> > is someone going to send a patch?
> 
> Yes, I'm working on that now. This looks like something that should be fixed
> upstream, so that's the approach I'm taking. Please bear with me :-)

I sent a "quickie" fix to the list so master builds can proceed:
https://patchwork.openembedded.org/patch/166245/

But I also opened an issue with the upstream project:
https://github.com/stevegrubb/libcap-ng/issues/9

And proposed a solution:
https://github.com/stevegrubb/libcap-ng/pull/10


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25  5:30       ` zangrc
  2019-10-25 13:17         ` Trevor Woerner
@ 2019-10-26  9:06         ` Khem Raj
  1 sibling, 0 replies; 20+ messages in thread
From: Khem Raj @ 2019-10-26  9:06 UTC (permalink / raw)
  To: zangrc; +Cc: Patches and discussions about the oe-core layer

On Fri, Oct 25, 2019 at 6:31 AM zangrc <zangrc.fnst@cn.fujitsu.com> wrote:
>
> hello!
>
> We think this problem has something to do with the host environment. We tried to reproduce the error on ubuntu16.04 and fedora29, but they all compiled successfully. Can you tell us which distributions are having this problem?

I am suspecting uninative could be masking it. So if you have it
enabled uninative try a build without it

>
>
> On 10/25/19 8:19 AM, akuster808 wrote:
>
>
>
> On 10/24/19 6:37 AM, Trevor Gamblin wrote:
>
> On 10/24/19 9:06 AM, Trevor Woerner wrote:
>
> This upgrade caused my build to fail :-(
> Is anyone else seeing this?
>
>
> Me too but only on my older ubunto 16.04.
>
> we should bug this. If no one does by Friday night I will.
>
> - armin
>
> 22:47:40 | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-na
>  tive/0.7.10-r0/recipe-sysroot-native/usr/lib -L/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
> 22:47:40 | /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> 22:47:40 | collect2: error: ld returned 1 exit status
> 22:47:40 | make[2]: *** [Makefile:480: netcap] Error 1
> 22:47:40 | make[2]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
> 22:47:40 | make[1]: *** [Makefile:445: all-recursive] Error 1
> 22:47:40 | make[1]: Leaving directory '/z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
> 22:47:40 | make: *** [Makefile:377: all] Error 2
> 22:47:40 | WARNING: /z/jenkins-workspace/nightly/cubietruck/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/temp/run.do_compile.12127:1 exit 1 from 'exit 1'
> 22:47:40 |
> 22:47:40 NOTE: recipe libcap-ng-native-0.7.10-r0: task do_compile: Failed
>
> I see it too, when trying to build binutils:
>
> | x86_64-linux-libtool: link: gcc -W -Wall -Wshadow -Wformat -Wundef -D_GNU_SOURCE -isystem/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/re[6/1973]
> root-native/usr/include -O2 -pipe -Wl,--enable-new-dtags -Wl,-rpath-link -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/us
> r/lib -Wl,-rpath-link -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -Wl,-rpath -Wl,/ala-lpggp21/tgamblin/yocto/build/
> tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/lib -Wl,-rpath -Wl,/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/r
> ecipe-sysroot-native/lib -Wl,-O1 -o .libs/netcap netcap.o proc-llist.o  -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/usr/l
> ib -L/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/recipe-sysroot-native/lib -L../src /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux
> /libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so
> | /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> | collect2: error: ld returned 1 exit status
> | Makefile:483: recipe for target 'pscap' failed
> | make[2]: *** [pscap] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> | collect2: error: ld returned 1 exit status
> | Makefile:471: recipe for target 'captest' failed
> | make[2]: *** [captest] Error 1
> | /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> | collect2: error: ld returned 1 exit status
> | /ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/src/.libs/libcap-ng.so: undefined reference to `pthread_atfork'
> | collect2: error: ld returned 1 exit status
> | Makefile:475: recipe for target 'filecap' failed
> | make[2]: *** [filecap] Error 1
> | Makefile:479: recipe for target 'netcap' failed
> | make[2]: *** [netcap] Error 1
> | make[2]: Leaving directory '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build/utils'
> | Makefile:445: recipe for target 'all-recursive' failed
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory '/ala-lpggp21/tgamblin/yocto/build/tmp-glibc/work/x86_64-linux/libcap-ng-native/0.7.10-r0/build'
> | Makefile:377: recipe for target 'all' failed
> | make: *** [all] Error 2
>
>
>


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10
  2019-10-25 21:38             ` Trevor Woerner
@ 2019-10-26  9:35               ` akuster808
  0 siblings, 0 replies; 20+ messages in thread
From: akuster808 @ 2019-10-26  9:35 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: openembedded-core



On 10/25/19 2:38 PM, Trevor Woerner wrote:
> On Fri 2019-10-25 @ 01:24:51 PM, Trevor Woerner wrote:
>> On Fri 2019-10-25 @ 07:37:34 AM, akuster808 wrote:
>>> is someone going to send a patch?
>> Yes, I'm working on that now. This looks like something that should be fixed
>> upstream, so that's the approach I'm taking. Please bear with me :-)
> I sent a "quickie" fix to the list so master builds can proceed:
> https://patchwork.openembedded.org/patch/166245/
>
> But I also opened an issue with the upstream project:
> https://github.com/stevegrubb/libcap-ng/issues/9
>
> And proposed a solution:
> https://github.com/stevegrubb/libcap-ng/pull/10

Thanks, this fixes my problem.

- armin



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-10-26  9:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21  5:50 [PATCH] libcap-ng:upgrade 0.7.9 -> 0.7.10 Zang Ruochen
2019-10-24 13:06 ` Trevor Woerner
2019-10-24 13:37   ` Trevor Gamblin
2019-10-25  0:19     ` akuster808
2019-10-25  5:30       ` zangrc
2019-10-25 13:17         ` Trevor Woerner
2019-10-25 13:31           ` Trevor Gamblin
2019-10-26  9:06         ` Khem Raj
2019-10-24 23:05   ` Khem Raj
2019-10-25 13:22     ` Trevor Woerner
2019-10-25 13:44       ` Trevor Woerner
2019-10-25 14:37         ` akuster808
2019-10-25 15:16           ` Trevor Woerner
2019-10-25 15:44             ` Trevor Gamblin
2019-10-25 17:22               ` Trevor Woerner
2019-10-25 17:24           ` Trevor Woerner
2019-10-25 21:38             ` Trevor Woerner
2019-10-26  9:35               ` akuster808
2019-10-25 17:01         ` Khem Raj
2019-10-25 17:23           ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.