Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436428 - net-analyzer/wireshark-1.8.2-r2: emake failed while making register.c with Python
Summary: net-analyzer/wireshark-1.8.2-r2: emake failed while making register.c with Py...
Status: RESOLVED DUPLICATE of bug 435460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 18:06 UTC by Alex Xu (Hello71)
Modified: 2012-09-28 14:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2012-09-27 18:06:23 UTC
Wireshark appears not to build successfully.

Reproducible: Always

Steps to Reproduce:
1. `emerge wireshark`
Actual Results:  
emake failed

Expected Results:  
successful build

$ emerge --info wireshark

Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.6.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.0-rc6-x86_64-Intel-R-_Core-TM-_i3-2377M_CPU_@_1.50GHz-with-gentoo-2.1
Timestamp of tree: Sat, 22 Sep 2012 01:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wformat -Wformat-security -Werror=format-security -march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-Wformat -Wformat-security -Werror=format-security -march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --jobs=4 --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-z,relro,-z,now"
LINGUAS="en en_US en_GB"
MAKEOPTS="-j10 -l6.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.96.11/gentoo-portage"
USE="X aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx declarative dri dvdr emboss encode exif fam firefox flac gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl ogg opengl openmp pam pango pch pcre pdf pgo phonon plasma png policykit ppds pppd qt3support qt4 readline sdl session smp spell sse sse2 ssl ssse3 startup-notification svg system-sqlite tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xml xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" 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 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 en_US en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

$ equery u wireshark
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-analyzer/wireshark-1.8.2-r2:
 U I
 - - adns      : Use the GNU net-dns/c-ares library to resolve DNS names
 + - caps      : Use Linux capabilities library to control privilege
 - - doc       : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - doc-pdf   : Build documentation in pdf format (US and a4 paper sizes)
 - - gcrypt    : Use GNU crypto library (dev-libs/libgcrypt) to decrypt ipsec traffic
 - - geoip     : Add geoip support for country and city lookup based on IPs
 + + gtk       : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + ipv6      : Adds support for IP version 6
 - - kerberos  : Adds kerberos support
 - - libadns   : Use net-lib/adns (DEPRECATED) instead of net-dns/c-ares to resolve DNS names
 - - lua       : Enable Lua scripting support
 + - pcap      : Use net-libs/libpcap for network packet capturing (build dumpcap, rawshark)
 - - portaudio : Adds support for the crossplatform portaudio audio API
 - - profile   : Adds support for software performance analysis (will likely vary from ebuild to ebuild)
 - - python    : Adds optional support/bindings for the Python language
 - - smi       : Use net-libs/libsmi to resolve numeric OIDs into human readable format
 + + ssl       : Adds support for Secure Socket Layer connections
 + + zlib      : Adds support for zlib (de)compression

Relevant portion of build log:

Making all in dissectors
make[3]: Entering directory `/tmp/portage/net-analyzer/wireshark-1.8.2-r2/work/wireshark-1.8.2/epan/dissectors'
Making register.c with python
Registering 1068 files, 0 cached
Traceback (most recent call last):
  File "../../tools/make-dissector-reg.py", line 154, in <module>
    for line in file.readlines():
  File "/usr/lib64/python3.2/codecs.py", line 300, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 2185: invalid start byte
make[3]: *** [register.c] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-28 14:35:59 UTC
Please attach the entire build log to this bug report.

*** This bug has been marked as a duplicate of bug 435460 ***