Bug 45120 - sam editor port broken out of box
Summary: sam editor port broken out of box
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-07 20:30 UTC by Matthias Buelow
Modified: 2003-01-05 13:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Buelow 2002-11-07 20:30:02 UTC
Sam is the default Plan9 editor.  It is provided on FreeBSD through
the ports mechanism.  <ports>/editors/sam installs a program that
wants to create temp files in /usr/tmp, a directory that does not
exist per default on FreeBSD.  Sam replies to the insult of having
its wish denied by raising IOT/ABRT and dump core.

Fix: 

The easy workaround is providing a pkg-message which instructs
the user to create /usr/tmp, or a symlink to from, say, /var/tmp
to /usr/tmp.

Otherwise, a patch should be provided which changes /usr/tmp to
/var/tmp in the sam source.
How-To-Repeat: 
Install sam via ports.
Then just invoke it:

$ sam
sam: panic: can't create buffer file
sam: panic: can't create buffer file
Abort (core dumped)
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2002-11-07 20:33:24 UTC
State Changed
From-To: open->closed

Not a PR.
Comment 2 Trevor Johnson freebsd_committer freebsd_triage 2002-11-07 20:52:27 UTC
State Changed
From-To: closed->open

closed erroneously
Comment 3 Anders Nordby freebsd_committer freebsd_triage 2003-01-05 13:28:08 UTC
State Changed
From-To: open->closed

Fixed, thanks!