Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285372 - claws-mail's plugins-rebuild.sh is broken on portage-2.2_rc40
Summary: claws-mail's plugins-rebuild.sh is broken on portage-2.2_rc40
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 23:28 UTC by parafin
Modified: 2009-09-30 09:01 UTC (History)
2 users (show)

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 parafin 2009-09-17 23:28:27 UTC
There is a postinst message in mail-client/claws-mail that suggests running /bin/bash /usr/portage/mail-client/claws-mail/files/plugins-rebuild.sh. It worked fine until sys-apps/portage was upgraded to 2.2_rc40 version. Now I get this:
Looking for claws-mail plugins to rebuild ...
/usr/portage/mail-client/claws-mail/files/plugins-rebuild.sh: line 30: /usr/lib/portage/bin/pkgname: No such file or directory

Found plugins for rebuilding:


Rebuilding with given emerge options: 
emerge: the other white meat (command-line interface to the Portage system)
Usage:
   emerge [ options ] [ action ] [ ebuild | tbz2 | file | @set | atom ] [ ... ]
   emerge [ options ] [ action ] < system | world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help [ --verbose ] 
Options: -[abBcCdDefgGhjkKlnNoOpqPsStuvV]
          [ --color < y | n >            ] [ --columns    ]
          [ --complete-graph             ] [ --deep       ]
          [ --jobs JOBS ] [ --keep-going ] [ --load-average LOAD            ]
          [ --newuse    ] [ --noconfmem  ] [ --nospinner  ]
          [ --oneshot   ] [ --onlydeps   ]
          [ --reinstall changed-use      ] [ --with-bdeps < y | n >         ]
Actions:  [ --depclean | --list-sets | --search | --sync | --version        ]

   For more help try 'emerge --help --verbose' or consult the man page.

No plugins found.

The problem is obviously is absence of /usr/lib/portage/bin/pkgname in latest portage.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-22 00:16:05 UTC
Ok, I did not write that script, so I have to investigate a bit.  Stay tuned.
Comment 2 parafin 2009-09-22 13:01:10 UTC
claws-mail ebuild also detects installed plugins, but it simply uses pre-defined list of available plugins (as opposed to looking in /var/db/pkg). Maybe ebuild and this script should be unified somehow.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-30 09:01:04 UTC
I decided to remove the script alltogether and only keep a message in postinst...searching the vdb directly is a bad idea, anyway and rewriting the script is not worth the gain.
Anyway, thank you for your report.