On Sun, 3 May 2015 19:20:32 -0500 Edgar Pettijohn III <ed...@pettijohn-web.com> wrote:
> I had that issue before and it was because I did as Philip pointed out above. > Below is quote from http://www.openbsd.org/faq/faq5.html > > The source files available for download from the FTP servers are separated > into two files to minimize the download time for those wishing to work with > only one part of the tree. The two files are sys.tar.gz, which contains the > files used to create the kernel, and src.tar.gz which contains all the other > "userland" utilities except the ports tree and the X11 sources. In general, > however, you will usually want both of them installed. Assuming the > downloaded files, src.tar.gz and sys.tar.gz, are in /usr: > # cd /usr/src > # tar xzf ../sys.tar.gz > # tar xzf ../src.tar.gz > # cd /usr > # tar xzf xenocara.tar.gz > # tar xzf ports.tar.gz Right. Each of the tar files unpacks into its own directory except for src.tar.gz, which breaks the pattern. If src.tar.gz unpacked into a directory named src and one makes a mistake, one gets src/src. This is an easy mistake to find and correct. The current way, it is easy to assume a tar file will unpack to its own directory -- the common pattern -- but due to common directory naming patterns, a mistake yields a broken system. BTW, **thank you very much for the info**! I only update once a year or so and did not remember where in the docs to look for the above. Perhaps src.tar.gz should follow the common pattern... $0.02 -KenD