Hi, i am trying to emerge Alliance but I am having some errors. My emerge --info: Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.pair.com/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X acpi alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib ipv6 isdnlog jpeg lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY The error message: ../../../src/fvh/src/fbl_bcomp_y.y: In function `fbl_y_parse': ../../../src/fvh/src/fbl_bcomp_y.y:3207: error: incompatible type for argument 2 of `chktab' In file included from ../../../src/fvh/src/fbl_bcomp_y.y:1119: ../../../src/fvh/src/fbl_bcomp_y.y:3207: error: incompatible type for argument 2 of `chktab' make[2]: *** [fbl_bcomp_y.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/alliance-5.0.20060329/work/alliance-5.0/fvh/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/alliance-5.0.20060329/work/alliance-5.0/fvh' make: *** [all-recursive] Error 1 !!! ERROR: sci-electronics/alliance-5.0.20060329 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Thanks for any help.
Hi Leo, The package compiles fine here on a P4. Could you please recompile with CFLAGS="-O2 ...." rather than "-O3" and report back? Thanks, Markus
Sure, will try it again tonight and post the results here. Thanks.
Hi, I am sorry my make.conf has -03 as default. How can I change it for this package only (or should I change it for all my packages)? Is there any reason for it not accept 03 optimization? Thanks!
(In reply to comment #3) > I am sorry my make.conf has -03 as default. How can I change it for this > package only (or should I change it for all my packages)? Is there any reason > for it not accept 03 optimization? If it's only to try a different set of CFLAGS when building a certain package, all you need is pass them at the command line when you emerge the package. In your case you would do this : CFLAGS="-O2 -march=pentium-m -pipe" CXXFLAGS="-O2 -march=pentium-m -pipe" emerge alliance (the above command is all on the same line) And to answer your second question, yes, some packages don't like some of the more aggressive optimizations, and we can filter them in ebuilds when necessary. Note 1. Specifying '-march=pentium-m' implies '-mtune=pentium-m', so you really don't need the -mtune option in your CFLAGS. Note 2. Your emerge info shows CXXFLAGS="", which is... hum... stupid ;o) You may want to fix that and set CXXFLAGS="${CFLAGS}" in your /etc/make.conf Note 3. You have set the status of this bug to 'RESOLVED FIXED'. Does this mean you have tried with -O2 and that it worked, or did you change the status by mistake ? I reopen the bug until this is clarified. Denis.
Thanks! No it did work with -02. I am making all the suggested changes right now. Thank you again and sorry for all this confusion.
(In reply to comment #5) > Thanks! No it did work with -02. I am making all the suggested changes right > now. Thank you again and sorry for all this confusion. OK, but you shouldn't close the bug. We do so once the problem is fixed. And in this case, the problem is not you using -O3, but alliance not building with -O3. What needs to be done is to replace -O3 by -O2 in the ebuild, so that people like you who use -O3 in their make.conf can still emerge alliance. I will do so after the usual verifications. So, please keep opening bugs, we love them, but let us close them. And thanks for your input, as always. Denis.
Oh sorry! I agree with you I dont know why I keep closing it maybe excitement :) Since I closed it when I replied I just reopened the bug, ok? Dont worry about bugs coming I am here to find them! hehehe I am trying to start using Alliance now. Thanks for all your help.
Fixed.