Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605686

Summary: dev-libs/grok-0.9.2 : make: *** [Makefile:218: grok_matchconf_macro.c] Error 1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Johann Schmitz (ercpe) (RETIRED) <ercpe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/jordansissel/grok/issues/29
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 604878    
Attachments: emerge-info.txt
dev-libs:grok-0.9.2:20170114-141355.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-01-14 14:15:18 UTC
GNU gperf 3.1
We require gperf version >= 3.0.3
make: *** [Makefile:218: grok_matchconf_macro.c] Error 1
 * ERROR: dev-libs/grok-0.9.2::gentoo failed (compile phase):
 *   emake failed
 * 

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-systemd-unstable_20170111-105830) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-14 14:15:21 UTC
Created attachment 460004 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-14 14:15:24 UTC
Created attachment 460006 [details]
dev-libs:grok-0.9.2:20170114-141355.log
Comment 3 Toralf Förster gentoo-dev 2017-01-14 14:15:27 UTC
Created attachment 460008 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-01-14 14:15:30 UTC
Created attachment 460010 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-01-14 14:15:33 UTC
Created attachment 460012 [details]
etc.portage.tbz2
Comment 6 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2017-01-15 14:04:44 UTC
Thank you for reporting this issue.

The version check fails because gperf 3.1 don't have three version components. We can easily remove this check from the Makefile (and trust the Portage dependencies).
However grok 0.9.2 fails to compile with gperf 3.1 (see upstream ticket https://github.com/jordansissel/grok/issues/29).
Comment 7 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2017-03-24 04:58:42 UTC
*** Bug 613672 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-23 09:09:02 UTC
This was fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bdc0027d77f551be490f7811702a45b5cd6405c and https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cec5ed8f017a8d6869deaa00c6a364f2230d209

Current stable grok-0.9.2 now enforces <gperf-3.1. For >=gperf-3.1 we now have grok-0.9.2-r1.

Thanks for the report!