Bug#1060940: libfreemarker-java: FTBFS: make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25

Lucas Nussbaum lucas at debian.org
Tue Jan 16 19:43:18 GMT 2024


Source: libfreemarker-java
Version: 2.3.32-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -Divy.default.ivy.user.dir=/<<PKGBUILDDIR>>/.ivy -Dtitlebar.found=true \
>                  -DTODAY= -DDSTAMP= -DTSTAMP= -DtimestampNice= -DtimestampInVersion= \
>                  -Dboot.classpath.j2se1.7.correct=true -Dboot.classpath.j2se1.8.correct=true \
>                  javacc jar
> 	ant -Divy.settings.file=/usr/share/ivy-debian-helper/ivysettings.xml -Divy.default.ivy.user.dir=/<<PKGBUILDDIR>>/.ivy2 -Divy.default.ivy.user.dir=/<<PKGBUILDDIR>>/.ivy -Dtitlebar.found=true -DTODAY= -DDSTAMP= -DTSTAMP= -DtimestampNice= -DtimestampInVersion= -Dboot.classpath.j2se1.7.correct=true -Dboot.classpath.j2se1.8.correct=true javacc jar
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1704475670
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build
>    [delete] Deleting: /<<PKGBUILDDIR>>/build/version.properties.tmp
> 
> init:
> 
> javacc:
> [ivy:cachepath] :: Apache Ivy non official version -  :: https://ant.apache.org/ivy/ ::
> [ivy:cachepath] :: loading settings :: file = /usr/share/ivy-debian-helper/ivysettings.xml
> [ivy:cachepath] [ivy-debian-helper] Loading the Maven rules...
> [ivy:cachepath] [[Fatal Error] ivy.xml:23:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. in file:/<<PKGBUILDDIR>>/ivy.xml
> [ivy:cachepath] ]
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:138: syntax errors in ivy file: java.text.ParseException: [[Fatal Error] ivy.xml:23:10: DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. in file:/<<PKGBUILDDIR>>/ivy.xml
> ]
> 	at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.checkErrors(AbstractModuleDescriptorParser.java:90)
> 	at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:337)
> 	at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:128)
> 	at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:50)
> 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:196)
> 	at org.apache.ivy.Ivy.resolve(Ivy.java:507)
> 	at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:328)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:259)
> 	at org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java:229)
> 	at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.java:183)
> 	at org.apache.ivy.ant.IvyCachePath.doExecute(IvyCachePath.java:63)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:259)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
> 	at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> 	at org.apache.tools.ant.Task.perform(Task.java:350)
> 	at org.apache.tools.ant.Target.execute(Target.java:449)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:470)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:818)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:223)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
> 
> Total time: 0 seconds
> dh_auto_build: error: ant -Divy.settings.file=/usr/share/ivy-debian-helper/ivysettings.xml -Divy.default.ivy.user.dir=/<<PKGBUILDDIR>>/.ivy2 -Divy.default.ivy.user.dir=/<<PKGBUILDDIR>>/.ivy -Dtitlebar.found=true -DTODAY= -DDSTAMP= -DTSTAMP= -DtimestampNice= -DtimestampInVersion= -Dboot.classpath.j2se1.7.correct=true -Dboot.classpath.j2se1.8.correct=true javacc jar returned exit code 1
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/libfreemarker-java_2.3.32-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list