Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22737 - app-xemacs/gnus and others are broken because a dependency (app-xemacs/eterm) was moved
Summary: app-xemacs/gnus and others are broken because a dependency (app-xemacs/eterm)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-13 01:58 UTC by ajs
Modified: 2003-06-15 17:45 UTC (History)
2 users (show)

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


Attachments
Deletes broken ebuilds, creates fixed ones (new.ebuilds.diff,29.11 KB, patch)
2003-06-14 00:05 UTC, ajs
Details | Diff
Update dependency to new name, rename ebuilds and associated digests (new.ebuilds.diff,43.13 KB, patch)
2003-06-14 02:29 UTC, ajs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ajs 2003-06-13 01:58:04 UTC
The app-xemacs/gnus ebuilds are broken because they list app-xemacs/eterm as a
dependency. However, this has been renamed app-xemacs/xemacs-eterm (apparently
to avoid confusion with x11-terms/eterm).

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -p app-xemacs/gnus

Actual Results:  
# emerge -p app-xemacs/gnus

These are the packages that I would merge, in order:

Calculating dependencies \
emerge: there are no masked or unmasked ebuilds to satisfy "app-xemacs/eterm".

!!! Error calculating dependencies. Please correct.


Expected Results:  
# emerge -p app-xemacs/gnus

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] app-xemacs/gnus-1.65

(or something similar)

This problem can be solved by changing the dependencies in the ebuilds to refer
to app-xemacs/xemacs-eterm instead of app-xemacs/eterm.

I'm not sure whether the policy is to modify the existing ebuilds, or create new
corrected -r1 ebuilds (while removing the old ones); if I knew the policy I
would supply an appropriate patch.

 - Andrew
Comment 1 Dennis Rowe 2003-06-13 11:59:56 UTC
grep -R eterm /usr/portage/app-xemacs/*
./eshell/eshell-1.03.ebuild:app-xemacs/eterm
./eshell/eshell-1.04.ebuild:app-xemacs/eterm
./ess/ess-1.03.ebuild:app-xemacs/eterm
./gnus/gnus-1.64.ebuild:app-xemacs/eterm
./gnus/gnus-1.65.ebuild:app-xemacs/eterm
./ilisp/ilisp-1.28.ebuild:app-xemacs/eterm
./ilisp/ilisp-1.29.ebuild:app-xemacs/eterm
./jde/jde-1.38.ebuild:app-xemacs/eterm
./jde/jde-1.43.ebuild:app-xemacs/eterm
./mail-lib/mail-lib-1.54.ebuild:DEPEND="app-xemacs/eterm
./mail-lib/mail-lib-1.56.ebuild:DEPEND="app-xemacs/eterm
./net-utils/net-utils-1.28.ebuild:app-xemacs/eterm
./net-utils/net-utils-1.31.ebuild:app-xemacs/eterm
./psgml/psgml-1.35.ebuild:app-xemacs/eterm
./psgml/psgml-1.38.ebuild:app-xemacs/eterm
./psgml-dtds/psgml-dtds-1.02.ebuild:app-xemacs/eterm
./xslt-process/xslt-process-1.11.ebuild:app-xemacs/eterm
Comment 2 Dennis Rowe 2003-06-13 12:02:04 UTC
Sorry, what I meant to say is that it seems that several programs might use app-xemacs/eterm which is now app-xemacs/xemacs-eterm, i ran into problems with app-xemacs/perl-modes.

-- Dennis
Comment 3 ajs 2003-06-13 12:45:55 UTC
Indeed. I wasn't sure if other packages would be affected. As you show, they are. I've amended the summary to reflect this. It's an easy problem to fix, but I'm not sure whether the policy is to submit replacement ebuilds (bumping the revision) or change the existing ones.

 - Andrew
Comment 4 Dennis Rowe 2003-06-13 13:05:02 UTC
Just changing all the "app-xemacs/eterm" to "app-xemacs/xemacs-eterm" in /usr/portage/app-xemacs fixes the problem.  I don't know much about the ebuilds, however s/app-xemacs\/eterm/app-xemacs\/xemacs-eterm fixed app-xemacs/perl-modes and allowed me to compile the 30 so packages that it is dependent on.  It only seems to be a superfical change.

-- Dennis
Comment 5 ajs 2003-06-14 00:05:09 UTC
Created attachment 13253 [details, diff]
Deletes broken ebuilds, creates fixed ones

I've just attached a patch that does what you say. It simply replaces all
occurrences of app-xemacs/eterm with app-xemacs/xemacs-eterm; they seem to be
confined to the app-xemacs category.

The ebuild revision levels are bumped because the existing ones are broken, but
have been installed already (since they previously worked). Hence people need
to upgrade the packages to get the correct dependencies. The only thing I
haven't done is update the ChangeLogs; I'm not a Gentoo developer, only a
plebe. :)

 - Andrew
Comment 6 ajs 2003-06-14 01:39:03 UTC
Argh. It renamed the ebuilds, but didn't rename the digests. Mea culpa.
Comment 7 ajs 2003-06-14 02:13:56 UTC
Comment on attachment 13253 [details, diff]
Deletes broken ebuilds, creates fixed ones

This patch doesn't touch the digests, which also need updating. Fixing.... new
patch to follow.
Comment 8 ajs 2003-06-14 02:29:40 UTC
Created attachment 13260 [details, diff]
Update dependency to new name, rename ebuilds and associated digests

This patch does the same as the first. It a) changes all ebuilds that depend on
app-xemacs/eterm to depend on app-xemacs/xemacs-eterm; b) Bumps the revision
level on the ebuilds, since the old version will be installed by people and
needs to be updated; c) Bumps the revision on the associated digests so they're
found by the new ebuilds.
The patch does not update any ChangeLogs.
Comment 9 Dietrich Heise 2003-06-15 02:09:07 UTC
to fix it do a:

--------------------------------------------------
cd /usr/portage/app-xemacs/
for i in $(find -name "*.ebuild"); do cat $i \
|sed 's/\/eterm/\/xemacs-eterm/g' > $i.new; \
mv $i.new $i ; done
--------------------------------------------------

Dietrich
Comment 10 Robert Coie (RETIRED) gentoo-dev 2003-06-15 17:28:11 UTC
There is a patch pending in bug 22699 that should make it possible to move
app-xemacs/eterm back to where it was.  Either that will happen or the
dependencies will be updated within a matter of 48 hours.  Sorry for the problems.
Comment 11 Robert Coie (RETIRED) gentoo-dev 2003-06-15 17:45:04 UTC
app-xemacs/eterm readded to cvs, move reversed.