Bug 195120 - www/linux-firefox: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
Summary: www/linux-firefox: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Johannes Jost Meixner
URL:
Keywords: patch, patch-ready, regression
Depends on:
Blocks: 195121
  Show dependency treegraph
 
Reported: 2014-11-17 21:43 UTC by Jan Beich
Modified: 2014-11-24 02:42 UTC (History)
1 user (show)

See Also:


Attachments
fix (530 bytes, patch)
2014-11-17 21:43 UTC, Jan Beich
no flags Details | Diff
fix, sort and cleanup (2.25 KB, patch)
2014-11-19 04:45 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2014-11-17 21:43:19 UTC
Created attachment 149533 [details]
fix

ports r372445 regressed linux- ports maintained by gecko@.

$ linux-firefox -no-remote -P test
XPCOMGlueLoad error for file /usr/local/lib/linux-firefox/libxul.so:
libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-17 21:43:19 UTC
Auto-assigned to maintainer gecko@FreeBSD.org
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-11-17 21:53:12 UTC
Affects only linux-c6- so to reproduce add to make.conf:

  OVERRIDE_LINUX_BASE_PORT=c6
  OVERRIDE_LINUX_NONBASE_PORTS=c6
Comment 3 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-11-17 22:35:54 UTC
I'll take it.

gdk-pixbuf2 did not exist as separate package in CentOS 6.5.
Comment 4 Jan Beich freebsd_committer freebsd_triage 2014-11-19 04:33:46 UTC
Comment on attachment 149533 [details]
fix

Incomplete per discussion in bug 195121. linux-c6-gtk2 itself depends on gdk-pixbuf2:

  $ readelf -d $(make -V WRKSRC)/usr/lib/libgtk-x11-2.0.so.0 | fgrep pixbuf
   0x00000001 (NEEDED)                     Shared library: [libgdk_pixbuf-2.0.so.0]
Comment 5 Jan Beich freebsd_committer freebsd_triage 2014-11-19 04:45:18 UTC
Created attachment 149576 [details]
fix, sort and cleanup

Let's fix linux-c6-gtk2 consumers en masse. They all have libgdk_pixbuf-2.0.so.0 in DT_NEEDED partly because pkg-config file used during build contained Requires instead of Requires.private e.g.,

  Requires: gdk-${target}-2.0 atk cairo gdk-pixbuf-2.0 gio-2.0 pangoft2
Comment 6 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-11-19 10:53:11 UTC
I've created a phabric review revision with the patches of 195120 and 195121.

https://reviews.freebsd.org/D1192
Comment 7 Jan Beich freebsd_committer freebsd_triage 2014-11-19 17:29:34 UTC
x11-toolkits/linux-c6-gtk2 requires PORTREVISION bump. Packages from ports previously not having USE_LINUX_APPS=gdkpixbuf will remain broken[1] otherwise. Don't disregard regression keyword as cosmetic unless any change affecting linux-c6- ports is cosmetic.

[1] only non-infra linux ports, those without distribution prefix/infix:
      editors/komodo-edit
      mail/linux-thunderbird
      multimedia/linux-realplayer
      net/citrix_ica
      net-im/linux-instantbird
      net-im/qq
      net-im/yoono
      print/foxitreader
      sysutils/linux-nero
      www/linux-firefox
      www/linux-seamonkey
Comment 8 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-11-24 02:41:48 UTC
Committed, thanks!
Comment 9 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-11-24 02:42:41 UTC
Committed, thanks!