The ebuild fails due to the following: two patches are no longer required (3.8-ldflags.patch & 3.11-rpath.patch) two new gpsd protocols have been added (isync & skytraq) Reproducible: Always Steps to Reproduce: 1. emerge -v =sci-geosciences/gpsd-9999 Actual Results: Build fails when attempting to apply patches. Once the patches have been disabled, the build fails because the gpsd protocols found in the build file (SConstruct) do not match the expected protocols in the ebuild file. Expected Results: The build does not fail. Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.26-gentoo x86_64) ================================================================= System uname: Linux-4.4.26-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 16451756 total, 2136512 free KiB Swap: 33554428 total, 32888440 free Timestamp of repository gentoo: Sun, 11 Dec 2016 12:00:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.2.4 [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.22.4::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 fkmclane location: /var/lib/layman/fkmclane sync-type: laymansync sync-uri: git://github.com/fkmclane/overlay.git masters: gentoo priority: 50 maggu2810-overlay location: /var/lib/layman/maggu2810-overlay sync-type: laymansync sync-uri: git://github.com/maggu2810/maggu2810-overlay.git masters: gentoo priority: 50 megacoffee location: /var/lib/layman/megacoffee sync-type: laymansync sync-uri: https://rhodecode.megacoffee.net/gentoo-overlay/main masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo sync-type: laymansync sync-uri: git://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 local-crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 9999 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=bdver2 -mtune=bdver2 -O2 -pipe --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048" 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://distfiles.gentoo.org" LANG="en_GB.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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 applet berkdb bzip2 caps ccache cli cracklib crypt cups curl cxx dbus dri dv dvd ecc exif fortran ftp gcrypt gdbm geoip gif git gtk hddtemp iconv icu imagemagick imap imlib ipv6 jbig jpeg kerberos keymap lcms ldap libnotify lm_sensors logrotate logwatch lzo mate mjpeg mmx mmxext mng modules mp3 mpeg multilib ncurses nfs nls nptl nss nuv offensive ogg opengl openmp openrc oss pam pcre pdf php png policykit pulseaudio python qt5 quicktime raw rdesktop-vrdp readline sasl sdl seccomp session snmp sse sse2 ssl svg svgz symlink syslog tcpd theora threads tiff truetype udev unicode usb vaapi vdpau vhosts vorbis win32codecs winbind wmf x264 xattr xinerama xinetd xml xorg xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_http proxy_wstunnel rewrite setenvif socache_shmcb speling status substitute unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="nmea0183" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB gb en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="fglrx radeon dummy nouveau" 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" USE_PYTHON="2.7 3.4" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 455850 [details, diff] Patch that removes unneeded patches and adds new protocols
commit d37ceef5003b9da9a94c435fafe72bfc39334cf4 Author: Matthias Maier <tamiko@gentoo.org> Date: Mon Jan 23 23:27:07 2017 -0600 sci-geosciences/gpsd: update live ebuild, bug #602336 Package-Manager: Portage-2.3.0, Repoman-2.3.1 commit 271b4baee4e6fe4adb663f6ee7ee6d833d6d27d9 Author: Matthias Maier <tamiko@gentoo.org> Date: Mon Jan 23 23:27:38 2017 -0600 profiles: Augment GPSD_PROTOCOLS use expand and add descriptions Add two additional protocols: isync skytraq