Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656324 - net-mail/mailutils-3.4::gentoo failed (compile phase):
Summary: net-mail/mailutils-3.4::gentoo failed (compile phase):
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: EBUILD
: 665588 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-23 12:42 UTC by Povilas Brilius
Modified: 2021-07-23 07:24 UTC (History)
3 users (show)

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


Attachments
Elog (mailutils-3.4:20180522-215832.log,1.35 KB, text/x-log)
2018-05-23 12:42 UTC, Povilas Brilius
Details
mailutils-3.4-r2.ebuild.patch (mailutils-3.4-r2.ebuild.patch,1.65 KB, patch)
2018-09-12 06:41 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Povilas Brilius 2018-05-23 12:42:51 UTC
Created attachment 532664 [details]
Elog

emake failed
Comment 1 Povilas Brilius 2018-05-23 21:07:53 UTC
emerge --info '=net-mail/mailutils-3.4::gentoo'

Portage 2.3.33 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r6, 4.16.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.7-gentoo-x86_64-AMD_A8-8600P_Radeon_R6,_10_Compute_Cores_4C+6G-with-gentoo-2.4.1
KiB Mem:    15837232 total,   2334108 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Thu, 03 May 2018 00:45:01 +0000
Head commit of repository gentoo: 2896cfc2522fd36334708269d5e679a994c00814
Head commit of repository sakaki-tools: ec34a0c8579c23cdd84e839250561f5c3eee72f1

sh bash 4.4_p19
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync25.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

mysql
    location: /var/lib/layman/mysql
    masters: gentoo
    priority: 50

sakaki-tools
    location: /usr/local/portage/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver4 -Ofast -pipe -fvect-cost-model=unlimited -fsimd-cost-model=unlimited -fsched2-use-superblocks -fmodulo-sched -fmodulo-sched-allow-regmoves -faggressive-loop-optimizations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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/apache2-php7.2/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver4 -Ofast -pipe -fvect-cost-model=unlimited -fsimd-cost-model=unlimited -fsched2-use-superblocks -fmodulo-sched -fmodulo-sched-allow-regmoves -faggressive-loop-optimizations"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache cgroup clean-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-elog split-log strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://cosmos.illinois.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4 -l16"
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="/tmp/portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl seccomp spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid 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="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 rewrite vhost_alias http2 version" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="php webcommon profiler" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Povilas Brilius 2018-05-23 21:09:31 UTC
emerge -pqv '=net-mail/mailutils-3.4::gentoo'

[ebuild  N    ] net-mail/mailutils-3.4  USE="berkdb clients gdbm ipv6 ldap nls pam ssl tcpd threads -bidi -guile -kerberos -kyotocabinet -mysql -postgres -python -sasl -servers -static-libs -tokyocabinet" PYTHON_TARGETS="python2_7"
Comment 3 Eray Aslan gentoo-dev 2018-06-19 15:43:48 UTC
Comment on attachment 532664 [details]
Elog

Ugh, not sure how to proceed.  Do you still have this problem?
Comment 4 Povilas Brilius 2018-06-19 15:47:06 UTC
Basically not, the problem solved by installing other packages without this one.
Comment 5 Fabian Groffen gentoo-dev 2018-08-29 12:16:16 UTC
perhaps the same problem:

make[4]: Entering directory '/var/tmp/portage/net-mail/mailutils-3.4-r2/work/mai
lutils-3.4/mh/etc'
sed "s,BINDIR,/usr/bin/mu-mh,g;s,MHLIBDIR,/usr/share/mailutils/mh,g" mailutils-m
h.eli > mailutils-mh.el
if test "xemacs" != "no"; then \
  am__dir=. am__subdir_includes=''; \
  case mailutils-mh.elc in */*) \
    am__dir=`echo 'mailutils-mh.elc' | sed 's,/[^/]*$,,'`; \
    am__subdir_includes="-L $am__dir -L ./$am__dir"; \
  esac; \
  test -d "$am__dir" || /bin/mkdir -p "$am__dir" || exit 1; \
  xemacs --batch \
      \
    $am__subdir_includes -L . -L . \
    --eval "(defun byte-compile-dest-file (f) \"mailutils-mh.elc\")" \
    --eval "(unless (byte-compile-file \"mailutils-mh.el\") (kill-emacs 1))"; \
else :; fi
/var/tmp/portage/net-mail/mailutils-3.4-r2/work/mailutils-3.4/mh/etc is a directory
xemacs exiting
.
make[4]: *** [Makefile:982: mailutils-mh.elc] Error 255
make[4]: Leaving directory '/var/tmp/portage/net-mail/mailutils-3.4-r2/work/mail
utils-3.4/mh/etc'

Not sure why it does, but it checks for xemacs:

checking for emacs... no
checking for xemacs... xemacs
checking where .elc files should go... ${datadir}/emacs/site-lisp

which I apparently have installed (no idea why).

Can we export EMACS=no to avoid this problem?
Comment 6 Eray Aslan gentoo-dev 2018-08-31 05:51:26 UTC
(In reply to Fabian Groffen from comment #5)
> Can we export EMACS=no to avoid this problem?

yeah we can but it dont look right.  I'll have a look
Comment 7 Matt Turner gentoo-dev 2018-09-11 20:59:26 UTC
*** Bug 665588 has been marked as a duplicate of this bug. ***
Comment 8 Ulrich Müller gentoo-dev 2018-09-12 05:27:50 UTC
(In reply to Eray Aslan from comment #6)
> (In reply to Fabian Groffen from comment #5)
> > Can we export EMACS=no to avoid this problem?
> 
> yeah we can but it dont look right.  I'll have a look

Emacs support is completely broken for this package. For example, .el and .elc files are installed in the top-level site-lisp dir which is against the Emacs team's policy.

I'll try to come up with a patch.
Comment 9 Ulrich Müller gentoo-dev 2018-09-12 06:41:42 UTC
Created attachment 546690 [details, diff]
mailutils-3.4-r2.ebuild.patch

Attached patch should fix the problem.
Comment 10 Larry the Git Cow gentoo-dev 2018-09-18 06:25:19 UTC
The bug has been closed via the following commit(s):

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

commit 8978227035b09b94e251cdbe9dca708818718d3e
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2018-09-18 06:24:41 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2018-09-18 06:25:09 +0000

    net-mail/mailutils: fix building with emacs
    
    thanks Ulrich Müller for the patch
    Closes: https://bugs.gentoo.org/656324
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-mail/mailutils/mailutils-3.4-r3.ebuild | 136 +++++++++++++++++++++++++++++
 1 file changed, 136 insertions(+)
Comment 12 KasperBoley 2021-07-20 11:06:32 UTC
This is a great post. I like this topic.This site has lots of advantage. I found many interesting things from this site. 
https://bit.ly/2UsulgY
Comment 13 AmayaLopez 2021-07-23 07:24:57 UTC
Thanks for the great post you posted. I like the way you describe the unique content.
https://bit.ly/3x3NqmJ