Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565556 - dev-db/mariadb-10.1.8 fails with "fatal error: lex_token.h: No such file or directory"
Summary: dev-db/mariadb-10.1.8 fails with "fatal error: lex_token.h: No such file or d...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 01:58 UTC by Peter Levine
Modified: 2015-11-12 19:08 UTC (History)
1 user (show)

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


Attachments
Patch: Target sql_embedded should depend on GenDigest (mariadb-10.1.8_sql_embedded_GenDigest.patch,504 bytes, patch)
2015-11-12 02:00 UTC, Peter Levine
Details | Diff
dev-db:mariadb-10.1.8:20151112-181804.log.tar.bz2 (dev-db:mariadb-10.1.8:20151112-181804.log..tar.bz2,35.01 KB, application/x-bzip)
2015-11-12 18:48 UTC, Peter Levine
Details
emerge --info (emerge-info.txt,20.76 KB, text/plain)
2015-11-12 18:49 UTC, Peter Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2015-11-12 01:58:50 UTC
Building dev-db/mariadb-10.1.8 fails with:

/var/tmp/portage/dev-db/mariadb-10.1.8/work/mysql/sql/sql_digest.cc:41:23: fatal error: lex_token.h: No such file or directory
compilation terminated.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-db/mariadb-10.1.8:0/18::gentoo

Actual Results:  
error: lex_token.h: No such file or directory
compilation terminated.

Expected Results:  
Successful merge.

Related to upstream bug:
https://github.com/lshmouse/mysql-5.6/commit/3ec48f7f86b4a185c55d3269b7c400d76cb195b1
Comment 1 Peter Levine 2015-11-12 02:00:54 UTC
Created attachment 416748 [details, diff]
Patch: Target sql_embedded should depend on GenDigest

Patch based on https://github.com/lshmouse/mysql-5.6/commit/3ec48f7f86b4a185c55d3269b7c400d76cb195b1
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-11-12 03:36:50 UTC
Please attach your build.log and emerge --info
Comment 3 Peter Levine 2015-11-12 18:48:08 UTC
Created attachment 416804 [details]
dev-db:mariadb-10.1.8:20151112-181804.log.tar.bz2
Comment 4 Peter Levine 2015-11-12 18:49:14 UTC
Created attachment 416806 [details]
emerge --info
Comment 5 Peter Levine 2015-11-12 18:56:24 UTC
I assume you can disregard the patch.

The bug seems to be a concurrency bug that's solved with MAKEOPTS="-j1".  It's only sporadically reproducible at MAKEOPTS="-j8", and only with the "embedded" USE flag enabled.