Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524100 - dev-libs/protobuf-2.5.0-r1[emacs] In toplevel form: editors/protobuf-mode.el:81:1:Error: Symbol's function definition is void: cl-macroexpand-all
Summary: dev-libs/protobuf-2.5.0-r1[emacs] In toplevel form: editors/protobuf-mode.el:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 530974 534604 547106 (view as bug list)
Depends on:
Blocks: 536506
  Show dependency tree
 
Reported: 2014-09-30 10:22 UTC by Chris Woods
Modified: 2015-06-09 18:53 UTC (History)
6 users (show)

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


Attachments
build log (build.log,120.00 KB, text/plain)
2014-09-30 10:22 UTC, Chris Woods
Details
protobuf-2.5.0-emacs-24.4.patch (protobuf-2.5.0-emacs-24.4.patch,335 bytes, patch)
2014-11-27 21:57 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Woods 2014-09-30 10:22:55 UTC
Created attachment 385820 [details]
build log

Attempt to build dev-libs/protobuf-2.5.0-r1 with emacs USE flag attempts to byte-compile protobuf-mode.el, which fails with this error:

editors/protobuf-mode.el:81:1:Error: Symbol's function definition is void: cl-macroexpand-all

nosferatu ~ # emerge -pqv '=dev-libs/protobuf-2.5.0-r1::gentoo'
[ebuild  N    ] dev-libs/protobuf-2.5.0-r1  USE="emacs examples java python source vim-syntax -static-libs" PYTHON_TARGETS="python2_7" 

nosferatu ~ # emerge --info '=dev-libs/protobuf-2.5.0-r1::gentoo' 
Portage 2.2.14_rc1 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.3-gentoo-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2
KiB Mem:    16414152 total,   3014268 free
KiB Swap:   16777212 total,  16777012 free
Timestamp of tree: Tue, 30 Sep 2014 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p50
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo bitspace-overlay steam-overlay fouxlay soehest
Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://mirror.mcs.anl.gov/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/steam /var/lib/layman/fouxlay /var/lib/layman/soehest"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo calendar cdda cddb cdr cli consolekit cracklib crypt cscope cups curl cxx dbus declarative dga directfb djvu dri dts dv dvb dvd dvdr emacs emboss encode examples exif fam fbcon ffmpeg fftw firefox flac fontconfig fortran gdbm ggi gif gimp git glut gmp gnuplot gnutls gpm gps graphviz gsm gstreamer gtk guile hscolour iconv icu idn imagemagick imlib iodbc ios ipod ipv6 java java6 javascript jbig jingle jpeg jpeg2k kde kipi kontact ladspa lame lapack latex lcms ldap libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad matroska mmap mms mmx mmxext mng modplug modules mp3 mp4 mpeg mpi mplayer mtp multilib musepack musicbrainz ncurses networkmanager nls nptl nvidia odbc offensive ogg openal openexr opengl openmp pam pango pcre pdf perl phonon plasma plotutils png policykit portaudio postgres postscript ppds pulseaudio python qt4 quicktime raw readline rss ruby samba sasl sdl semantic-desktop session slang smp sndfile soap sound source sox speex spell sqlite sqlite3 sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion svg syslog taglib tcpd theora threads tidy tiff truetype udev udisks unicode upower usb vcd vdpau vim-syntax vnc vorbis vpx wavpack webkit wifi wmf wxwidgets x264 xcb xcomposite xft xine xml xmp xmpp xosd xpm xscreensaver xv xvid zeroconf 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" 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 ublox ubx" GRUB_PLATFORMS="efi-64 emu" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ulrich Müller gentoo-dev 2014-11-27 21:54:17 UTC
This is a known issue with Emacs 24.4:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845
Comment 2 Ulrich Müller gentoo-dev 2014-11-27 21:57:23 UTC
Created attachment 390428 [details, diff]
protobuf-2.5.0-emacs-24.4.patch

Attached patch should fix it.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-28 11:38:17 UTC
*** Bug 530974 has been marked as a duplicate of this bug. ***
Comment 4 Tim Harder gentoo-dev 2014-11-28 16:54:02 UTC
Fixed in the tree.
Comment 5 Ulrich Müller gentoo-dev 2015-01-08 18:55:25 UTC
*** Bug 534604 has been marked as a duplicate of this bug. ***
Comment 6 Nuno Silva 2015-01-19 13:14:37 UTC
This has not been fixed for amd64, I can reproduce this build failure. Can someone please reopen the bug?
Comment 7 Ulrich Müller gentoo-dev 2015-01-20 19:49:38 UTC
(In reply to Nuno Silva from comment #6)
> This has not been fixed for amd64, I can reproduce this build failure. Can
> someone please reopen the bug?

It should be fixed in protobuf-2.5.0-r2.
Comment 8 Tim Harder gentoo-dev 2015-01-20 19:51:58 UTC
(In reply to Nuno Silva from comment #6)
> This has not been fixed for amd64, I can reproduce this build failure. Can
> someone please reopen the bug?

CC yourself on bug #536794, this bug is fixed in protobuf-2.5.0-r2 as stated in the previous comment.
Comment 9 Patrick Lauer gentoo-dev 2015-04-21 06:05:24 UTC
Well, it's still not fixed for stable, so how about we turn this into a stable request so users might stop hitting this issue?
Comment 10 Tim Harder gentoo-dev 2015-05-16 18:44:18 UTC
*** Bug 547106 has been marked as a duplicate of this bug. ***
Comment 11 Juergen Rose 2015-05-27 14:19:38 UTC
Please reopen. I hit this issue just again:

Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in protobuf-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in protobuf-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in protobuf-mode:

In toplevel form:
editors/protobuf-mode.el:165:1:Error: Symbol's function definition is void: set-difference
 * elisp-compile: batch-byte-compile failed                                                                                                        [ !! ]
 * ERROR: dev-libs/protobuf-2.5.0-r2::gentoo failed (compile phase):


root@lynx:/root(8)# qlist -Iv app-editors/emacs
app-editors/emacs-24.5
Comment 12 Juergen Rose 2015-06-09 08:05:01 UTC
I hit the issue at the next system:
 * Compiling GNU Emacs Elisp files ...
Eval error in the `c-lang-defconst' for `c-regular-keywords-regexp' in protobuf-mode:
Eval error in the `c-lang-defconst' for `c-basic-matchers-before' in protobuf-mode:
Eval error in the `c-lang-defconst' for `c-matchers-2' in protobuf-mode:

In toplevel form:
editors/protobuf-mode.el:165:1:Error: Symbol's function definition is void: set-difference
 * elisp-compile: batch-byte-compile failed                                                                                 [ !! ]
 * ERROR: dev-libs/protobuf-2.5.0-r2::gentoo failed (compile phase):
...
root@caiman:/root(32)# qlist -Iv app-editors/emacs
app-editors/emacs-24.5
Comment 13 Ulrich Müller gentoo-dev 2015-06-09 18:53:48 UTC
(In reply to Juergen Rose from comment #12)

Different issue (but same cause, namely that cl is needed at compile time).
Fixed in bug 545486.