Bug 243153 - "make buildworld" fails with ..netnatm: No such file or directory
Summary: "make buildworld" fails with ..netnatm: No such file or directory
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-07 09:36 UTC by Thomas von Dein
Modified: 2020-01-09 21:15 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas von Dein 2020-01-07 09:36:49 UTC
[..]
mtree -deU   -f /usr/src/include/../etc/mtree/BSD.include.dist  -p /usr/obj/usr/src/tmp/usr/include > /dev/null
Setting up symlinks to kernel source tree...
cd /usr/src/include/../sys/bsm;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/bsm/$h /usr/obj/usr/src/tmp/usr/include/bsm;  done
cd /usr/src/include/../sys/cam;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/cam/$h /usr/obj/usr/src/tmp/usr/include/cam;  done
cd /usr/src/include/../sys/geom;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/geom/$h /usr/obj/usr/src/tmp/usr/include/geom;  done
cd /usr/src/include/../sys/net;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/net/$h /usr/obj/usr/src/tmp/usr/include/net;  done
cd /usr/src/include/../sys/net80211;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/net80211/$h /usr/obj/usr/src/tmp/usr/include/net80211;  done
cd /usr/src/include/../sys/netgraph;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/netgraph/$h /usr/obj/usr/src/tmp/usr/include/netgraph;  done
cd /usr/src/include/../sys/netinet;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/netinet/$h /usr/obj/usr/src/tmp/usr/include/netinet;  done
cd /usr/src/include/../sys/netinet6;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/netinet6/$h /usr/obj/usr/src/tmp/usr/include/netinet6;  done
cd /usr/src/include/../sys/netipsec;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/netipsec/$h /usr/obj/usr/src/tmp/usr/include/netipsec;  done
cd /usr/src/include/../sys/netnatm;  for h in *.h; do  sh /usr/src/tools/install.sh -l s  ../../../sys/netnatm/$h /usr/obj/usr/src/tmp/usr/include/netnatm;  done
cd: /usr/src/include/../sys/netnatm: No such file or directory
*** Error code 2

Stop.
make[3]: stopped in /usr/src/include
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


The directory /usr/src/sys/netnatm/ doesn't exist. I'm at revision 356438 of 12.1 releng. I also checked https://svnweb.freebsd.org/base/releng/12.1/sys/, it's not there as well but referenced in BSD.include.dist.
Comment 1 Ed Maste freebsd_committer 2020-01-07 18:37:01 UTC
netnatm was removed from LDIRS in include/Makefile in r317383, can you check that you don't somehow have a stale copy?
Comment 2 Thomas von Dein 2020-01-09 20:39:11 UTC
You're right. I removed /usr/src/ completely and checked out a fresh copy of the repo. Now the build works as it always did.

Thanks for also helping silly users like mine, wish you (and all @freebsd) a happy and healthy new year!


best regards,
Tom
Comment 3 Ed Maste freebsd_committer 2020-01-09 21:15:16 UTC
Have a great 2020!