public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] repoman complains about a ebuild in the tree
@ 2009-09-13 17:47 Andrey Grozin
  2009-09-13 22:14 ` Jorge Manuel B. S. Vicetto
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Grozin @ 2009-09-13 17:47 UTC (permalink / raw
  To: gentoo-dev

Hello *,

I am fixing a bug (#284080) in a ebuild (sci-visualization/mayavi-3.3.0). 
I have a fix that installs on my box fine, all deps are satisfied. I try 
to commit it, but repoman issues a lot of errors like

RDEPEND.bad                   25
....
sci-visualization/mayavi/mayavi-3.3.0.ebuild: ~x86(default/linux/x86/10.0) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
....

I cannot understand what's bad about these rdepends: the ebuild is "~amd64 
~x86" and all 3 deps are "~amd64 ~x86" too; they are not masked.

OK, I want to understand what's happening. So, I copy the existing 
mayavi-3.3.0.ebuild from the tree and run repoman again. And I get the 
same error messages! I suppose this means that repoman has changed after 
mayavi-3.3.0.ebuild was committed (otherwise, how it got to the tree?). 
And I still don't understand how I can fix the bug.

Confused,
Andrey



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] repoman complains about a ebuild in the tree
  2009-09-13 17:47 Andrey Grozin
@ 2009-09-13 22:14 ` Jorge Manuel B. S. Vicetto
  0 siblings, 0 replies; 5+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2009-09-13 22:14 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrey Grozin wrote:
> Hello *,
>
> I am fixing a bug (#284080) in a ebuild
> (sci-visualization/mayavi-3.3.0). I have a fix that installs on my
> box fine, all deps are satisfied. I try to commit it, but repoman
> issues a lot of errors like
>
> RDEPEND.bad                   25 ....
> sci-visualization/mayavi/mayavi-3.3.0.ebuild:
> ~x86(default/linux/x86/10.0) ['>=dev-python/envisageplugins-3.1.1',
>  '>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
> ....
>
> I cannot understand what's bad about these rdepends: the ebuild is
> "~amd64 ~x86" and all 3 deps are "~amd64 ~x86" too; they are not
> masked.
>
> OK, I want to understand what's happening. So, I copy the existing
> mayavi-3.3.0.ebuild from the tree and run repoman again. And I get
> the same error messages! I suppose this means that repoman has
> changed after mayavi-3.3.0.ebuild was committed (otherwise, how it
> got to the tree?). And I still don't understand how I can fix the
> bug.
>
> Confused, Andrey
>
I just tried it here and I don't get any errors from repoman. I've run
repoman full -d and it only complains about ebuild.allmasked. Have you
synced the entire repo? In particular the profiles/* tree?

- --
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / SPARC / KDE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqtbsYACgkQcAWygvVEyALdUwCgnheaEcijvPMmJJE6WzXiSWCP
3N0AnRn0lttPpg8zCkNNaQwlUINpDHmB
=Uleo
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] repoman complains about a ebuild in the tree
@ 2009-09-14  4:56 Andrey Grozin
  2009-09-14  5:35 ` Nirbheek Chauhan
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Grozin @ 2009-09-14  4:56 UTC (permalink / raw
  To: gentoo-dev

Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> wrote:
> I just tried it here and I don't get any errors from repoman. I've run
> repoman full -d and it only complains about ebuild.allmasked. Have you
> synced the entire repo? In particular the profiles/* tree?
Yes, of course I synced the tree. Now I see even a more strange thing.

/me as root in /usr/portage/sci-visualization/mayavi/

gandalf mayavi # repoman full -d

RepoMan scours the neighborhood...
   ebuild.allmasked              1
    sci-visualization/mayavi
RepoMan sez: "You're only giving me a partial QA payment?
               I'll take it this time, but I'm not happy."

Everything's OK.

/me as /me in ~/gentoo-x86/sci-visualization/mayavi/

grozin@gandalf ~/gentoo-x86/sci-visualization/mayavi $ cvs update
Warning: untrusted X11 forwarding setup failed: xauth key data not 
generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
grozin@gandalf ~/gentoo-x86/sci-visualization/mayavi $ repoman full -d

RepoMan scours the neighborhood...
   ebuild.allmasked              1
    sci-visualization/mayavi
   RDEPEND.badindev              12
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/v2refpolicy/amd64/server) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/v2refpolicy/amd64/hardened) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/v2refpolicy/amd64/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/v2refpolicy/amd64/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/v2refpolicy/amd64) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/10.0/no-multilib) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/2008.0/no-multilib) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/v2refpolicy/x86/server) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/v2refpolicy/x86/hardened) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/v2refpolicy/x86/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/v2refpolicy/x86/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/v2refpolicy/x86) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
   RDEPEND.bad                   25
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(hardened/linux/amd64) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/2007.0/amd64/hardened) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(selinux/2007.0/amd64) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(hardened/amd64/multilib) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: ~amd64(hardened/amd64) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/10.0/server) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/10.0/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/10.0/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/10.0) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/2008.0/server) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/2008.0/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/2008.0/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~amd64(default/linux/amd64/2008.0) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: ~x86(hardened/linux/x86) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(selinux/2007.0/x86/hardened) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: ~x86(selinux/2007.0/x86) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: ~x86(hardened/x86) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/10.0/server) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/10.0/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/10.0/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/10.0) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/2008.0/server) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/2008.0/developer) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/2008.0/desktop) 
['>=dev-python/envisageplugins-3.1.1', '>=dev-python/apptools-3.3.0', 
'>=dev-python/envisagecore-3.1.1']
    sci-visualization/mayavi/mayavi-3.3.0.ebuild: 
~x86(default/linux/x86/2008.0) ['>=dev-python/envisageplugins-3.1.1', 
'>=dev-python/apptools-3.3.0', '>=dev-python/envisagecore-3.1.1']
Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes 
of me."

The error message is now different: RDEPEND.badindev instead of 
RDEPEND.bad. But it is still here. And

grozin@gandalf ~/gentoo-x86/sci-visualization/mayavi $ diff -U2 -r . \
/usr/portage/sci-visualization/mayavi/
Only in .: CVS
Only in ./files: CVS

So, the two directories are identical, but repoman behaves differently.

Even more confused,
Andrey



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] repoman complains about a ebuild in the tree
  2009-09-14  4:56 Andrey Grozin
@ 2009-09-14  5:35 ` Nirbheek Chauhan
  0 siblings, 0 replies; 5+ messages in thread
From: Nirbheek Chauhan @ 2009-09-14  5:35 UTC (permalink / raw
  To: gentoo-dev

On Mon, Sep 14, 2009 at 10:26 AM, Andrey Grozin
<grozin@woodpecker.gentoo.org> wrote:
> So, the two directories are identical, but repoman behaves differently.
>

That's because repoman is context-aware. When you use it, it'll look
"around" (../..) the current directory for the dependencies. If it
finds the deps, it'll check if the ebuilds. If can't find the
dependencies, it'll look in ${PORTDIR} for checking them.

The former behaviour is for using repoman with cvs portdirs when you
need to check specifically *only* that tree. The latter behaviour is
for overlays when that tree is *in addition* to the portaget ree.

-- 
~Nirbheek Chauhan

GNOME+Mozilla Team, Gentoo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] repoman complains about a ebuild in the tree
@ 2009-09-14  9:26 Andrey Grozin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Grozin @ 2009-09-14  9:26 UTC (permalink / raw
  To: gentoo-dev

Nirbheek Chauhan <nirbheek@gentoo.org> wrote:
> That's because repoman is context-aware. When you use it, it'll look
> "around" (../..) the current directory for the dependencies. If it
> finds the deps, it'll check if the ebuilds. If can't find the
> dependencies, it'll look in ${PORTDIR} for checking them.
Thanks. I really haven't updated the whole cvs tree (because it takes sooo 
loooong), only the category (sci-visualization). I thought that the main 
(rsync) tree is used for dependences.

cvs-updating ~/gentoo-x86 solved the problem.

Andrey



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-14  9:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14  9:26 [gentoo-dev] repoman complains about a ebuild in the tree Andrey Grozin
  -- strict thread matches above, loose matches on Subject: below --
2009-09-14  4:56 Andrey Grozin
2009-09-14  5:35 ` Nirbheek Chauhan
2009-09-13 17:47 Andrey Grozin
2009-09-13 22:14 ` Jorge Manuel B. S. Vicetto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox