Bug 1077375 - maven-filtering breaks slf4j
Summary: maven-filtering breaks slf4j
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-filtering
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-17 20:16 UTC by Brent Baude
Modified: 2014-10-27 09:23 UTC (History)
5 users (show)

Fixed In Version: 1.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-27 09:23:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brent Baude 2014-03-17 20:16:50 UTC
Talked with mizdebsk about this failure and he claims it's a bug in maven-filtering.  Build log as follows:

Mock Version: 1.1.36
Mock Version: 1.1.36
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/slf4j.spec'], False, '/var/lib/mock/f21-build-3785-263/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x1002ed2e650>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/slf4j.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
warning: bogus date in %changelog: Tue Feb 18 2009 David Walluck <dwalluck> 0:1.5.6-1
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/slf4j-1.7.6-4.fc21.src.rpm
Child return code was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/slf4j.spec'], False, '/var/lib/mock/f21-build-3785-263/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x1002ed2e650>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/slf4j.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
warning: bogus date in %changelog: Tue Feb 18 2009 David Walluck <dwalluck> 0:1.5.6-1
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RUHB42
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf slf4j-1.7.6
+ /usr/bin/gzip -dc /builddir/build/SOURCES/slf4j-1.7.6.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd slf4j-1.7.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find . -name '*.jar'
+ xargs rm
+ cp -p /builddir/build/SOURCES/LICENSE-2.0.txt APACHE-LICENSE
+ python /usr/share/java-utils/pom_editor.py pom_disable_module integration
+ python /usr/share/java-utils/pom_editor.py pom_disable_module osgi-over-slf4j
+ python /usr/share/java-utils/pom_editor.py pom_disable_module slf4j-android
+ python /usr/share/java-utils/pom_editor.py pom_disable_module slf4j-migrator
+ python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin
+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project/pom:properties '
    <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>'
+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:links
+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:plugin[pom:artifactId[text()='\''maven-javadoc-plugin'\'']]/pom:configuration' '
    <detectJavaApiLink>false</detectJavaApiLink>
    <isOffline>false</isOffline>
    <links><link>/usr/share/javadoc/java</link></links>'
+ /usr/bin/find -name '*.css' -o -name '*.js' -o -name '*.txt'
+ /usr/bin/xargs -t /usr/bin/perl -pi -e 's/\r$//g'
/usr/bin/perl -pi -e s/\r$//g ./slf4j-site/src/site/pages/templates/right.js ./slf4j-site/src/site/pages/templates/footer.js ./slf4j-site/src/site/pages/templates/header.js ./slf4j-site/src/site/pages/templates/left.js ./slf4j-site/src/site/pages/js/prettify.js ./slf4j-site/src/site/pages/js/jquery-min.js ./slf4j-site/src/site/pages/js/jquery.cookies.2.2.0.js ./slf4j-site/src/site/pages/js/decorator.js ./slf4j-site/src/site/pages/js/popup.js ./slf4j-site/src/site/pages/changes/changes-1.3.txt ./slf4j-site/src/site/pages/css/prettify.css ./slf4j-site/src/site/pages/css/popup.css ./slf4j-site/src/site/pages/css/site.css ./site/xref-test/stylesheet.css ./site/templates/right.js ./site/templates/footer.js ./site/templates/header.js ./site/templates/left.js ./site/xref/stylesheet.css ./site/js/prettify.js ./site/js/jquery-min.js ./site/js/jquery.cookies.2.2.0.js ./site/js/decorator.js ./site/js/popup.js ./site/testapidocs/stylesheet.css ./site/changes/changes-1.3.txt ./site/apidocs/stylesheet.css ./site/css/maven-base.css ./site/css/maven-theme.css ./site/css/prettify.css ./site/css/popup.css ./site/css/site.css ./site/css/print.css ./src/main/licenseHeader.txt ./LICENSE.txt 
+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:extensions
+ sed -i '/Import-Package/s/.$/;resolution:=optional&/' slf4j-api/src/main/resources/META-INF/MANIFEST.MF
+ python /usr/share/java-utils/mvn_package.py :slf4j-parent __noinstall
+ python /usr/share/java-utils/mvn_package.py :slf4j-site __noinstall
+ python /usr/share/java-utils/mvn_package.py :slf4j-api
+ python /usr/share/java-utils/mvn_package.py :slf4j-simple
+ python /usr/share/java-utils/mvn_package.py :slf4j-nop
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1GCCc0
+ umask 022
+ cd /builddir/build/BUILD
+ cd slf4j-1.7.6
+ python /usr/share/java-utils/mvn_build.py -n slf4j -f -s
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] SLF4J
[INFO] SLF4J API Module
[INFO] SLF4J Simple Binding
[INFO] SLF4J NOP Binding
[INFO] SLF4J JDK14 Binding
[INFO] SLF4J LOG4J-12 Binding
[INFO] SLF4J JCL Binding
[INFO] SLF4J Extensions Module
[INFO] JCL 1.1.1 implemented over SLF4J
[INFO] Log4j Implemented Over SLF4J
[INFO] JUL to SLF4J bridge
[INFO] SLF4J Site
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-parent ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J API Module 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/target/classes
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java uses or overrides a deprecated API.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Recompile with -Xlint:deprecation for details.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Some input files use unchecked or unsafe operations.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (default) @ slf4j-api ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
     [echo] Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder
   [delete] Deleting directory /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/target/classes/org/slf4j/impl
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-api ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-api ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-api ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-api ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-api/target/slf4j-api-1.7.6.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (bundle-test-jar) @ slf4j-api ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (bundle-test-jar) @ slf4j-api ---
[INFO] Skipping packaging of the test-jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J Simple Binding 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-simple ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-simple ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-simple ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-simple/target/classes
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java: /builddir/build/BUILD/slf4j-1.7.6/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java uses unchecked or unsafe operations.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-simple ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-simple ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-simple ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-simple ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-simple/target/slf4j-simple-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J NOP Binding 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-nop ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-nop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-nop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-nop/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-nop ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-nop ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-nop ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-nop ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-nop/target/slf4j-nop-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J JDK14 Binding 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-jdk14 ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-jdk14 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-jdk14 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-jdk14/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-jdk14 ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-jdk14 ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-jdk14 ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-jdk14 ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-jdk14/target/slf4j-jdk14-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J LOG4J-12 Binding 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-log4j12 ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-log4j12 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-log4j12 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-log4j12/target/classes
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jMDCAdapter.java: /builddir/build/BUILD/slf4j-1.7.6/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jMDCAdapter.java uses unchecked or unsafe operations.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/slf4j-log4j12/src/main/java/org/slf4j/impl/Log4jMDCAdapter.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-log4j12 ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-log4j12 ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-log4j12 ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-log4j12 ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-log4j12/target/slf4j-log4j12-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J JCL Binding 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-jcl ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-jcl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-jcl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-jcl/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-jcl ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-jcl ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-jcl ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-jcl ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-jcl/target/slf4j-jcl-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J Extensions Module 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-ext ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-ext ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ slf4j-ext ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /builddir/build/BUILD/slf4j-1.7.6/slf4j-ext/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ slf4j-ext ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ slf4j-ext ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ slf4j-ext ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ slf4j-ext ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/slf4j-ext/target/slf4j-ext-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building JCL 1.1.1 implemented over SLF4J 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ jcl-over-slf4j ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jcl-over-slf4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jcl-over-slf4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /builddir/build/BUILD/slf4j-1.7.6/jcl-over-slf4j/target/classes
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java: Some input files use unchecked or unsafe operations.
[WARNING] /builddir/build/BUILD/slf4j-1.7.6/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SimpleLog.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jcl-over-slf4j ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jcl-over-slf4j ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ jcl-over-slf4j ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jcl-over-slf4j ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/jcl-over-slf4j/target/jcl-over-slf4j-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Log4j Implemented Over SLF4J 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ log4j-over-slf4j ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ log4j-over-slf4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ log4j-over-slf4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 29 source files to /builddir/build/BUILD/slf4j-1.7.6/log4j-over-slf4j/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ log4j-over-slf4j ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ log4j-over-slf4j ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ log4j-over-slf4j ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ log4j-over-slf4j ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/log4j-over-slf4j/target/log4j-over-slf4j-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building JUL to SLF4J bridge 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ jul-to-slf4j ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jul-to-slf4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jul-to-slf4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /builddir/build/BUILD/slf4j-1.7.6/jul-to-slf4j/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jul-to-slf4j ---
[INFO] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jul-to-slf4j ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ jul-to-slf4j ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jul-to-slf4j ---
[INFO] Building jar: /builddir/build/BUILD/slf4j-1.7.6/jul-to-slf4j/target/jul-to-slf4j-1.7.6.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SLF4J Site 1.7.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-site ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ slf4j-site ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 31 resources to ../../../target/site
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping SLF4J
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] SLF4J ............................................. SUCCESS [  1.399 s]
[INFO] SLF4J API Module .................................. SUCCESS [  6.711 s]
[INFO] SLF4J Simple Binding .............................. SUCCESS [  0.996 s]
[INFO] SLF4J NOP Binding ................................. SUCCESS [  0.268 s]
[INFO] SLF4J JDK14 Binding ............................... SUCCESS [  0.873 s]
[INFO] SLF4J LOG4J-12 Binding ............................ SUCCESS [  0.913 s]
[INFO] SLF4J JCL Binding ................................. SUCCESS [  0.749 s]
[INFO] SLF4J Extensions Module ........................... SUCCESS [  2.320 s]
[INFO] JCL 1.1.1 implemented over SLF4J .................. SUCCESS [  0.875 s]
[INFO] Log4j Implemented Over SLF4J ...................... SUCCESS [  0.827 s]
[INFO] JUL to SLF4J bridge ............................... SUCCESS [  0.361 s]
[INFO] SLF4J Site ........................................ FAILURE [  2.882 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.444 s
[INFO] Finished at: 2014-03-16T12:50:41-06:00
[INFO] Final Memory: 24M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project slf4j-site: Mark invalid -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :slf4j-site
error: Bad exit status from /var/tmp/rpm-tmp.1GCCc0 (%build)
RPM build errors:
    bogus date in %changelog: Tue Feb 18 2009 David Walluck <dwalluck> 0:1.5.6-1
    Bad exit status from /var/tmp/rpm-tmp.1GCCc0 (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/slf4j.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/slf4j.spec']
LEAVE do --> EXCEPTION RAISED

Comment 1 Mikolaj Izdebski 2014-03-17 20:18:41 UTC
Full stack trace:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project slf4j-site: Mark invalid -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on project slf4j-site: Mark invalid 
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) 
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) 
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) 
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) 
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) 
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) 
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) 
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) 
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) 
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
	at java.lang.reflect.Method.invoke(Method.java:606) 
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) 
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) 
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) 
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) 
Caused by: org.apache.maven.plugin.MojoExecutionException: Mark invalid 
	at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:307) 
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) 
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 
	... 19 more 
Caused by: org.apache.maven.shared.filtering.MavenFilteringException: Mark invalid 
	at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(DefaultMavenFileFilter.java:129) 
	at org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering.filterResources(DefaultMavenResourcesFiltering.java:264) 
	at org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:301) 
	... 21 more 
Caused by: java.io.IOException: Mark invalid 
	at java.io.BufferedReader.reset(BufferedReader.java:505) 
	at org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding.read(MultiDelimiterInterpolatorFilterReaderLineEnding.java:416) 
	at org.apache.maven.shared.filtering.MultiDelimiterInterpolatorFilterReaderLineEnding.read(MultiDelimiterInterpolatorFilterReaderLineEnding.java:205)
	at java.io.Reader.read(Reader.java:140)
	at org.apache.maven.shared.utils.io.IOUtil.copy(IOUtil.java:181)
	at org.apache.maven.shared.utils.io.IOUtil.copy(IOUtil.java:168)
	at org.apache.maven.shared.utils.io.FileUtils.copyFile(FileUtils.java:1856)
	at org.apache.maven.shared.utils.io.FileUtils.copyFile(FileUtils.java:1804)
	at org.apache.maven.shared.filtering.DefaultMavenFileFilter.copyFile(DefaultMavenFileFilter.java:114)
	... 23 more

Comment 2 Mikolaj Izdebski 2014-03-18 09:46:12 UTC
Forwarded upstream:
http://jira.codehaus.org/browse/MSHARED-325

Comment 3 Mikolaj Izdebski 2014-03-20 09:17:01 UTC
Workaround proposed by upstream is to escape delimiters (such as $ or @) with backslash.

Another possibility is disabling filtering of certain resources:

# Disable filtering of bundled JavaScript binaries, which causes
# maven-filtering to fail with IOException (see MSHARED-325).
%pom_add_plugin :maven-resources-plugin slf4j-site "
    <configuration>
      <nonFilteredFileExtensions>
        <nonFilteredFileExtension>js</nonFilteredFileExtension>
      </nonFilteredFileExtensions>
    </configuration>"

Comment 4 Mikolaj Izdebski 2014-03-20 09:20:46 UTC
Lifting block on PPC64LE as this bug no longer prevents slf4j from building.

Comment 5 Mikolaj Izdebski 2014-10-24 05:44:03 UTC
Fixed in maven-filtering-1.3-1

Comment 6 Mikolaj Izdebski 2014-10-27 09:23:45 UTC
I believe that this bug is fixed in maven-filtering-1.3-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=587478


Note You need to log in before you can comment on or make changes to this bug.