Message: previous - next
Month: January 2012

/bin/sh: line 0: cd: /opt/trinity/bin: No such file or directory

From: Darrell Anderson <humanreadable@...>
Date: Thu, 19 Jan 2012 17:57:56 -0800 (PST)
I don't know when those errors started to appear, but I think they started after I updated GIT today.

The errors are in my build log and look like this:

cd /opt/trinity/bin && ./tdelfeditor -m /dev/shm/ "artswrapper" "" "" "" "" "Trinity Desktop Environment" "" "" "01/19/2012 19:33:11" "artswrapper" "" || true
/bin/sh: line 0: cd: /opt/trinity/bin: No such file or directory

The problem is /opt/trinity/bin does not yet exist. Hence the errors.

I built qt3 and tqtinterface to build to /usr. Everything else I am building to install to /opt/trinity.

The errors occurred while building arts, the third package in the core series of packages.

I can eliminate the messages with mkdir -p /opt/trinity/bin, but I think there should be a test that /opt/trinity/bin exists. Of course, /opt/trinity/bin gets created after I install the arts package. Thereafter the errors will not occur.

I suspect the errors are harmless, but I always search my build logs for "No such file or directory" errors. That is one way I catch problems. Not having those errors in the build logs helps reduce clutter. :)