Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376645 - dev-libs/ptexenc-1.1.0_p20100722 - ptexenc.c:606: error: 'PATH_MAX' undeclared (first use in this function)
Summary: dev-libs/ptexenc-1.1.0_p20100722 - ptexenc.c:606: error: 'PATH_MAX' undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: TESTED
Depends on:
Blocks: 355085
  Show dependency tree
 
Reported: 2011-07-27 18:59 UTC by Ian Delaney (RETIRED)
Modified: 2011-07-31 19:22 UTC (History)
0 users

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


Attachments
the build log (build.log,16.28 KB, text/plain)
2011-07-27 19:04 UTC, Ian Delaney (RETIRED)
Details
my emerge --info (emerge.info,4.54 KB, text/plain)
2011-07-27 19:10 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-07-27 18:59:12 UTC
Testing for bug 355085 stable request

Package fails emerging at 1st attempt

Reproducible: Sometimes

Steps to Reproduce:
1. emerge package
2.
3.
Actual Results:  
ptexenc.c: In function 'string_to_enc':
ptexenc.c:55: warning: implicit declaration of function 'strcasecmp'
ptexenc.c: In function 'get_terminal_enc':
ptexenc.c:111: warning: implicit declaration of function 'rindex'
ptexenc.c:111: warning: incompatible implicit declaration of built-in function 'rindex'
ptexenc.c:112: warning: implicit declaration of function 'strncpy'
ptexenc.c:112: warning: incompatible implicit declaration of built-in function 'strncpy'
ptexenc.c: In function 'nkf_open':
ptexenc.c:606: error: 'PATH_MAX' undeclared (first use in this function)

fails compile phase


Expected Results:  
emerge; install

As mentioned before, on emerging again after cited 5 packages installed, emerged effectively on 2nd attempt.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-07-27 19:04:00 UTC
Created attachment 281191 [details]
the build log

fortunately, I had a spare in a spare system.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-07-27 19:10:20 UTC
Created attachment 281193 [details]
my emerge --info
Comment 3 Alexis Ballier gentoo-dev 2011-07-27 19:48:07 UTC
fixed, thx