Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2019 20:49:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242217] 'make buildworld' type upgrading to 12.1-RELEASE impossible
Message-ID:  <bug-242217-227-zFBhV1Exoa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242217-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242217-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242217

Krzysztof <ports@bsdserwis.com> changed:

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

--- Comment #4 from Krzysztof <ports@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 becaus=
e 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 =3D (mh->flags & SMH_LONGLBA) !=3D 0;
                           ~~  ^
/usr/src/sbin/camcontrol/modeedit.c:667:26: error: use of undeclared identi=
fier
'SMH_LONGLBA'
                longlba =3D (mh->flags & SMH_LONGLBA) !=3D 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 invocat=
ion)
*** [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 invocat=
ion)
*** [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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242217-227-zFBhV1Exoa>