From nobody Sat Jul 8 23:51:02 2023 X-Original-To: bugs@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 4Qz6Tz0Qdcz4m76S for ; Sat, 8 Jul 2023 23:51:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qz6Ty5X3sz4F0Q for ; Sat, 8 Jul 2023 23:51:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688860262; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ygOFJjhs8kFDjcS3j+vg4s52qf6ykaf4ZR9qqd67lwY=; b=hBRUZa0LwAxQPE0aIABeDBCJq73+D/ys8f7SNKUgb3N7UPSnUsmaINl5IfxqjsALJ6g1Df WBMyrJsrz6WimnKLZaWqqrFlHYA1VafeWe3UVNz/TqqJig/7GDDB5lbJCtimsH11+y0VXh mdAtUB4Fk4Y8ZPLWPUxv+qZYWoostMsWUHSOqrB0xEtALTUSklZI2uKvJ0NB/f/MjbsPdI hVOLU6m+2O6lLL4PrTb0f0fjCMCufHJLAYYJZ+EGr6ojUSQjpyspLOuAJBU79ZjOMg8bMq s11QV41y3wSt+X5nubGBxNSUoeYjDX4ngdQ2hefOIkrDp1o35N8lztR+uz7yXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688860262; a=rsa-sha256; cv=none; b=dXGE7uch5q/lPGqlHtku2m72eq3SBGOPgHtP2SZEwScbMg0Y9pe1Td1kRSjEWKV5pprq80 HXlkSbcjM00gunkWW9waLd6Qn3VPxLTa4HqgyvULgSmk2z3Tw6BEpz6cW5ysPOlpph7toq 2+4agqUBC2pyFG5beLd1645QL/FqV1ot6ggxt+qq1PPhXcPRCHNbVIOPPJTnO/6ko6kT6N liH8aEFpH5BJn6yO90Humzq6fmwWRCa1c6gRmT51IfhvTvfkIbP6dwOYceejRpGmrrPvT1 ABrq2zQ+wsiWEDfCbucKBPcHllPDqdnZEDAHzsB4wDStikJZ+beS+lxn25EsZQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qz6Ty4cqczgmR for ; Sat, 8 Jul 2023 23:51:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 368Np2fg000083 for ; Sat, 8 Jul 2023 23:51:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 368Np2sM000082 for bugs@FreeBSD.org; Sat, 8 Jul 2023 23:51:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272430] Building parts of build-tools appears to be broken Date: Sat, 08 Jul 2023 23:51:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kenrap@kennethraplee.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272430 --- Comment #4 from Kenneth Raplee --- I haven't and wasn't aware of that approach. Thanks for sharing that. I'm still stuck though unfortunately: [Creating objdir /usr/obj/usr/src/amd64.amd64/bin/cat...] =3D=3D=3D> tests (cleandir) rm -f cat_test cat_test.tmp Kyuafile Kyuafile.tmp rm -rf checkdir rm -f .depend .depend.* rm -f cat.o cat.bc cat.ll cat.full.bc cat.full.ll cat cat.bc cat.ll cat.full cat.debug cat.o cat.bc cat.ll cat.1.gz cat.1.cat.gz rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS echo cat.full: /usr/lib/libc.a >> .depend cc -O2 -pipe -fno-common -fPIE -g -gz=3Dzlib -MD -MF.depend.cat.o -MTca= t.o -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-head= ers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri= ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Qunused-arguments -c /usr/src/bin/cat/cat.c -o cat.o cc -O2 -pipe -fno-common -fPIE -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-= length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar= ith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parame= ter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safe= ty -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-parameter -Qunused-arguments -Wl,-zrelro -pie = -o cat.full cat.o=20=20 objcopy --only-keep-debug cat.full cat.debug objcopy --strip-debug --add-gnu-debuglink=3Dcat.debug cat.full cat gzip -cn /usr/src/bin/cat/cat.1 > cat.1.gz =3D=3D=3D> tests (all) [Creating objdir /usr/obj/usr/src/amd64.amd64/bin/cat/tests...] echo '#! /usr/libexec/atf-sh' > cat_test.tmp cat /usr/src/contrib/netbsd-tests/bin/cat/t_cat.sh >>cat_test.tmp cat: stdout: Bad file descriptor *** Error code 1 Stop. make[1]: stopped in /usr/src/bin/cat/tests *** Error code 1 Stop. make: stopped in /usr/src/bin/cat _________________________________ # git log -n 1=20=20=20=20=20=20=20=20=20=20=20=20 commit 055f920ebe21b8e05235363bc11a83cc649cdc6a (HEAD -> main, origin/main, origin/HEAD) Author: Martin Matuska Date: Sun Jul 9 01:04:25 2023 +0200 cat: fallback on EBADF with copy_file_range(2) When stdout is opened with O_APPEND, copy_file_range(2) fails with EBAD= F. --=20 You are receiving this mail because: You are the assignee for the bug.=