Bug#606295: libhibernate3-java: FTBFS: maven-related errors

Miguel Landaeta miguel at miguel.cc
Sat Dec 11 17:44:30 UTC 2010


tags 606295 + confirmed help
thanks

On Wed, Dec 08, 2010 at 09:08:48AM +0100, Lucas Nussbaum wrote:
> Source: libhibernate3-java
> Version: 3.5.4.Final-4
> Severity: serious
> Tags: squeeze sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20101207 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
>
> [snip]
>
> > [INFO] Compilation failure
> > /build/user-libhibernate3-java_3.5.4.Final-4-amd64-X7BsRy/libhibernate3-java-3.5.4.Final/entitymanager/src/main/java/org/hibernate/ejb/criteria/path/AbstractPathImpl.java:[194,39] invalid inferred types for M; inferred type does not conform to declared bound(s)
> > inferred: java.util.Map<K,V>
> > bound(s): java.util.Map<capture#829 of ?,capture#332 of ?>

Hi,

The relevant error message is the one shown above.

I suspect this failure is because IcedTea 1.8.2 got more
strict with type inference and generics code. I say this
since I can rebuild this package without problems with
1.8.1. Thus, this FTBFS is present in sid and squeeze.

This bug seems to be very similar to #602362.
The problematic code involves the usage of Java generics and
since I'm not very experienced with that kind of code I'm
asking for help.

Additionaly, the patch debian-changes-3.5.4.Final-4 included
in the last upload seems incorrect to me. It reverts many
changes introduced in 3.5.4 to 3.5.2. I think this mistake
is due the upstream branch of the git repo where this
package is maintained is outdated.

Cheers,


PS: After squeeze it should be checked why so many unit
tests are failing during the build.

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche





More information about the pkg-java-maintainers mailing list