Hi Martin and Tim, I recently wiped off my Lenovo again to get a fresh install of FreeBSD on it, and started out at 8.0-RELEASE (it's the media that I had on hand at the time). Upgrading to 8-STABLE appears to be problematic though. On a few different occasions I ran into issues doing the following: make -C /usr/src/usr.bin/lzmainfo depend - fails to find the appropriate headers make -C /usr/src/lib/liblzma install - fails to install the headers into /usr/include/lzma Etc. I didn't see these issues before lzma was imported into the tree, which makes me wonder whether or not there are some missing build or install dependencies somewhere. Thanks, -Garrett
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/05/23 23:58, Garrett Cooper wrote:> Hi Martin and Tim, > I recently wiped off my Lenovo again to get a fresh install of FreeBSD on it, and started out at 8.0-RELEASE (it's the media that I had on hand at the time). Upgrading to 8-STABLE appears to be problematic though. > On a few different occasions I ran into issues doing the following:Are you using make buildworld? Presumbly they should have been created by mtree and I've verified that the corresponding change was merged properly. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBCAAGBQJL+iyzAAoJEATO+BI/yjfBlkEIAMeI3h5eHmkm8IUda3IgDHQH w5nYRjO6Z/N+U2wjrjU6z2S2sS1bkHNAX+Ju4ERWRUHQg9K6OB9qJ6HEwVgAyYen NMl1HK/vrUpl5PZrbAOchoTjzCVGl+dSoVsQ0TGWpzCKNfPVwFtwLewkPIrDQlNT IpQHxNxaQhJKePQFwPuQlOEGNclxyeJSnB/hGO8//sKDHZBuVtVVIzD96JUabTUs HGu1cXmseqSJgppweoo89ZLVCJ7y3Kmdqv716URLHiA7bC4cQcOb6630x1JlyOW8 9/fFLsE/GnnfsyIaJJBbVt3rA0VRj5rpxmivgke91zUBlXFhCidAUlQyxzxpkPk=U4N9 -----END PGP SIGNATURE-----
On Sun, May 23, 2010 at 11:58:56PM -0700, Garrett Cooper wrote:> I recently wiped off my Lenovo again to get a fresh install of > FreeBSD on it, and started out at 8.0-RELEASE (it's the media > that I had on hand at the time). Upgrading to 8-STABLE appears > to be problematic though. On a few different occasions I ran > into issues doing the following: > > make -C /usr/src/usr.bin/lzmainfo depend - fails to find the > appropriate headers > > make -C /usr/src/lib/liblzma install - fails to install the > headers into /usr/include/lzma > > Etc. I didn't see these issues before lzma was imported into the > tree, which makes me wonder whether or not there are some > missing build or install dependencies somewhere.buildworld/installworld does the Right Thing(tm), while the above "one-off" makes do not. I don't think there's any guarantee "make depend" and "make install" in the individual /usr/src/{whatever} directories will do what you want it to. It seems to be a per-piece thing; there's no "universal standard" (aside from buildworld/installworld) is what I'm getting at. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
It would be nice if "cd /usr/src/lib/liblzma && make && make install" just worked on an existing system that didn't already have /usr/include/lzma, but I can't find anything in the standard BSD makefiles to support this. I think you can use: make hierarchy to ensure that all the directories are present before trying to build anything else. (This is one of the first steps in the "installworld" target.) As for lzmainfo, I think the attached patch fixes it so that it pulls the lzma headers from the source tree and not the installed system. A similar change is probably appropriate for the other lzma and xz tools. Tim Garrett Cooper wrote:> Hi Martin and Tim, > I recently wiped off my Lenovo again to get a fresh install of FreeBSD on it, and started out at 8.0-RELEASE (it's the media that I had on hand at the time). Upgrading to 8-STABLE appears to be problematic though. > On a few different occasions I ran into issues doing the following: > > make -C /usr/src/usr.bin/lzmainfo depend - fails to find the appropriate headers > > make -C /usr/src/lib/liblzma install - fails to install the headers into /usr/include/lzma > > Etc. I didn't see these issues before lzma was imported into the tree, which makes me wonder whether or not there are some missing build or install dependencies somewhere. > Thanks, > -Garrett >-------------- next part -------------- A non-text attachment was scrubbed... Name: lzmainfo.Makefile.patch Type: text/x-patch Size: 597 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100526/73cfc667/lzmainfo.Makefile.bin