Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198977 - dev-perl/perl-tk-804.027: Cannot find X include files anywhere at ./myConfig line 333
Summary: dev-perl/perl-tk-804.027: Cannot find X include files anywhere at ./myConfig ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 22:35 UTC by Robin Johnson
Modified: 2009-03-19 16:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-12 22:35:21 UTC
This looks to be related to bug 128326, but I cannot see why the previous patch has ceased to work.

>>> Unpacking source...
>>> Unpacking Tk-804.027.tar.gz to /dev/shm/portage/dev-perl/perl-tk-804.027/work
 * Applying xorg.patch ...                                                                                                                                                                                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /dev/shm/portage/dev-perl/perl-tk-804.027/work/Tk-804.027 ...
 * Using ExtUtils::MakeMaker
/usr/bin/perl5.8.8 is installed in /usr/lib/perl5/5.8.8/powerpc-linux okay
PPM for perl5.008008
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0
Cannot find X include files via /include
Cannot find X include files anywhere at ./myConfig line 333.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.
 * 
 * ERROR: dev-perl/perl-tk-804.027 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *            ebuild.sh, line 1383:  Called perl-module_src_compile
 *   perl-module.eclass, line  147:  Called perl-module_src_prep
 *   perl-module.eclass, line  136:  Called die
 * The specific snippet of code:
 *              echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
 *              PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)"
 *  The die message:
 *   Unable to build! (are you using USE="build"?)

Portage 2.1.3.19 (default-linux/ppc/ppc64/2007.1/32bit-userland/desktop/970/pmac, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1-prod ppc64)
=================================================================
System uname: 2.6.23-gentoo-r1-prod ppc64 PPC970MP, altivec supported
Timestamp of tree: Tue, 23 Oct 2007 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-pipe -O2 -mtune=970 -mcpu=970 -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -mtune=970 -mcpu=970 -mabi=altivec"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks lmirror metadata-transfer mirror parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="af en en_GB en_ZA"
MAKEOPTS="-j7"
PKGDIR="/home/gentoo/packages/buck-int-2007.1/ppc64-32ul/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/code/gentoo/gentoo-cvs/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl adplug alsa altivec ares arts audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr chardet cli cracklib crypt cscope cups dbus diskio dri dvd dvdr eds emboss encode esd expat fam fftw firefox flac fortran gcc64 gd gdbm gif gmp gnokii gnome gnutls gstreamer gtk hal ical iconv ieee1394 imlib ipv6 isdnlog jbig jpeg jpeg2k kde latex ldap libsamplerate logitech-mouse mad midi mikmod mmap modplug mp3 mpeg mudflap musepack ncurses nls nptl nptlonly offensive ogg openexr opengl openmp oss pam pcre pda pdf perl png povray ppc pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection rpc scanner sdl session sid slp sms smux sndfile snmp socks5 solver speex spell spl ssl sysfs tcpd tetex theora tidy tiff timidity truetype truetype-fonts tta type1-fonts unicode urandom usb v4l vim-syntax vorbis vorbis-psy wavpack wideband wifi wma xcb xcomposite xinerama xinetd xml xorg xscreensaver xv zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="af en en_GB en_ZA" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv none radeon avivo radeonhd"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 michael@smith-li.com 2008-02-27 22:02:37 UTC
I couldn't reproduce this behavior. Are you still experiencing the problem?
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2009-03-19 16:43:49 UTC
I had this issue in a new ppc32 chroot. It appears that the configure script checks for the basedir + /X11 for the header. On my machine, simply adding '/usr/include' to the list of directories to check fixed the problem. I've taken the liberty of adding the simple patch to CVS, hope the perl team doesn't mind!