Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588966 - =app-text/libetonyek-0.1.6 fails to build: lt-tag.h:56:14: error: use of enum ‘_lt_tag_filter_t’ without previous declaration
Summary: =app-text/libetonyek-0.1.6 fails to build: lt-tag.h:56:14: error: use of enum...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-17 06:12 UTC by Cynede (RETIRED)
Modified: 2016-07-17 07:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cynede (RETIRED) gentoo-dev 2016-07-17 06:12:21 UTC
-DNDEBUG -O2 -pipe -march=native -mtune=native -std=c++11 -fvisibility=hidden -DLIBETONYEK_VISIBILITY -Wall -Wextra -Wshadow -pedantic -c IWORKOutputManager.cpp  -fPIC -DPIC -o .libs/libetonyek_internal_la-IWORKOutputManager.o
In file included from /usr/include/liblangtag/lt-ext-module.h:23:0,
                 from /usr/include/liblangtag/langtag.h:20,
                 from IWORKLanguageManager.cpp:15:
/usr/include/liblangtag/lt-tag.h:56:14: error: use of enum ‘_lt_tag_filter_t’ without previous declaration
 typedef enum _lt_tag_filter_t lt_tag_filter_t;
              ^
make[4]: *** [Makefile:1282: libetonyek_internal_la-IWORKLanguageManager.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2016-07-17 07:43:08 UTC
The problem here is =app-text/liblangtag-0.6.0 package.
It installs a header incompatible with modern g++.

Upstream has a fix for that: https://bitbucket.org/tagoh/liblangtag/commits/3cc56cf32c006e7e8445c3ba49ffc128c646c88d

I've pushed it as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ef5ee090bd5130630a8aa4330f5dce0371f298

You'll need to update to >=app-text/liblangtag-0.6.0-r1 to fix header
and then try to build app-text/libetonyek.