Bug 248904 - emulators/i386-wine-devel: missing dependency on libpng
Summary: emulators/i386-wine-devel: missing dependency on libpng
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-25 14:15 UTC by moridin
Modified: 2021-03-28 14:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
i386-wine-devel-5.8_1,1
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
/usr/local/lib32/libpng16.so.16
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 freebsd_triage 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

Log:
  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

Changes:
  head/emulators/i386-wine-devel/Makefile
  head/emulators/i386-wine-devel/Makefile.amd64
  head/emulators/i386-wine-devel/distinfo
  head/emulators/i386-wine-devel/pkg-plist