From nobody Sun Jun 29 17:25:21 2025 X-Original-To: current@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 4bVblm4KNZz60T6l for ; Sun, 29 Jun 2025 17:25:24 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bVblm17jCz43sp; Sun, 29 Jun 2025 17:25:24 +0000 (UTC) (envelope-from ianfreislich@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-70a57a8ffc3so38861387b3.0; Sun, 29 Jun 2025 10:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751217922; x=1751822722; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2HuZOQIy1eDwTJ96G/GfwLvAocQfCEgUUrfc7gTgs2U=; b=Zl6EcPclegs+g6OML1X2IazaHTXdiIpKlsvY1LwhwXqgl5/BNzow+/zZchW3KOcuQy ecB2aFBLcetWhXsDeZqZF/5ltzyQYN9CDosfnoW1TrU02g/KBNazx4pfW4nv+Vo9Msan XSawQPgRlwQLTIODfiK7n0asRVG9ba8LklqdtGsFH9HWceaMx4yFp3/buBPAH9+JcWt3 Y94HvG3M7TtjxGUhPYrz4/Cy1gDFWoBCLxft5Irarcysw7+mqYbZuFlwG1bfGaIITY1C I9+FB/+NN141+p9vTJKErEqO/hYYvSsl2+HDp9dJsTStNzNWpnkw9JKdctDm8Y77mD5P 4hFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751217922; x=1751822722; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2HuZOQIy1eDwTJ96G/GfwLvAocQfCEgUUrfc7gTgs2U=; b=eRxCcqOWyVcHUf/dyKVOcvulYr07MdG9y6F+RA/IAJtODYB2sXEbcThTqQpz3enljQ 71OcQVlNGG1lxGvYrWi7Dmly+GRV/OHaIq7veI4f5qIWrjcSfG35vePCP3RLsOjS0HS7 zPfYvIUHVbj8JGcUOlzei8LqLAytCQIJZPf+islGK4n/50wOkGkNxsc2C9pJNqzXs/sa v0gRLzN9ts10NHY82pKNwBQyHMdksy6i7Ywrf8y+gv/2eso1JYMESqfOyLdGEaoVf1NM hiW/ZLp8scAGehz0ae71T11q+ljv6fFFOY+2o7O37ggmWQxPP+WOw963bXdfvh5JvE6p BzKw== X-Gm-Message-State: AOJu0Yzprl7b3RqQZAD/YBix5766z/voqO5eJekbyougukiX95YIH4+d q6j9gBa37CFbOhoLECWeHYuZYgXFzdhmGCE+E5cEpGBAc1TnfSaQhzND2KErvw== X-Gm-Gg: ASbGncvgehGHrR00d6hHndQBP9Fy/2jd2PnGVuGxiaAd/d2IvVG2vRkodY/9735+wHq qLZlSwFkP2lhE08u9dL7Ge7Bxsik8bqE6sAJP2Yd0H2aOO+m85101wStmqGpXWkg3VTUgRp3ULV gd7jYj/xI678dRnFcOqaFdA6UHzGfXV40k5mF5Z1j+Ayufs8P25ZMsGgKcI4jkZC79u4apPErMt 385cUKUQt4bHlt34m/G4Y0hzZFLw/R/fTWkpMXFqeAkvPN37IeK4pJsxUWH7IB9W7Thz2pNKqSk DIIMKRS+BEzeQOgv9wpclqL+x+Y5oudjliSD16o0vLc4iMHtJ2iEVtPNL4VsaC/2Egs0h6c+xkG 3SsKbvJP0nAHrqwcKi51RJ4tVekTqTugr2YOWyNxB X-Google-Smtp-Source: AGHT+IG1YNBDhPDFwVEDy2oDOLZ7PtkK7PaZkZA4WSP42ndUVUQ60nRaX94mY5p7epleoDapmSjcmg== X-Received: by 2002:a05:690c:6109:b0:711:9770:161f with SMTP id 00721157ae682-7151715b6f0mr158208727b3.2.1751217921911; Sun, 29 Jun 2025 10:25:21 -0700 (PDT) Received: from ?IPV6:2600:1700:18f0:6812:129a:8666:ef01:3293? ([2600:1700:18f0:6812:129a:8666:ef01:3293]) by smtp.gmail.com with ESMTPSA id 00721157ae682-71515cb4d7bsm12209357b3.101.2025.06.29.10.25.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Jun 2025 10:25:21 -0700 (PDT) Message-ID: <0a182e6d-7675-45ab-a64f-f33657a686dd@gmail.com> Date: Sun, 29 Jun 2025 13:25:21 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Thunderbird Daily Subject: Re: buildkernel failure [kern/kern_descrip.c] To: Mark Johnston Cc: FreeBSD Current References: Content-Language: en-US From: Ian FREISLICH In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4bVblm17jCz43sp X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On 2025-06-29 13:13, Mark Johnston wrote: > On Sun, Jun 29, 2025 at 11:49:55AM -0400, Ian FREISLICH wrote: >> Hi >> >> I've tried with fresh source and /usr/obj cleared. >> >> /usr/src/sys/kern/kern_descrip.c:2967:53: error: too many arguments to >> function call, expected 4, have 5 >> 2967 | error = fget_unlocked(td, fd, needrightsp, flagsp, fpp); >> | ~~~~~~~~~~~~~ ^~~ >> /usr/src/sys/sys/filedesc.h:291:5: note: 'fget_unlocked' declared here >> 291 | int fget_unlocked(struct thread *td, int fd, >> | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ >> 292 | const cap_rights_t *needrightsp, struct file **fpp); >> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> /usr/src/sys/kern/kern_descrip.c:3144:3: error: use of undeclared identifier >> 'fsearch' >> 3144 | *fsearch = ((fp->f_flag & FSEARCH) != 0); >> | ^ >> 2 errors generated. >> *** Error code 1 >> >> Have I missed something? > > This is fixed now, thanks. Out of curiosity, why does your kernel > config not configure CAPABILITIES? Confirmed fixed. Thanks. My kernel configurations have their origins back in the mid 1990's with many updates over the years. When Capsicum was first introduced I had a slew of issues and never saw the need to add it back into config later. If it's something I really need, I'll include it but I wasn't aware that it was a mandatory thing. Ian