[Bug 242217] 'make buildworld' type upgrading to 12.1-RELEASE impossible

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 13 20:49:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242217

Krzysztof <ports at bsdserwis.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ports at bsdserwis.com

--- Comment #4 from Krzysztof <ports at bsdserwis.com> ---
Hi,

Ithink I can attach to this bug. I've similiar problem with upgrading from
12.0-STABLE to 12.1-STABLE.

So Step by step. I;ve made svn update in /usr/src:
% svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 355646
Node Kind: directory
Schedule: normal
Last Changed Author: mav
Last Changed Rev: 355636
Last Changed Date: 2019-12-12 01:29:48 +0100 (Thu, 12 Dec 2019)

After that I've started make -j8 buildworld. So fisrt brake happened because of
unknown CONSTANTS in some header files. I had to copy these files from
/usr/src/sys/ to /usr/include:
/usr/include/sys/ata.h
/usr/include/sys/unistd.h
/usr/include/sys/sysctl.h

(and the error was:
--- all_subdir_sbin ---
/usr/src/sbin/camcontrol/modeedit.c:667:18: error: no member named 'flags' in
'struct scsi_mode_header_10'
                longlba = (mh->flags & SMH_LONGLBA) != 0;
                           ~~  ^
/usr/src/sbin/camcontrol/modeedit.c:667:26: error: use of undeclared identifier
'SMH_LONGLBA'
                longlba = (mh->flags & SMH_LONGLBA) != 0;
                                       ^
)

After copying some headers next "stopper" occured in cddl/usr.sbin/zpool:
ld: error: undefined symbol: zpool_sync_one
>>> referenced by zpool_main.c:2691 (/usr/src/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c:2691)
>>>               zpool_main.o:(zpool_do_sync)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [zpool.full] Error code 1

but:
cd /usr/src/cddl/ && make
finished without errors.

OK, to I've continued buildworld. After some time I've got a problem with
mount_nfs.c:
--- all_subdir_sbin ---
ld: error: undefined symbol: auth_destroy
>>> referenced by mount_nfs.c:834 (/usr/src/sbin/mount_nfs/mount_nfs.c:834)
>>>               mount_nfs.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [mount_nfs.full] Error code 1

And this error stops build process totally/ I'm not able to go on.

Yes, I've got my own src.conf, KERNCONF, but I'm using these configurations for
long time (upgrading servers from 9, via 10, 11 and to 12.0). And I did not
have any problems with compiling and installing my own binaries.

So I'm sure that 12.1-STABLE changed something, but I'm not able to findout
what it is. I've checked man pages (like src.conf, build) and officiall
handbook: I'm not able to find out what I'm doing wrong.

So I hope you can guide me to right direction.

Logfiles from building processes are quit big, so I can share them with my
ownCloud if they are needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list