Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423565 - dev-tex/chktex - ?
Summary: dev-tex/chktex - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-26 00:00 UTC by Horea Christian
Modified: 2015-04-29 15:02 UTC (History)
1 user (show)

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


Attachments
patch for missing strcasestr (chktex-1.7.0-header.patch,871 bytes, patch)
2012-06-26 03:27 UTC, Yixun Lan
Details | Diff
Build log (file_423565.txt,15.05 KB, text/plain)
2012-06-27 13:22 UTC, Horea Christian
Details
emerge --info (file_423565.txt,4.63 KB, text/plain)
2012-06-27 13:22 UTC, Horea Christian
Details
FindErrs.c (file_423565.txt,49.26 KB, text/plain)
2012-06-27 13:23 UTC, Horea Christian
Details
Build Log (file_423565.txt,15.05 KB, text/plain)
2012-06-27 13:24 UTC, Horea Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horea Christian 2012-06-26 00:00:14 UTC
chktex won't build, can't understand why, neither all those who answered on #gentoo 

Build log: http://paste.lugons.org/show/2613/
emerge --info : http://paste.lugons.org/show/2615/
The FindErrs.c file which *seems* to cause the problem: http://paste.lugons.org/show/2616/
Comment 1 Yixun Lan archtester gentoo-dev 2012-06-26 03:27:55 UTC
Created attachment 316273 [details, diff]
patch for missing strcasestr

Probably it's a QA problem
Can you try the attached patch
works here
Comment 2 Horea Christian 2012-06-26 14:03:14 UTC
uhn... how do I apply the patch?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-27 02:41:48 UTC
(In reply to comment #0)
> chktex won't build, can't understand why, neither all those who answered on
> #gentoo 
> 
> Build log: http://paste.lugons.org/show/2613/
> emerge --info : http://paste.lugons.org/show/2615/
> The FindErrs.c file which *seems* to cause the problem:
> http://paste.lugons.org/show/2616/

Please attach all that to this bug report, then reopen it.
Comment 4 Horea Christian 2012-06-27 13:22:01 UTC
Created attachment 316427 [details]
Build log
Comment 5 Horea Christian 2012-06-27 13:22:30 UTC
Created attachment 316429 [details]
emerge --info
Comment 6 Horea Christian 2012-06-27 13:23:13 UTC
Created attachment 316431 [details]
FindErrs.c
Comment 7 Horea Christian 2012-06-27 13:24:35 UTC
Created attachment 316433 [details]
Build Log
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-27 14:17:18 UTC
Comment on attachment 316273 [details, diff]
patch for missing strcasestr

This patch looks definitely wrong — the problem is that it's getting an implicit declaration for strcasestr which is _already provided by glibc_ but only if _GNU_SOURCE is defined.

So the solution is to make sure string.h is included and define -D_GNU_SOURCE.
Comment 9 Alexis Ballier gentoo-dev 2015-04-29 15:02:27 UTC
seems to be fixed in 1.7.3