From owner-freebsd-bugs@freebsd.org Sat Jan 30 03:36:25 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2FE1D52447A for ; Sat, 30 Jan 2021 03:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DSKcn0L54z4pyC for ; Sat, 30 Jan 2021 03:36:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 09CBB52450D; Sat, 30 Jan 2021 03:36:25 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 09905524479 for ; Sat, 30 Jan 2021 03:36:25 +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 4DSKcm5SWxz4q1x for ; Sat, 30 Jan 2021 03:36:24 +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 A4B246AD3 for ; Sat, 30 Jan 2021 03:36:24 +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 10U3aOwp037959 for ; Sat, 30 Jan 2021 03:36:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10U3aONg037958 for bugs@FreeBSD.org; Sat, 30 Jan 2021 03:36:24 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 253089] zlib appears mis-versioned in pkg-config as 1.2.10 releng12.1 src versions the library at 1.2.11 as does zlib.h Date: Sat, 30 Jan 2021 03:36:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: alt2600@icloud.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2021 03:36:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253089 Bug ID: 253089 Summary: zlib appears mis-versioned in pkg-config as 1.2.10 releng12.1 src versions the library at 1.2.11 as does zlib.h Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alt2600@icloud.com 12.1-RELEASE-p12 FreeBSD 12.1-RELEASE-p12 r368528 /usr/src/sys/contrib/zlib/zlib.h snippet #ifndef ZLIB_H #define ZLIB_H #include "zconf.h" #ifdef __cplusplus extern "C" { #endif #define ZLIB_VERSION "1.2.11" #define ZLIB_VERNUM 0x12b0 #define ZLIB_VER_MAJOR 1 #define ZLIB_VER_MINOR 2 #define ZLIB_VER_REVISION 11 #define ZLIB_VER_SUBREVISION 0 # $FreeBSD: releng/12.1/lib/libz/zlib.pc 311285 2017-01-04 16:09:08Z delphi= j $ prefix=3D/usr exec_prefix=3D${prefix} libdir=3D${exec_prefix}/lib sharedlibdir=3D${libdir} includedir=3D${prefix}/include Name: zlib Description: zlib compression library Version: 1.2.10 Requires: Libs: -L${libdir} -L${sharedlibdir} -lz Cflags: -I${includedir} pkg-config --modversion zlib 1.2.10 found this while trying to upgrade a port that now explicitly requires zlib 1.2.11 and thought I had to update to 12.2 instead of just waiting for 13, = but everything I am seeing is suggesting 1.2.11 is in the base of releng12.1 but the pc file is versioned incorrectly. Not sure if maybe there was a reason = it was held at 1.2.10, or if it should in fact be 1.2.11 when i edit /usr/libdata/pkgconfig/zlib.pc to reflect version 1.2.11 the po= rt builds and runs fine, but not sure this is correct and will be clobbered on= any new patches to releng12.1 during install. releng12.2 no longer has the lib/libz/zlib.pc file which may be the issue, perhaps it uses the sys/contrib/zlib.pc.in file to dynamically produce the pkg-config pc file? = else the library source files seem to be identical in the git repo. 12.1 is old = in the tooth, but it is still listed as a supported version so I figured I post the potential bug. I didn't check the 11.4 branch. --=20 You are receiving this mail because: You are the assignee for the bug.=