More on Failure to reinstall Gnome2

Scott Ballantyne sdb at ssr.com
Thu Sep 15 15:50:42 UTC 2011


> Date: 15 Sep 2011 14:55:47 -0000
> From: Scott Ballantyne <sdb at ssr.com>
> Cc: freebsd-gnome at freebsd.org
> 
> > On Wed, 2011-09-14 at 22:14 +0000, Scott Ballantyne wrote:
> > > > Could you post full build logs from gs8 and gs9 someplace (pastebin.com,
> > > > dpaste.com, etc), along with contents of your /etc/make.conf, uname -a?
> > > > 
> > > Hi Michal,
> > > 
> > > They are at
> > > 
> > > http://www.ssr.com/sdb/GHOSTSCRIPT
> > > 
> > > Thanks again so much for your assistance.
> > > 
> > > Scott
> > 
> > 
> > So, as far as I can tell, all looks ok, up until the (first and only) -
> > 
> > ./obj/../soobj/genconf ./obj/../soobj/devs.tr -h /dev/stdout -p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&" -ol ./obj/../soobj/ld.tr | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // {if(p==1) { print; } else { p=1 } }' > ./obj/../soobj/gconfxx.h
> > Can't open /dev/stdout for output.
> > 
> > 
> > What does `ls -l /dev/stdout` say about it?
> > 
> > Also, Is there anything more exotic on your build environment that might
> > be of some interest (e.g. running in jail, etc.)?
> > 
> 
> Nothing particularly unusual, I'm not running in a jail and I haven't
> done anything 'custom' to the kernel.
> 
> Yes, I noticed that. /dev/stdout doesn't work here, and the entries
> are peculiar. 
> 
> --------
> $ ls -l /dev/stdout
> lrwxr-xr-x  1 root  wheel  4 Aug 29 23:50 /dev/stdout -> fd/1
> $ ls -l /dev/fd
> dr-xr-xr-x  1 root  wheel  0 Sep 15 10:50 /dev/fd
> $ ls -l /dev/fd/1
> total 0
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 cmdline
> --w-------  1 root  wheel  0 Sep 15 10:50 ctl
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 etype
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 rlimit
> -r--r--r--  1 root  wheel  0 Sep 15 10:50 status
> --------
> 
> All the directories under FD are of this format, however, so I assumed
> it was a change to the OS that I simply don't understand.
> 
> It's also interesting to cd soobj and run genconf:
> 
> # ./genconf devs.tr -h FOO -p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&" -ol ld.tr
> Can't read ./obj/../soobj/unix_.dev.
> 
> FOO isn't created
> 
> Thanks again, Michal
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 

Following up on this lead a bit further, I noticed that /etc/fstab had
this line

fdesc	/dev/fd			      fdesc	rw	0	0

So I removed it and to be on the safe side, rebooted. ghostscript9
(and presumably ghostscript8) now rebuilds. I no longer remember which
port told me to install that line in fstab, but I'm happier now that
it is gone.

Thanks a lot Michal - you are so kind to have helped me.

Best,
Scott



More information about the freebsd-gnome mailing list