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

Bug 50023

Summary: Canna Fails to build
Product: Gentoo Linux Reporter: Michael Dillon <mike>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Dillon 2004-05-04 14:30:22 UTC
During the make includes process of Canna's configuration, it says the compiler cannot generate executables. This seems to be related to the VENDORNAME given by XOrg-x11. I tried various combinations but I'm not well versed in makefiles and the makefile still failed to pass the string quoted to GCC.


Reproducible: Always
Steps to Reproduce:
emerge canna


Actual Results:  

CPPFLAGS='  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
                        -D_POSIX_SOURCE -D_XOPEN_SOURCE                  
-D_BSD_SOURCE -D_SVID_SOURCE                                                   
 -DFUNCPROTO=15 -DNARROWPROTO     -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'' CC='gcc' CFLAGS='-O2 -fno-strength-reduce
-fno-strict-aliasing ' IN_MAKE=yes ./configure --prefix=/usr
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot
create executables
make: *** [accanna.h] Error 77

In the config.log this was found:
configure:1563: checking for C compiler default output
configure:1566: gcc -O2 -fno-strength-reduce -fno-strict-aliasing   
-I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=
199309L                         -D_POSIX_SOURCE -D_XOPEN_SOURCE                
                -D_BSD_SOURCE -D_SVID_SOURCE      
          -DFUNCPROTO=15 -DNARROWPROTO     -DXVENDORNAME=The X.Org Foundation
-DXVENDORNAMESHORT=X.Org  conftest.c  >&5
gcc: X.Org: No such file or directory
gcc: Foundation: No such file or directory
configure:1569: $? = 1



Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -g0 -finline-functions -ftracer
-fprefetch-loop-arrays -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -g0 -finline-functions -ftracer
-fprefetch-loop-arrays -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache keeptemp keepwork sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X Xaw3d aalib acl acpi acpi4linux alsa avi canna cdr cjk crypt
dga directfb dnd dv dvd encode evo fastcgi fbcon ffmpeg fftw flac fltk freewnn
gd gdbm ggi gif gpm gstreamer gtk gtk2 hardened imap imlib ipv6 java javascript
jbig jpeg junit mad matroska mbox md5sum mikmod mmx moznocompose moznoirc
moznomail mpeg ncurses nls odbc oggvorbis opengl oss pam pdflib perl pic pie png
python quicktime readline ruby sdk sdl snmp ssl svga tcltk tcpd tetex tiff
truetype usb wmf wxwindows x86 xgetdefault xine xml xml2 xmms xosd xv xvid zlib"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-05-05 00:07:06 UTC
Doesn't canna-3.7_p1.ebuild fix the problem?


*** This bug has been marked as a duplicate of 48229 ***