Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 249387

Summary: ant-1.7.1 is EAPI 1 but a dependency is EAPI 2, which impedes emerging it in stable environments
Product: Gentoo Linux Reporter: Santiago Gala <sgala>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Santiago Gala 2008-11-30 14:26:29 UTC
$ grep -r EAPI /usr/portage/dev-java/ant/
/usr/portage/dev-java/ant/ant-1.7.1.ebuild:EAPI="1"
$ grep -r EAPI /usr/portage/dev-java/ant-apache-bsf
/usr/portage/dev-java/ant-apache-bsf/ChangeLog:  Use EAPI 2 use dependencies instead of built_with_use warnings.
/usr/portage/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild:EAPI=2

ant-1.7.1 depends conditionally on ant-apache-bsf, and thus provokes a conflict as it can't be emerged on systems with stable portage in spite of being EAPI 1

Reproducible: Always

Steps to Reproduce:
$ sudo emerge -pv ant

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy "~dev-java/ant-apache-bsf-1.7.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/ant-apache-bsf-1.7.1 (masked by: EAPI 2)

The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
(dependency required by "dev-java/ant-1.7.1" [ebuild])
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-11-30 15:59:08 UTC
ant-1.7.1 is not stable so there is no problem here:

betelgeuse@pena /usr/portage/dev-java/ant $ eshowkw
Keywords for dev-java/ant:

      |                         s     |
      |                         p     |
      |                         a   x |
      |                         r   8 |
      |                         c   6 | u
      | a a             p     s -   - | n
      | l m   h i m m   p s   p f   f | u s
      | p d a p a 6 i p c 3   a b x b | s l
      | h 6 r p 6 8 p p 6 9 s r s 8 s | e o
      | a 4 m a 4 k s c 4 0 h c d 6 d | d t
------+-------------------------------+----
1.7.0 |   +     ~     + +         + ~ |   0
1.7.1 |   ~     ~     ~ ~         ~ ~ |
Comment 2 Santiago Gala 2008-11-30 16:09:59 UTC
You'll find strange that people is stopping using gentoo, but it is becoming completely unusable. No packages are promoted to stable and unstable packages (unstable for years, literally) are routinely broken.
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2008-11-30 16:16:50 UTC
(In reply to comment #2)
> You'll find strange that people is stopping using gentoo, but it is becoming
> completely unusable. No packages are promoted to stable and unstable packages
> (unstable for years, literally) are routinely broken.
> 

I should definetely say that Bugzilla is not the place for this kind of comment. Please post your general comments regarding Gentoo to appropriate mailing lists.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2008-11-30 18:51:30 UTC
(In reply to comment #2)
> You'll find strange that people is stopping using gentoo, but it is becoming
> completely unusable. No packages are promoted to stable and unstable packages
> (unstable for years, literally) are routinely broken.
> 

Yeah it's not news to me that there isn't enough hours put into the maintenance of the distribution or Java in general. But I encourage you to file stable request bugs for the stuff we have missed. I think don't at least the java team has had problems in fulfilling those requests if reasonable. And echoing Serkan, please take further comments to mailing lists.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-12-09 23:14:26 UTC
I've decided to put it back to EAPI 1 and revbump for EAPI 2, so the EAPI 1 ebuilds can be stabled right away.