Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631686 - dev-libs/protobuf-3.4.1[emacs]: Incorrect path to editors/protobuf-mode.el
Summary: dev-libs/protobuf-3.4.1[emacs]: Incorrect path to editors/protobuf-mode.el
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 631684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-22 03:55 UTC by Sam Stone
Modified: 2017-09-22 21:09 UTC (History)
6 users (show)

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


Attachments
build log (dev-libs:protobuf-3.4.1:20170922-004932.log,190.65 KB, text/x-log)
2017-09-22 03:55 UTC, Sam Stone
Details
Patch (protobuf.patch,663 bytes, patch)
2017-09-22 05:41 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Stone 2017-09-22 03:55:03 UTC
hans gallatin # emerge --info '=dev-libs/protobuf-3.4.1::gentoo'
Portage 2.3.10 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r5, 4.13.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-5500U_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     8091784 total,   3077052 free
KiB Swap:   20479996 total,  20479996 free
Timestamp of repository gentoo: Thu, 21 Sep 2017 23:30:01 +0000
Head commit of repository gentoo: c88a0366154a0b2dd0de43ef2bc1cef89330aec7
Head commit of repository neomutt_gentoo: f50fb82b3233edfde996f483a6f89f4a680fba83

Head commit of repository sk-overlay: 1181a39d7c3f56c3dbb21454767b3f0517d813f3

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29 p1.0) 2.29
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.4::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.9.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.31.2::gentoo
sys-apps/sandbox:         2.10-r4::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::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::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.25-r5::gentoo
Repositories:

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

neomutt_gentoo
    location: /usr/local/portage/mail-client
    sync-type: git
    sync-uri: https://github.com/neomutt/gentoo-neomutt
    masters: gentoo

sk-overlay
    location: /usr/local/overlay/sk-overlay
    sync-type: git
    sync-uri: https://c.darenet.org/scriptkitties/overlay.git
    masters: gentoo

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
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-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /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="-march=broadwell -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://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acc acl acpi alsa amd64 apng berkdb bindist bluetooth branding bzip2 cairo caps cdda cdr cli colord consolekit cracklib crypt cups curl cxx dbus dri dri3 dts dvb dvd dvdr egl emacs emboss eml encode eudev examples exif fam ffmpeg firebird firefox flac fontconfig fortran gdbm gif git glamor gles gnome-keyring gpm gtk guile highlight hscolour iconv icq icu idn introspection ipv6 java javascript jemalloc jpeg jpeg2k kerberos latex lcms ldap libinput libnotify mad maildir mmap mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg openal opengl openmp pam pango pcmcia pcre pdf perl png policykit posix postgres postscript ppds profile pulseaudio python qt3support qt5 readline ruby sasl scanner sdl seccomp secomp session speex spell sqlite ssh ssl startup-notification svc svg syslog systemtap taglib tcpd threads tiff truetype udev udisks unicode upower usb vaapi valgrind vim-syntax vorbis wayland widgets wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib zsh-completion" 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="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext mmx sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="clock power trash multiload-nandhp" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

hans gallatin # emerge -pqv '=dev-libs/protobuf-3.4.1::gentoo'
[ebuild  r  U ] dev-libs/protobuf-3.4.1 [3.3.0] USE="emacs examples zlib -static-libs {-test} (-java%*) (-python%*)" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="(-python2_7%*) (-python3_4%*) (-python3_5%*) (-python3_6%*)" 
[ebuild  rR   ] dev-libs/protobuf-c-1.3.0  USE="-static-libs {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild  rR   ] dev-qt/qtwebengine-5.7.1-r2  USE="alsa geolocation pulseaudio system-ffmpeg system-icu widgets -bindist -debug -pax_kernel {-test}" 

The following packages are causing rebuilds:

  (dev-libs/protobuf-3.4.1:0/14::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-libs/protobuf-c-1.3.0:0/1.0.0::gentoo, ebuild scheduled for merge)
    (dev-qt/qtwebengine-5.7.1-r2:5/5.7::gentoo, ebuild scheduled for merge)
Comment 1 Sam Stone 2017-09-22 03:55:59 UTC
Created attachment 495848 [details]
build log
Comment 2 Sam Stone 2017-09-22 04:42:15 UTC
*** Bug 631684 has been marked as a duplicate of this bug. ***
Comment 3 Arfrever Frehtes Taifersar Arahesis 2017-09-22 05:41:26 UTC
Created attachment 495850 [details, diff]
Patch

Please test this patch.
Comment 4 Ulrich Müller gentoo-dev 2017-09-22 08:10:57 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> Created attachment 495850 [details, diff] [details, diff]
> Patch
> 
> Please test this patch.

Patch looks good to me (and makes the build succeed).
Comment 5 Juergen Rose 2017-09-22 10:13:40 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #3)
> Created attachment 495850 [details, diff] [details, diff]
> Patch
> 
> Please test this patch.

Worked for me, too.
Comment 6 Sam Stone 2017-09-22 14:46:24 UTC
Patch didn't work for me. Maybe I did something wrong. Followed instruction in wiki. See below:

gallatin@hans dev-libs % ls                                                                                                                                                                                        
protobuf-3.4.1                                                                                                                                                                                                     
gallatin@hans dev-libs % ls protobuf-3.4.1                                                                                                                                                                         
protobuf.patch                                                                                                                                                                                                     
gallatin@hans dev-libs % /usr/portage/dev-libs/protobuf                                                                                                                                                            
gallatin@hans protobuf % ls                                                                                                                                                                                        
files  Manifest  metadata.xml  protobuf-2.5.0-r2.ebuild  protobuf-2.6.1-r3.ebuild  protobuf-3.0.0_beta3_p1.ebuild  protobuf-3.0.2.ebuild  protobuf-3.1.0.ebuild  protobuf-3.3.0.ebuild  protobuf-3.4.1.ebuild      
gallatin@hans protobuf % sudo ebuild protobuf-3.4.1.ebuild clean prepare                                                                                                                                           
 * protobuf-3.4.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                       [ ok ]
>>> Unpacking source...                                                                                                                                                                                            
>>> Unpacking protobuf-3.4.1.tar.gz to /var/tmp/portage/dev-libs/protobuf-3.4.1/work                                                                                                                               
>>> Source unpacked in /var/tmp/portage/dev-libs/protobuf-3.4.1/work                                                                                                                                               
>>> Preparing source in /var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1 ...                                                                                                                           
 * Applying protobuf-3.4.0-disable_no-warning-test.patch ...                                                                                                                                                 [ ok ]
 * Applying protobuf-3.4.0-system_libraries.patch ...                                                                                                                                                        [ ok ]
 * Applying protobuf-3.4.0-protoc_input_output_files.patch ...                                                                                                                                               [ ok ]
 * Applying protobuf.patch ...                                                                                                                                                                                     
The text leading up to this was:                                                                                                                                                                                   
--------------------------
|diff --git a/dev-libs/protobuf/protobuf-3.4.1.ebuild b/dev-libs/protobuf/protobuf-3.4.1.ebuild
|index d4a2ba85c2d..ab347e7227c 100644
|--- a/dev-libs/protobuf/protobuf-3.4.1.ebuild
|+++ b/dev-libs/protobuf/protobuf-3.4.1.ebuild
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored                                                                                                                                                                                      [ !! ]
 * ERROR: dev-libs/protobuf-3.4.1::gentoo failed (prepare phase):                                                                                                                                                  
 *   patch -p1  failed with /etc/portage/patches/dev-libs/protobuf-3.4.1/protobuf.patch                                                                                                                            
 *                                                                                                                                                                                                                 
 * Call stack:                                                                                                                                                                                                     
 *               ebuild.sh, line  124:  Called src_prepare                                                                                                                                                         
 *             environment, line 3361:  Called default                                                                                                                                                             
 *      phase-functions.sh, line  853:  Called default_src_prepare                                                                                                                                                 
 *      phase-functions.sh, line  918:  Called __eapi6_src_prepare                                                                                                                                                 
 *             environment, line  205:  Called eapply_user                                                                                                                                                         
 *             environment, line  943:  Called eapply '/etc/portage/patches/dev-libs/protobuf-3.4.1/protobuf.patch'                                                                                                
 *             environment, line  913:  Called _eapply_patch '/etc/portage/patches/dev-libs/protobuf-3.4.1/protobuf.patch'                                                                                         
 *             environment, line  851:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/dev-libs/protobuf-3.4.1/protobuf.patch'                                                                  
 *   isolated-functions.sh, line  117:  Called die                                                                                                                                                                 
 * The specific snippet of code:                                                                                                                                                                                   
 *              die "$@"                                                                                                                                                                                           
 *                                                                                                                                                                                                                 
 * If you need support, post the output of `emerge --info '=dev-libs/protobuf-3.4.1::gentoo'`,                                                                                                                     
 * the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-3.4.1::gentoo'`.                                                                                                                      
 * The complete build log is located at '/var/log/portage/dev-libs:protobuf-3.4.1:20170922-144208.log'.                                                                                                            
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/protobuf-3.4.1/temp/build.log'.                                                                                            
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-3.4.1/temp/environment'.                                                                                                          
 * Working directory: '/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1'                                                                                                                               
 * S: '/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1'
Comment 7 Ulrich Müller gentoo-dev 2017-09-22 16:20:44 UTC
(In reply to Sam Stone from comment #6)
> Patch didn't work for me. Maybe I did something wrong. [...]

>  *             environment, line  205:  Called eapply_user                  
>  *             environment, line  943:  Called eapply
> '/etc/portage/patches/dev-libs/protobuf-3.4.1/protobuf.patch'               

The patch must be applied to the ebuild itself, not to the package.


@Arfrever: Not sure why you have assigned this to yourself. Reassigning to maintainer.
Comment 8 Sam Stone 2017-09-22 16:53:07 UTC
@ Ulrich Muller
Oh ... How do I do that? Is there a link some instructions or the like?
I guess that's what I kind of thought I was doing. Just more to learn then.
Thanks
Comment 9 Arfrever Frehtes Taifersar Arahesis 2017-09-22 21:09:01 UTC
(In reply to Ulrich Müller from comment #7)
> @Arfrever: Not sure why you have assigned this to yourself.

It was a regression in my commit.
Comment 10 Arfrever Frehtes Taifersar Arahesis 2017-09-22 21:09:45 UTC
Fixed:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10205d7e2b4fd6b35901c7adb9059f0711b4d65