Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Cc: luis jure <ljc@××××××××××××.uy>
Subject: Re: [gentoo-user] zlib and WOFF
Date: Sun, 26 Jun 2011 21:08:20
Message-Id: 9F11097A-F0FD-4DA9-8C9E-6FCA5DAA5D11@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] zlib and WOFF by luis jure
1 Necro bump!
2
3
4 On 8 May 2011, at 02:31, luis jure wrote:
5 > …
6 > for some reason the file /usr/lib64/libz.so is a text file, the solution
7 > was linking it to the real .so file at /lib64/libz.so (or /lib64/libz.so.1
8 > in my case). after that lilypond builds just fine.
9
10 This isn't the best fix, IMO. AIUI these bugs have been closed WONTFIX in favour of bug #4411 for years. [1] [2]
11
12 Seems to me like next time you re-emerge zlib your symlink will get overwritten.
13
14 You don't give the full error message your original post, but I saw it for myself yesterday (sorry I no longer have it handy) and it is in fact fontforge that gives this error, as it's called during Lilypond's build process.
15
16 This is now logged as bug 367425 [3], and there is a patch for fontforge there.
17
18 For the benefit of posterity and anyone else who discovers this bug via google (this is not aimed specifically at Luis), IMO the correct fix for this is:
19
20 mkdir -p /usr/local/portage/media-gfx/fontforge/files
21 cp /usr/portage/media-gfx/fontforge/fontforge-20110222.ebuild /usr/local/portage/media-gfx/fontforge/
22 wget https://bugs.gentoo.org/attachment.cgi?id=273709
23 cp "attachment.cgi?id=273709" /usr/local/portage/media-gfx/fontforge/files/fontforge-20110222-zlib.so.patch
24
25 Open a text editor add one line to the fontforge-20110222.ebuild you just created in the local overlay:
26
27 src_prepare() {
28 epatch "${FILESDIR}/${P}-lxkbui.patch"
29 + epatch "${FILESDIR}/${P}-zlib.so.patch"
30 if use doc; then
31
32 Check your accept keywords for the eBuild, and:
33
34 ebuild /usr/local/portage/media-gfx/fontforge/fontforge-20110222.ebuild manifest
35 emerge -1 fontforge
36
37 Finally, report your success at bug 367425.
38
39 This permits you to test the ebuild for lilypond-2.14.1 at bug 370273. [4]
40
41 Stroller.
42
43
44
45
46 [1] https://bugs.gentoo.org/show_bug.cgi?id=4411
47 [2] https://bugs.gentoo.org/show_bug.cgi?id=290974
48 [3] https://bugs.gentoo.org/show_bug.cgi?id=367425
49 [4] https://bugs.gentoo.org/show_bug.cgi?id=370273

Replies

Subject Author
Re: [gentoo-user] zlib and WOFF luis jure <ljc@××××××××××××.uy>