Bug 204640 - make installworld fails installing libc_p.a to /usr/lib
Summary: make installworld fails installing libc_p.a to /usr/lib
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 20:33 UTC by Thomas Schweikle
Modified: 2015-11-18 11:35 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 Schweikle 2015-11-17 20:33:07 UTC
--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
===> lib (install)
===> lib/csu (install)
===> lib/csu/amd64 (install)
install -o root -g wheel  -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /usr/lib/
===> lib/libc (install)
install -C -o root -g wheel -m 444   libc.a /usr/lib/
install -C -o root -g wheel -m 444   libc_p.a /usr/lib/
install: libc_p.a: No such file or directory
*** Error code 71

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

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

Stop.
make[3]: stopped in /usr/src
*** 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 file isn't there and seems to never have been compiled ...!
At least I could not find anything referencing to libc_p.a within the logs.
Comment 1 Thomas Schweikle 2015-11-17 20:34:54 UTC
I've checked out the complete tree new to make sure nothing old and deprecated left over from previous compiles interrupting or clashing the build process.
Comment 2 Thomas Schweikle 2015-11-17 20:38:26 UTC
FreeBSD fbsd12-64.bfs.de 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r290979: Tue Nov 17 20:08:13 CET 2015     root@fbsd12-64.bfs.de:/usr/obj/usr/src/sys/FBSD11  amd64
Comment 3 Ngie Cooper freebsd_committer 2015-11-17 22:50:34 UTC
Thomas:

- What command did you use when you ran `make installworld`? `sudo make installworld`?
- Did you set environment variables that affect SRCCONF or __MAKE_CONF?
- Did you change WITHOUT_PROFILE to WITH_PROFILE after running `make buildworld`?
- Did `make buildworld` succeed last time you ran it?
Comment 4 Thomas Schweikle 2015-11-18 11:35:11 UTC
- What command did you use when you ran `make installworld`?
  `sudo make installworld`?

  su -
  cd /usr/src
  svn revert --depth infinity .
  svn update --accept theirs-full
  make buildworld
  make buildkernel KERNCONF=FBSD12
  make installkernel KERNCONF=FBSD12
  reboot
  mergemaster -ipF
  make installworld
  mergemaster -a
  reboot

  cd /usr/ports
  svn revert --depth infinity .
  svn update --accept theirs-full
  make index
  portversion -c > ${TMP}/_pu.sh
  /bin/sh ${TMP}/_pu.sh -cefRr
  reboot

  cd /usr/src
  make BATCH_DELETE_OLD_FILES=YES delete-old
  make -DWITH_ATF delete-old-libs
  reboot

- Did you set environment variables that affect SRCCONF or __MAKE_CONF?
  Only KERNCONF=FBSD12
  With /usr/src/sys/amd64/conf/FBSD12 holding:
  ----
  include         GENERIC
  ident           FBSD12
  options         SCSI_DELAY=3000

  # To statically compile in device wiring instead of /boot/device.hints
  #hints          "GENERIC.hints"         # Default places to look for devices.

  makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols

  # Enable this for the pcvt (VT220 compatible) console driver
  #device         vt
  #options        XSERVER         # support for X server on a vt console
  #options        FAT_CURSOR      # start with block cursor

  # VESA video modes
  options         VESA
  options         VGA_WIDTH90
  options         SC_PIXEL_MODE
  ----

- Did you change WITHOUT_PROFILE to WITH_PROFILE after running
  `make buildworld`?
  No. Shall I?

- Did `make buildworld` succeed last time you ran it?
  It succeeded last time Mai, 28th 2015.