Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62528 - www-apps/gallery/gallery-1.4.4_p1.ebuild missing SLOT variable
Summary: www-apps/gallery/gallery-1.4.4_p1.ebuild missing SLOT variable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 09:47 UTC by Maxwell Grender-Jones
Modified: 2004-09-21 09:31 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 Maxwell Grender-Jones 2004-09-01 09:47:41 UTC
In the headers of this file, no SLOT value is declared. cf with the developer's handbook which says that SLOT is compulsory.

SLOT is in fact set by the inherited webapp.eclass file, however the inherited value is ${PVR}, not 0 like the other ebuilds for gallery. This means that gentoo thinks that in can install the two versions side by side, rather than upgrading.
Comment 1 Sven Wegener gentoo-dev 2004-09-01 09:52:49 UTC
This is intention. As you said SLOT gets set by the eclass. The new ebuilds are
slotted to ${PVR} as they can be installed parallel, as they're installed by
webapp-config after the package has been merged.
Comment 2 Maxwell Grender-Jones 2004-09-01 10:23:46 UTC
Does that mean gallery-1.4.4.ebuild, which *does* have a SLOT variable is incorrect?

Does it also mean that if one wishes to upgrade, one needs to emerge unmerge gallery, then emerge gallery?
Comment 3 Sven Wegener gentoo-dev 2004-09-02 10:26:17 UTC
No, it's just that the old ebuilds are not webapp-compatible and so they're
slotted to 0. The new way is to slot the ebuilds to ${PVR} to be
webapp-config-compatible. The old ebuilds with SLOT="0" will be removed
sometime in the future.

Normally the webapp.eclass-compatible ebuilds block the non-compatible ebuilds.
This is how it was done with phpmyadmin. This way the user knows that he has to
unmerge the old version and re-emerge the new version. Seems like it was not
done with gallery.

Generally it should be possible to have an ebuild with SLOT="0" and some webapp-compatible ebuild installed. But the general way of upgrading is to
unmerge the old SLOT="0" version and then merge a webapp-compatible version
and use webapp-config to install the package in a virtual host.

Reassigning to web-apps@g.o as it's their territory.
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2004-09-21 09:31:18 UTC
No longer an issue.