Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637472 - net-dns/avahi-0.7 - Traceback (most recent call last): File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 186, in load data = pickle.load(fd) EOFError: Ran out of input
Summary: net-dns/avahi-0.7 - Traceback (most recent call last): File "/usr/lib64/gob...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 10:22 UTC by Mattia Rossi
Modified: 2019-07-09 08:22 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 Mattia Rossi 2017-11-14 10:22:03 UTC
avahi-0.7 fails to compile on ~amd64.

The relevant build log bit:

libtool: link: (cd ".libs" && rm -f "libavahi-gobject.so.0" && ln -s "libavah
i-gobject.so.0.0.5" "libavahi-gobject.so.0")
libtool: link: (cd ".libs" && rm -f "libavahi-gobject.so" && ln -s "libavahi-
gobject.so.0.0.5" "libavahi-gobject.so")
libtool: link: ( cd ".libs" && rm -f "libavahi-gobject.la" && ln -s "../libav
ahi-gobject.la" "libavahi-gobject.la" )
CPPFLAGS="" CFLAGS="-O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pe
dantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -W
float-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -
Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -
Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-sho
w-option -Wno-cast-qual -fno-strict-aliasing" LDFLAGS="-Wl,-O1 -Wl,--as-neede
d" CC="x86_64-pc-linux-gnu-gcc" PKG_CONFIG="/usr/bin/x86_64-pc-linux-gnu-pkg-
config" DLLTOOL="false"  /usr/bin/g-ir-scanner  --add-include-path=. --namesp
ace=Avahi --nsversion=0.6 --libtool="/bin/sh ../libtool"  --include=GObject-2
.0 --include=AvahiCore-0.6    --library=libavahi-gobject.la --strip-prefix=Ga
 --cflags-begin -I.. '-DDEBUG_TRAP=__asm__("int ")' -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include --cflags-end  ga-client.c ga-client.h ga-entry-group.c ga-entry-group.h ga-enums.h ga-error.c ga-error.h ga-record-browser.c ga-record-browser.h ga-service-browser.c ga-service-browser.h ga-service-resolver.c ga-service-resolver.h signals-marshal.list signals-marshal.h signals-marshal.c ga-client-enumtypes.h ga-client-enumtypes.c ga-entry-group-enumtypes.h ga-entry-group-enumtypes.c ga-enums-enumtypes.h ga-enums-enumtypes.c libavahi-gobject.la --output Avahi-0.6.gir
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
Traceback (most recent call last):
  File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 186, in load
    data = pickle.load(fd)
EOFError: Ran out of input

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 66, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 529, in scanner_main
    transformer = create_transformer(namespace, options)
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 399, in create_transformer
    transformer.register_include(include_obj)
  File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 141, in register_include
    self._parse_include(filename)
  File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 221, in _parse_include
    parser = self._cachestore.load(filename)
  File "/usr/lib64/gobject-introspection/giscanner/cachestore.py", line 187, in load
    except (AttributeError, EOFError, ValueError, pickle.BadPickleGet):
AttributeError: module 'pickle' has no attribute 'BadPickleGet'
make[3]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:160: Avahi-0.6.gir] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.7/work/avahi-0.7-abi_x86_64.amd64/avahi-gobject'
make[2]: *** [Makefile:526: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.7/work/avahi-0.7-abi_x86_64.amd64/avahi-gobject'
make[1]: *** [Makefile:743: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.7/work/avahi-0.7-abi_x86_64.amd64'
make: *** [Makefile:652: all] Error 2
 * ERROR: net-dns/avahi-0.7::gentoo failed (compile phase):
 *   emake failed

Versions of libs used:

dev-libs/gobject-introspection-1.52.1
dev-libs/gobject-introspection-common-1.52.1
dev-lang/python-3.6.3-r1

Python targets used:

PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

USE Flags for gobject-introspection:

cairo

USE Flags for python3.6:

gdbm ipv6 libressl ncurses readline sqlite ssl threads xml

emerge --info output (without use flags to declutter):

System uname: Linux-4.13.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4600U_CPU_@_2.10GHz-with-gentoo-2.4.1
KiB Mem:     4039000 total,   1125232 free
KiB Swap:    1048572 total,   1018108 free
Timestamp of repository gentoo: Mon, 13 Nov 2017 14:30:01 +0000
Head commit of repository gentoo: 5da658803c6817e7df3e9661321c2c2694ba6de0
Head commit of repository bliss-overlay: 0482b29a273f0adf26031c7878cc71e51c8f99a9

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.6::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

bliss-overlay
    location: /var/lib/overlays/bliss-overlay
    sync-type: git
    sync-uri: https://github.com/fearedbliss/bliss-overlay.git
    masters: gentoo

override
    location: /opt/portage
    masters: gentoo bliss-overlay
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="de_CH.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"

Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS