Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33575 - mod_php depends on sys-apps/bzip2, but that changes to app-arch/bzip2
Summary: mod_php depends on sys-apps/bzip2, but that changes to app-arch/bzip2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 33540 33548 34228 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-15 15:10 UTC by CBke -Left- bye
Modified: 2003-11-24 18:17 UTC (History)
6 users (show)

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


Attachments
output of emerge -up --debug --deep world (emerge.txt,53.88 KB, text/plain)
2003-11-22 15:27 UTC, Jonathan Nichols
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CBke -Left- bye 2003-11-15 15:10:06 UTC
bzip2 has changed to group  app-arch/ but mod_php still looks in sys-apps/

Reproducible: Always
Steps to Reproduce:
1]

emerge -p mod_php

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

Calculating dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/bzip2".

!!! Error calculating dependencies. Please correct.



2]
CBke root # emerge -p bzip2

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

Calculating dependencies ...done!
[ebuild   R   ] app-arch/bzip2-1.0.2-r2
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-11-15 16:35:33 UTC
please do the following:

rm -rf /var/cache/edb/dep/*
emerge regen

that should sort you out.

Though, server side caching should have caught this. Portage people?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-11-15 16:59:42 UTC
*** Bug 33548 has been marked as a duplicate of this bug. ***
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:27:47 UTC
please make sure 
PORTAGE_OVERLAY is not enabled

emerge sync

try again
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:28:54 UTC
as important info
old portage-mirrors could cause this
we should make sure portage only syncs if mirror has newer timestamp than local timestamp (should be timestamp from last rsync mirror)
Comment 5 CBke -Left- bye 2003-11-16 06:44:29 UTC
solved
Comment 6 Whit Blauvelt 2003-11-19 09:17:17 UTC
Please re-open the bug. This does not appear to be fixed. After running emerge sync once then twice same result:

# emerge -up world

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

Calculating world dependencies |
emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/bzip2".

!!! Problem with ebuild dev-php/mod_php-4.3.3-r3
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.

Notes: PORTAGE_OVERLAY is not enabled.

Haven't tried Seemant's method below yet; but having a workaround in the bug database doesn't qualify as "fixed" does it?

Comment 7 Whit Blauvelt 2003-11-19 11:42:28 UTC
Seemant's method does work. But on a K-6 450 that "emerge regen" took over an hour and a half.
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-11-19 14:07:32 UTC
reopen for portage problem to be fixed/solved
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-19 16:23:14 UTC
run fixpackages, if that fails, run emerge regen.
thereafter the problem will be gone.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-20 21:20:05 UTC
*** Bug 33540 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan Nichols 2003-11-21 17:51:02 UTC
Still happens after a fresh emerge sync ; fixpackages ; emerge regen 
Even tried rm -rf /var/cache/edb/dep/* ; emerge regen

www jnichols # emerge -up --deep world

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

Calculating world dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy "sys-apps/bzip2".

!!! Problem with ebuild dev-php/mod_php-4.3.3-r3
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
www jnichols #

Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-21 18:54:54 UTC
Jonathan: run emerge --debug -up --deep world
and attach the output.
Comment 13 Jonathan Nichols 2003-11-22 15:27:27 UTC
Created attachment 21103 [details]
output of emerge -up --debug --deep world

The textfile attached is the end result of the following steps:
1)rm -rf /var/cache/edb/dep/* ; emerge regen ; fixpackages ; emerge regen
2)emerge sync ; emerge -up --debug --deep world
Comment 14 Asbjorn Sannes 2003-11-22 18:00:33 UTC
All my computers witch I have tried on has this problem! The only fix i've come up with so far is injecting that non-existant category/package, why is this surfacing now? I thought that package was moved a long time ago..
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-23 03:02:55 UTC
I don't see why it still says it needs sys-apps/bzip2!

please do:
"grep -ril 'sys-apps/bzip2' /usr/portage /var/db/pkg"
as well as in your portage overlays if any and post the results.
Comment 16 Jonathan Nichols 2003-11-23 12:56:23 UTC
Tried it on 3 machines - it's identical on all of them. 
No portage_overlays are in use... 

mail jnichols # grep -ril 'sys-apps/bzip2' /usr/portage /var/db/pkg
/usr/portage/metadata/cache/dev-php/php-5.0_beta1
/usr/portage/metadata/cache/dev-php/php-5.0_beta1-r1
/usr/portage/metadata/cache/dev-php/php-cvs-5.0-r1
/usr/portage/metadata/cache/dev-php/php-cvs-5.0-r2
/usr/portage/metadata/cache/dev-php/php-cvs-5.0
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2-r1
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2-r2
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2-r3
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2-r4
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2-r5
/usr/portage/metadata/cache/dev-php/mod_php-4.3.3-r1
/usr/portage/metadata/cache/dev-php/mod_php-4.3.3-r2
/usr/portage/metadata/cache/dev-php/mod_php-4.3.3-r3
/usr/portage/metadata/cache/dev-php/php-4.3.2-r1
/usr/portage/metadata/cache/dev-php/php-4.3.2-r2
/usr/portage/metadata/cache/dev-php/php-4.3.2-r3
/usr/portage/metadata/cache/dev-php/php-4.3.3-r1
/usr/portage/metadata/cache/dev-php/php-4.3.3-r2
/usr/portage/metadata/cache/dev-php/php-4.3.3-r3
/usr/portage/metadata/cache/dev-php/mod_php-4.3.3_rc3
/usr/portage/metadata/cache/dev-php/mod_php-4.3.2
/usr/portage/metadata/cache/dev-php/mod_php-4.3.3
/usr/portage/metadata/cache/dev-php/mod_php-4.3.4
/usr/portage/metadata/cache/dev-php/php-4.3.2
/usr/portage/metadata/cache/dev-php/php-4.3.3
/usr/portage/metadata/cache/dev-php/php-4.3.4
/usr/portage/app-games/asc/asc-1.13.8.0.ebuild
/usr/portage/app-games/asc/asc-1.13.7.ebuild
/usr/portage/app-games/xqf/xqf-0.9.12.ebuild
/usr/portage/app-arch/dar/ChangeLog
/usr/portage/profiles/updates/4Q-2003
mail jnichols #
Comment 17 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-23 15:54:36 UTC
delete all of the items in /usr/portage/metadata/cache that matched the grep.

I also don't see why you have:
/usr/portage/app-games/asc/asc-1.13.8.0.ebuild
/usr/portage/app-games/asc/asc-1.13.7.ebuild
/usr/portage/app-games/xqf/xqf-0.9.12.ebuild

as the app-games category was broken down into games-* quite a while ago.
Comment 18 Martin Holzer (RETIRED) gentoo-dev 2003-11-23 16:05:26 UTC
*** Bug 34228 has been marked as a duplicate of this bug. ***
Comment 19 Jonathan Nichols 2003-11-24 11:26:46 UTC
A mixture of "rm -rf /var/cache/edb/dep/* ; emerge regen ; fixpackages ; emerge sync ; emerge regen" has resolved this issue on one affected machine. I am totally baffled now.

Previously I had done rm -rf /var/cache/edb/dep/* and then done an emerge sync right after - maybe an ebuild was changed? I'm not sure, but (for me) the issue has gone away.
Comment 20 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-24 18:17:00 UTC
if any of your machines still exhibit the problem, please see the fix i posted in comment 17. closing this bug for now.