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

Bug 376645

Summary: dev-libs/ptexenc-1.1.0_p20100722 - ptexenc.c:606: error: 'PATH_MAX' undeclared (first use in this function)
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTED
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 355085    
Attachments: the build log
my emerge --info

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