All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 5378] New: dropbear Makefile broken
@ 2012-07-19 12:21 bugzilla at busybox.net
  2012-07-19 12:22 ` [Buildroot] [Bug 5378] " bugzilla at busybox.net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-07-19 12:21 UTC (permalink / raw)
  To: buildroot

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

           Summary: dropbear Makefile broken
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: arved at arved.at
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Under some circumstances dropbear 2012.55 adds -lcrypt to the OBJS variable

Instead -lcrypt should be added to LIBS

Patch attached

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
@ 2012-07-19 12:22 ` bugzilla at busybox.net
  2012-08-21 12:04 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-07-19 12:22 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Tilman Keskin?z <arved@arved.at> 2012-07-19 12:22:22 UTC ---
Created attachment 4430
  --> https://bugs.busybox.net/attachment.cgi?id=4430
Don't add -lcrypu to OBJS

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
  2012-07-19 12:22 ` [Buildroot] [Bug 5378] " bugzilla at busybox.net
@ 2012-08-21 12:04 ` bugzilla at busybox.net
  2012-09-10 11:05 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-08-21 12:04 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-08-21 12:04:35 UTC ---
What problem is this solving exactly?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
  2012-07-19 12:22 ` [Buildroot] [Bug 5378] " bugzilla at busybox.net
  2012-08-21 12:04 ` bugzilla at busybox.net
@ 2012-09-10 11:05 ` bugzilla at busybox.net
  2012-09-10 19:53 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-09-10 11:05 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Tilman Keskin?z <arved@arved.at> 2012-09-10 11:05:46 UTC ---
The build of the dropbear package was failing, because there was no rule to
create "-lcrypt" obj.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2012-09-10 11:05 ` bugzilla at busybox.net
@ 2012-09-10 19:53 ` bugzilla at busybox.net
  2012-09-10 20:05 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-09-10 19:53 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Peter Korsgaard <jacmet@uclibc.org> 2012-09-10 19:53:16 UTC ---
(In reply to comment #3)
> The build of the dropbear package was failing, because there was no rule to
> create "-lcrypt" obj.

Hmm, I don't seem to be able to reproduce this. Could you provide more details
about your config, please?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2012-09-10 19:53 ` bugzilla at busybox.net
@ 2012-09-10 20:05 ` bugzilla at busybox.net
  2012-09-10 20:52 ` bugzilla at busybox.net
  2013-12-11 17:16 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-09-10 20:05 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Mike Frysinger <vapier@gentoo.org> 2012-09-10 20:05:14 UTC ---
(In reply to comment #1)

it would be better to fix Makefile.in itself and then send the fix upstream

(In reply to comment #2)

make has implicit rules to handle "-lfoo" in its dependency list.  so dropbear
does this:

dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS) @CRYPTLIB@
...
dropbear: $(dropbearobjs)

this expands into:
dropbear: ... -lcrypt

and make executes its implicit code to try and find /usr/lib/libcrypt.a.  if
you don't have that, it'll fail.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2012-09-10 20:05 ` bugzilla at busybox.net
@ 2012-09-10 20:52 ` bugzilla at busybox.net
  2013-12-11 17:16 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2012-09-10 20:52 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Peter Korsgaard <jacmet@uclibc.org> 2012-09-10 20:52:39 UTC ---
(In reply to comment #5)
> (In reply to comment #1)
> 
> it would be better to fix Makefile.in itself and then send the fix upstream
> 
> (In reply to comment #2)
> 
> make has implicit rules to handle "-lfoo" in its dependency list.  so dropbear
> does this:
> 
> dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS) @CRYPTLIB@
> ...
> dropbear: $(dropbearobjs)
> 
> this expands into:
> dropbear: ... -lcrypt
> 
> and make executes its implicit code to try and find /usr/lib/libcrypt.a.  if
> you don't have that, it'll fail.

Ahh yes, I missed that.

And yes, I agree with Mike. Please fix it correctly (E.G. in Makefile.in) and
submit upstream.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

* [Buildroot] [Bug 5378] dropbear Makefile broken
  2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2012-09-10 20:52 ` bugzilla at busybox.net
@ 2013-12-11 17:16 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2013-12-11 17:16 UTC (permalink / raw)
  To: buildroot

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

Gustavo Zacarias <gustavo@zacarias.com.ar> changed:

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

--- Comment #7 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-12-11 17:16:47 UTC ---
Upstream bug, please submit your patch to them.
Thanks.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

end of thread, other threads:[~2013-12-11 17:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 12:21 [Buildroot] [Bug 5378] New: dropbear Makefile broken bugzilla at busybox.net
2012-07-19 12:22 ` [Buildroot] [Bug 5378] " bugzilla at busybox.net
2012-08-21 12:04 ` bugzilla at busybox.net
2012-09-10 11:05 ` bugzilla at busybox.net
2012-09-10 19:53 ` bugzilla at busybox.net
2012-09-10 20:05 ` bugzilla at busybox.net
2012-09-10 20:52 ` bugzilla at busybox.net
2013-12-11 17:16 ` 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.