Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654758 - media-libs/sdl-ttf-2.0.11-r1 fails checking freetype
Summary: media-libs/sdl-ttf-2.0.11-r1 fails checking freetype
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 654768 (view as bug list)
Depends on:
Blocks: freetype-config
  Show dependency tree
 
Reported: 2018-05-03 19:52 UTC by Andrés Becerra Sandoval
Modified: 2018-05-05 13:40 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,9.54 KB, text/plain)
2018-05-03 20:03 UTC, Andrés Becerra Sandoval
Details
emerge --info output (info.txt,5.72 KB, text/plain)
2018-05-03 20:04 UTC, Andrés Becerra Sandoval
Details
sdl2-ttf failure build.log (build.log,9.21 KB, text/x-log)
2018-05-04 05:19 UTC, wolfwood
Details
ftgl build.log (build.log,11.80 KB, text/x-log)
2018-05-04 05:19 UTC, wolfwood
Details
emerge --info (emerge.info,5.68 KB, application/x-info)
2018-05-04 05:22 UTC, wolfwood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2018-05-03 19:52:49 UTC
checking for freetype-config... no
configure: error: 
*** Unable to find FreeType2 library (http://www.freetype.org/)


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/sdl-ttf-2.0.14/work/SDL2_ttf-2.0.14-abi_x86_64.amd64/config.log
 * ERROR: media-libs/sdl-ttf-2.0.14::local failed (configure phase):


sdl-ttf calls freetype-config to find the library paths. It seems it should use pkgconfig.
Comment 1 Andrés Becerra Sandoval 2018-05-03 20:03:46 UTC
Created attachment 529644 [details]
build.log
Comment 2 Andrés Becerra Sandoval 2018-05-03 20:04:13 UTC
Created attachment 529646 [details]
emerge --info output
Comment 3 wolfwood 2018-05-04 05:18:06 UTC
I'm seeing this same issue with sdl2-ttf and also ftgl

checking for freetype-config... no
configure: error:
*** Unable to find FreeType2 library (http://www.freetype.org/)
Comment 4 wolfwood 2018-05-04 05:19:05 UTC
Created attachment 529684 [details]
sdl2-ttf failure build.log
Comment 5 wolfwood 2018-05-04 05:19:51 UTC
Created attachment 529686 [details]
ftgl build.log
Comment 6 wolfwood 2018-05-04 05:21:18 UTC
for ftgl:
checking for freetype-config... no
checking for FreeType -- version >= 9.0.3... no
configure: error: FreeType2 is required to compile this library
Comment 7 wolfwood 2018-05-04 05:22:14 UTC
Created attachment 529688 [details]
emerge --info
Comment 8 Larry the Git Cow gentoo-dev 2018-05-04 08:03:39 UTC
The bug has been closed via the following commit(s):

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

commit 180acb7085490a0c57e180eb72e6b2520022df66
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-04 07:55:43 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-04 07:55:43 +0000

    media-libs/sdl-ttf: Use pkg-config to search for freetype.
    
    Closes: https://bugs.gentoo.org/654758
    Package-Manager: Portage-2.3.35, Repoman-2.3.9

 .../files/sdl-ttf-2.0.11-freetype_pkgconfig.patch  | 46 ++++++++++++++++++++++
 .../sdl-ttf/files/sdl-ttf-2.0.11-underlink.patch   |  4 +-
 media-libs/sdl-ttf/sdl-ttf-2.0.11-r1.ebuild        | 30 ++++++++------
 3 files changed, 66 insertions(+), 14 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 295794b0417fabcc378298894d1720939695a767
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-04 08:03:27 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-04 08:03:27 +0000

    media-libs/sdl2-ttf: Use pkg-config to search for freetype.
    
    Bug: https://bugs.gentoo.org/654758
    Package-Manager: Portage-2.3.35, Repoman-2.3.9

 .../files/sdl-ttf-2.0.11-freetype_pkgconfig.patch  | 46 ++++++++++++++++++++++
 media-libs/sdl2-ttf/sdl2-ttf-2.0.14.ebuild         | 30 +++++++++-----
 2 files changed, 67 insertions(+), 9 deletions(-)
Comment 9 Andrés Becerra Sandoval 2018-05-04 14:12:12 UTC

Amazing Lars, thank you!
Comment 10 James Le Cuirot gentoo-dev 2018-05-05 13:40:25 UTC
*** Bug 654768 has been marked as a duplicate of this bug. ***