Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640644 - net-mail/mailutils-3.4 fails compilation
Summary: net-mail/mailutils-3.4 fails compilation
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: PATCH
Depends on:
Blocks:
 
Reported: 2017-12-11 00:37 UTC by Renich Bon Ciric
Modified: 2018-06-19 15:58 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,464.21 KB, text/x-log)
2017-12-11 00:37 UTC, Renich Bon Ciric
Details
Replace scm_sizet by size_t (patch,2.06 KB, patch)
2017-12-11 10:54 UTC, Felix Janda
Details | Diff
Build log after patch (build.log,518.78 KB, text/x-log)
2017-12-12 02:32 UTC, Renich Bon Ciric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2017-12-11 00:37:34 UTC
Created attachment 509320 [details]
Build log

I am sorry, I tried to look for a duplicate but I couldn't recognize it.

I'll attach my log.

Here's my env:

introdesk ~ # emerge --info
Portage 2.3.17 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r3, 4.14.3-gentoo x86_64)
=================================================================
System uname: Linux-4.14.3-gentoo-x86_64-AMD_Ryzen_7_1800X_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    65970364 total,  19399864 free
KiB Swap:    8264768 total,   8264768 free
Timestamp of repository gentoo: Sat, 09 Dec 2017 18:14:37 +0000
Head commit of repository gentoo: bcb883d17c8d3e3a3797fd37fda149df9fde910f

Head commit of repository bitwig-overlay: 6895902fc208f83455619347a6a362ad1efd312f

Head commit of repository google-cloud-overlay: de4ee164a635fb7aa39bd165e19be9fa35922d1c

Head commit of repository flatpak-overlay: 2691c37f803fcc3af2275d483992b1abc248d230

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::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.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0-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.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

bitwig-overlay
    location: /usr/local/portage/bitwig-overlay
    sync-type: git
    sync-uri: https://github.com/bitwigstudio/bitwig-overlay.git
    masters: gentoo

google-cloud-overlay
    location: /usr/local/portage/google-cloud
    sync-type: git
    sync-uri: https://github.com/MichaelOVertolli/gcloud-Overlay.git
    masters: gentoo

eclipse
    location: /var/lib/layman/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

flatpak-overlay
    location: /usr/local/portage/flatpak-overlay
    sync-type: git
    sync-uri: git://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

tengine-overlay
    location: /var/lib/layman/tengine-overlay
    sync-type: laymansync
    sync-uri: https://github.com/damex/tengine-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -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/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install 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_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l15.0"
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"
USE="X Xaw3d a52 aac aalib acl acpi afs aim alsa amd64 ao apm atm audiofile audit avahi ayatana bash-completion bcmath berkdb bidi blas bluetooth bootstrap branding bzip2 cairo calendar caps cdb cdda cddb cdinstall cdparanoia cdr cgi cjk cli colord cracklib crypt cscope css ctype cups curl cvs cxx dbi dbm dbus dga directfb djvu dri dts dv dvb dvd dvdr eds emboss encode enscript evo exif fam fastcgi fbcon ffmpeg fftw filecaps firebird firefox flac flatfile fltk fontconfig foomaticdb fortran freetds freewnn ftp gcj gd gdbm geoip geolocation ggi gif gimp git glamor glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm gps graphicsmagick graphviz gsl gsm gstreamer gtk guile gzip hardened hddtemp hdf5 hscolour iconv icq icu idn ieee1394 imagemagick imap imlib inifile inotify introspection ios ipod ipv6 jack java javascript jbig jingle jit joystick jpeg jpeg2k kerberos ladspa lame lapack lash latex lcms ldap libass libcaca libffi libnotify libsecret libwww lirc livecd lm_sensors lua lzma lzo m17n-lib mad maildir matroska mbox memcached memlimit mhash migemo mikmod milter mime mmap mms mng modplug modules motif mozilla mp3 mp4 mpeg mpi mplayer msn mssql mtp multilib musepack musicbrainz mysqli nas nautilus ncurses neXt netboot netcdf networkmanager nis nls nntp nocd nptl nsplugin ocaml ocamlopt odbc offensive ofx ogg openal openexr opengl openmp orc osc oscar pam pango pcntl pcre pda pdf perl php pie plotutils png policykit portaudio posix postgres postscript ppds profile pulseaudio python qt3support quicktime radius raw rdp readline rss ruby samba sasl savedconfig scanner sctp sdl seamonkey seccomp semantic-desktop session sharedmem shorten simplexml slang slp smartcard smp sndfile snmp soap sockets socks5 sound sox speex spell sqlite ssl startup-notification subversion svg sybase sybase-ct symlink systemd szip taglib tcl tcmalloc test theora threads tidy tiff timidity tk tokenizer tracker truetype udev udisks unicode unwind upnp upnp-av upower usb v4l vaapi vala vcd vdpau vhosts videos vim-syntax vnc vorbis wavpack wayland wddx webkit webp wifi wmf wxwidgets x264 xattr xcb xcomposite xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xv xvid yaz zeroconf zlib" ABI_X86="64 32" 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="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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="evdev" KERNEL="linux" L10N="en es en-US es-MX es-LA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en es en_US es_MX es_LA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm x86_64 aarch64" QEMU_USER_TARGETS="arm x86_64 aarch64" RUBY_TARGETS="ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Felix Janda 2017-12-11 10:54:27 UTC
Created attachment 509336 [details, diff]
Replace scm_sizet by size_t

The simplest workaround would be to disable the guile use flag.

You can also try out this patch by putting it into
/etc/portage/patches/net-mail/mailutils .

Finally, I don't see any upstream report, so it would be nice if you
could send a mail to bug-mailutils@gnu.org to let them know about this
bug.
Comment 2 Renich Bon Ciric 2017-12-12 02:15:57 UTC
I'll add the patch. Effectively, USE='-guile' emerge mailutils works fine.
Comment 3 Renich Bon Ciric 2017-12-12 02:20:47 UTC
Also, I will send the mail. Thanks a lot. Testing the patch right now.
Comment 4 Renich Bon Ciric 2017-12-12 02:32:02 UTC
Created attachment 509560 [details]
Build log after patch

It seems the patch didn't work and caused new problems.
Comment 5 Larry the Git Cow gentoo-dev 2018-06-19 15:58:07 UTC
The bug has been closed via the following commit(s):

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

commit b7a3f08c381724ea2c16a1ed76c11063d8f2259c
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2018-06-19 15:56:16 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2018-06-19 15:56:16 +0000

    net-mail/mailutils: fix guile dependency.
    
    and fix mh format test failure
    
    Bug: https://bugs.gentoo.org/648754
    Closes: https://bugs.gentoo.org/640644
    Closes: https://bugs.gentoo.org/644804
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../files/mailutils-3.4-MH-testsuite.patch         |  70 +++++++++++
 net-mail/mailutils/mailutils-3.4-r1.ebuild         | 133 +++++++++++++++++++++
 2 files changed, 203 insertions(+)