From nobody Sat May 14 02:54:43 2022 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 294591AE01D0 for ; Sat, 14 May 2022 02:54:44 +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 4L0VVC6fsvz4jbl for ; Sat, 14 May 2022 02:54:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 C135C6EFC for ; Sat, 14 May 2022 02:54:43 +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 24E2sh9p071957 for ; Sat, 14 May 2022 02:54:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24E2shZF071956 for ports-bugs@FreeBSD.org; Sat, 14 May 2022 02:54:43 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 263965] archivers/p5-Compress-Raw-Zlib: 2.104 reports undefined symbol "z_zlibVersion", possibly due to -DZ_PREFIX Date: Sat, 14 May 2022 02:54:43 +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: greenreaper@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652496884; 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=up4yecw5pwCdqALh2vDKg2P34kGdTREbmbRl5VrPU3M=; b=W6GKNodtTVYFOxL6WOACH08GNwRu1p6s2bAhUqb0yf87Erp0OO6R43oU5drfV7CemRvAK9 pPs1NO30hcDLJr9EmQhEd9+TsimPhXdvwbaJUK3wAgS8z2V0D7HVz5mo7JIxhkkxofLlny 2Qm0FtPHFEliHWxlXl1t9dReWX/TYKY/YSFRa9yBzbz+wliyUg8EwOpbVbSmEnJjSiMJ1X rCbX+ZosM+bLW+sdPZmGNR6yjTR4XPFQQmNT+t6MJe9y5j3NB+CQ2tmU7QCvvp4o6+WMCK 7b/gMWAn/goFTw2rsFt5xDx3LScfwrR6l5cMom/OmcvQP+xkJhCodfEmsAw+xQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652496884; a=rsa-sha256; cv=none; b=MV0E1zESdNyL2ShlhbJ7zAseQGNDs5BHxSu5Ez8A1e6GBwo16iBTIMyvKb3AXrn4HQvW0M cPfMHPYIRM42R04dV1QF6DYpP8jDZj4qXaKjrnpewhRmKApudlDVzHX8bjjYrLOCyhwTvH KeVnhw+/Ylm4ljXPGtxl3Hm0qHbnAiFDJRsTl+0oF/w+CgEg8uGjvQ29KVUz6Hs0mh1s9J C4EzwsJFYrHtfNP6OJu65GkfLOd2006QJ/++bpds244oEkBY6Qz5pMG/o+XVLmci/mqc+T VcJsQh8gKaQvvEKj/hUmJQ9+KkWWo7gYb+SI7G3VD5f3X7GTAqjK1xlxyj0tEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263965 Bug ID: 263965 Summary: archivers/p5-Compress-Raw-Zlib: 2.104 reports undefined symbol "z_zlibVersion", possibly due to -DZ_PREFIX Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: greenreaper@hotmail.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Created attachment 233905 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233905&action= =3Dedit Patch to remove -DZ_PREFIX After doing a portupgrade of this package on FreeBSD 11.4 (I know, we're in= the progress of migrating... :-), munin-run apache_accesses gives /usr/local/lib/perl5/site_perl/mach/5.32/auto/Compress/Raw/Zlib/Zlib.so: Undefined symbol "z_zlibVersion" The munin plugin in question runs a Perl script using LWP::UserAgent, which= may need to handle zlib-compressed streams. I think the addition of -DZ_PREFIX to DEFINES may have caused the issue; as another developer noted, this is done in this version regardless of whether BUILD_ZLIB is set to false, which is what FreeBSD does as well in a patch: https://github.com/pmqs/Compress-Raw-Zlib/issues/8 "the system zlib will of course have the regular symbol names and not the renamed versions." I added the attached patch to end of the port's files/patch-config.in (bear= ing in mind that the last line of the existing patch is empty) and re-ran the portupgrade, after which the munin plugin ran correctly. I reported this upstream there, but figured I should mention it here as oth= ers may come across it as well. Not sure if it breaks anything, but it worked f= or me. --=20 You are receiving this mail because: You are the assignee for the bug.=