From nobody Wed Dec 27 05:09:25 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 4T0KSQ1fV3z5569h for ; Wed, 27 Dec 2023 05:09:26 +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 4T0KSP5pSqz3F5g for ; Wed, 27 Dec 2023 05:09:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703653765; a=rsa-sha256; cv=none; b=A9ZPUa5eKlGibqDlOQTxsEBcBOAKbgsdPyHJy6afmPLlJEG4JPHON8JK+znr8yR+OQwHkh G/UT8QTXUOVbMcRJcgTg+k1ZH7S0lJGbATWamlTX7y5PgKZx5C9qsbWuiImcrq8QTsMGvI AS4WMu00abkgRrgHW0FLHzO6WGMEylEhZWXd3eDPY54h/BjxNPRrX6tMyw6JPZJCS6tWqa aGsjN0D6YBmkTMkXWK6sy/KALXq8xUvlq64u98bwiWBAaD0C/+kKfcsK3buoSLBkDfAL40 HASgFlO39iHJDTvCeZc8wxMpuMs1yqCEVRLWoBUloDQv7e1tH8CwM2zDJIsRag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703653765; 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; bh=L+K8gbYSd3DdfpKZ5TttXhzEXYWjBuiYqGoOkvNMgbA=; b=lBeqgBAWm0VTQcjk6TzKuwpZA93dgO+icW3Jcka/nmGeak0JGv8tIR+VI3F0arPrMnSieB dR6PVxO+ENR3iY3/5qF7OJZZt8CwHpCRNSKQFAhfnJsJtxk7ZSG6shCVnYEY4wl0CaYJzN Of+uSGMQPYHFWhbcWkRdsBCE6zYMGfHRWVXKtQ4BUHZsk2NrrpOzmkb3zgOLH4cfqt+KOO njAihwfIrrZ+UwoFUU63gPIYlTvZxPoyX0oZ2uRzgWApriLYmndIsgZkYXmgL7ZWUPJOwn bTMavaW7CSFLbjVPBjjfXwSb6m7mKo5R9G9lBtzM2aAvvW4U3+nzhlGhax9P7g== 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 4T0KSP4nt6z9K0 for ; Wed, 27 Dec 2023 05:09:25 +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 3BR59PnC095801 for ; Wed, 27 Dec 2023 05:09:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BR59P41095800 for ports-bugs@FreeBSD.org; Wed, 27 Dec 2023 05:09:25 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 275958] benchmarks/stress-ng: namespace collision for crypt_data if libxcrypt installed Date: Wed, 27 Dec 2023 05:09:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pizzamig@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275958 Bug ID: 275958 Summary: benchmarks/stress-ng: namespace collision for crypt_data if libxcrypt installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: jcfyecrayz@liamekaens.com Flags: maintainer-feedback?(pizzamig@freebsd.org) Assignee: pizzamig@freebsd.org Created attachment 247278 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247278&action= =3Dedit [patch] avoid conflicting crypt_data definitions (crypt.h vs unistd.h) If libxcrypt is installed, the build for benchmarks/stress-ng fails (after = the recent update to 0.17.03 - but it failed with 0.16.02, too). . . cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -DVERSION=3D'"0.17.03"' -std=3Dgnu99 -fstack-protector-strong -Werror=3Dformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -c -o stress-cyclic.o stress-cyclic.c In file included from stress-crypt.c:24: /usr/local/include/crypt.h:73:8: error: redefinition of 'crypt_data' struct crypt_data ^ /usr/include/unistd.h:489:8: note: previous definition is here struct crypt_data { ^ 1 error generated. gmake[2]: *** [Makefile:618: stress-crypt.o] Error 1 The attached patch fixes this by preventing the build from using /include/crypt.h While here, the patch adds do-configure so that the configure is a separate step than 'make build'. This is more typical of the way most FreeBSD ports work. But this change is not required to fix the crypt_data namespace conflict. No need for PORTREVISION bump as the resulting package is the same before a= nd after the change (assuming your port build did not fail because of the prob= lem described here). --=20 You are receiving this mail because: You are the assignee for the bug.=