Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 821] New: cp: illegal operation
Date: Tue, 22 Dec 2009 08:44:52 +0100	[thread overview]
Message-ID: <87bphrxxjf.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <bug-821-163@https.bugs.busybox.net/> (bugzilla@busybox.net's message of "Mon, 21 Dec 2009 23:13:10 +0000 (UTC)")

>>>>> "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

  parent reply	other threads:[~2009-12-22  7:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bphrxxjf.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox