Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Len Sorensen
Package: jetty
Version: 6.1.26-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

I am trying to create a small subset of wheezy that is self contained,
and as part of building things, jetty failed to build.  Strangely it looks
a lot like an old bug #642783, although that was supposedly fixed by an
update to geronimo, and the fixed version of that is what is in wheezy.

I can provide the build log if that would help, but the error seen is:

[javadoc] Constructing Javadoc information...
[javadoc] 
/build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:19:
 cannot find symbol
[javadoc] symbol  : class UserTransaction
[javadoc] location: package javax.transaction
[javadoc] import javax.transaction.UserTransaction;
[javadoc] ^
[javadoc] Standard Doclet version 1.6.0_27
[javadoc] Building tree for all the packages and classes...
[javadoc] 
/build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:58:
 cannot find symbol
[javadoc] symbol  : class UserTransaction
[javadoc] location: class org.mortbay.jetty.plus.naming.Transaction
[javadoc] public Transaction (UserTransaction userTransaction)
[javadoc] ^

and

  [javac] 
/build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:19:
 cannot find symbol
  [javac] symbol  : class UserTransaction
  [javac] location: package javax.transaction
  [javac] import javax.transaction.UserTransaction;
  [javac] ^
  [javac] 
/build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:58:
 cannot find symbol
  [javac] symbol  : class UserTransaction
  [javac] location: class org.mortbay.jetty.plus.naming.Transaction
  [javac] public Transaction (UserTransaction userTransaction)
  [javac] ^
  [javac] Note: Some input files use unchecked or unsafe operations.
  [javac] Note: Recompile with -Xlint:unchecked for details.
  [javac] 2 errors

Any idea what the problem is and how to fix it?

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread tony mancill
On 05/15/2013 07:56 AM, Len Sorensen wrote:
 Package: jetty
 Version: 6.1.26-1
 Severity: serious
 Justification: fails to build from source (but built successfully in the past)
 
 I am trying to create a small subset of wheezy that is self contained,
 and as part of building things, jetty failed to build.  Strangely it looks
 a lot like an old bug #642783, although that was supposedly fixed by an
 update to geronimo, and the fixed version of that is what is in wheezy.
 
 I can provide the build log if that would help, but the error seen is:
 
 [javadoc] Constructing Javadoc information...
 [javadoc] 
 /build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:19:
  cannot find symbol
 [javadoc] symbol  : class UserTransaction
 [javadoc] location: package javax.transaction
 [javadoc] import javax.transaction.UserTransaction;
 [javadoc] ^
 [javadoc] Standard Doclet version 1.6.0_27
 [javadoc] Building tree for all the packages and classes...
 [javadoc] 
 /build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:58:
  cannot find symbol
 [javadoc] symbol  : class UserTransaction
 [javadoc] location: class org.mortbay.jetty.plus.naming.Transaction
 [javadoc] public Transaction (UserTransaction userTransaction)
 [javadoc] ^
 
 and
 
   [javac] 
 /build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:19:
  cannot find symbol
   [javac] symbol  : class UserTransaction
   [javac] location: package javax.transaction
   [javac] import javax.transaction.UserTransaction;
   [javac] ^
   [javac] 
 /build/www-data-jetty_6.1.26-1-i386-njNJoQ/jetty-6.1.26/modules/plus/src/main/java/org/mortbay/jetty/plus/naming/Transaction.java:58:
  cannot find symbol
   [javac] symbol  : class UserTransaction
   [javac] location: class org.mortbay.jetty.plus.naming.Transaction
   [javac] public Transaction (UserTransaction userTransaction)
   [javac] ^
   [javac] Note: Some input files use unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.
   [javac] 2 errors
 
 Any idea what the problem is and how to fix it?

Hi Len,

I am able to build the package in a clean wheezy chroot, so I'm not sure
yet what's going on here yet.  Any chance you're trying to build with a
different JDK than the default-jdk?

If you could provide a build log, that would be helpful.  If you'd
prefer, you can send it to me directly.

Cheers,
tony



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Len Sorensen
On Wed, May 15, 2013 at 11:17:30AM -0400, tony mancill wrote:
 I am able to build the package in a clean wheezy chroot, so I'm not sure
 yet what's going on here yet.  Any chance you're trying to build with a
 different JDK than the default-jdk?

I am using sbuild, pointing at wheezy, so I would hope it picks the
right one based on what the control file asks for.

 If you could provide a build log, that would be helpful.  If you'd
 prefer, you can send it to me directly.

Will do.

-- 
Len Sorensen

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Cyril Brulebois
(Random #-changes reader.)

Len Sorensen lennartsoren...@ruggedcom.com (15/05/2013):
 On Wed, May 15, 2013 at 11:17:30AM -0400, tony mancill wrote:
  I am able to build the package in a clean wheezy chroot, so I'm not sure
  yet what's going on here yet.  Any chance you're trying to build with a
  different JDK than the default-jdk?
 
 I am using sbuild, pointing at wheezy, so I would hope it picks the
 right one based on what the control file asks for.

I've just created a brand new sbuild chroot for wheezy and run that:
  sbuild -As -d wheezy jetty_6.1.26-1.dsc

and everything went fine.

Mraw,
KiBi.


signature.asc
Description: Digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Len Sorensen
On Wed, May 15, 2013 at 11:36:47AM -0400, Cyril Brulebois wrote:
 (Random #-changes reader.)
 
 Len Sorensen lennartsoren...@ruggedcom.com (15/05/2013):
  On Wed, May 15, 2013 at 11:17:30AM -0400, tony mancill wrote:
   I am able to build the package in a clean wheezy chroot, so I'm not sure
   yet what's going on here yet.  Any chance you're trying to build with a
   different JDK than the default-jdk?
  
  I am using sbuild, pointing at wheezy, so I would hope it picks the
  right one based on what the control file asks for.
 
 I've just created a brand new sbuild chroot for wheezy and run that:
   sbuild -As -d wheezy jetty_6.1.26-1.dsc
 
 and everything went fine.

I can confirm that is true.

On the other hand it seems if you recompile some of the dependancies it
uses then it breaks.

Now which dependancy could be breaking if you recompile it in wheezy to
cause this problem I wonder.

-- 
Len Sorensen

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Len Sorensen
On Wed, May 15, 2013 at 12:12:51PM -0400, Len Sorensen wrote:
 I can confirm that is true.
 
 On the other hand it seems if you recompile some of the dependancies it
 uses then it breaks.
 
 Now which dependancy could be breaking if you recompile it in wheezy to
 cause this problem I wonder.

And first guess got it:

If I build using wheezy official packages as build-deps, then jetty builds
fine.  If I replace just libgeronimo-jta-1.1-spec-java_1.1.1-2_all.deb
with the one I rebuilt myself (in wheezy), then jetty fails to build.

So it would seem rebuilding libgeronimo-jta-1.1-spec, results in something
that doesn't work the same as what is in wheezy.  I guess the bug has
to be punted to libgeronimo-jta-1.1-spec then.

Trying another rebuild of that package to see if it happens every time.

-- 
Len Sorensen

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#708405: jetty: Fails to build from source on wheezy

2013-05-15 Thread Len Sorensen
On Wed, May 15, 2013 at 02:55:58PM -0400, Len Sorensen wrote:
 And first guess got it:
 
 If I build using wheezy official packages as build-deps, then jetty builds
 fine.  If I replace just libgeronimo-jta-1.1-spec-java_1.1.1-2_all.deb
 with the one I rebuilt myself (in wheezy), then jetty fails to build.
 
 So it would seem rebuilding libgeronimo-jta-1.1-spec, results in something
 that doesn't work the same as what is in wheezy.  I guess the bug has
 to be punted to libgeronimo-jta-1.1-spec then.
 
 Trying another rebuild of that package to see if it happens every time.

So if you rebuild under wheezy, you end up with some files missing:

wheezy
wheezy/usr
wheezy/usr/share
wheezy/usr/share/maven-repo
wheezy/usr/share/maven-repo/org
wheezy/usr/share/maven-repo/org/apache
wheezy/usr/share/maven-repo/org/apache/geronimo
wheezy/usr/share/maven-repo/org/apache/geronimo/specs
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian/geronimo-jta_1.1_spec-debian.jar
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian/geronimo-jta_1.1_spec-debian.pom
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
wheezy/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.pom
wheezy/usr/share/java
wheezy/usr/share/java/geronimo-jta_1.1_spec.jar
wheezy/usr/share/java/geronimo-jta_1.1_spec-1.1.1.jar
wheezy/usr/share/java/geronimo-jta-1.0.1b-spec.jar
wheezy/usr/share/doc
wheezy/usr/share/doc/libgeronimo-jta-1.1-spec-java
wheezy/usr/share/doc/libgeronimo-jta-1.1-spec-java/changelog.Debian.gz
wheezy/usr/share/doc/libgeronimo-jta-1.1-spec-java/copyright
rebuild
rebuild/usr
rebuild/usr/share
rebuild/usr/share/maven-repo
rebuild/usr/share/maven-repo/org
rebuild/usr/share/maven-repo/org/apache
rebuild/usr/share/maven-repo/org/apache/geronimo
rebuild/usr/share/maven-repo/org/apache/geronimo/specs
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian/geronimo-jta_1.1_spec-debian.jar
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/debian/geronimo-jta_1.1_spec-debian.pom
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.pom
rebuild/usr/share/java
rebuild/usr/share/java/geronimo-jta-1.0.1b-spec.jar
rebuild/usr/share/doc
rebuild/usr/share/doc/libgeronimo-jta-1.1-spec-java
rebuild/usr/share/doc/libgeronimo-jta-1.1-spec-java/changelog.Debian.gz
rebuild/usr/share/doc/libgeronimo-jta-1.1-spec-java/copyright

No idea why wheezy/usr/share/java/geronimo-jta_1.1_spec.jar and
wheezy/usr/share/java/geronimo-jta_1.1_spec-1.1.1.jar are gone when you
rebuild libgeronimo-jta-1.1-spec.

I suspect that's the problem though.

The contents of the
rebuild/usr/share/maven-repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
file appears to be the same other than the manifest being a few bytes
off in size.

-- 
Len Sorensen

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.