Error msg: Can't locate Devel/GlobalDestruction.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.3/i686-linux /usr/local/lib/perl5/5.16.3 /usr/lib/perl5/vendor_perl/5.16.3/i686-linux /usr/lib/perl5/vendor_perl/5.16.3 /usr/local/lib/perl5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.16.3/i686-linux /usr/lib/perl5/5.16.3 .) at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Message.pm line 24. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Message.pm line 24. Compilation failed in require at (eval 8) line 2. ...propagated at /usr/lib/perl5/5.16.3/base.pm line 84. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Box/Message.pm line 13. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Box.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Box.pm line 15. Compilation failed in require at (eval 4) line 2. ...propagated at /usr/lib/perl5/5.16.3/base.pm line 84. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Box/Dir.pm line 10. Compilation failed in require at (eval 3) line 2. ...propagated at /usr/lib/perl5/5.16.3/base.pm line 84. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.3/Mail/Box/Maildir.pm line 10. Compilation failed in require at /usr/bin/notmuch-mutt line 17. BEGIN failed--compilation aborted at /usr/bin/notmuch-mutt line 17. I tried perl-cleaner with various opts, but non of them helped.
~ # emerge --info net-mail/notmuch Portage 2.2.1 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.4.56 i686) ================================================================= System Settings ================================================================= System uname: Linux-3.4.56-i686-AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.2 KiB Mem: 2075420 total, 259832 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 30 Aug 2013 19:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.12.6, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo roslin ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8-sse3 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8-sse3 -Os -pipe -fomit-frame-pointer" DISTDIR="/home/p/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1,--as-needed,--sort-common" MAKEOPTS="-j2" PKGDIR="/home/p/paczki" 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="/home/p" PORTDIR="/home/p/drzewko" PORTDIR_OVERLAY="/home/p/roslin" SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage" USE="acl bzip2 cli cracklib crypt custom-cflags custom-cxxflags cxx dri fortran gpg gudev hwdb iconv ipv6 mmx modules mudflap ncurses nls nptl openmp pam pcre readline session sse ssl tcpd threads unicode usb vim-syntax x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl" NGINX_MODULES_HTTP="access auth_basic autoindex empty_gif fastcgi gzip map rewrite stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= net-mail/notmuch-0.16 was built with the following: USE="crypt mutt -bash-completion -debug -doc -emacs -nmbug -pick -python -test -zsh-completion" PYTHON_TARGETS="python2_7 -python2_6 -python3_2 -python3_3"
This is revelant from notmuch irc channel: 230047 < bremner> does this script run? http://paste.debian.net/32515/ 230056 < bremner> it should create a maildir in /tmp 230317 < lazy_bum> bremner: Nope, ends like this http://wklej.org/id/1120120/ 230329 < lazy_bum> Btw could it be perl version related? 230424 < bremner> it could be. I'd file a bug on the relevant perl package; on debian it is libmail-box-perl 230603 < lazy_bum> This should be dev-perl/Mail-Box in Gentoo. 230656 < bremner> sounds plausible. 230711 < bremner> you can use my script as a small test case 230801 < lazy_bum> Ok, downgraded to dev-perl/Mail-Box-2.107.0 and both the script and notmuch-mutt works. 230812 < bremner> cool 230839 < lazy_bum> dev-perl/Mail-Box-2.108 makes those errors. notmuch-simple-test-script: #!/usr/bin/perl -w # # canibalized from # notmuch-mutt - notmuch (of a) helper for Mutt # # Copyright: © 2011-2012 Stefano Zacchiroli <zack@upsilon.cc> # License: GNU General Public License (GPL), version 3 or above # # See the bottom of this file for more documentation. # A manpage can be obtained by running "pod2man notmuch-mutt > notmuch-mutt.1" use strict; use warnings; use Mail::Box::Maildir; my $folder = new Mail::Box::Maildir folder => "/tmp/test.maildir", create=>1;
@perl-devs: Could you take a look at this?h
No. notmuch should depend on Mail-Box, which it already does ( USE=mutt required ) And Mail-Box should depend on Devel-GlobalDestruction ... but it does. So it would seem you have failed to run perl-cleaner if you have Mail-Box but not Devel-GlobalDestruction please report: equery list dev-perl/Mail-Box equery list dev-perl/Devel-GlobalDestruction equery files dev-perl/Devel-GlobalDestruction
*Furrow*. Er, that was intended for the *other* bug. Not sure how my browser posted to the wrong one.
I have committed fix in Mail-Box myself. After sync, emerge -uD should pull missing Mail-Box dependency. Piotr, thanks for report; Kent, thanks for solution!