Re: Lsof port can't build (again)
___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On Fri, Jun 19, 2020 at 12:18 AM @lbutlr wrote: > On 16 Jun 2020, at 14:55, Larry Rosenman wrote: > > sysutils/lsof ABSOLUTELY REQUIRES /usr/src to be able to build. > > Is there a list of the files in src that it requires? > > Can I delete the rest? > > (Tranferring 1.5GB is far less of an issue than keeping 1.5GB around). > Unless something has changed fairly recently, /usr/src/sys should be all you need. N.B. I have not looked at this recently, so something may have changed, but you can give it a try and find out for sure. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On 16 Jun 2020, at 14:55, Larry Rosenman wrote: > sysutils/lsof ABSOLUTELY REQUIRES /usr/src to be able to build. Is there a list of the files in src that it requires? Can I delete the rest? (Tranferring 1.5GB is far less of an issue than keeping 1.5GB around). -- Get in there you big furry oaf! I don't care what you smell! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
> On 17 Jun 2020, at 07:35, Matthew Seaman wrote: > > On 17/06/2020 04:23, @lbutlr wrote: >> Thank you, cleared /usr/src and running the svn checkout with that >> URL now. It's still well over a gig so it will be a few minutes >> before trying to build lsof again. > Alas, it is a bit late now, but next time you need to switch branches > like this, use `svn switch ^/releng/12.1` which will save you many > gigabytes of unnecessary network traffic. Well, it was about 1.5GB, and on a gigabit connection it only took time because it downloaded each file instead of a package/archive. But I am unlikely to switch branches (and confused as to why the non-RELEASE 13.0 was the default) without updating the entire OS. -- Think of how stupid the average person is, and realize half of them are stupider than that. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On 17/06/2020 04:23, @lbutlr wrote: > Thank you, cleared /usr/src and running the svn checkout with that > URL now. It's still well over a gig so it will be a few minutes > before trying to build lsof again. Alas, it is a bit late now, but next time you need to switch branches like this, use `svn switch ^/releng/12.1` which will save you many gigabytes of unnecessary network traffic. Cheers, Matthew signature.asc Description: OpenPGP digital signature
Re: Lsof port can't build (again)
On 16 Jun 2020, at 21:14, George Mitchell wrote: > On 2020-06-16 23:12, George Mitchell wrote: >> On 2020-06-16 23:10, @lbutlr wrote: >>> [...] >>> Needless to say, I was expecting that checkout would give me 12.1, but I >>> don't see how to get that. > Pardon the typo: > > https://svn.freebsd.org/base/releng/12.1/ Thank you, cleared /usr/src and running the svn checkout with that URL now. It's still well over a gig so it will be a few minutes before trying to build lsof again. Yep. That solved the problem, and lsof built. Thanks again! -- Beware of the Leopard! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On Wed, 17 Jun 2020 at 15:11, @lbutlr wrote: > > On 16 Jun 2020, at 06:40, Mike Bristow wrote: > > What is the output of "egrep '^(TYPE|REVISION|BRANCH)' > > /usr/src/sys/conf/newvers.sh" ? > > Well, this seems like it might be bad: > > # egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh > TYPE="FreeBSD" > REVISION="13.0" > BRANCH=${BRANCH_OVERRIDE:-CURRENT} > > > How do you maintain the src tree on your machine? > > svn checkout https://svn.FreeBSD.org/base/head /usr/src > > And > > cd /usr/src > make update SVN_UPDATE=yes > > Needless to say, I was expecting that checkout would give me 12.1, but I > don't see how to get that. It's in the handbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html So for 12-stable, you should be using: svn checkout https://svn.freebsd.org/base/stable/12 /usr/src -- Jonathan Chen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On 16 Jun 2020, at 06:40, Mike Bristow wrote: > What is the output of "egrep '^(TYPE|REVISION|BRANCH)' > /usr/src/sys/conf/newvers.sh" ? Well, this seems like it might be bad: # egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh TYPE="FreeBSD" REVISION="13.0" BRANCH=${BRANCH_OVERRIDE:-CURRENT} > How do you maintain the src tree on your machine? svn checkout https://svn.FreeBSD.org/base/head /usr/src And cd /usr/src make update SVN_UPDATE=yes Needless to say, I was expecting that checkout would give me 12.1, but I don't see how to get that. -- 'You make us want what we can't have and what you give us is worth nothing and what you take is everything and all there is left for us is the cold hillside, and emptiness, and the laughter of the elves.' ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
On Jun 16, 2020, at 06:41, Mike Bristow wrote: > > That is not present in the file on relent/12.1, which is probably the same as > yours. I suspect that you have an out-of-date /usr/src. I just installed the source, and ran the svn update just in case. > (This does beg the question of why your attempt to build lsof is looking > under /usr/src, but I'm not going there). Yeah, we covered this recently. The option appears to be either pkg install, or building requires src. I’ll check the output of your command when I get back to a terminal. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Lsof port can't build (again)
Hi, On 15/06/2020 02:52, @lbutlr wrote: When trying to update lsof on FreeBSD 12.1-RELEASE-p5 GENERIC i386 I get the following fatal error: /usr/src/sys/sys/pcpu.h:224:10: fatal error: 'machine/pcpu_aux.h' file not found #include ^~~~ That is not present in the file on relent/12.1, which is probably the same as yours. I suspect that you have an out-of-date /usr/src. (This does beg the question of why your attempt to build lsof is looking under /usr/src, but I'm not going there). What is the output of "egrep '^(TYPE|REVISION|BRANCH)' /usr/src/sys/conf/newvers.sh" ? How do you maintain the src tree on your machine? Cheers, Mike ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Lsof port can't build (again)
When trying to update lsof on FreeBSD 12.1-RELEASE-p5 GENERIC i386 I get the following fatal error: /usr/src/sys/sys/pcpu.h:224:10: fatal error: 'machine/pcpu_aux.h' file not found #include ^~~~ After doing some searching $(find / -type d -name machine), I found a similarly named file: # ll /usr/include/machine/pcpu.h 16 -r--r--r-- 1 root wheel 8.0K Oct 31 2019 /usr/include/machine/pcpu.h -- Let him who desires peace, prepare for war. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"