Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629190 - net-mail/notmuch: missing versioned dep on dev-python/idna
Summary: net-mail/notmuch: missing versioned dep on dev-python/idna
Status: RESOLVED DUPLICATE of bug 629092
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 15:42 UTC by Francesco Riosa
Modified: 2017-08-29 17:12 UTC (History)
3 users (show)

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


Attachments
nutmuch-0.25 build log (net-mail:notmuch-0.25:20170829-015137.log,45.85 KB, text/x-log)
2017-08-29 02:04 UTC, Sam Stone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2017-08-28 15:42:33 UTC
Build phase of net-mail/notmuch fail if dev-python/idna is present on the system and if idna has version != 2.5.*


* Package:    net-mail/notmuch-0.25       
 * Repository: gentoo                      
 * Maintainer: aidecoe@gentoo.org          
 * USE:        abi_x86_64 amd64 crypt elibc_glibc kernel_linux mutt python python_targets_python3_6 userland_GNU                                                            
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug userpriv usersandbox    
>>> Unpacking source...                    
>>> Unpacking notmuch-0.25.tar.gz to /var/tmp/portage/net-mail/notmuch-0.25/work      
>>> Source unpacked in /var/tmp/portage/net-mail/notmuch-0.25/work                    
>>> Preparing source in /var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25 ...  
/var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25/bindings/python /var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25                                           
/var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25                              
/var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25/bindings/python /var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25                                           
/var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25                              
>>> Source prepared.                       
>>> Configuring source in /var/tmp/portage/net-mail/notmuch-0.25/work/notmuch-0.25 ...                                                                                      
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --bashcompletiondir=/usr/share/bash-completion/completions --emacslispdir=//usr/share/emacs/site-lisp/notmuch --emacsetcdir=//usr/share/emacs/etc/notmuch --without-desktop --without-ruby --zshcompletiondir=/usr/share/zsh/site-functions --without-emacs --without-api-docs 
Welcome to Notmuch, a system for indexing, searching and tagging your email.          

[...]

/usr/bin/gcc-ar rcs parse-time-string/libparse-time-string.a parse-time-string/parse-time-string.o                                                                          
/usr/bin/gcc-ar rcs util/libnotmuch_util.a util/xutil.o util/error_util.o util/hex-escape.o util/string-util.o util/talloc-extra.o util/zlib-extra.o util/util.o util/gmime-
extra.o                                    
Traceback (most recent call last):         
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master                                                                           
    ws.require(__requires__)               
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 969, in require                                                                                 
    needed = self.resolve(parse_requirements(requirements))                           
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 860, in resolve                                                                                 
    raise VersionConflict(dist, req).with_context(dependent_req)                      
pkg_resources.ContextualVersionConflict: (idna 2.6 (/usr/lib64/python3.6/site-packages), Requirement.parse('idna<2.6,>=2.5'), {'requests'})                                 

During handling of the above exception, another exception occurred:                   

Traceback (most recent call last):         
  File "/usr/lib/python-exec/python3.6/sphinx-build", line 6, in <module>             
    from pkg_resources import load_entry_point                                        
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3037, in <module>                                                                               
    @_call_aside                           
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3021, in _call_aside                                                                            
    f(*args, **kwargs)                     
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3050, in _initialize_master_working_set                                                         
    working_set = WorkingSet._build_master()                                          
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master                                                                           
    return cls._build_from_requirements(__requires__)                                 
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements                                                                
    dists = ws.resolve(reqs, Environment())                                           
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 855, in resolve                                                                                 
    raise DistributionNotFound(req, requirers)                                        
pkg_resources.DistributionNotFound: The 'idna<2.6,>=2.5' distribution was not found and is required by requests                                                             
make: *** [doc/Makefile.local:53: doc/_build/.roff.stamp] Error 1                     
make: *** Waiting for unfinished jobs....  
 * ERROR: net-mail/notmuch-0.25::gentoo failed (compile phase):                       
 *   emake failed                          
 *                                         
 * If you need support, post the output of `emerge --info '=net-mail/notmuch-0.25::gentoo'`,                                                                                
 * the complete build log and the output of `emerge -pqv '=net-mail/notmuch-0.25::gentoo'`.                                                                                 
 * The complete build log is located at '/var/log/portage/build/net-mail/notmuch-0.25:20170828-084153.log.gz'.                                                              
 * The ebuild environment file is located at '/var/tmp/portage/net-mail/notmuch-0.25/temp/environment'.
Comment 1 Francesco Riosa 2017-08-28 15:43:44 UTC
gentoo-gcc7 ~ # emerge --info  net-mail/notmuch         
Portage 2.3.8 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-7.1.0, glibc-2.24-r4, 4.9.43 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.43-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    32632344 total,  11060548 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 28 Aug 2017 15:30:01 +0000
Head commit of repository gentoo: a5da8da12b64ce7e61b38cedef0a41d7a407f0ae
Head commit of repository vivovl: 3fb41c2572e69fbb52761fd06d8758ea9767035e

sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo, 3.6.1-r1::vivovl
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r4::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

vivovl
    location: /var/portage/repos/vivovl
    sync-type: git
    sync-uri: git@github.com:vivo75/vivovl.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
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/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --ask-enter-invalid --usepkg=n --load-average=8 --jobs=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -O3 -march=corei7 -pipe -flto=8 -fuse-linker-plugin -fno-fat-lto-objects -floop-nest-optimize -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -grecord-gcc-switches"
MAKEOPTS="-j8 --load-average=8"
PKGDIR="/var/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="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr clang cli cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gles2 gpm gpu gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid 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="krita" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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" INPUT_DEVICES="evdev wacom libinput synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005" USERLAND="GNU" VIDEO_CARDS="intel i965 nouveau radeon radeonsi amdgpu qxl modesetting" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-mail/notmuch-0.25::vivovl was built with the following:
USE="crypt mutt python -doc -emacs -nmbug -test -valgrind" ABI_X86="(64)" PYTHON_TARGETS="python3_6 -python2_7 -python3_4 -python3_5"
Comment 2 Sam Stone 2017-08-29 02:04:51 UTC
Created attachment 491040 [details]
nutmuch-0.25 build log
Comment 3 Sam Stone 2017-08-29 02:06:26 UTC
I think I have encountered the same bug. I have attached a build log. I will open a bug if needed. See below:

x86_64-pc-linux-gnu-gcc -c -DNOTMUCH_VERSION=0.25  -std=gnu99 -march=broadwell -O2 -pipe -Wall -Wextra -Wwrite-strings -Wmissing-declarations  -I./util -I./compat -I./lib -fPIC -fvisibility=hidden -I./parse-time-string -I. -D_LARGEFILE64_SOURCE -pthread -I/usr/include/gmime-2.6 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DHAVE_VALGRIND=1 -I/usr/include/valgrind -DHAVE_GETLINE=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_D_TYPE=1 -DSTD_GETPWUID=1 -DSTD_ASCTIME=1 -DHAVE_XAPIAN_COMPACT=1 -DSILENCE_XAPIAN_DEPRECATION_WARNINGS -DHAVE_XAPIAN_FIELD_PROCESSOR=1 -DHAVE_XAPIAN_DB_RETRY_LOCK=1 parse-time-string/parse-time-string.c -o parse-time-string/parse-time-string.o -MD -MP -MF .deps/parse-time-string/parse-time-string.d
sphinx-build -b man -d doc/_build/doctrees -q ./doc doc/_build/man                                                                                                                                                 
echo "PROJECT_NAME = \"Notmuch 0.25\"" > doc/config.dox                                                                                                                                                            
echo "INPUT=./lib/notmuch.h" >> doc/config.dox                                                                                                                                                                     
emacs --quick --directory emacs -batch -f batch-byte-compile emacs/notmuch-compat.el                                                                                                                               
emacs --quick --directory emacs -batch -f batch-byte-compile emacs/notmuch-version.el                                                                                                                              
emacs --quick --directory emacs -batch -f batch-byte-compile emacs/notmuch-parser.el                                                                                                                               
emacs --quick --directory emacs -batch -f batch-byte-compile emacs/coolj.el                                                                                                                                        
Traceback (most recent call last):                                                                                                                                                                                 
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master                                                                                                                  
    ws.require(__requires__)                                                                                                                                                                                       
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 969, in require                                                                                                                        
    needed = self.resolve(parse_requirements(requirements))                                                                                                                                                        
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 860, in resolve                                                                                                                        
    raise VersionConflict(dist, req).with_context(dependent_req)                                                                                                                                                   
pkg_resources.ContextualVersionConflict: (idna 2.6 (/usr/lib64/python3.6/site-packages), Requirement.parse('idna<2.6,>=2.5'), {'requests'})                                                                        
                                                                                                                                                                                                                   
During handling of the above exception, another exception occurred:

Traceback (most recent call last):                                                                                                                                                                                 
  File "/usr/lib/python-exec/python3.6/sphinx-build", line 6, in <module>                                                                                                                                          
    from pkg_resources import load_entry_point                                                                                                                                                                     
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3037, in <module>                                                                                                                      
    @_call_aside                                                                                                                                                                                                   
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3021, in _call_aside                                                                                                                   
    f(*args, **kwargs)                                                                                                                                                                                             
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 3050, in _initialize_master_working_set                                                                                                
    working_set = WorkingSet._build_master()                                                                                                                                                                       
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master                                                                                                                  
    return cls._build_from_requirements(__requires__)                                                                                                                                                              
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements                                                                                                       
    dists = ws.resolve(reqs, Environment())                                                                                                                                                                        
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 855, in resolve
    raise DistributionNotFound(req, requirers)                                                                                                                                                                     
pkg_resources.DistributionNotFound: The 'idna<2.6,>=2.5' distribution was not found and is required by requests                                                                                                    
ar rcs util/libnotmuch_util.a util/xutil.o util/error_util.o util/hex-escape.o util/string-util.o util/talloc-extra.o util/zlib-extra.o util/util.o util/gmime-extra.o                                             
make: *** [doc/Makefile.local:53: doc/_build/.roff.stamp] Error 1                                                                                                                                                  
make: *** Waiting for unfinished jobs....
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-29 17:12:08 UTC

*** This bug has been marked as a duplicate of bug 629092 ***