All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 13296] New: host-libcap failed to build
@ 2020-11-05  9:10 bugzilla at busybox.net
  2020-11-05 12:10 ` [Buildroot] [Bug 13296] " bugzilla at busybox.net
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05  9:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

            Bug ID: 13296
           Summary: host-libcap failed to build
           Product: buildroot
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: ian_ormshaw at waters.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

On Fedora 33 2020.11-rc1 host-libcap 2.45 Building fails with error:

make -C ../progs tcapsh-static
gcc -fPIC
-I/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/progs/../libcap/include/uapi
-I/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/progs/../libcap/include
 -O2 -I/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/host/include
-Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g 
-Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g 
-Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g 
-Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g 
-o tcapsh-static capsh.c
-L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/progs/../libcap
-lcap -L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/host/lib
-Wl,-rpath,/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/host/lib
-L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/libcap
-L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/tests/../libcap
-L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/tests/../libcap
-L/home/ian/build/hiwire-linux-19e60402-x86_64/buildroot/build/host-libcap-2.45/progs/../libcap
--static
/usr/bin/ld: cannot find -lc

gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
@ 2020-11-05 12:10 ` bugzilla at busybox.net
  2020-11-05 16:22 ` bugzilla at busybox.net
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 12:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

Thomas Petazzoni <thomas.petazzoni@bootlin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |heiko.thiery at gmail.com
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
  2020-11-05 12:10 ` [Buildroot] [Bug 13296] " bugzilla at busybox.net
@ 2020-11-05 16:22 ` bugzilla at busybox.net
  2020-11-05 16:22 ` bugzilla at busybox.net
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 16:22 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #1 from Heiko Thiery <heiko.thiery@gmail.com> ---
Created attachment 8631
  --> https://bugs.busybox.net/attachment.cgi?id=8631&action=edit
fixes the make argument from DYNAMIC to SHARED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
  2020-11-05 12:10 ` [Buildroot] [Bug 13296] " bugzilla at busybox.net
  2020-11-05 16:22 ` bugzilla at busybox.net
@ 2020-11-05 16:22 ` bugzilla at busybox.net
  2020-11-05 16:35 ` bugzilla at busybox.net
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 16:22 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #2 from Heiko Thiery <heiko.thiery@gmail.com> ---
Could you please test the attached patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2020-11-05 16:22 ` bugzilla at busybox.net
@ 2020-11-05 16:35 ` bugzilla at busybox.net
  2020-11-05 19:03 ` bugzilla at busybox.net
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 16:35 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
(In reply to Heiko Thiery from comment #1)
Do you need to pass both DYNAMIC=something *and* SHARED=something ? This seems
a bit redundant. According to what you did in
8d38eb052e7006b6e74e9453351d7f245144481e, it seems that DYNAMIC has gone away,
and SHARED is the new variable to use ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-11-05 16:35 ` bugzilla at busybox.net
@ 2020-11-05 19:03 ` bugzilla at busybox.net
  2020-11-05 19:05 ` bugzilla at busybox.net
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 19:03 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #4 from Heiko Thiery <heiko.thiery@gmail.com> ---
Created attachment 8636
  --> https://bugs.busybox.net/attachment.cgi?id=8636&action=edit
second iteration of the patch

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2020-11-05 19:03 ` bugzilla at busybox.net
@ 2020-11-05 19:05 ` bugzilla at busybox.net
  2020-11-05 19:06 ` bugzilla at busybox.net
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 19:05 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #5 from Heiko Thiery <heiko.thiery@gmail.com> ---
Your're right. That is not needed anymore. It was just a quick shot to get a
feetback. I added an updated version of the patch that removes the DYNAMIC
arguments.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2020-11-05 19:05 ` bugzilla at busybox.net
@ 2020-11-05 19:06 ` bugzilla at busybox.net
  2020-11-06  7:28 ` bugzilla at busybox.net
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-05 19:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #6 from Heiko Thiery <heiko.thiery@gmail.com> ---
Or more a feedback than a feetback ;-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2020-11-05 19:06 ` bugzilla at busybox.net
@ 2020-11-06  7:28 ` bugzilla at busybox.net
  2020-11-06  7:31 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-06  7:28 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #7 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
I am still seeing the same error, with either version of the patch after doing
the following:

1) Deleting my build directory.
2) Checking out the source from tag 2020.11-rc1
3) In the where the source is checked out applying the patch with:
     patch -p1  -i <path to
patch>/0001-package-libcap-fix-building-on-host-package.patch
4) Copying my config file to the build directoty
5) Building buildroot

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2020-11-06  7:28 ` bugzilla at busybox.net
@ 2020-11-06  7:31 ` bugzilla at busybox.net
  2020-11-06  7:38 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-06  7:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #8 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Created attachment 8646
  --> https://bugs.busybox.net/attachment.cgi?id=8646&action=edit
Config file

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2020-11-06  7:31 ` bugzilla at busybox.net
@ 2020-11-06  7:38 ` bugzilla at busybox.net
  2020-11-09 22:13 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-06  7:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #9 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Created attachment 8651
  --> https://bugs.busybox.net/attachment.cgi?id=8651&action=edit
Full log of pcap build

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (9 preceding siblings ...)
  2020-11-06  7:38 ` bugzilla at busybox.net
@ 2020-11-09 22:13 ` bugzilla at busybox.net
  2020-11-10  9:33 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-09 22:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #10 from Peter Seiderer <ps.report@gmx.net> ---
Same failure here (openSUSE Tumbleweed), both attached patches did not work...,
reverting 8d38eb052e7006b6e74e9453351d7f245144481e worked...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (10 preceding siblings ...)
  2020-11-09 22:13 ` bugzilla at busybox.net
@ 2020-11-10  9:33 ` bugzilla at busybox.net
  2020-11-10 11:21 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-10  9:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

Heiko Thiery <heiko.thiery@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8631|0                           |1
        is obsolete|                            |
   Attachment #8636|0                           |1
        is obsolete|                            |
                 CC|                            |heiko.thiery at gmail.com

--- Comment #11 from Heiko Thiery <heiko.thiery@gmail.com> ---
Created attachment 8656
  --> https://bugs.busybox.net/attachment.cgi?id=8656&action=edit
third iteration of the patch

I added a patch for libcap that should prevent adding the --static flag. Please
give it a try.

I also started a request to the libcap maintainer get feedback if this is the
correct way.

Thank you

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (11 preceding siblings ...)
  2020-11-10  9:33 ` bugzilla at busybox.net
@ 2020-11-10 11:21 ` bugzilla at busybox.net
  2020-11-10 15:01 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-10 11:21 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #12 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
That builds okay now.  Also I deployed the build to the target system, and it
runs with no problems.

Thanks,

Ian

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (12 preceding siblings ...)
  2020-11-10 11:21 ` bugzilla at busybox.net
@ 2020-11-10 15:01 ` bugzilla at busybox.net
  2020-11-11 12:00 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-10 15:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #13 from Heiko Thiery <heiko.thiery@gmail.com> ---
Thanks for the feedback. I will wait for a response from libcap maintainer. And
if my patch is sufficient we can apply it to buildroot.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (13 preceding siblings ...)
  2020-11-10 15:01 ` bugzilla at busybox.net
@ 2020-11-11 12:00 ` bugzilla at busybox.net
  2020-11-11 12:05 ` bugzilla at busybox.net
  2020-11-15 15:48 ` bugzilla at busybox.net
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-11 12:00 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #14 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Created attachment 8666
  --> https://bugs.busybox.net/attachment.cgi?id=8666&action=edit
patch from kernel bug 210135

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (14 preceding siblings ...)
  2020-11-11 12:00 ` bugzilla at busybox.net
@ 2020-11-11 12:05 ` bugzilla at busybox.net
  2020-11-15 15:48 ` bugzilla at busybox.net
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-11 12:05 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

--- Comment #15 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
tested-by:
    Reverting the previous patch 
    Testing that the build then failed. it did.
    Added the attached patch (0000-kernel.org-bug-210135.patch) to
<GLOBAL_PATCHES>/libcap/2.54
    Cleaning the build area
    Rebuilding

Result:
    host-libcap once again build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 13296] host-libcap failed to build
  2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
                   ` (15 preceding siblings ...)
  2020-11-11 12:05 ` bugzilla at busybox.net
@ 2020-11-15 15:48 ` bugzilla at busybox.net
  16 siblings, 0 replies; 18+ messages in thread
From: bugzilla at busybox.net @ 2020-11-15 15:48 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=13296

Heiko Thiery <heiko.thiery@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Heiko Thiery <heiko.thiery@gmail.com> ---
fixed with 7540fbe877d48d75113338430ce3304a00a82cb1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2020-11-15 15:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05  9:10 [Buildroot] [Bug 13296] New: host-libcap failed to build bugzilla at busybox.net
2020-11-05 12:10 ` [Buildroot] [Bug 13296] " bugzilla at busybox.net
2020-11-05 16:22 ` bugzilla at busybox.net
2020-11-05 16:22 ` bugzilla at busybox.net
2020-11-05 16:35 ` bugzilla at busybox.net
2020-11-05 19:03 ` bugzilla at busybox.net
2020-11-05 19:05 ` bugzilla at busybox.net
2020-11-05 19:06 ` bugzilla at busybox.net
2020-11-06  7:28 ` bugzilla at busybox.net
2020-11-06  7:31 ` bugzilla at busybox.net
2020-11-06  7:38 ` bugzilla at busybox.net
2020-11-09 22:13 ` bugzilla at busybox.net
2020-11-10  9:33 ` bugzilla at busybox.net
2020-11-10 11:21 ` bugzilla at busybox.net
2020-11-10 15:01 ` bugzilla at busybox.net
2020-11-11 12:00 ` bugzilla at busybox.net
2020-11-11 12:05 ` bugzilla at busybox.net
2020-11-15 15:48 ` bugzilla at busybox.net

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.