Bug 248904

Summary: emulators/i386-wine-devel: missing dependency on libpng
Product: Ports & Packages Reporter: moridin
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: arrowd, iwtcex
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description moridin 2020-08-25 14:15:37 UTC
Running different programs using i386-wine-devel produces a lot of the following warnings, and images in installers/programs are missing:

0034:err:wincodecs:PngEncoder_CreateInstance Failed writing PNG because unable to find libpng16.so.16

And indeed there's no libpng shlibs in /usr/local/lib32.

$ pkg info i386-wine-devel
Name           : i386-wine-devel
Version        : 5.8_1,1
Installed on   : Tue Aug 25 13:08:56 2020
Origin         : emulators/i386-wine-devel
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : emulators
Licenses       : LGPL3, LGPL21
Maintainer     : ports@FreeBSD.org
WWW            : http://www.winehq.org/
Comment        : 32-bit Microsoft Windows compatibility environment for 64-bit FreeBSD
Options        :
        GECKO          : off
        MONO           : off
Annotations    :
        FreeBSD_version: 1300108
        no_provide_shlib: yes
        repo_type      : binary
        repository     : FreeBSD
Comment 1 Alex S 2020-08-25 14:47:42 UTC
(In reply to moridin from comment #0)

% tar -tf /var/cache/pkg/i386-wine-devel-5.8_1,1.txz | grep png
Comment 2 Alex S 2020-08-27 02:02:12 UTC
On a further look, i386-wine-devel-5.8_1,1.txz for FreeBSD 13, as opposed to FreeBSD 12, doesn't have libpng.so. That's unfortunate, I suppose.

(By the way, I did not forget about FreeBSD 13 — our package overlords in their infinite wisdom made it extra annoying to download packages directly for this kind of cross-checking, see bug 247998. It took a while to get to it.)
Comment 3 Gleb Popov freebsd_committer 2021-03-28 14:05:54 UTC
Should be fixed by following commit:

Author: arrowd
Date: Sun Mar 28 13:58:19 UTC 2021
New revision: 569395
URL: https://svnweb.freebsd.org/changeset/ports/569395

  emulators/i386-wine-devel: Rebuild the binaries.

  PR:		254516
  Submitted by:	Alexander Vereeken <Alexander88207@protonmail.com>
  Reviewed by:	arrowd
  Differential Revision:	https://reviews.freebsd.org/D29367