Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187480 - sys-apps/portage- - emerge -avuDN world traceback w/ writemsg() got multiple values for keyword argument 'noiselevel'
Summary: sys-apps/portage- - emerge -avuDN world traceback w/ writemsg() got m...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
Depends on:
Blocks: 181949 189285
  Show dependency tree
Reported: 2007-08-02 09:28 UTC by Viktor Griph
Modified: 2007-08-24 18:49 UTC (History)
0 users

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

fix writemsg args (writemsg.patch,437 bytes, patch)
2007-08-02 16:50 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Griph 2007-08-02 09:28:16 UTC
# emerge -avuND world

These are the packages that would be merged, in order:

Calculating world dependencies -Traceback (most recent call last):
  File "/usr/bin/emerge", line 5660, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5653, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 4965, in action_build
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 2284, in xcreate
    best_pkg =
  File "/usr/lib/portage/pym/", line 6297, in match
    return self.xmatch("match-visible",mydep)
  File "/usr/lib/portage/pym/", line 6272, in xmatch
    self.xmatch("list-visible", mykey, mydep=mykey, mykey=mykey))
  File "/usr/lib/portage/pym/", line 6257, in xmatch
  File "/usr/lib/portage/pym/", line 6376, in gvisible
    mycpv, noiselevel=-1)
TypeError: writemsg() got multiple values for keyword argument 'noiselevel'

CFLAGS="-march=pentium4 -O2 -pipe"


USE="nptl nptlonly -apm acpi -arts -berkdb bzip2 bash/completion cdr -cups divx4linux dvd dvdread emacs -emboss encode -foomaticdb -gdvm -gnome -kde imagemagick ithreads java javascript lcms -libg++ -mikmod mmx -oss -qt ogg pcre php plotutils sockets socks5 sse sse2 svg tetex theora tiff usb vcd videos vorbis win32codecs wmf xface xine -xmms bmp xosd xsl xvid -ipv6 userlocales dvdr -gstreamer mng xml xml2 apache2 cairo -ldap -debug dvb v4l v4l2"


LINGUAS="sv_SE sv en_GB en_US us en"
FEATURES="ccache parallel-fetch"

PORTAGE_ELOG_CLASSES="warn error log"


INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="fglrx radeon vga vesa"

# uname -a
Linux gramphos #1 SMP PREEMPT Wed May 30 17:42:22 CEST 2007 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
Comment 1 Zac Medico gentoo-dev 2007-08-02 16:50:38 UTC
Created attachment 126717 [details, diff]
fix writemsg args

If you save this patch as /tmp/writemsg.patch then you can apply it like this:

patch /usr/lib/portage/pym/ < /tmp/writemsg.patch

This bug has existed in the 2.1.3 branch for some time but nobody noticed it.  With the patch we'll be able to see what other error is triggering it (maybe PermissionDenied).
Comment 2 Zac Medico gentoo-dev 2007-08-02 18:57:59 UTC
This has been released in I'll leave this bug open since some others might hit this in (probably won't be too many though).
Comment 3 Viktor Griph 2007-08-03 21:04:11 UTC

The error was trigged by some bad files in my portage overlay:

!!! Error: aux_get('x11-drivers/ati-drivers-8.14.13-r5', ['KEYWORDS', 'EAPI', 'SLOT'])
!!! /usr/local/portage/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20-r1
!!! Error: aux_get('x11-drivers/ati-drivers-8.14.13-r3', ['KEYWORDS', 'EAPI', 'SLOT'])
!!! /usr/local/portage/x11-drivers/ati-drivers/files/digest-ati-drivers-8.16.20-r1

I've cleaned up in there.
Comment 4 Zac Medico gentoo-dev 2007-08-24 18:49:26 UTC
This has been released in