Package: src:starjava-datanode
Version: 1.0+2023.01.18-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with javahelper
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ant jars
Buildfile: /<<PKGBUILDDIR>>/build.xml

prepare:
   [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set 
to 1687766667

really_check_packages:

check_packages:

build:
    [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
    [javac] Compiling 81 source files to /<<PKGBUILDDIR>>/build/classes
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:19: 
error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.AbstractArrayDataIO;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:20: 
error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.FitsConstants;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:21: 
error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.MappedFile;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSFileDataNode.java:9:
 error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.MappedFile;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/HDUDataNode.java:10: 
error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.FitsConstants;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ImageHDUDataNode.java:19:
 error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.FitsConstants;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ImageHDUDataNode.java:20:
 error: package uk.ac.starlink.oldfits does not exist
    [javac] import uk.ac.starlink.oldfits.MappedFile;
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ColumnsMetamapGroup.java:42:
 warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
    [javac]             addEntry( i, INDEX_KEY, new Integer( i + 1 ) );
    [javac]                                     ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:60: 
error: cannot find symbol
    [javac]                  istrm instanceof MappedFile ) {
    [javac]                                   ^
    [javac]   symbol:   class MappedFile
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:67: 
error: cannot find symbol
    [javac]                 else if ( istrm instanceof AbstractArrayDataIO &&
    [javac]                                            ^
    [javac]   symbol:   class AbstractArrayDataIO
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:70: 
error: cannot find symbol
    [javac]                     fileSize = ((AbstractArrayDataIO) 
istrm).length();
    [javac]                                  ^
    [javac]   symbol:   class AbstractArrayDataIO
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:76: 
error: cannot find symbol
    [javac]                     long dataSize = FitsConstants.getDataSize( 
primaryHeader );
    [javac]                                     ^
    [javac]   symbol:   variable FitsConstants
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:145: 
error: cannot find symbol
    [javac]             firstHeaderSize = FitsConstants.readHeader( 
firstHeader, istrm );
    [javac]                               ^
    [javac]   symbol:   variable FitsConstants
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:168: 
error: cannot find symbol
    [javac]                         long datsize = FitsConstants.getDataSize( 
hdr );
    [javac]                                        ^
    [javac]   symbol: variable FitsConstants
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:223: 
error: cannot find symbol
    [javac]                             FitsConstants.readHeader( nextHeader, 
istrm );
    [javac]                             ^
    [javac]   symbol: variable FitsConstants
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:278: 
error: cannot find symbol
    [javac]             return new MappedFile( fileName );
    [javac]                        ^
    [javac]   symbol:   class MappedFile
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSDataNode.java:293: 
error: cannot find symbol
    [javac]         return FitsConstants.isMagic( buffer );
    [javac]                ^
    [javac]   symbol:   variable FitsConstants
    [javac]   location: class FITSDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/FITSFileDataNode.java:52:
 error: cannot find symbol
    [javac]                 return new MappedFile( niobuf );
    [javac]                            ^
    [javac]   symbol: class MappedFile
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/HDUDataNode.java:93: 
error: cannot find symbol
    [javac]                          FitsConstants.getDataSize( header ) / 2880 
);
    [javac]                          ^
    [javac]   symbol:   variable FitsConstants
    [javac]   location: class HDUDataNode
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ImageHDUDataNode.java:81:
 warning: [removal] Byte(byte) in Byte has been deprecated and marked for removal
    [javac]                     badval = new Byte( (byte) val );
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ImageHDUDataNode.java:89:
 warning: [removal] Short(short) in Short has been deprecated and marked for removal
    [javac]                     badval = new Short( (short) val );
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/nodes/ImageHDUDataNode.java:97:
 warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
    [javac]                     badval = new Integer( val );
    [javac]                              ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/viewers/ArrayBrowser.java:136:
 warning: [removal] Long(long) in Long has been deprecated and marked for removal
    [javac]                     return new Long( o1 + (long) nrow - 1 - irow ) + "  
";
    [javac]                            ^
    [javac] 
/<<PKGBUILDDIR>>/src/main/uk/ac/starlink/datanode/viewers/ArrayBrowser.java:147:
 warning: [removal] Long(long) in Long has been deprecated and marked for removal
    [javac]                     return new Long( o0 + (long) icol  ) + "  ";
    [javac]                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 18 errors
    [javac] 6 warnings

BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:440: Compile failed; see the compiler error output 
for details.

Total time: 4 seconds
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was first tried under trixie
on virtual machines of type m6a.large and r6a.large from AWS,
using sbuild and a reduced chroot with only build-essential packages,
then under sid on self-hosted KVM machines.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to