I want to emerge geda-suite in my mechine amd64/Linux, I met compile error with gerbv package, snippet of error message is copied bellow: ---------------------------------------------------- draw_amacro.c:51: error: conflicting types for 'stack_t' /usr/include/bits/sigstack.h:55: error: previous declaration of 'stack_t' was here make[2]: *** [draw_amacro.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sci-electronics/gerbv-1.0.1-r1/work/gerbv-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-electronics/gerbv-1.0.1-r1/work/gerbv-1.0.1' make: *** [all] Error 2 * * ERROR: sci-electronics/gerbv-1.0.1-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2187: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) * * 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-electronics/gerbv-1.0.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/gerbv-1.0.1-r1/temp/environment'. Reproducible: Always Steps to Reproduce: 1.unmask geda-suite and related package that they are still mask by ~amd64 2.emerge geda-suite 3.I ran into trouble in gerbv package compiling.
please attach output of emerge --info and emerge -vp sci-electronics/gerbv to the bug
(In reply to comment #1) > please attach output of > emerge --info and emerge -vp sci-electronics/gerbv > to the bug > /*****************************************************************************/ $ emerge -vp sci-electronics/gerbv ----------------------------------- These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sci-electronics/gerbv-1.0.1-r1 USE="png -doc -xinerama" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB /*****************************************************************************/ $ emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.2.5 Timestamp of tree: Thu, 21 May 2009 04:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://61.135.158.199 http://gentoo.gg3.net/ http://gentoo.cs.nctu.edu.tw/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bzip2 cairo cli cracklib crypt cscope ctags cups dri dvd gdbm gif glibc-omitfp gnome gpm gtk iconv ipv6 isdnlog jpeg mesa midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcl tcpd threads tiff tk unicode wifi xorg xulrunner 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 mmap_emul 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" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY /******************************************************************************/
this affects me too # emerge --info Portage 2.2_rc44 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo i686) ================================================================= System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-1.12.11.1 Timestamp of tree: Thu, 08 Oct 2009 22:45:03 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" 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 /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --keep-going" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.pacific.net.au/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude='/searchdesc'" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.pacific.net.au/gentoo-portage" USE="X a52 aac aalib acpi adns aio alsa amrnb amrwb apache2 async automount bash-completion berkdb blender-game bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr cleartype cli consolekit cracklib crypt curl dbus dga dlz dpmod dri dssi dts dvd dvdr eap-sim eds emboss encode esd evo exif extra-tools faac faad fam fame fbcon ffmpeg fglrx firefox flac fltk fortran fping gd gdbm gif gimp glut gnutls gphoto2 gpm gsm h323 hal hardware-carrier iconv id3tag ifp imagemagick ipod isdnlog jabber jack john joystick jpeg jpeg2k json kde kdeenablefinal kdehiddenvisibility ladspa lame laptop lash latin1 libcaca libnotify libsamplerate libssh2 libvisual lights lirc loop-aes lzma lzo mad maps max-idx-128 mbrola mdnsresponder-compat metric midi mikmod mjpeg mmap mmx mmxext module modules moodbar mp3 mp4 mpeg mplayer msn mudflap mysql mysqli ncurses netboot nethack network nfs njb nls noicon nptl nptlonly nsplugin ntp objc offensive ogg openal opengl openmp oscar pam pcre pdf perl perlsuid png pnm policykit poppler-bindings postgres ppds pppd python qt3 qt3support quicktime radeon rar readline reflection rtc samba sasl schroedinger sdl session soap socks5 speex spl sse sse2 ssh ssl startup-notification subtitles subversion suexec svg sysfs tcpd textures theora thunar tiff tor tordns transmitter tremor truetype unicode urandom usb utils v4l v4l2 vcd visualization vorbis wifi win32codecs winbind wireshark x264 x86 xanim xcomposite xine xinerama xml xmlrpc xmp xorg xosd xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file 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 proxy proxy_connect proxy_http proxy_ftp rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS=" adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template topfield toshiba_pdrm11 " ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="fbdev intel fglrx radeon nvidia sis vesa vmware radeonhd virtualbox" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 208908 [details, diff] Patch for bad use of stack_t name This patch fixes gerbv-1.0.1-r1 at least for me
I've uploaded a patch that works for me (it renames the local struct type away from the name used by a system header).
Affects me too. Any maintainer around to merge the patch to portage tree ?
The real problem is that the stable version is very old. So please arches stabilize sci-electronics/gerbv-2.3.0-r2. To test it, simply emerge with USE=examples, then go into any of the example projects and open some of the .gbr and/or .exc files (do "open layers", not "open project"). If you can view them, zoom in/out, and move around then it works. Thanks, Denis.
> To test it, simply emerge with USE=examples, then go into any of the example > projects and open some of the .gbr and/or .exc files (do "open layers", not > "open project"). If you can view them, zoom in/out, and move around then it > works. Looks all good on x86.
Seems to work fine on ppc, marked ppc stable.
stable x86, thanks Thomas
sparc stable
AMD64 test report Compiles and Installs without problems with all USE flag combinations on stable chroot. Tested: * tests according to comment #7 * Checked all main menu functions * exported in some different formats and checked those Works as expected.
As we are too late and after reading ChangeLog I feel that it's better stabilized 2.4.0 on amd64. Denis, is this Ok? ^^
(In reply to comment #13) > As we are too late and after reading ChangeLog I feel that it's better > stabilized 2.4.0 on amd64. > > Denis, is this Ok? ^^^ Good idea. Thanks for taking care of that. Denis.
gerbv-2.4.0 is stable on amd64. Last arch. Fixed.