From nobody Sat Nov 30 04:18:26 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y0cHM14Ynz5f132 for ; Sat, 30 Nov 2024 04:18:39 +0000 (UTC) (envelope-from freebsd@shaneware.biz) Received: from mail-smtp1.dca2.superb.net (mail-smtp1.dca2.superb.net [66.148.95.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y0cHL0WGHz4djQ for ; Sat, 30 Nov 2024 04:18:38 +0000 (UTC) (envelope-from freebsd@shaneware.biz) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=superb.net header.s=mailrelay header.b=bxzgTWPR; spf=softfail (mx1.freebsd.org: 66.148.95.11 is neither permitted nor denied by domain of freebsd@shaneware.biz) smtp.mailfrom=freebsd@shaneware.biz; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=shaneware.biz (policy=quarantine) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=superb.net; s=mailrelay; h=Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=f72r7y9ZZSc+t1gcebrZsel/UO3iQlsaciH0Zv1SDC4=; b=bxzgTWPRxoc28Lbh4oODfKSZxq 2jP9MIx8ZtdjwWfesa+Jwu5XbnHR19TlAj7BV6aBXoZ+uos+wkGmorYPWer3DDEctMXlbj3Z2qRmA h8cNAR8KYPuK2GvEvOeb6QOHCUBzX7HPn1bEE0gQYVVW2uWtIaoewS/8psRKit1eT7hrU1AVRa4Yb oM1RZczyLUJjTVns+SmbMFS0a1TKCgsEoobFc+RkrVk79wiGzOqK0UDpub9SVmO7jwbjEePzgompU ugPq1DqNXOuj+nj3UE/gICzXyjg8ZlO8+eejTo8EGBxRNOjqrfsR2AmmdaWjUtVNBNeO/hxvNEBv6 kSfI4lxA==; Received: from ppp230-11.static.internode.on.net ([203.122.230.11] helo=[192.168.9.155]) by mail-smtp1.dca2.superb.net with esmtpsa (TLS1.3:TLS_AES_128_GCM_SHA256:128) (envelope-from ) id 1tHEwA-0000000BmCE-2GQ7 for freebsd-stable@FreeBSD.org; Fri, 29 Nov 2024 23:18:31 -0500 Message-ID: Date: Sat, 30 Nov 2024 14:48:26 +1030 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-AU To: FreeBSD stable From: Shane Ambler Subject: Build error in stable/14 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Score: -1.0 X-Spamd-Result: default: False [-1.79 / 15.00]; DMARC_POLICY_QUARANTINE(1.50)[shaneware.biz : No valid SPF, DKIM not aligned (relaxed),quarantine]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[superb.net:s=mailrelay]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:14361, ipnet:66.148.95.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[superb.net:dkim]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[superb.net:+] X-Rspamd-Queue-Id: 4Y0cHL0WGHz4djQ X-Spamd-Bar: - Hi, I found an issue building stable/14, my current host is running stable/13. It compiles for a poudriere jail but fails building on host. In sys/consio.h line 366 we have #define SW_B40x25 _IO('S', M_B40x25) I find M_B40x25 defined in sys/fbio.h Adding #include to sys/consio.h fixes the build for me. I added this include for stable/13 as well, guess I skipped reporting it back then. #ifndef _KERNEL #include #include #endif Relevant buildlog - --- ioctl.o --- /usr/local/bin/ccache cc -target x86_64-unknown-freebsd14.2 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-omit-frame-pointer -fno-co mmon -march=sandybridge -I/usr/obj/usr/src/amd64.amd64/lib/libsysdecode -I/usr/src/sys -I/usr/src/libexec/rtld-elf -DPF -g -gz=zlib -MD -MF.depend.ioctl.o -MTioctl.o -std=gnu99 -Wno-form at-zero-length -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual - Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wt hread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c ioctl.c -o ioctl.o --- ioctl.o --- ioctl.c:400:18: error: use of undeclared identifier 'video_adapter_info_t' 400 | else if (val == CONS_ADPINFO) | ^ /usr/src/sys/./sys/consio.h:270:38: note: expanded from macro 'CONS_ADPINFO' 270 | #define CONS_ADPINFO _IOWR('c', 101, video_adapter_info_t) | ^ ioctl.c:414:18: error: use of undeclared identifier 'video_info_t' 414 | else if (val == CONS_FINDMODE) | ^ /usr/src/sys/./sys/consio.h:276:39: note: expanded from macro 'CONS_FINDMODE' 276 | #define CONS_FINDMODE _IOWR('c', 103, video_info_t) | ^ ioctl.c:434:18: error: use of undeclared identifier 'video_info_t' 434 | else if (val == CONS_MODEINFO) | ^ /usr/src/sys/./sys/consio.h:273:39: note: expanded from macro 'CONS_MODEINFO' 273 | #define CONS_MODEINFO _IOWR('c', 102, video_info_t) | ^ ioctl.c:1470:18: error: use of undeclared identifier 'M_B40x25' 1470 | else if (val == SW_B40x25) | ^ /usr/src/sys/./sys/consio.h:365:29: note: expanded from macro 'SW_B40x25' 365 | #define SW_B40x25 _IO('S', M_B40x25) | ^ ... and more my src.conf has WITH_CCACHE_BUILD=yes WITHOUT_REPRODUCIBLE_BUILD=yes WITHOUT_LIB32=yes WITH_CLANG_EXTRAS=yes WITHOUT_LLVM_TARGET_ALL=yes WITH_BSD_GREP=yes WITH_SORT_THREADS=yes WITH_CTF=yes WITH_TESTS=yes WITH_DTRACE_TESTS=yes WITH_GOOGLETEST=yes WITHOUT_GCC=yes make.conf CPUTYPE?=sandybridge # Don't die on warnings MK_WERROR=no WERROR= # for DTrace support STRIP= CFLAGS+= -fno-omit-frame-pointer WITH_CTF=1 KERNCONF=GENERIC DEBUG -- FreeBSD - the place to B...Software Developing Shane Ambler