creating cannaconf.h 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[1]: *** [accanna.h] Error 77 make[1]: Leaving directory `/var/tmp/portage/canna-3.7/work/Canna37' 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="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16 -falign-jumps=16 -fforce-addr" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -Os -pipe -fomit-frame-pointer -falign-loops=16 -falign-jumps=16 -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest fixpackages prelink 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="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"
post the config.log from the build directory please
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 </dev/null >&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 </dev/null >&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 </dev/null >&5 gcc: `-V' 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 >&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 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # 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='-O2 -fno-strength-reduce -fno-strict-aliasing ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=' -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' 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 "FULL-PACKAGE-NAME" #define PACKAGE_TARNAME "full-package-name" #define PACKAGE_VERSION "VERSION" #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION" #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS" configure: exit 77 ------------------------------------------------------------------------ i am sorry that i have to post it, course bugzilla won't upload the file
Due to things not expecting a multi-word vendor, you'll need to get quotes around The X.Org Foundation CJK guys.
On my box canna builds successfully with xorg-x11-6.7.0 (Updated on 8 Apr 2004). My config.log doesn't contain XVENDORNAME and XVENDORNAMESHORT in CPPFLAGS. I have no idea where to fix :(
donnie@supernova donnie $ grep -i xvendor /var/db/pkg/x11-base/xorg-x11-6.7.0/xorg-x11-6.7.0.ebuild echo "#define XVendorString \"Gentoo Linux (The X.Org Foundation ${PV}, revision ${PR}-${PATCH_VER})\"" \ You should have a string similar, possibly with the exception of the ${PATCH_VER}. I made that change 8 April.
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't know why it happened course i am using a new gentoo install from 13th or 14th April.
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...
Yeah, but that's a hack. It's _expected_ to be The X.Org Foundation. That's why I changed it.
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 's/ /./g' -e 's/^/Version\\\ /'` XORGMANDEFS = -D__xorgversion__='"$(XORGRELSTRING)" "$(XORGMANNAME)"' VENDORMANDEFS = -D__vendorversion__="$(VENDORMANVERSION) $(VENDORMANNAME)" - 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
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't commit _p1 since it contains only fixes for non-linux systems)
yes, but i haven't reemerged xorg-x11 yet.
okay, I added canna-3.7_p1.ebuild, which runs sed to put quotes around VENDORNAME. Please report back if it solves the problem.
*** Bug 50023 has been marked as a duplicate of this bug. ***
Also, canna-3.7p2 will be released next week and this issue is taken care of by the upstream.
with p1: creating cannaconf.h CW_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""'"' CW_CC='gcc' CW_CFLAGS='-O2 -fno-strength-reduce -fno-strict-aliasing ' 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' make: *** [canna] Fehler 2
okay, i reproduced the bug with fresh installation of Gentoo/PPC. Will fix it soon.
Fixed in CVS. Thanks for the bug report.