Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 441760

Summary: sci-geosciences/gpsd-3.7[-sockets]: build fails due to gps_regress undefined in SConstruct
Product: Gentoo Linux Reporter: Conrad Kostecki <conikost>
Component: New packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463428    
Attachments: build.log

Description Conrad Kostecki gentoo-dev 2012-11-04 16:09:33 UTC
Hi!
I am unable to compile gpsd:

shm_export = False (default True): export via shared memory
clientdebug = False (default True): client debugging support
oldstyle = False (default True): oldstyle (pre-JSON) protocol support
libQgpsmm = False (default True): build QT bindings
python = False (default True): build Python support and modules.
strip = False (default True): build with stripping of binaries enabled
chrpath = False (default True): use chrpath to edit library load paths
gpsd_user = gpsd (default nobody): privilege revocation user
gpsd_group = uucp (default dialout): privilege revocation group
prefix = /usr (default /usr/local): installation directory prefix
libdir = /usr/lib64 (default lib): system libraries
This is a Gentoo system.
Adjust your PYTHONPATH to see library directories under /usr/local/lib
NameError: name 'gps_regress' is not defined:
  File "/var/tmp/portage/sci-geosciences/gpsd-3.7/work/gpsd-3.7/SConstruct", line 1519:
    gps_regress,
 * ERROR: sci-geosciences/gpsd-3.7 failed (compile phase):
 *   escons failed.
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 5125:  Called escons
 *   environment, line 1998:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";
 *
 * If you need support, post the output of `emerge --info '=sci-geosciences/gpsd-3.7'`,
 * the complete build log and the output of `emerge -pqv '=sci-geosciences/gpsd-3.7'`.
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/gpsd-3.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/gpsd-3.7/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-geosciences/gpsd-3.7/work/gpsd-3.7'
 * S: '/var/tmp/portage/sci-geosciences/gpsd-3.7/work/gpsd-3.7'
Comment 1 Conrad Kostecki gentoo-dev 2012-11-04 16:09:37 UTC
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.7.2, glibc-2.16.0, 3.6.5-gentoo x86_64)
=================================================================
System uname: Linux-3.6.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.2
Timestamp of tree: Sat, 03 Nov 2012 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.2
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo serenity
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 google-chrome Oracle-BCLA-JavaSE PUEL skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -mcx16 -msahf -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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/splash /etc/terminfo"
CXXFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -mcx16 -msahf -pipe -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS="-f9"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac adns alsa amd64 avahi bash-completion bluetooth bzip2 cairo cdda cddb cdr cracklib crypt css cups cvs cxx dbus dri dts dvb dvd encode exif ffmpeg flac fontconfig ftp gif gmp gnome gnome-keyring gnutls gpm gstreamer gtk hddtemp iconv icu idn imagemagick introspection ipv6 jingle jpeg jpeg2k lame lcms libnotify libproxy libsamplerate lm_sensors lzma mikmod mmap mms mmx mng mp3 mp4 mpeg multilib ncurses netlink networkmanager nls nntp nptl nsplugin offensive ogg openal opengl oss pam pdf perl png policykit pulseaudio python qt4 quicktime readline recode rss samba savedconfig scanner session slang slp smp sndfile snmp sound spell sqlite sse sse2 ssl startup-notification subversion svg symlink taglib tcpd theora threads tiff timidity truetype udev unicode usb v4l vcd vim-syntax vorbis wifi x264 xcb xcomposite xine xinerama xml xscreensaver xv xvid zeroconf zlib" ALSA_PCM_PLUGINS="*" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="nmea" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LINGUAS="de" PYTHON_TARGETS="python2_7 python3_2" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="i915 i965 intel"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Rafał Mużyło 2012-11-04 16:33:48 UTC
Attach full build log.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-05 03:30:26 UTC
Please attach the entire build log to this bug report.
Comment 4 Conrad Kostecki gentoo-dev 2012-11-06 18:48:06 UTC
Created attachment 328576 [details]
build.log
Comment 5 Conrad Kostecki gentoo-dev 2012-11-06 18:48:46 UTC
Sorry for delay, attaching build.log
Comment 6 Agostino Sarubbo gentoo-dev 2013-03-27 19:12:51 UTC
confirmed here