Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455074 - media-libs/fontconfig: please review/prepare a multilib-build conversion
Summary: media-libs/fontconfig: please review/prepare a multilib-build conversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on: 455070 466546
Blocks: 455066 461916
  Show dependency tree
 
Reported: 2013-02-01 23:53 UTC by Michał Górny
Modified: 2013-04-29 15:01 UTC (History)
6 users (show)

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


Attachments
multilib ebuild (fontconfig-2.9.0.ebuild,3.76 KB, text/plain)
2013-02-01 23:53 UTC, Michał Górny
Details
Diff against gx86 (fontconfig-2.9.0.ebuild.diff,3.12 KB, patch)
2013-02-01 23:54 UTC, Michał Górny
Details | Diff
Ebuild, r2 (fontconfig-2.9.0.ebuild,3.82 KB, text/plain)
2013-02-02 19:30 UTC, Michał Górny
Details
Diff for r2 (fontconfig-2.9.0.ebuild.diff,3.18 KB, patch)
2013-02-02 19:30 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-01 23:53:45 UTC
Created attachment 337634 [details]
multilib ebuild

Same as freetype. Attaching new ebuild and a diff.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-01 23:54:03 UTC
Created attachment 337638 [details, diff]
Diff against gx86
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-02 19:30:22 UTC
Created attachment 337702 [details]
Ebuild, r2

Fixed to use pkg-config to query freetype2 instead of freetype-config. It seems that upstream is doing that in HEAD anyway.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-02 19:30:37 UTC
Created attachment 337704 [details, diff]
Diff for r2
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-22 09:31:29 UTC
Since there's a few users of multilib-build in the tree, we'd like to proceed deploying X11 libraries from emul-linux-x86-xlibs to the tree. Since fontconfig is part of that set, I'd appreciate your +1/-1 ASAP so we would know whether to keep the two in emul-linux or convert as well.
Comment 5 Luca Barbato gentoo-dev 2013-02-25 21:26:50 UTC
Doesn't seem wrong at all.

I pointed on irc a small improvement you could consider asap, the rest seems good to go.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-25 22:38:20 UTC
As discussed on IRC, I have committed the ebuild in its current state (after updating for newest version in-tree). The mentioned bug will be tracker and fixed by bug 459210, after extending the eclass as necessary.
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2013-04-19 09:40:24 UTC
(In reply to comment #4)
> Since there's a few users of multilib-build in the tree, we'd like to
> proceed deploying X11 libraries from emul-linux-x86-xlibs to the tree. Since
> fontconfig is part of that set, I'd appreciate your +1/-1 ASAP so we would
> know whether to keep the two in emul-linux or convert as well.

-1 on this as well (see https://bugs.gentoo.org/show_bug.cgi?id=455070#c12 )
This one somehow escaped my notice, but has been masked now as well, as should have been done in the first place.
Comment 8 Andrey Grozin gentoo-dev 2013-04-23 15:52:49 UTC
After fontconfig-2.10.2-r1 and a few more packages have been masked and previous revisions re-emerged, I cannot start skype on my ~amd64 notebook:

grozin@dns ~ $ skype
skype: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
grozin@dns ~ $ ldd /opt/bin/skype 
<skipped>
        libfontconfig.so.1 => not found
<skipped>

I used it normally a few days ago. I absolutely need to have it working, sorry. Is there any way to restore working skype?
Comment 9 Kamen Dokov 2013-04-25 12:50:18 UTC
(In reply to comment #8)
> After fontconfig-2.10.2-r1 and a few more packages have been masked and
> previous revisions re-emerged, I cannot start skype on my ~amd64 notebook:
> 
> grozin@dns ~ $ skype
> skype: error while loading shared libraries: libfontconfig.so.1: cannot open
> shared object file: No such file or directory
> grozin@dns ~ $ ldd /opt/bin/skype 
> <skipped>
>         libfontconfig.so.1 => not found
> <skipped>
> 
> I used it normally a few days ago. I absolutely need to have it working,
> sorry. Is there any way to restore working skype?

Same here on ~amd64:

~ % skype
skype: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory


I have media-libs/fontconfig-2.10.2:1.0 installed.
Comment 10 Andrey Grozin gentoo-dev 2013-04-25 13:25:08 UTC
(In reply to comment #9)
> Same here on ~amd64:
> 
> ~ % skype
> skype: error while loading shared libraries: libfontconfig.so.1: cannot open
> shared object file: No such file or directory
I've solved it as following:

cd /usr/lib32
ln -s libfontconfig.so.1.4.4 libfontconfig.so.1

After that, skype works. I don't know why this is not done automatically.
Comment 11 Kamen Dokov 2013-04-25 13:48:17 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Same here on ~amd64:
> > 
> > ~ % skype
> > skype: error while loading shared libraries: libfontconfig.so.1: cannot open
> > shared object file: No such file or directory
> I've solved it as following:
> 
> cd /usr/lib32
> ln -s libfontconfig.so.1.4.4 libfontconfig.so.1
> 
> After that, skype works. I don't know why this is not done automatically.

Yeh that worked, thank you!

P.S. I hate making changes in /usr/lib for non critical packages like Skype.
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-25 15:22:15 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > After fontconfig-2.10.2-r1 and a few more packages have been masked and
> > previous revisions re-emerged, I cannot start skype on my ~amd64 notebook:
> > 
> > grozin@dns ~ $ skype
> > skype: error while loading shared libraries: libfontconfig.so.1: cannot open
> > shared object file: No such file or directory
> > grozin@dns ~ $ ldd /opt/bin/skype 
> > <skipped>
> >         libfontconfig.so.1 => not found
> > <skipped>
> > 
> > I used it normally a few days ago. I absolutely need to have it working,
> > sorry. Is there any way to restore working skype?
> 
> Same here on ~amd64:
> 
> ~ % skype
> skype: error while loading shared libraries: libfontconfig.so.1: cannot open
> shared object file: No such file or directory
> 
> 
> I have media-libs/fontconfig-2.10.2:1.0 installed.

Considering you're not using the new fontconfig, you would need to install emul-linux-x86-xlibs back. I'd suspect that would require disabling ABI_X86=32 on most of the involved packages.
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2013-04-29 09:20:08 UTC
In reply to https://bugs.gentoo.org/show_bug.cgi?id=466546#c9
> It seems to me that all problems would go away if fontconfig was unmasked,
> instead of masking additional (perfectly working) packages. fontconfig
> shouldn't have been masked, in the first place.

The fontconfig multilib ebuild shouldn't have been committed against the maintainer's wishes in the first place.

> (In reply to comment #5)
> > I think it is still too experimental to let loose on the tree. It makes
> > things more complicated, and therefore more fragile; and I am not convinced
> > we need this. And more importantly, it is still controversial, and there is
> > no clear consensus that we want to commit to this multilib approach. It
> > needs more discussion on dev ml first.
> 
> I don't see much increase in complexity from fontconfig-2.10.2.ebuild to
> fontconfig-2.10.2-r1.ebuild.

I see enough to not want to maintain the added features and complexity, at least for now.

> And how should it ever receive testing if we keep it in package.mask?

It should be developed in an overlay, so people who want this feature can test it, without it affecting the rest of the portage tree before it is mature enough.

But as I said on the ML, if anyone wants this unmasked, please step up to become a dedicated co-maintainer.
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-29 14:46:37 UTC
I've added multilib@ as a dedicated co-maintainer and unmasked the package.