Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490892 - =net-analyzer/tcpreplay-3.4.4-r2 with >sys-devel/autogen-5.15 - tcpreplay_opts.c:67:1: error: unknown type name ‘tSCC’
Summary: =net-analyzer/tcpreplay-3.4.4-r2 with >sys-devel/autogen-5.15 - tcpreplay_opt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 00:27 UTC by Anton Kochkov
Modified: 2014-01-31 13:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (tcpreplay_build.log,48.36 KB, text/plain)
2013-11-10 00:27 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2013-11-10 00:27:33 UTC
Created attachment 362938 [details]
full build log

make[3]: Entering directory `/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -I..  -I/usr/include -DTCPREPLAY -D_U_="__attribute__((unused))" -O2 -march=corei7-avx -pipe -Wall -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -c -o tcpreplay-tcpreplay_opts.o `test -f 'tcpreplay_opts.c' || echo './'`tcpreplay_opts.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -I..  -I/usr/include -DTCPREPLAY -D_U_="__attribute__((unused))" -O2 -march=corei7-avx -pipe -Wall -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -c -o tcpreplay-send_packets.o `test -f 'send_packets.c' || echo './'`send_packets.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -I..  -I/usr/include -DTCPREPLAY -D_U_="__attribute__((unused))" -O2 -march=corei7-avx -pipe -Wall -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -c -o tcpreplay-signal_handler.o `test -f 'signal_handler.c' || echo './'`signal_handler.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -I..  -I/usr/include -DTCPREPLAY -D_U_="__attribute__((unused))" -O2 -march=corei7-avx -pipe -Wall -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -c -o tcpreplay-tcpreplay.o `test -f 'tcpreplay.c' || echo './'`tcpreplay.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -I..  -I/usr/include -DTCPREPLAY -D_U_="__attribute__((unused))" -O2 -march=corei7-avx -pipe -Wall -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -c -o tcpreplay-sleep.o `test -f 'sleep.c' || echo './'`sleep.c
tcpreplay_opts.c:67:1: error: unknown type name ‘tSCC’
compilation terminated due to -Wfatal-errors.
make[3]: *** [tcpreplay-tcpreplay_opts.o] Error 1
make[3]: *** Waiting for unfinished jobs....
sleep.c: In function ‘ioport_sleep’:
sleep.c:70:36: warning: unused parameter ‘nap’ [-Wunused-parameter]
tcpreplay.c: In function ‘post_args’:
tcpreplay.c:382:23: warning: assignment makes integer from pointer without a cast [enabled by default]
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4/src'
make: *** [all-recursive] Error 1
 [31;01m*[0m ERROR: net-analyzer/tcpreplay-3.4.4-r2::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=net-analyzer/tcpreplay-3.4.4-r2::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-analyzer/tcpreplay-3.4.4-r2::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4'
 [31;01m*[0m S: '/var/tmp/portage/net-analyzer/tcpreplay-3.4.4-r2/work/tcpreplay-3.4.4'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-10 23:20:02 UTC
Please comment with the output of `emerge --info`.
Comment 2 Anton Kochkov 2013-11-30 19:41:25 UTC
emerge --info output:

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.12.0-gentoo x86_64)
=================================================================
System uname: Linux-3.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3979084 total,    673632 free
KiB Swap:   16777212 total,  16542004 free
Timestamp of tree: Thu, 28 Nov 2013 22:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo lisp science mozilla x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -march=corei7-avx -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lisp /var/lib/layman/science /var/lib/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="7zip X a52 aac ace acl acpi alsa amd64 bash-completion bazaar berkdb bzip2 cairo cli compress consolekit cpio cracklib crypt curl curlwrappers cvs cxx dbus dirac djvu dri dts dvd fbcon fbcondecor ffmpeg flac fontconfig fortran ftp gdbm geoip gif git gnutls gtk guile hddtemp iconv icu idn imap ipv6 jabber jpeg jpeg2k laptop lm-sensors lua lzma lzo matroska mercurial mime mmx mng modules mp3 mp4 mpeg mpt mudflap multilib ncurses networking nls nptl opengl openmp pam pango pcre pdf perl png python qt3support qt4 rar readline rtsp sasl sbcl schroedinger session sockets sqlite sse sse2 ssl subversion svg tcpd theora tidy tiff truetype unicode usb v4l2 vaapi vim-syntax vorbis wifi x264 xattr xcb xcomposite xft xml xmlrpc xpm xsl zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-31 12:46:36 UTC
See bug #252940. It depends on your version of sys-devel/autogen;

=sys-devel/autogen-5.15:
/usr/include/autoopts/options.h:#define tSCC        static char const
(and so on)

whereas =sys-devel/autogen-5.17.3 (the next version in the tree) no longer defines this or other macros (tCC, tAoSC and so on).
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-31 13:09:49 UTC
This is already fixed in the 3.5.0_beta1 ebuild and in the upstream 4.0.2 code. I'll be removing 3.4.4-r2 shortly (see bug #499824).