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

Bug 162931

Summary: app-text/gocr-0.43 fails building examples
Product: Gentoo Linux Reporter: Carsten Lohrke (RETIRED) <carlo>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED WORKSFORME    
Severity: normal CC: graphics+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 172764    
Attachments: gocr.log

Description Carsten Lohrke (RETIRED) gentoo-dev 2007-01-20 14:36:41 UTC
transfig issues, the gocr build script doesn't bail out on them and problems with the ghostscript command. I'm using media-gfx/transfig-3.2.4-r2 and app-text/ghostscript-esp-8.15.3.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-01-20 14:37:44 UTC
Created attachment 107532 [details]
gocr.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 16:27:26 UTC
Not worth a separate bug:

 * QA Notice: USE Flag 'tk' not in IUSE for app-text/gocr-0.43
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2007-01-24 13:41:16 UTC
Not worth a separate bug:

functions.c have missing include:
#include <string.h> 
will fix the issue, please send upstream a note about this.

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * functions.c:33: warning: incompatible implicit declaration of built-in function ‘strchr’
functions.c:36: warning: incompatible implicit declaration of built-in function ‘strstr’
functions.c:50: warning: incompatible implicit declaration of built-in function ‘strlen’
functions.c:117: warning: incompatible implicit declaration of built-in function ‘strcpy’
functions.c:120: warning: incompatible implicit declaration of built-in function ‘strlen’
functions.c:144: warning: incompatible implicit declaration of built-in function ‘strcpy’
functions.c:148: warning: incompatible implicit declaration of built-in function ‘strlen’
functions.c:193: warning: incompatible implicit declaration of built-in function ‘strlen’
functions.c:337: warning: incompatible implicit declaration of built-in function ‘strlen’
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-12 18:20:15 UTC
IUSE fixed by swegener:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/gocr-0.43.ebuild?r1=1.1&r2=1.2