From nobody Wed Feb 15 18:13:34 2023 X-Original-To: ports-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 4PH5mb0H5zz3r8Q2 for ; Wed, 15 Feb 2023 18:13:35 +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 4PH5mZ3Szrz44qn for ; Wed, 15 Feb 2023 18:13:34 +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=1676484814; 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=KycBFaAJa7mCFgEsThs4zXJfA/ZwmD7Scw8cAxbuFG0=; b=IvuBcPTxfYcZkbWKcYR5ZbS0/FBKnmbGwMJvwHP04k2IGaK0TvJfysU1jFIw6gLbLdOEwd baB3gzwf/Avfp23It8DBRXuR/X4B+XEwqr6ElD7SO35YRWZmqyg3P0MuDoQH/Sbm5IN58c 3d7UyfLGJjjgQDUcAXQUe4u30/U9W4P4jft8RSI2R1U0UjvWN+qlNu6Y/kmkDnEqVxXKp8 xRfv/Yf/Hoh22ZmeOaQzcRhmQnoZzeuGEtyie4wwpyeNqQDSpYP73lqZ2Mvjs5Z/5sqKQD rVZthAqucXYsb4q5wjh4nFkDHQS5L4Dp/oCDux1sct+27zBLVRCRcL0TNIklNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676484814; a=rsa-sha256; cv=none; b=qwnXhIaDK1uR7UH2M8e25WrB8b68FGyW+FNAmVt3Z3uWDYwDPYtNQ1/5YJhCT2RqTDjtuU qx7wKe6U0bqHmquoCm/bFsvEicfABzNVLmDicjndhA8MaJWnYmCNMxcaF6eUbdJTdketYE DLYBgwe+mv9vUnk6VF2SrUpSfKfkwcyxAcdWWR5u/lrsS1flbKmEzfuWB9PxU7nxEI5paK PVwPK2m4+MFaG/6tEVaGNtkCuV9r5mK4J2hN2I0p78ZgH+xmWb58Ol+V06ggi/iwrU62UA PcBdQP83IdtSy+PeblQ8McH21CA9kRpIS5L/WKIOF6Ppj7o8zb6wSltudAMp5w== 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 4PH5mZ2ZDQzYvT for ; Wed, 15 Feb 2023 18:13:34 +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 31FIDY5p041873 for ; Wed, 15 Feb 2023 18:13:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31FIDYuN041872 for ports-bugs@FreeBSD.org; Wed, 15 Feb 2023 18:13:34 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: ports-bugs@FreeBSD.org Subject: [Bug 269443] sysutils/jdupes: Update to 1.21.3 Date: Wed, 15 Feb 2023 18:13:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tom@hur.st X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269443 --- Comment #11 from Thomas Hurst --- (In reply to Fernando Apestegu=C3=ADa from comment #10) Yes, building with ports and directly is going to have different flags, and both trigger the problem. My flags within poudriere are identical to yours, aside from yours not having the low-memory settings? cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wwrite-strings -Wcast-align -Wstrict-aliasing -Wstrict-prototypes -Wpointer-arith -Wundef -Wshadow -Wfloat-equal -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -Wformat=3D2 -std=3Dgnu99 -D_FILE_OFFSET_BITS=3D64 -fstrict-aliasing -pipe -DSMA_MAX_FREE=3D11 -DNO_ATIME -Wextra -Wstrict-overflow=3D5 -Winit-self -DNDEBUG -Wl,-z,stack-size=3D16777216 -DLOW_MEMORY -DSMA_PAGE_SIZE=3D32768 -DNO_HARDLINKS -DNO_SYMLINKS -DNO_USER= _ORDER -DNO_PERMS -DNO_ATIME -DNO_JSON -DNO_EXTFILTER -DNO_CHUNKSIZE -DUSE_JODY_HA= SH -DNO_NUMSORT -DCHUNK_SIZE=3D16384 -isystem /usr/local/include -c -o jdupe= s.o jdupes.c If yours is somehow not built with LOW_MEMORY despite the config option bei= ng set, that would explain why it isn't crashing for you, but raises further questions! > One question would be, why would you want to strip an executable that has= been compiled with debug info (-g). At least in the porter's handbook we s= ay "When WITH_DEBUG is defined, elf files must not be stripped." -g just happens to be what's specified in the upstream source. I patch it = out in the port so it's under the control of the framework. > Do you have WITH_DEBUG in make.conf? No, I just have a few targeted WITH_DEBUG_PORTS. The port builds fine if I= add it. > As a workaround, I think we could add a build dependency on devel/binutil= s and then overwrite ${STRIP_CMD}. Either that, or just clobber STRIP_CMD and let it be installed unstripped. = It seems kind of counterproductive - particularly to anyone building their own ports - to build and install the whole of binutils for the sake of reducing= the installed LOW_MEMORY executable from 48k to 33k. Either way, I think it's time to open a new issue against base. --=20 You are receiving this mail because: You are the assignee for the bug.=