<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>48229</bug_id>
          
          <creation_ts>2004-04-18 08:44 0000</creation_ts>
          <short_desc>canna won&apos;t compile due to gcc cannot create executables</short_desc>
          <delta_ts>2004-05-06 04:34:45 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>flonai@gmx.de</reporter>
          <assigned_to>cjk@gentoo.org</assigned_to>
          <cc>mike@crealms.dtdns.net</cc>
    
    <cc>x11@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-04-18 08:44:09 0000</bug_when>
            <thetext>creating cannaconf.h
CPPFLAGS=&apos;  -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=&apos;&quot;The X.Org Foundation&quot;&apos; -DXVENDORNAMESHORT=&apos;&quot;X.Org&quot;&apos;&apos; CC=&apos;gcc&apos; CFLAGS=&apos;-O2 -fno-strength-reduce -fno-strict-aliasing &apos; IN_MAKE=yes ./configure --prefix=/usr
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
make[1]: *** [accanna.h] Error 77
make[1]: Leaving directory `/var/tmp/portage/canna-3.7/work/Canna37&apos;
make: *** [canna] Error 2

!!! ERROR: app-i18n/canna-3.7 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge canna
2.
3.
Actual Results:  
canna stops compiling

Expected Results:  
canna should be build

Portage 2.0.51_pre3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.26_pre6-gentoo)
=================================================================
System uname: 2.4.26_pre6-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16
-falign-jumps=16 -fforce-addr&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16
-falign-jumps=16 -fforce-addr&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache digest fixpackages prelink sandbox&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;                  
PKGDIR=&quot;/usr/portage/packages&quot;  
PORTAGE_TMPDIR=&quot;/var/tmp&quot;       
PORTDIR=&quot;/usr/portage&quot;          
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X aalib acpi alsa avi berkdb canna cjk crypt directfb dvd encode
escreen esd fbcon fbdev firebird freetype gdbm gif gpm gtk gtk2 imlib imlib2
java javascript jpeg libg++ libwww mad mikmod motif mpeg mpeg4 ncurses nls
oggvorbis opengl oss pam pdflib perl png pnp python quicktime readline sdl slang
spell ssl svga tcltk tcpd transcode truetype wolk-alsa wolk-bootsplash
wolk-supermount x86 xine xml2 xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-04-18 22:28:16 0000</bug_when>
            <thetext>post the config.log from the build directory please</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-04-19 05:58:59 0000</bug_when>
            <thetext>This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by FULL-PACKAGE-NAME configure VERSION, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/usr

## --------- ##
## Platform. ##
## --------- ##

hostname = ghede.foo.bar
uname -m = i686
uname -r = 2.4.26_pre6-gentoo
uname -s = Linux
uname -v = #1 Fr Apr 16 08:25:03 CEST 2004

/usr/bin/uname -p = AMD Athlon(tm) Processor
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3
PATH: /opt/Acrobat5
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jdk-1.4.1/bin
PATH: /opt/blackdown-jdk-1.4.1/jre/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1251: checking for gcc
configure:1277: result: gcc
configure:1521: checking for C compiler version
configure:1524: gcc --version &lt;/dev/null &gt;&amp;5
gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1527: $? = 0
configure:1529: gcc -v &lt;/dev/null &gt;&amp;5
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include --datadir=/usr/shared --enable-nls --without-included-gettext --disable-multilib
Thread model: posix
gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
configure:1532: $? = 0
configure:1534: gcc -V &lt;/dev/null &gt;&amp;5
gcc: `-V&apos; option must have argument
configure:1537: $? = 1
configure:1563: checking for C compiler default output
configure:1566: gcc -O2 -fno-strength-reduce -fno-strict-aliasing 
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  &gt;&amp;5
gcc: X.Org: No such file or directory
gcc: Foundation: No such file or directory
configure:1569: $? = 1
configure: failed program was:
#line 1540 &quot;configure&quot;
#include &quot;confdefs.h&quot;

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern &quot;C&quot;
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:1596: error: C compiler cannot create executables

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=&apos;-O2 -fno-strength-reduce -fno-strict-aliasing &apos;
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=&apos;  -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L  -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURC -DFUNCPROTO=15 -DNARROWPROTO     -DXVENDORNAME=The X.Org Foundation -DXVENDORNAMESHORT=X.Org&apos;
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME &quot;FULL-PACKAGE-NAME&quot;
#define PACKAGE_TARNAME &quot;full-package-name&quot;
#define PACKAGE_VERSION &quot;VERSION&quot;
#define PACKAGE_STRING &quot;FULL-PACKAGE-NAME VERSION&quot;
#define PACKAGE_BUGREPORT &quot;BUG-REPORT-ADDRESS&quot;

configure: exit 77


------------------------------------------------------------------------
i am sorry that i have to post it, course bugzilla won&apos;t upload the file </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2004-04-19 19:08:45 0000</bug_when>
            <thetext>Due to things not expecting a multi-word vendor, you&apos;ll need to get quotes around The X.Org Foundation CJK guys.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-04-25 04:03:56 0000</bug_when>
            <thetext>On my box canna builds successfully with xorg-x11-6.7.0 (Updated on
8 Apr 2004). My config.log doesn&apos;t contain XVENDORNAME and
XVENDORNAMESHORT in CPPFLAGS. I have no idea where to fix :(
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2004-04-25 09:04:25 0000</bug_when>
            <thetext>donnie@supernova donnie $ grep -i xvendor /var/db/pkg/x11-base/xorg-x11-6.7.0/xorg-x11-6.7.0.ebuild
                echo &quot;#define XVendorString \&quot;Gentoo Linux (The X.Org Foundation ${PV}, revision ${PR}-${PATCH_VER})\&quot;&quot; \

You should have a string similar, possibly with the exception of the ${PATCH_VER}. I made that change 8 April.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-04-25 09:15:25 0000</bug_when>
            <thetext>okay i found the fault, when the Makefile is generated after xmkmf i have in line 454: VENDORNAME=The X.Org Foundation. After changing it to X.Org canna compiled. i will give you my original Makefile + the patch. i don&apos;t know why it happened course i am using a new gentoo install from 13th or 14th April. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-04-25 09:17:19 0000</bug_when>
            <thetext>yes i have. i changes it manually back to X.Org and i am compiling the X.Org xserver at the moment to see if that causes the prob... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2004-04-25 09:18:55 0000</bug_when>
            <thetext>Yeah, but that&apos;s a hack. It&apos;s _expected_ to be The X.Org Foundation. That&apos;s why I changed it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-04-25 09:27:17 0000</bug_when>
            <thetext>patch to get canna-3.7p1 compiled:

--- Makefile    2004-04-25 17:03:14.486238888 +0200
+++ Makefile.bak        2004-04-25 17:03:01.103273408 +0200
@@ -451,7 +451,7 @@
  VENDORMANVERSION = `echo 6 7 0 | sed -e &apos;s/ /./g&apos; -e &apos;s/^/Version\\\ /&apos;`
       XORGMANDEFS = -D__xorgversion__=&apos;&quot;$(XORGRELSTRING)&quot; &quot;$(XORGMANNAME)&quot;&apos;
     VENDORMANDEFS = -D__vendorversion__=&quot;$(VENDORMANVERSION) $(VENDORMANNAME)&quot;
-       VENDORNAME = The X.Org Foundation
+       VENDORNAME = X.Org
   VENDORNAMESHORT = X.Org
 
  VENDORWEBSUPPORT = http://wiki.X.Org

Maybe you can do something with sed but this patch apllied after the xmkmf ||die line in canna-3.7.ebuild </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-04-30 08:43:26 0000</bug_when>
            <thetext>You still have this problem? I cannot reproduce it. I emerged
xorg-x11 again at Mon Apr 26 07:00:53 2004. Both canna-3.7.ebuild
and canna-3.7_p1.ebuild compile and work fine. (I didn&apos;t commit _p1
since it contains only fixes for non-linux systems)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-05-01 00:59:12 0000</bug_when>
            <thetext>yes, but i haven&apos;t reemerged xorg-x11 yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-04 11:13:07 0000</bug_when>
            <thetext>okay, I added canna-3.7_p1.ebuild, which runs sed to put quotes
around VENDORNAME. Please report back if it solves the problem.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-05 00:07:06 0000</bug_when>
            <thetext>*** Bug 50023 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-05 00:09:47 0000</bug_when>
            <thetext>Also, canna-3.7p2 will be released next week and this issue is taken
care of by the upstream.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flonai@gmx.de</who>
            <bug_when>2004-05-06 02:37:11 0000</bug_when>
            <thetext>with p1:

creating cannaconf.h
CW_CPPFLAGS=&apos;  -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     &quot;-DXVENDORNAME=&apos;&quot;&quot;The X.Org Foundation&quot;&quot;&apos; -DXVENDORNAMESHORT=&apos;&quot;&quot;X.Org&quot;&quot;&apos;&quot;&apos; CW_CC=&apos;gcc&apos; CW_CFLAGS=&apos;-O2 -fno-strength-reduce -fno-strict-aliasing &apos; IN_MAKE=yes ./confwrapper . ./configure --prefix=/usr
/bin/sh: line 1: X.Org: command not found
make[1]: *** [accanna.h] Fehler 127
make[1]: Leaving directory `/var/tmp/portage/canna-3.7_p1/work/Canna37p1&apos;
make: *** [canna] Fehler 2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-06 04:13:13 0000</bug_when>
            <thetext>okay, i reproduced the bug with fresh installation of Gentoo/PPC.
Will fix it soon.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-06 04:34:45 0000</bug_when>
            <thetext>Fixed in CVS. Thanks for the bug report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>