sci-astronomy/wcstools-3.7.1 fails to emerge: # emerge wcstools .... mv -f .deps/imcat.Tpo .deps/imcat.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libwcs -march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -MT scat.o -MD -MP -MF .deps/scat.Tpo -c -o scat.o scat.c mv -f .deps/imwcs.Tpo .deps/imwcs.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libwcs -march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -MT sethead.o -MD -MP -MF .deps/sethead.Tpo -c -o sethead.o sethead.c mv -f .deps/imstar.Tpo .deps/imstar.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libwcs -march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -MT addpix.o -MD -MP -MF .deps/addpix.Tpo -c -o addpix.o addpix.c mv -f .deps/addpix.Tpo .deps/addpix.Po i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./libwcs -march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer -MT getpix.o -MD -MP -MF .deps/getpix.Tpo -c -o getpix.o getpix.c getpix.c: In function 'PrintPix': getpix.c:432: error: incompatible type for argument 4 of 'procpix' getpix.c:441: error: incompatible type for argument 4 of 'procpix' getpix.c:492: error: incompatible type for argument 4 of 'procpix' getpix.c:495: error: incompatible type for argument 4 of 'procpix' getpix.c:499: error: incompatible type for argument 4 of 'procpix' getpix.c:545: error: incompatible type for argument 4 of 'procpix' getpix.c:554: error: incompatible type for argument 4 of 'procpix' getpix.c:602: error: incompatible type for argument 4 of 'procpix' getpix.c:611: error: incompatible type for argument 4 of 'procpix' getpix.c:701: error: incompatible type for argument 4 of 'procpix' getpix.c:710: error: incompatible type for argument 4 of 'procpix' make[2]: *** [getpix.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/sethead.Tpo .deps/sethead.Po mv -f .deps/scat.Tpo .deps/scat.Po make[2]: Leaving directory `/var/tmp/portage/sci-astronomy/wcstools-3.7.1/work/wcstools-3.7.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-astronomy/wcstools-3.7.1/work/wcstools-3.7.1' make: *** [all] Error 2 * * ERROR: sci-astronomy/wcstools-3.7.1 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2462: Called die * The specific snippet of code: * emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sci-astronomy/wcstools-3.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/wcstools-3.7.1/temp/environment'. * * Messages for package sci-astronomy/wcstools-3.7.1: * * ERROR: sci-astronomy/wcstools-3.7.1 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 2462: Called die * The specific snippet of code: * emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"; * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sci-astronomy/wcstools-3.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/wcstools-3.7.1/temp/environment'. * The complete buildlog can be found at http://saistud.sai.msu.ru/~kirx/img/build.log but there is no error or warning messages before "incompatible type for argument". wcstools fails to compile on my Centrino duo laptop, but there is NO such problem with my two Athlon X2 workstations. All three computers have regularly updated i686-pc-linux-gnu Gentoo linux (with the same version of gcc). What is wrong? :) Reproducible: Always Steps to Reproduce: 1. emerge wcstools gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1) # emerge --info Portage 2.1.4_rc9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.7-r0, 2.6.22-suspend2-r1 i686) ================================================================= System uname: 2.6.22-suspend2-r1 i686 Intel(R) Core(TM) Duo CPU T2350 @ 1.86GHz Timestamp of tree: Sat, 08 Dec 2007 13:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r4, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 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.4_p6, 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-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O3 -mmmx -msse -msse2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/" LANG="POSIX" LINGUAS="ru en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib ac3 alsa amr arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dcraw disablexmb dlloader dri dts dvd dvdr eds emboss encode esd fam fbcon firefox fortran gd gdbm gif gimp gimpprint gnome gpm gstreamer gtk hal hwac3 i8x0 iconv ipv6 isdnlog jpeg kde ldap ldb libg++ live mad matroska midi mikmod mmx mmxext moznopango mp3 mpeg mudflap mythtv ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline real reflection sdl session spell spl sse sse2 ssl tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts udev usb vorbis win32codecs x86 xanim xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en_US" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please try with CFLAGS="-march=prescott -O2". Thanks, Markus
Yea, it compiles normally with CFLAGS="-march=prescott -O2". Thanks!! :)