failed to compile net-dialup/linux-atm-2.4.1-r2 (needs for net-misc/br2684ctl) # emerge --info =net-dialup/linux-atm-2.4.1-r2 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.30-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 05 Aug 2010 10:15:02 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8 -O2 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru en" MAKEOPTS="-j5" 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.europe.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 amr amrnb apm automount avahi bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dts dvd dvdr eds emboss encode evo exif faac faad ffmpeg firefox flac fortran gdbm gdu geoip gif gnome gnome-keyring gpm gstreamer gtk hal iconv jpeg lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd prelude qt3support readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vhosts vim-syntax vorbis x264 xcb xml xorg xulrunner 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 mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="X" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY # emerge -pqv =net-dialup/linux-atm-2.4.1-r2 [ebuild N ] net-dialup/linux-atm-2.4.1-r2 # emerge =net-dialup/linux-atm-2.4.1-r2 < CUT > make[3]: Entering directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1/src/qgen' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -msse3 -pipe -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c common.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -msse3 -pipe -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c file.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -msse3 -pipe -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c first.c bison -y -d ql_y.y && mv y.tab.c ql_y.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -march=k8 -O2 -msse3 -pipe -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c qgen.c ql_y.y:435.13-14: $$ for the midrule at $5 of `tags' has no declared type ql_y.y:436.13-14: $$ for the midrule at $5 of `tags' has no declared type ql_y.y:478.13-14: $$ for the midrule at $5 of `rep_tags' has no declared type ql_y.y:479.13-14: $$ for the midrule at $5 of `rep_tags' has no declared type make[3]: *** [ql_y.c] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1/src/qgen' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1' make: *** [all-recursive-am] Error 2 * ERROR: net-dialup/linux-atm-2.4.1-r2 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3025: Called die * The specific snippet of code: * emake || die "emake failed"
Can you please attach the full build.log and environment files, thanks.
Created attachment 241715 [details] build.log
Created attachment 242197 [details] environment files
I'm also hitting this exact problem: bison -y -d ql_y.y && mv y.tab.c ql_y.c ql_y.y:435.13-14: $$ for the midrule at $5 of `tags' has no declared type ql_y.y:436.13-14: $$ for the midrule at $5 of `tags' has no declared type ql_y.y:478.13-14: $$ for the midrule at $5 of `rep_tags' has no declared type ql_y.y:479.13-14: $$ for the midrule at $5 of `rep_tags' has no declared type Cheers, Alex
same problem: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -O2 -pipe -march=native -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c third.c ql_y.y:435.13-14: $$ для правила $5 из «tags» не имеет описанного типа ql_y.y:436.13-14: $$ для правила $5 из «tags» не имеет описанного типа ql_y.y:478.13-14: $$ для правила $5 из «rep_tags» не имеет описанного типа ql_y.y:479.13-14: $$ для правила $5 из «rep_tags» не имеет описанного типа make[3]: *** [ql_y.c] Ошибка 1 make[3]: *** Ожидание завершения заданий... make[3]: Выход из каталога `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1/src/qgen' make[2]: *** [all-recursive] Ошибка 1 make[2]: Выход из каталога `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Выход из каталога `/var/tmp/portage/net-dialup/linux-atm-2.4.1-r2/work/linux-atm-2.4.1' make: *** [all-recursive-am] Ошибка 2 emake failed * ERROR: net-dialup/linux-atm-2.4.1-r2 failed (compile phase): * emake failed
=net-dialup/linux-atm-2.4.1* required by (net-misc/br2684ctl-20040226
Created attachment 314977 [details, diff] patch is a diff linux-atm-2.4.1-r2/src/qgen/ql_y.y linux-atm-2.5.0/src/qgen/ql_y.y patch is a diff linux-atm-2.4.1-r2/src/qgen/ql_y.y linux-atm-2.5.0/src/qgen/ql_y.y
2.4.x dropped