Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547704 - webapp.eclass: Call to webapp-cleaner broken?
Summary: webapp.eclass: Call to webapp-cleaner broken?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-04-25 14:15 UTC by Sebastian Pipping
Modified: 2015-07-06 00:52 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 Sebastian Pipping gentoo-dev 2015-04-25 14:15:07 UTC
When updating wordpress I noticed this portage output:

  [..]
   * Running /usr/sbin/webapp-cleaner -p -C /wordpress
   * Package name must be in the form CATEGORY/PN
  >>> www-apps/wordpress-4.1.2-r2 merged.
  >>> Regenerating /etc/ld.so.cache...

In the eclass it reads

  local cleaner="${WEBAPP_CLEANER} -p -C /${PN}"

I wonder if that should be

  local cleaner="${WEBAPP_CLEANER} -p -C ${CATEGORY}/${PN}"

instead.  Running manually, I get this output:

  # sudo webapp-cleaner -p -C /wordpress
   * Package name must be in the form CATEGORY/PN

  # sudo webapp-cleaner -p -C www-apps/wordpress
   * Unused versions of wordpress detected.
   * To clean, run the following command:
   * emerge -Cav =wordpress-4.1.2-r1

Best, Sebastian
Comment 1 Devan Franchini (RETIRED) gentoo-dev 2015-05-17 03:04:49 UTC
Yeah, I noticed that myself. I've been spending the last couple of days cleaning up webapp-config myself. Currently it's in the experimental branch so it won't be available until the next release, which I hope can be somewhat soon. I'll be doing a few things here or there but I believe it should be ready shortly.
Comment 2 Devan Franchini (RETIRED) gentoo-dev 2015-07-06 00:52:57 UTC
Alright, this is fixed in the webapp.eclass and it's on the tree. Closing the bug as resolved.