Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493650 - games-action/minetest-0.4.8 configuration fails if truetype flag is on (media-libs/freetype-2.5.1)
Summary: games-action/minetest-0.4.8 configuration fails if truetype flag is on (media...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL: https://github.com/minetest/minetest/...
Whiteboard:
Keywords:
Depends on: 493656
Blocks: freetype-2.5.1
  Show dependency tree
 
Reported: 2013-12-08 12:21 UTC by Alibek
Modified: 2013-12-15 15:05 UTC (History)
2 users (show)

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


Attachments
minetest ebuild patch (minetest-0.4.8.ebuild.patch,818 bytes, patch)
2013-12-08 12:26 UTC, Alibek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alibek 2013-12-08 12:21:27 UTC
I tried to merge minetest-0.4.8 on my desktop. But it failed in src_configure() at cmake. CMake says that FREETYPE_LIBRARY and FREETYPE_INCLUDE_DIRS is not found. 

I edited ebuild by commenting line: 

#$(cmake-utils_use_enable truetype FREETYPE)

and adding new one to mycmakeargs:

$(usex truetype "$(cmake-utils_use_enable truetype FREETYPE) -DFREETYPE_LIBRARY="/usr/lib/libfreetype.so" -DFREETYPE_INCLUDE_DIRS="/usr/include/freetype2"")

and minetest successfully compiled, yay!

Reproducible: Always

Steps to Reproduce:
1. USE="truetype" emerge minetest
Comment 1 Alibek 2013-12-08 12:26:43 UTC
Created attachment 364930 [details, diff]
minetest ebuild patch
Comment 2 Julian Ospald 2013-12-08 13:02:40 UTC
Comment on attachment 364930 [details, diff]
minetest ebuild patch

we will patch the build system instead
Comment 3 Julian Ospald 2013-12-08 13:03:10 UTC
missing emerge --info
missing build log
missing information on your freetype version, useflags etc (is it really from portage?)
Comment 4 Julian Ospald 2013-12-08 13:03:44 UTC
you don't need to CC yourself... the reporter always gets emailed
Comment 5 Account Disabled (uid 86422) 2013-12-08 14:28:33 UTC
I cant reproduce the error here with truetype on. It compiled for me right from the beginning. Could you please provide the information Hasufell asked for?
Comment 6 Alibek 2013-12-08 14:39:29 UTC
Ou, sorry. 

http://pastebin.com/jyWPBZWH -- buildlog
http://pastebin.com/6Kd4m54Z -- emerge --info

Freetype is 2.5.1 and built with USE="X adobe-cff bzip2 infinality png -auto-hinter -bindist -debug -doc -fontforge -static-libs -utils".
Comment 7 Julian Ospald 2013-12-08 14:41:29 UTC
no pastebin, attach it
Comment 8 Account Disabled (uid 86422) 2013-12-08 14:56:42 UTC
I have media-libs/freetype-2.4.11, so thats why it compiles for me. I updated freetype to 2.5.0.1 and i can reproduce the bug now.
Comment 9 Account Disabled (uid 86422) 2013-12-08 14:58:21 UTC
(In reply to Martin-Kevin Neumann from comment #8)
> I have media-libs/freetype-2.4.11, so thats why it compiles for me. I
> updated freetype to 2.5.0.1 and i can reproduce the bug now.

2.5.1 i mean sry.
Comment 10 Julian Ospald 2013-12-15 14:41:24 UTC
try with dev-util/cmake-2.8.12.1-r2
Comment 11 Account Disabled (uid 86422) 2013-12-15 15:05:00 UTC
(In reply to Julian Ospald (hasufell) from comment #10)
> try with dev-util/cmake-2.8.12.1-r2

Having media-libs/freetype-2.5.1 and dev-util/cmake-2.8.12.1-r2 installed, the compilation work here. Dunno how it is for Alibek.