Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't create dhcpcd/if_options.d in current.

On Tue, 21 Mar 2017, pimin inwa wrote:

Don't understand where I went wrong.  Can't get past this on Top of
Tree with current.

  rm -fr  usr.bin/ktrace/ktrace  usr.bin/man/man
usr.sbin/mrouted/mrouted  usr.sbin/racoon/racoon

  cvs update -Pd

  ./ -U -u -o -O BUILD_OBJ -T BUILD_TOOL kernel=GEMINI
release |tee /var/build.log

  #    create  dhcpcd/if-options.d
/usr/src/BUILD_TOOL/bin/nbmkdep -f if-     options.d.tmp  --
-std=gnu99   --sysroot=/usr/src/BUILD_OBJ/destdir.i386 -DHAVE_CONFIG_H
-D_FORTIFY_SOURCE=2     /usr/src/external/bsd/dhcpcd/dist/if-options.c
&&  mv if-options.d.tmp if-options.d
  /usr/src/external/bsd/dhcpcd/dist/if-options.c:54:29: fatal error:
dhcpcd-embedded.h: No such file or directory
  compilation terminated.
  nbmkdep: compile failed.
  *** Failed target:  if-options.d
  *** Failed command: CC=/usr/src/BUILD_TOOL/bin/i486--netbsdelf-gcc
  /usr/src/BUILD_TOOL/bin/nbmkdep -f if-options.d.tmp -- -std=gnu99
--sysroot=/usr/src/BUILD_OBJ/destdir.i386 -DHAVE_CONFIG_H
-D_FORTIFY_SOURCE=2 /usr/src/external/bsd/dhcpcd/dist/if-options.c &&
mv if-options.d.tmp if-options.d
  *** Error code 1

I think the file is around, perhaps not in the right place?

 # find / -name dhcpcd-embedded.h -print


Perhaps there is a stale if-options.d file with old contents, which can cause this sort of problem. You can try to remove the .d file.

Given all the troubles you've had recently, you might want to do a full build, rather than an update build (remove the -u from command line).

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at |

Home | Main Index | Thread Index | Old Index