Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643798 - www-client/firefox-bin using wrong gtk-3.0 libs on 17.1 profile
Summary: www-client/firefox-bin using wrong gtk-3.0 libs on 17.1 profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-07 16:29 UTC by Jack MacNaught
Modified: 2018-01-08 19:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info (emerge--info.txt,6.61 KB, text/plain)
2018-01-07 16:29 UTC, Jack MacNaught
Details
firefox-bin terminal output while trying to print (firefox-bin-57.0.4.log,866 bytes, text/x-log)
2018-01-07 16:30 UTC, Jack MacNaught
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack MacNaught 2018-01-07 16:29:29 UTC
Created attachment 513664 [details]
emerge-info

After updating profile to 17.1 firefox-bin would not find printers on system, terminal output showed it was trying to use /usr/lib/gtk-3.0 rather than /usr/lib64/gtk-3.0. Changing /usr/bin/firefox-bin to point to the correct GTK_PATH looks to have solved this.

!/bin/sh
unset LD_PRELOAD
LD_LIBRARY_PATH="/usr/lib64/apulse:/opt/firefox/" \
GTK_PATH=/usr/lib64/gtk-3.0/ \
exec /opt/firefox/firefox "$@"
Comment 1 Jack MacNaught 2018-01-07 16:30:29 UTC
Created attachment 513666 [details]
firefox-bin terminal output while trying to print
Comment 2 Larry the Git Cow gentoo-dev 2018-01-08 19:22:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3156b09574679cf1fcb885dd5e441e21800905

commit da3156b09574679cf1fcb885dd5e441e21800905
Author:     Ian Stakenvicius <axs@gentoo.org>
AuthorDate: 2018-01-08 19:21:35 +0000
Commit:     Ian Stakenvicius <axs@gentoo.org>
CommitDate: 2018-01-08 19:21:55 +0000

    www-client/firefox-bin: don't hardcode 'lib/' in GTK_LIBS assignment
    
    Until now, the 'firefox-bin' wrapper hard-coded the path to GTK_LIBS
    to /usr/lib/gtk-3.0 ; this patch uses get_libdir to ensure the proper
    value for 'lib' is assigned instead.  Required for SYMLINK_LIB=no
    in the 17.1 profiles.
    
    Bug: http://bugs.gentoo.org/643798
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../{firefox-bin-52.5.3.ebuild => firefox-bin-52.5.3-r1.ebuild}         | 2 +-
 .../{firefox-bin-57.0.4.ebuild => firefox-bin-57.0.4-r1.ebuild}         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)}
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2018-01-08 19:23:16 UTC
Yep, that's a bug.  Fixed now, thanks for reporting!

Will ensure other mozilla products are fixed similarly (and will be referencing this bug).