Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504916 - sys-apps/portage `emerge -1 ">=net-libs/gupnp-0.13:0="` yields AttributeError: 'AtomArg' object has no attribute 'installed'
Summary: sys-apps/portage `emerge -1 ">=net-libs/gupnp-0.13:0="` yields AttributeErro...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 484436
  Show dependency tree
 
Reported: 2014-03-17 22:47 UTC by Tom Wijsman (TomWij) (RETIRED)
Modified: 2014-08-04 02:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-17 22:47:48 UTC
Arfrever | TomWij: This syntax is not valid here, but there should be no exception. File a bug.
Arfrever | (some_package:* or some_package:= is sufficient to reproduce it.)                  

 # emerge -1 ">=net-libs/gupnp-0.13:0="
These are the packages that would be merged:

Calculating dependencies -
... done!
[ebuild  N     ] net-libs/gupnp-0.20.10:0/4  USE="introspection networkmanager -connman" PYTHON_TARGETS="python2_7 -python2_6" 374 kB
[ebuild  N     ]  net-libs/gssdp-0.14.7:0/3  USE="gtk introspection" 277 kB

Total: 2 packages (2 new), Size of downloads: 650 kB
Traceback (most recent call last):
  File "/usr/bin/emerge", line 50, in <module>
    retval = emerge_main()
  File "/home/tomwij/portage/image/usr/lib/portage/pym/_emerge/main.py", line 1031, in emerge_main
    return run_action(emerge_config)
  File "/home/tomwij/portage/image/usr/lib/portage/pym/_emerge/actions.py", line 4062, in run_action
    emerge_config.args, spinner)
  File "/home/tomwij/portage/image/usr/lib/portage/pym/_emerge/actions.py", line 353, in action_build
    mydepgraph.display_problems()
  File "/home/tomwij/portage/image/usr/lib/portage/pym/_emerge/depgraph.py", line 7387, in display_problems
    self._compute_abi_rebuild_info()
  File "/home/tomwij/portage/image/usr/lib/portage/pym/_emerge/depgraph.py", line 656, in _compute_abi_rebuild_info
    if dep.parent.installed or dep.child.installed or \
AttributeError: 'AtomArg' object has no attribute 'installed'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-17 22:51:23 UTC
Portage HEAD (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.19, 3.12.7-gentoo-ck2 x86_64)
=================================================================
System uname: Linux-3.12.7-gentoo-ck2-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2
KiB Mem:     8158284 total,   2192136 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Unknown
ld GNU gold (GNU Binutils 2.24) 1.11
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.6, 3.2.5-r3, 3.3.4, 3.4.0_rc1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/systemd/system-generators/ /usr/lib/systemd/system/ /usr/lib64/systemd/system-generators/ /usr/lib64/systemd/systemd/ /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-O2 -pipe -O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/Personal/Downloads/distfiles/"
EMERGE_DEFAULT_OPTS="-av --jobs=4 --load-average=8 --autounmask-write --autounmask-keep-mask=y --tree --unordered-display --keep-going --with-bdeps=y --backtrack=0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l9"
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"
SYNC="rsync://88.198.51.10/gentoo-portage"
USE="PUEL X a52 aac acl acpi additions ads alsa amd64 apache2 bash-completion berkdb bidi bluetooth bogofilter branding bzip2 cairo cdda cdio cdr clang cleartype cli corefonts cracklib crypt cups cx231xx cxx dbus directfb dri dts dvb dvd dvdr emboss encode evo exif external-fuse fam fbcon ffmpeg firefox flac fontconfig fortran fpm freetype g3dvl gallium gd gdbm gdm geoloc gif gnome gnome-keyring gpm graphviz gstreamer gtk gtkstyle hal hpijs httpd i18n iconv icu intl introspection ipc jabber jit jpeg lame latex lcdfilter lcms libnotify libsecret live llvm lua mad matroska minimal mmx mng modemmanager modules mp3 mp4 mpeg msn multilib mysql mysqli mysqlnd nautilus ncurses networkmanager new-login nls nptl nss ogg oggvorbis opengl openmp pam pango pcre pdf pdo png policykit ppds ppp pulseaudio qt3support qt4 readline samba scanner sdl session snmp socialweb spamassassin spell sqlite sse sse2 ssl startup-notification static-ppds stream subversion suid svg systemd tcpd theora threads tidy tiff tk truetype type1 type3 udev unicode upcall upnp upower usb v4l vaapi vala vcd vdpau vlm vorbis weather wxwidgets wxwindows x264 xcb xinerama xml xv xvid youtube zeroconf 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="cx231xx" 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="pc efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 pypy2_0" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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"
USE_PYTHON="2.7 3.2 3.3 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-03-17 23:05:10 UTC
`git bisect start a01ac6b7baef29a30cabb08ea619c9c0948df4d6 v2.2.7`

# bad: [a01ac6b7baef29a30cabb08ea619c9c0948df4d6] portage.exception.PortageException: Improve performance (at least with Python 3).
# good: [feefac9fe8d2861472a043f4820058759fb037c4] RepoConfigLoader: Fix indent
git bisect start 'a01ac6b7baef29a30cabb08ea619c9c0948df4d6' 'v2.2.7'
# bad: [e9cdbdef71988909cb32a63d4c2da2524641c142] _emerge.depgraph.depgraph._compute_abi_rebuild_info(): Simplify some code.
git bisect bad e9cdbdef71988909cb32a63d4c2da2524641c142
# good: [fbe5409a3bebeee9c729a21e2c88a3f93c26e992] movefile: simplify xattr fallback logic
git bisect good fbe5409a3bebeee9c729a21e2c88a3f93c26e992
# bad: [5842e87872fd738cdfc7d0698463f1d11ffe5dee] Fix slot operator handling bug
git bisect bad 5842e87872fd738cdfc7d0698463f1d11ffe5dee
# good: [b02fab10e3ec124d1c2f0b66717451f55c3224a0] tests: support standard unittest.SkipTest exceptions
git bisect good b02fab10e3ec124d1c2f0b66717451f55c3224a0
# good: [d6960022b9f92380e39d6fe21453c925cf239b69] Fix a typo.
git bisect good d6960022b9f92380e39d6fe21453c925cf239b69
# good: [98f227be79361d83766b074403efd53f570fa3f3] Show packages forcing rebuilds (bug 472104)
git bisect good 98f227be79361d83766b074403efd53f570fa3f3
# first bad commit: [5842e87872fd738cdfc7d0698463f1d11ffe5dee] Fix slot operator handling bug

commit 5842e87872fd738cdfc7d0698463f1d11ffe5dee
Author: Sebastian Luther <SebastianLuther@gmx.de>
Date:   Mon Nov 25 23:11:41 2013 +0100

    Fix slot operator handling bug
    
    emerge would backtrack once for each package that needed a rebuild.
    This caused it to hit the backtrack limit and to not rebuild all
    packages.
    It also sometimes failed to install the packages that caused the rebuild
    in the first place, making the rebuilds pointless.
    This fixes bug 486580.

:040000 040000 d081f99178b041dcb91a67834b4da02d43c1ab66 d677f96f897e942efe50e8fe22e5f1d195439165 M	pym
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2014-08-04 02:10:45 UTC
released in portage-2.2.11