Bug#795713: practicalxml-java: FTBFS under some locales (eg. fr_CH.UTF-8)
Chris Lamb
lamby at debian.org
Sun Aug 16 12:06:30 UTC 2015
Source: practicalxml-java
Version: 1.1.17-1
Severity: serious
Justification: fails to build from source
Dear Maintainer,
practicalxml-java fails to build from source on unstable/amd64 under
some
locales (eg. LANG="fr_CH.UTF-8"):
[..]
Running net.sf.practicalxml.converter.bean.TestXml2BeanConverter
Tests run: 64, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188
sec - in net.sf.practicalxml.converter.bean.TestXml2BeanConverter
Running net.sf.practicalxml.converter.bean.TestBeanConverter
Tests run: 28, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.15
sec <<< FAILURE! - in
net.sf.practicalxml.converter.bean.TestBeanConverter
testDateConversions(net.sf.practicalxml.converter.bean.TestBeanConverter)
Time elapsed: 0.027 sec <<< ERROR!
net.sf.practicalxml.converter.ConversionException: unable to parse:
Thu Aug 29 13:12:27 GMT+14:00 2013
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.parseDateDefault(Xml2BeanConverter.java:515)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.tryConvertAsDate(Xml2BeanConverter.java:281)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.convertWithoutCast(Xml2BeanConverter.java:154)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.convertChildren(Xml2BeanConverter.java:459)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.tryConvertAsBean(Xml2BeanConverter.java:329)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.convertWithoutCast(Xml2BeanConverter.java:158)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.convert(Xml2BeanConverter.java:107)
at
net.sf.practicalxml.converter.BeanConverter.convertToJava(BeanConverter.java:114)
at
net.sf.practicalxml.converter.BeanConverter.convertToJava(BeanConverter.java:96)
at
net.sf.practicalxml.converter.bean.TestBeanConverter.testDateConversions(TestBeanConverter.java:488)
Caused by: java.text.ParseException: Unparseable date: "Thu Aug 29
13:12:27 GMT+14:00 2013"
at java.text.DateFormat.parse(DateFormat.java:357)
at
net.sf.practicalxml.converter.bean.Xml2BeanConverter.parseDateDefault(Xml2BeanConverter.java:510)
... 31 more
Running net.sf.practicalxml.converter.internal.TestTypeUtils
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001
sec - in net.sf.practicalxml.converter.internal.TestTypeUtils
Running
net.sf.practicalxml.converter.internal.TestJavaStringConversions
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
sec - in
net.sf.practicalxml.converter.internal.TestJavaStringConversions
Running net.sf.practicalxml.converter.internal.TestJsonUtils
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002
sec - in net.sf.practicalxml.converter.internal.TestJsonUtils
Running net.sf.practicalxml.converter.internal.TestConversionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- in net.sf.practicalxml.converter.internal.TestConversionUtils
Running net.sf.practicalxml.TestXsiUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- in net.sf.practicalxml.TestXsiUtil
Running net.sf.practicalxml.xpath.TestAbstractFunction
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027
sec - in net.sf.practicalxml.xpath.TestAbstractFunction
Running net.sf.practicalxml.xpath.TestXPathWrapperFactory
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056
sec - in net.sf.practicalxml.xpath.TestXPathWrapperFactory
Running net.sf.practicalxml.xpath.TestSimpleNamespaceResolver
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003
sec - in net.sf.practicalxml.xpath.TestSimpleNamespaceResolver
Running net.sf.practicalxml.xpath.TestNamespaceResolver
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008
sec - in net.sf.practicalxml.xpath.TestNamespaceResolver
Running net.sf.practicalxml.xpath.function.TestXsiBoolean
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022
sec - in net.sf.practicalxml.xpath.function.TestXsiBoolean
Running net.sf.practicalxml.xpath.function.TestUppercase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec - in net.sf.practicalxml.xpath.function.TestUppercase
Running net.sf.practicalxml.xpath.function.TestLowercase
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec - in net.sf.practicalxml.xpath.function.TestLowercase
Running net.sf.practicalxml.xpath.TestFunctionResolver
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008
sec - in net.sf.practicalxml.xpath.TestFunctionResolver
Running net.sf.practicalxml.xpath.TestXPathWrapper
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085
sec - in net.sf.practicalxml.xpath.TestXPathWrapper
Running net.sf.practicalxml.junit.TestDomAsserts
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043
sec - in net.sf.practicalxml.junit.TestDomAsserts
Running net.sf.practicalxml.TestDomUtilGetPath
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037
sec - in net.sf.practicalxml.TestDomUtilGetPath
Running net.sf.practicalxml.util.TestNodeListIterator
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023
sec - in net.sf.practicalxml.util.TestNodeListIterator
Running net.sf.practicalxml.util.TestNodeListIterable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
- in net.sf.practicalxml.util.TestNodeListIterable
Running net.sf.practicalxml.util.TestSimpleXMLReader
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007
sec - in net.sf.practicalxml.util.TestSimpleXMLReader
Results :
Tests in error:
net.sf.practicalxml.converter.bean.TestBeanConverter#testDateConversions
ConversionException
Tests run: 490, Failures: 0, Errors: 1, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/tmp/buildd/practicalxml-java-1.1.17/target/surefire-reports for the
individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Sat Jul 25 20:34:14 GMT+14:00 2015
[INFO] Final Memory: 16M/1133M
[INFO]
------------------------------------------------------------------------
/usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build'
failed
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/practicalxml-java_1.1.17-1.build2.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
More information about the pkg-java-maintainers
mailing list