Ticket #1156 (closed bug: fixed)

Opened 21 months ago

Last modified 21 months ago

/bin/updatedb broken

Reported by: elmo Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1 development
Cc: Blocked By:
Platform: All Blocking:

Description

First of all, it didn't have executable bit set, so I had to run it manually with "sh /bin/updatedb". Then, it's apparently missing some component.

updatedb: line 105: frcode: command not found updatedb: new database would be empty

And the relevant line of updatedb is } | sort -f | $frcode > $LOCATE_DB.n

The definition of $frcode is on line 83: : ${frcode=frcode}

find / -name frcode doesn't give any results.

About Haiku says that the revision number is 20683.

Change History

follow-up: ↓ 4   Changed 21 months ago by axeld

The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).

  Changed 21 months ago by korli

  • status changed from new to closed
  • resolution set to fixed

fixed in r20699 a clean build could be needed

  Changed 21 months ago by diver

Strange, but i get null sized updatedb file now, using image form haikuhost.com. Also StyledEdit can't open this file (Bad argument type passed to function)

in reply to: ↑ 1   Changed 21 months ago by wkornewald

Replying to axeld:

The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).

I'm all for removing unnecessary legacy stuff. Especially, if it's the easiest way to fix a bug. :)

Note: See TracTickets for help on using tickets.