* [Buildroot] cp -dpR fails on BSD systems -- advice on resolving?
@ 2007-07-07 18:10 Allan Clark
2007-07-07 18:31 ` Heikki Lindholm
0 siblings, 1 reply; 3+ messages in thread
From: Allan Clark @ 2007-07-07 18:10 UTC (permalink / raw)
To: buildroot
Hi everyone;
I ran into a problem when I moved from uclibc-snapshot to
uclibc-0.9.28 or 0.9.29: the "cp" command is a non-Unix option: "cp
-a" or "cp -dpR", or "cp --no-dereference"
I assume it's on Linux, and works, so those of us doing something
funky (like BSD or MacOSX) invite a few problems.
I'm wondering if the fix should be:
1) submit compatible patches to the group, using an older
syntax/options for all hosts, or
2) detect, and download/build/use a replacement (same way I did for
gmake, as was done for sed)
Allan
--
allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] cp -dpR fails on BSD systems -- advice on resolving?
2007-07-07 18:10 [Buildroot] cp -dpR fails on BSD systems -- advice on resolving? Allan Clark
@ 2007-07-07 18:31 ` Heikki Lindholm
2007-07-07 18:42 ` Bernhard Fischer
0 siblings, 1 reply; 3+ messages in thread
From: Heikki Lindholm @ 2007-07-07 18:31 UTC (permalink / raw)
To: buildroot
Allan Clark kirjoitti:
> Hi everyone;
>
> I ran into a problem when I moved from uclibc-snapshot to
> uclibc-0.9.28 or 0.9.29: the "cp" command is a non-Unix option: "cp
> -a" or "cp -dpR", or "cp --no-dereference"
>
> I assume it's on Linux, and works, so those of us doing something
> funky (like BSD or MacOSX) invite a few problems.
>
> I'm wondering if the fix should be:
> 1) submit compatible patches to the group, using an older
> syntax/options for all hosts, or
> 2) detect, and download/build/use a replacement (same way I did for
> gmake, as was done for sed)
OT: Any particular reason you're using a Chinese charset? Anyway, issues
of cp have been discussed before on this list. And there are bug reports
about it in the tracker. I suppose nothing conclusive was ever reached.
In the case of uClibc, one could imagine replacing the cp with the tar
trick that's used in the SVN trunk, but the problem, as you surely know
by now, has much wider manifestation over buildroot, and should be dealt
with some uniform, generally agreed upon, way everywhere.
-- Heikki Lindholm
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] cp -dpR fails on BSD systems -- advice on resolving?
2007-07-07 18:31 ` Heikki Lindholm
@ 2007-07-07 18:42 ` Bernhard Fischer
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Fischer @ 2007-07-07 18:42 UTC (permalink / raw)
To: buildroot
On Sat, Jul 07, 2007 at 09:31:17PM +0300, Heikki Lindholm wrote:
>Allan Clark kirjoitti:
>> Hi everyone;
>>
>> I ran into a problem when I moved from uclibc-snapshot to
>> uclibc-0.9.28 or 0.9.29: the "cp" command is a non-Unix option: "cp
>> -a" or "cp -dpR", or "cp --no-dereference"
>>
>> I assume it's on Linux, and works, so those of us doing something
>> funky (like BSD or MacOSX) invite a few problems.
>>
>> I'm wondering if the fix should be:
>> 1) submit compatible patches to the group, using an older
>> syntax/options for all hosts, or
>> 2) detect, and download/build/use a replacement (same way I did for
>> gmake, as was done for sed)
>
>OT: Any particular reason you're using a Chinese charset? Anyway, issues
>of cp have been discussed before on this list. And there are bug reports
>about it in the tracker. I suppose nothing conclusive was ever reached.
>In the case of uClibc, one could imagine replacing the cp with the tar
>trick that's used in the SVN trunk, but the problem, as you surely know
>by now, has much wider manifestation over buildroot, and should be dealt
>with some uniform, generally agreed upon, way everywhere.
This is http://bugs.uclibc.org/view.php?id=944
Please followup there (would be nice if we could fix this once and for
all).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-07 18:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-07 18:10 [Buildroot] cp -dpR fails on BSD systems -- advice on resolving? Allan Clark
2007-07-07 18:31 ` Heikki Lindholm
2007-07-07 18:42 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox