[Bug 268514] graphics/png: missing symbol after upgrading from 1.6.37 to 1.6.38

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Dec 2022 16:07:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268514

            Bug ID: 268514
           Summary: graphics/png: missing symbol after upgrading from
                    1.6.37 to 1.6.38
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: gnikl@justmail.de
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

After upgrading to libpng 1.6.38 through the ports framework all ports using
libpng are broken. The error is:

  /usr/local/lib/libpng16.so.16: version PNG16_0 required by /usr/local/bin/xv
not defined

Downgrading to 1.6.37 restores a working state. It seems this error is due to
the switch to cmake as build system. Using autoconf to build 1.6.38 results in
a package that can be used to upgrade the installed version and ports using
libpng keep working, eg. xv.

Looking at the symbol table of libpng16.so shows that all exported png_ symbols
lack the @@PNG16_0 suffix that is used with an autoconf build. The update to
1.6.39 does not fix this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.