Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64
@ 2013-11-14 11:43 bugzilla at busybox.net
  2013-11-14 12:29 ` [Buildroot] [Bug 6692] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 11:43 UTC (permalink / raw)
  To: buildroot

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

           Summary: GNU nano fails to compile for x86_64
           Product: buildroot
           Version: 2013.08
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: cassiano at idbinfo.com.br
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


GNU nano configure misdetect libmagic from somewhere. I'm not really sure what
is going on, as I digged config.log it tries to link nano agains libmagic.so
which is not provided byt buildroot. Most interesting is that is does no happen
when compiling to x86 or mips64. Only x86_64 is affected. Same build host, same
configuration.

I've fixed it by forcing autoconf env: NANO_CONF_ENV =
ac_cv_lib_magic_magic_open=no

Then it builds fine.

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] 5+ messages in thread

* [Buildroot] [Bug 6692] GNU nano fails to compile for x86_64
  2013-11-14 11:43 [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64 bugzilla at busybox.net
@ 2013-11-14 12:29 ` bugzilla at busybox.net
  2013-11-14 16:22 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 12:29 UTC (permalink / raw)
  To: buildroot

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
                   |.org                        |

--- Comment #1 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-11-14 12:29:39 UTC ---
Thanks for the report.
Normally libmagic is provided by file, it's possible that your distribution
libmagic is somehow leaking into the build.

Can you test what happens if you enable the file package and then build nano?
(i can't reproduce it locally).
So as to make the workaround conditional on file being available or not.

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] 5+ messages in thread

* [Buildroot] [Bug 6692] GNU nano fails to compile for x86_64
  2013-11-14 11:43 [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64 bugzilla at busybox.net
  2013-11-14 12:29 ` [Buildroot] [Bug 6692] " bugzilla at busybox.net
@ 2013-11-14 16:22 ` bugzilla at busybox.net
  2013-11-14 16:50 ` bugzilla at busybox.net
  2013-11-28 11:56 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 16:22 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Cassiano Martin <cassiano@idbinfo.com.br> 2013-11-14 16:22:41 UTC ---
Confirmed. I enabled file package and now nano compiles just fine. Somehow
libmagic from my distribution is leaking into build, as you said.

And this is not the only one, libncursesw also leaked into the build, resulting
into nano binary linked against it.

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] 5+ messages in thread

* [Buildroot] [Bug 6692] GNU nano fails to compile for x86_64
  2013-11-14 11:43 [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64 bugzilla at busybox.net
  2013-11-14 12:29 ` [Buildroot] [Bug 6692] " bugzilla at busybox.net
  2013-11-14 16:22 ` bugzilla at busybox.net
@ 2013-11-14 16:50 ` bugzilla at busybox.net
  2013-11-28 11:56 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-11-14 16:50 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-11-14 16:50:31 UTC ---
The libncursesw failure was detected and fixed in
http://git.buildroot.net/buildroot/commit/package/nano/nano.mk?id=f0801fa2f3e1cbd617bacef3b442da6914caae0a
Patch sent to the list about this issue, 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] 5+ messages in thread

* [Buildroot] [Bug 6692] GNU nano fails to compile for x86_64
  2013-11-14 11:43 [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64 bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2013-11-14 16:50 ` bugzilla at busybox.net
@ 2013-11-28 11:56 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2013-11-28 11:56 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #4 from Gustavo Zacarias <gustavo@zacarias.com.ar> 2013-11-28 11:56:17 UTC ---
Solved in commit 893108810b952777feca054a90c7ecfe7cad06e1 for the upcoming
2013.11 release.

-- 
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] 5+ messages in thread

end of thread, other threads:[~2013-11-28 11:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-14 11:43 [Buildroot] [Bug 6692] New: GNU nano fails to compile for x86_64 bugzilla at busybox.net
2013-11-14 12:29 ` [Buildroot] [Bug 6692] " bugzilla at busybox.net
2013-11-14 16:22 ` bugzilla at busybox.net
2013-11-14 16:50 ` bugzilla at busybox.net
2013-11-28 11:56 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox