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

Bug 371213

Summary: app-editors/ted-2.21 - checking how to run the C preprocessor... bmxpm.c:9:24: fatal error: X11/xpm.h: No such file or directory
Product: Gentoo Linux Reporter: Piotr Szymaniak <bugzie>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 385205    
Attachments: build.log
emerge --info =app-editors/ted-2.21
emerge -pqv =app-editors/ted-2.21
One line adjustment to add 1 rdep

Description Piotr Szymaniak 2011-06-12 09:14:43 UTC
a - sioHttp.o
a - sioHex.o
a - sioGeneral.o
a - sioFork.o
a - sioFlate.o
a - sioFd.o
a - sioEndian.o
a - sioDebug.o
a - sioCgiIn.o
a - sioBlocked.o
a - sioBase85.o
a - sioBase64.o
a - regexp.o
a - geoString.o
a - geoRectangle.o
a - geoQuadTree.o
a - geoLineFitter.o
a - geoClusterSegments.o
a - geoAffineTransform.o
a - geo2DInteger.o
a - csvsheet.o
a - appUrl.o
a - appUnit.o
a - appTagval.o
a - appSystem.o
a - appPaper.o
a - appDebug.o
a - appCgiIn.o
make[1]: Leaving directory `/var/tmp/portage/app-editors/ted-2.21/work/Ted-2.21/appUtil'
emake failed
 * ERROR: app-editors/ted-2.21 failed (compile phase):
 *   make package.shared failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2162:  Called die
 * The specific snippet of code:
 *       emake package.shared || die "make package.shared failed"
 *
 * If you need support, post the output of 'emerge --info =app-editors/ted-2.21',
 * the complete build log and the output of 'emerge -pqv =app-editors/ted-2.21'.
 * The complete build log is located at '/var/log/portage/app-editors:ted-2.21:20110611-062956.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/ted-2.21/temp/environment'.
 * S: '/var/tmp/portage/app-editors/ted-2.21/work/Ted-2.21'


Reproducible: Always
Comment 1 Piotr Szymaniak 2011-06-12 09:14:57 UTC
Created attachment 276751 [details]
build.log
Comment 2 Piotr Szymaniak 2011-06-12 09:15:23 UTC
Created attachment 276753 [details]
emerge --info =app-editors/ted-2.21
Comment 3 Piotr Szymaniak 2011-06-12 09:15:35 UTC
Created attachment 276755 [details]
emerge -pqv =app-editors/ted-2.21
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-13 21:09:01 UTC
It seems to ignore CC as well.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-09-09 11:42:45 UTC
emerged fine here

>>> Installing (1 of 1) app-editors/ted-2.21

the source of this failure you have already pinned, the absence of X11/xpm.h.
gentoo64 xen-tools # equery b xpm.h
 * Searching for xpm.h ... 
x11-libs/libXpm-3.5.9 (/usr/include/X11/xpm.h)

indicates it is present & accounted for, so I cannot replicate.
Check for the above, perhaps emerge or re-emerge libXpm,  retry, repost.
I can add it is an RDEP if required.  Need know if this header file is in place in your system
Comment 6 Piotr Szymaniak 2011-09-09 20:13:54 UTC
(In reply to comment #5)
> indicates it is present & accounted for, so I cannot replicate.
> Check for the above
> *snip*

Don't have libXpm installed and it's not pulled in (see -pqv) by ted.
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-10-03 09:31:21 UTC
Created attachment 288651 [details, diff]
One line adjustment to add 1 rdep

Tried and tested; works
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-10-06 17:44:16 UTC
+  06 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> ted-2.21.ebuild:
+  Export CC so full compiler name is used. Missing libXpm depend wrt #371213 by
+  Piotr Szymaniak