Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530522 - net-mail/notmuch-0.19 version bump
Summary: net-mail/notmuch-0.19 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-11-25 09:02 UTC by Franz Trischberger
Modified: 2015-01-29 13:37 UTC (History)
1 user (show)

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


Attachments
notmuch-0.19.ebuild (notmuch-0.19.ebuild,3.92 KB, text/plain)
2014-11-25 09:02 UTC, Franz Trischberger
Details
build log (net-mail:notmuch-0.19:20150129-115720.log,37.36 KB, text/plain)
2015-01-29 11:58 UTC, Marc Schiffbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2014-11-25 09:02:17 UTC
Created attachment 390242 [details]
notmuch-0.19.ebuild

There were some changes:
- nmbug was rewritten in python
- build system by default enables debug build.

nmbug change is reflected in the ebuild.
debug build should be handled fine already by USE="debug".

I also slightly changed the ewarn in pkg_pretend.

====

--- /var/repositories/gentoo/net-mail/notmuch/notmuch-0.18.2.ebuild     2014-11-11 13:01:15.000000000 +0100
+++ /var/repositories/ff2000/net-mail/notmuch/notmuch-0.19.ebuild       2014-11-25 09:42:23.048510663 +0100
@@ -19,6 +19,7 @@
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
        test? ( crypt emacs python )
+       nmbug? ( python )
        "
 IUSE="crypt debug doc emacs mutt nmbug python test"
 
@@ -43,7 +44,7 @@
        "
 RDEPEND="${CDEPEND}
        crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git virtual/perl-File-Temp virtual/perl-Pod-Parser )
+       nmbug? ( dev-vcs/git )
        mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
                dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
                virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long
@@ -73,7 +74,7 @@
 pkg_pretend() {
        if has_version '<net-mail/notmuch-0.18'; then
                ewarn
-               ewarn "Notmuch 0.18 comes with few not backward compatible changes."
+               ewarn "Notmuch 0.18 came with few not backward compatible changes."
                ewarn "See NEWS file for details before first use!"
                ewarn
        fi
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-25 09:07:39 UTC
Comment on attachment 390242 [details]
notmuch-0.19.ebuild

--- notmuch-0.18.2.ebuild
+++ notmuch-0.19.ebuild
@@ -19,6 +19,7 @@
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
        test? ( crypt emacs python )
+       nmbug? ( python )
        "
 IUSE="crypt debug doc emacs mutt nmbug python test"

@@ -43,7 +44,7 @@
        "
 RDEPEND="${CDEPEND}
        crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git virtual/perl-File-Temp virtual/perl-Pod-Parser )
+       nmbug? ( dev-vcs/git )
        mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
                dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
                virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long
@@ -73,7 +74,7 @@
 pkg_pretend() {
        if has_version '<net-mail/notmuch-0.18'; then
                ewarn
-               ewarn "Notmuch 0.18 comes with few not backward compatible changes."
+               ewarn "Notmuch 0.18 came with few not backward compatible changes."
                ewarn "See NEWS file for details before first use!"
                ewarn
        fi
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-25 09:10:50 UTC
> @@ -73,7 +74,7 @@
>  pkg_pretend() {
>         if has_version '<net-mail/notmuch-0.18'; then
>                 ewarn
> -               ewarn "Notmuch 0.18 comes with few not backward compatible
> changes."
> +               ewarn "Notmuch 0.18 came with few not backward compatible
> changes."

The present tense was fine here. You should rather change the wording to perhaps reflect that >0.18 has these changes, including 0.19.

few -> a few
not backward compatible -> incompatible
Comment 3 Franz Trischberger 2014-11-25 09:18:23 UTC
--- /var/repositories/gentoo/net-mail/notmuch/notmuch-0.18.2.ebuild     2014-11-11 13:01:15.000000000 +0100
+++ /var/repositories/ff2000/net-mail/notmuch/notmuch-0.19.ebuild       2014-11-25 10:18:05.832366058 +0100
@@ -19,6 +19,7 @@
 REQUIRED_USE="
        python? ( ${PYTHON_REQUIRED_USE} )
        test? ( crypt emacs python )
+       nmbug? ( python )
        "
 IUSE="crypt debug doc emacs mutt nmbug python test"
 
@@ -43,7 +44,7 @@
        "
 RDEPEND="${CDEPEND}
        crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git virtual/perl-File-Temp virtual/perl-Pod-Parser )
+       nmbug? ( dev-vcs/git )
        mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
                dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
                virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long
@@ -73,7 +74,7 @@
 pkg_pretend() {
        if has_version '<net-mail/notmuch-0.18'; then
                ewarn
-               ewarn "Notmuch 0.18 comes with few not backward compatible changes."
+               ewarn "Notmuch >=0.18 comes with a few incompatible changes."
                ewarn "See NEWS file for details before first use!"
                ewarn
        fi
Comment 4 Franz Trischberger 2014-11-25 09:24:47 UTC
Did the changes as requested.

There were only incompatible changes in 0.18 (folder: vs path:), 0.19 did not introduce such an incompatible change from the POV of a user. But there was a change in database version, notmuch new will backup the tags db and automatically upgrade the db. That's why I simply changed the tense. Nevertheless I'm also fine with this wording. :)
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2014-11-25 21:36:33 UTC
I'm already working on it. I have some issues in test suites. Do tests pass fine for you?
Comment 6 Franz Trischberger 2014-11-25 21:54:41 UTC
All 699 test passed.
net-mail/notmuch-0.19::ff2000  USE="crypt debug* doc emacs nmbug python {test} -mutt" PYTHON_TARGETS="python2_7 python3_3"
Also with USE="-debug" everything goes fine.
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2014-11-26 06:37:34 UTC
What version of gdb do you have installed?
Comment 8 Amadeusz Żołnowski (RETIRED) gentoo-dev 2014-11-26 06:53:57 UTC
OK, it works fine, already. I will commit it later.
Comment 9 Amadeusz Żołnowski (RETIRED) gentoo-dev 2014-11-30 11:42:00 UTC
Thank you! Notmuch 0.19 has been committed.
Comment 10 Marc Schiffbauer gentoo-dev 2015-01-02 13:57:06 UTC
For me it does not install:

>>> Install notmuch-0.19 into /var/tmp/portage/net-mail/notmuch-0.19/image/ category net-mail
make -j32 -l8 DESTDIR=/var/tmp/portage/net-mail/notmuch-0.19/image/ install 
echo "PROJECT_NAME = \"Notmuch 0.19\"" > doc/config.dox
mkdir -p "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/lib64/"
install-completion
mkdir -p "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/share/bash-completion/completions"
echo "INPUT=./lib/notmuch.h" >> doc/config.dox
install -m0644 "lib/libnotmuch.so.4.1.0" "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/lib64/"
mkdir -p doc/_build/man/man3
install -m0644 ./completion/notmuch-completion.bash "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/share/bash-completion/completions/notmuch"
doxygen ./doc/doxygen.cfg
ln -sf libnotmuch.so.4.1.0 "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/lib64/libnotmuch.so.4"
mkdir -p "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/share/zsh/site-functions"
ln -sf libnotmuch.so.4.1.0 "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/lib64/libnotmuch.so"
install -m0644 ./completion/notmuch-completion.zsh "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/share/zsh/site-functions/_notmuch"
mkdir -p "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/include"
install -m0644 "./lib/notmuch.h" "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/include/"
rm -f doc/_build/man/man3/_*.3
perl -pi -e 's/^[.]RI "\\fI/.RI "\\fP/' doc/_build/man/man3/notmuch.3
mkdir -p "/var/tmp/portage/net-mail/notmuch-0.19/image//usr/share/man/man3"
install -m0644  doc/_build/man/man3/*.3.gz  /var/tmp/portage/net-mail/notmuch-0.19/image///usr/share/man/man3
/usr/bin/install: cannot stat ‘doc/_build/man/man3/*.3.gz’: No such file or directory
doc/Makefile.local:67: recipe for target 'install-apidocs' failed
make: *** [install-apidocs] Error 1
 * ERROR: net-mail/notmuch-0.19::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-mail/notmuch-0.19::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-mail/notmuch-0.19::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-mail:notmuch-0.19:20150102-135418.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/notmuch-0.19/temp/environment'.
 * Working directory: '/var/tmp/portage/net-mail/notmuch-0.19/work/notmuch-0.19'
 * S: '/var/tmp/portage/net-mail/notmuch-0.19/work/notmuch-0.19'


emerge --info '=net-mail/notmuch-0.19::gentoo'
Portage 2.2.15 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r1, 3.18.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16446428 total,   5046964 free
KiB Swap:    1048572 total,    744304 free
Timestamp of tree: Fri, 02 Jan 2015 11:15:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.1 [enabled]
app-shells/bash:          4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6-r1, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo sunrise dilfridge cvut qt tox-overlay mschiff-local mschiff kde mschiff-pkgtest
Installed sets: @kdeadmin, @kdebase, @kdelibs, @kdenetwork, @kdeutils, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA NVIDIA-CUDA Q3AEULA PUEL dlj-1.1 skype-4.0.0.7-copyright googleearth AdobeFlash-11.x google-talkplugin Oracle-BCLA-JavaSE Google-TOS TeamViewer google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/lib64/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind /var/lib/hsqldb"
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 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --load-average=3.0 --tree --quiet-build=n --ignore-built-slot-operator-deps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32 -l8"
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="/var/lib/layman/sunrise /var/lib/layman/dilfridge /var/lib/layman/cvut /var/lib/layman/qt /var/lib/layman/tox-overlay /home/mschiff/gentoo/overlays/mschiff-local /home/mschiff/gentoo/overlays/mschiff /home/mschiff/gentoo/overlays/kde /home/mschiff/gentoo/overlays/mschiff-pkgtest"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns akonadi alsa amd64 ao audiofile bacula-clientonly bacula-console bash-completion berkdb bluetooth branding btrfs bzip2 cairo caps cdda cddb cdr chm cli cracklib crypt cryptsetup css cups curl cxx dbus declarative device-mapper dhclient djvu dri dts dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac foobar fortran gdbm gdm gif gimp glamor glibc-omitfp gnome-shell google-gadgets gpm gtk iconv id3tag ieee1394 ipv6 jpeg jpeg2k kde kipi l7filter lame laptop lcms ldap libnotify lm_sensors logrotate loop-aes lzma lzo mad mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg multilib musicbrainz mysql ncurses nepomuk networkmanager nls nptl nsplugin ntp ogg openexr opengl openmp pam pango pch pcmcia pcre pdf phonon plasma plymouth png policykit postgres ppds pulseaudio qt3support qt4 qt5 readline real resolvconf rss samba sdl semantic-desktop session smapi smp sndfile spell spice sse sse2 ssl ssse3 startup-notification svg systemd tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb vaapi vcd vim-syntax vnc vorbis webkit wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="btrfs crypt lvm" 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="multiboot pc qemu" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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
Comment 11 Marc Schiffbauer gentoo-dev 2015-01-25 18:36:29 UTC
Ping?
Comment 12 Amadeusz Żołnowski (RETIRED) gentoo-dev 2015-01-27 16:29:02 UTC
Could you attach a build.log?
Comment 13 Marc Schiffbauer gentoo-dev 2015-01-29 11:58:36 UTC
Created attachment 395110 [details]
build log
Comment 14 Amadeusz Żołnowski (RETIRED) gentoo-dev 2015-01-29 13:37:57 UTC
Thanks!

+*notmuch-0.19-r1 (29 Jan 2015)
+
+  29 Jan 2015; Amadeusz Żołnowski <aidecoe@gentoo.org>
+  +notmuch-0.19-r1.ebuild,
+  +files/0.19-0001-doc-gzipped-notmuch.3-before-trying-to.patch,
+  +files/0.19-0002-Rename-rst2man-to-rst2man.py-for-Gento.patch,
+  +files/0.19-0003-build-eliminate-use-of-python-execfile.patch:
+  Apply rst2man related fixes. Fallback from sphinx to rst2man was ending up
+  with build failure. Rels bug #530522.
+