Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 821] New: cp: illegal operation
@ 2009-12-21 23:13 bugzilla at busybox.net
  2009-12-22  0:47 ` Nicholas Kinar
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2009-12-21 23:13 UTC (permalink / raw)
  To: buildroot

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

              Host: MacBook Pro running Snow Leopard
            Target: ARM SX-560
             Build: buildroot
           Summary: cp: illegal operation
           Product: buildroot
           Version: 2009.11
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: markus.schabel at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.5


When building the toolchain on my Mac, it always halts because of an illegal
parameter for cp. the parameter "-d" is not supported on Mac OS X. The
following patch should work on all systems:

--- Makefile    2008-02-25 09:15:31.000000000 +0100
+++ Makefile    2009-12-22 00:04:29.000000000 +0100
@@ -283,11 +257,11 @@
 $(BR2_DEPENDS_DIR): .config
        rm -rf $@
        mkdir -p $(@D)
+       cp -af $(CONFIG)/buildroot-config $@
-       cp -dpRf $(CONFIG)/buildroot-config $@

 dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \


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

* [Buildroot] [Bug 821] New: cp: illegal operation
  2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
@ 2009-12-22  0:47 ` Nicholas Kinar
  2009-12-22  7:44 ` Peter Korsgaard
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Nicholas Kinar @ 2009-12-22  0:47 UTC (permalink / raw)
  To: buildroot

Hello Marcus--

It is good to know that you were able to get some aspects of buildroot 
up and running on Mac OS X.  How do you deal with build dependencies?  I 
have been attempting to run buildroot on 10.5 Leopard using the Fink 
binutils, but I found that I would still have to build fakeroot (and a 
few other associated utilities and libraries) from scratch.

Is fakeroot included with Mac OS X 10.6?  When building, do you still 
receive errors when stripping executables?  When I last tried to run 
buildroot on OS X, some header files particular to Linux-based systems 
could not be found.
Nicholas

bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=821
>
>               Host: MacBook Pro running Snow Leopard
>             Target: ARM SX-560
>              Build: buildroot
>            Summary: cp: illegal operation
>            Product: buildroot
>            Version: 2009.11
>           Platform: Macintosh
>         OS/Version: Mac OS
>             Status: NEW
>           Severity: normal
>           Priority: P5
>          Component: Other
>         AssignedTo: unassigned at buildroot.uclibc.org
>         ReportedBy: markus.schabel at gmail.com
>                 CC: buildroot at uclibc.org
>    Estimated Hours: 0.5
>
>
> When building the toolchain on my Mac, it always halts because of an illegal
> parameter for cp. the parameter "-d" is not supported on Mac OS X. The
> following patch should work on all systems:
>
> --- Makefile    2008-02-25 09:15:31.000000000 +0100
> +++ Makefile    2009-12-22 00:04:29.000000000 +0100
> @@ -283,11 +257,11 @@
>  $(BR2_DEPENDS_DIR): .config
>         rm -rf $@
>         mkdir -p $(@D)
> +       cp -af $(CONFIG)/buildroot-config $@
> -       cp -dpRf $(CONFIG)/buildroot-config $@
>
>  dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
>
>
>   

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

* [Buildroot] [Bug 821] New: cp: illegal operation
  2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
  2009-12-22  0:47 ` Nicholas Kinar
@ 2009-12-22  7:44 ` Peter Korsgaard
  2010-01-28 22:59 ` [Buildroot] [Bug 821] " bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2009-12-22  7:44 UTC (permalink / raw)
  To: buildroot

>>>>> "bugzilla" == bugzilla  <bugzilla@busybox.net> writes:

Hi,

 bugzilla> When building the toolchain on my Mac, it always halts
 bugzilla> because of an illegal parameter for cp. the parameter "-d" is
 bugzilla> not supported on Mac OS X. The following patch should work on
 bugzilla> all systems:

 bugzilla> --- Makefile    2008-02-25 09:15:31.000000000 +0100
 bugzilla> +++ Makefile    2009-12-22 00:04:29.000000000 +0100
 bugzilla> @@ -283,11 +257,11 @@
 bugzilla>  $(BR2_DEPENDS_DIR): .config
 bugzilla>         rm -rf $@
 bugzilla>         mkdir -p $(@D)
 bugzilla> +       cp -af $(CONFIG)/buildroot-config $@
 bugzilla> -       cp -dpRf $(CONFIG)/buildroot-config $@

That's not the only place cp -d is used:

git grep -l 'cp -d'
Makefile
docs/buildroot.html
package/argus/argus.mk
package/berkeleydb/berkeleydb.mk
package/bsdiff/bsdiff.mk
package/directfb-examples/directfb-examples.mk
package/dmalloc/dmalloc.mk
package/dummy/dummy.mk
package/fuse/libfuse.mk
package/gettext/gettext.mk
package/gmp/gmp.mk
package/imagemagick/imagemagick.mk
package/input-tools/input-tools.mk
package/java/concierge/concierge.mk
package/jpeg/jpeg.mk
package/l2tp/l2tp.mk
package/libaio/libaio.mk
package/libcgi/libcgi.mk
package/libcgicc/libcgicc.mk
package/libdrm/libdrm.mk
package/libeXosip2/libeXosip2.mk
package/libfloat/libfloat.mk
package/libgcrypt/libgcrypt.mk

With the above fixed, can you really build on macosx?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [Bug 821] cp: illegal operation
  2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
  2009-12-22  0:47 ` Nicholas Kinar
  2009-12-22  7:44 ` Peter Korsgaard
@ 2010-01-28 22:59 ` bugzilla at busybox.net
  2010-02-21 18:51 ` bugzilla at busybox.net
  2010-02-21 18:53 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-01-28 22:59 UTC (permalink / raw)
  To: buildroot

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





--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org>  2010-01-28 22:59:15 UTC ---
Sorry, I think you'll run into a lot more problems than that to use BR on
!Linux.
E.G.:

git grep 'cp -d'|wc -l
185

On top of that comes the build systems of the individual packages. I think
you'll have a lot easier time dual booting / running Linux in a VM.


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

* [Buildroot] [Bug 821] cp: illegal operation
  2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-01-28 22:59 ` [Buildroot] [Bug 821] " bugzilla at busybox.net
@ 2010-02-21 18:51 ` bugzilla at busybox.net
  2010-02-21 18:53 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 18:51 UTC (permalink / raw)
  To: buildroot

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


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2010.02




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

* [Buildroot] [Bug 821] cp: illegal operation
  2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2010-02-21 18:51 ` bugzilla at busybox.net
@ 2010-02-21 18:53 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2010-02-21 18:53 UTC (permalink / raw)
  To: buildroot

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


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
    Remaining Hours|0.5                         |0.0
         Resolution|                            |WONTFIX




--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  2010-02-21 18:53:40 UTC ---
We do not support building on Mac OS X at the moment, unless someone with
access to this system steps in to maintain such a port.


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

end of thread, other threads:[~2010-02-21 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 23:13 [Buildroot] [Bug 821] New: cp: illegal operation bugzilla at busybox.net
2009-12-22  0:47 ` Nicholas Kinar
2009-12-22  7:44 ` Peter Korsgaard
2010-01-28 22:59 ` [Buildroot] [Bug 821] " bugzilla at busybox.net
2010-02-21 18:51 ` bugzilla at busybox.net
2010-02-21 18:53 ` 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