• Bug#1104767: fop: FTBFS: [ERROR] /<>/fop-core/src/main/jav

    From Santiago Vila@21:1/5 to All on Tue May 6 00:30:01 2025
    Package: src:fop
    Version: 1:2.10+dfsg-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    --------------------------------------------------------------------------------
    [...]
    [ERROR] COMPILATION ERROR :
    [INFO] -------------------------------------------------------------
    [ERROR] /<<PKGBUILDDIR>>/fop-core/src/main/java/org/apache/fop/pdf/PDFOutputIntent.java:[168,11] exception java.io.IOException is never thrown in body of corresponding try statement
    [INFO] 1 error
    [INFO] -------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache FOP Parent 2.10:
    [INFO]
    [INFO] Apache FOP Parent .................................. SUCCESS [ 0.080 s] [INFO] Apache FOP Utilities ............................... SUCCESS [ 1.080 s] [INFO] Apache FOP Events .................................. SUCCESS [ 0.637 s] [INFO] Apache FOP Core .................................... FAILURE [ 5.559 s] [INFO] Apache FOP All-In-One .............................. SKIPPED
    [INFO] Apache FOP Sandbox ................................. SKIPPED
    [INFO] Apache FOP Transcoder .............................. SKIPPED
    [INFO] Apache FOP Transcoder All-In-One ................... SKIPPED
    [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.495 s
    [INFO] Finished at: 2025-05-05T22:12:14Z
    [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project fop-core: Compilation failure
    [ERROR] /<<PKGBUILDDIR>>/fop-core/src/main/java/org/apache/fop/pdf/PDFOutputIntent.java:[168,11] exception java.io.IOException is never thrown in body of corresponding try statement
    [ERROR] -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project fop-core: Compilation failure
    /<<PKGBUILDDIR>>/fop-core/src/main/java/org/apache/fop/pdf/PDFOutputIntent.java:[168,11] exception java.io.IOException is never thrown in body of corresponding try statement

    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at org.debian.maven.Wrapper.main (Wrapper.java:89)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard (Launcher.java:322)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:235)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
    Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
    /<<PKGBUILDDIR>>/fop-core/src/main/java/org/apache/fop/pdf/PDFOutputIntent.java:[168,11] exception java.io.IOException is never thrown in body of corresponding try statement

    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1309)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:215)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at org.debian.maven.Wrapper.main (Wrapper.java:89)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard (Launcher.java:322)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:235)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
    [ERROR]
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn <args> -rf :fop-core
    [DEBUG] Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static]
    [DEBUG] Shutting down 'file-lock' factory
    [DEBUG] Shutting down 'rwlock-local' factory
    [DEBUG] Shutting down 'semaphore-local' factory
    [DEBUG] Shutting down 'noop' factory
    dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<BUILDDIR>>/fop-2.10\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.
    conf -Dproperties.file.manual=/<<BUILDDIR>>/fop-2.10\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/fop-2.10\+dfsg/debian -Dmaven.repo.local=/<<BUILDDIR>>/fop-2.
    10\+dfsg/debian/maven-repo --batch-mode -X package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
    make[1]: *** [debian/rules:31: override_dh_auto_build] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:9: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary 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/202505/

    Note: A similar error happens here:

    https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fop.html

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    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 add an affects on src:fop, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu May 8 00:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 07 May 2025 21:51:18 +0000
    with message-id <[email protected]>
    and subject line Bug#1104767: fixed in fop 1:2.10+dfsg-2
    has caused the Debian Bug report #1104767,
    regarding fop: FTBFS: [ERROR] /<<PKGBUILDDIR>>/fop-core/src/main/java/org/apache/fop/pdf/PDFOutputIntent.java:[168,11] exception java.io.IOException is never thrown in body of corresponding try statement
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1104767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104767
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 5 May 2025 22:20:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-119.8 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,MONEY,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,STOCKLIKE,URIBL_SBL_A,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 44; hammy, 150; neutral, 510; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila Return-path: <[email protected]>
    Received: from mitropoul