Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
81 user(s) are online (68 user(s) are browsing Forums)

Members: 1
Guests: 80

xenic, more...
Support us!
Recent OS4 Files
OS4Depot.net





CodeBench make clean
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 114
With my project Workbench Explorer, I have reached the maximum files (probably total text length) rm can handle deleting. It crashes.

See screen grab here:

http://www.mritter0.com/beta/rm.png


Just do: rm -v #?.o


Edited by mritter0 on 2017/8/13 16:08:39
   Report Go to top

Re: CodeBench make clean
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1307
@mritter0

And what about using the Delete command from the OS instead?

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: CodeBench make clean
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 114
The way CodeBench creates the makefile needs to be updated for large projects. I was just letting him know.


Delete, never heard of it.

_________________
Workbench Explorer - A better way to browse drawers
   Report Go to top

Re: CodeBench make clean
Quite a regular
Joined:
2006/12/2 0:35
From Sydney
Posts: 649
Surely "rm" can delete files of any length? I don't believe that it has a limit, that is absurd. There must be some other cause for the crash.


_________________
cheers
tony
   Report Go to top

Re: CodeBench make clean
Just can't stay away
Joined:
2008/1/6 17:56
From Pennsylvania, USA
Posts: 1216
@tonyw
If you check out the image at the link in his original post you'll see that the files are all being deleted on a single command line. Presumably, the line is longer than AmigaDOS, the console or rm can handle.

_________________
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

   Report Go to top

Re: CodeBench make clean
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2867
@mritter0

Are you probably using the lately updated coreutils?

What version of "rm" is that?

From the stacktrace it seems this is one of those crashes i've also witnessed with other updated coreutils [cut, cat and cp] (namely versions 54.3 and 54.4).

That error() crash i get here aswell, Henning is investigating.
He doesn't get a crashlog, instead AmigaForever is crashing for him.

You need to switch back to the old coreutils for now until this is resolved.

I guess that, given the frequency of this crash and amount of tools affected, this is a general problem of all tools.

And it's easy to check aswell.

Just give rm a nonexistent file in a shell, i.e. "rm thescaryclown" and it will crash with error()

So, i guess one of those files in that makefile list od yours rm is ought to delete is simply not there.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: CodeBench make clean
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2867
@mritter0

Should be fixed with latest version on the depot

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
   Report Go to top

Re: CodeBench make clean
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 114
I was using 54.2, now using 54.5, problem fixed. Thanks!

_________________
Workbench Explorer - A better way to browse drawers
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project