D: [iurt_root_command] chroot
Installing /home/pterjan/rpmbuild/SRPMS/eclipse-cdt-9.1.0-1.mga7.src.rpm
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X4qBHM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf org.eclipse.cdt-CDT_9_1_0
+ /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/org.eclipse.cdt-CDT_9_1_0.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd org.eclipse.cdt-CDT_9_1_0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mkdir desktop
+ cp /home/pterjan/rpmbuild/SOURCES/eclipse-cdt.desktop desktop
+ mkdir man
+ cp /home/pterjan/rpmbuild/SOURCES/cdtdebug.man man
+ echo 'Patch #1 (eclipse-cdt-cdtdebug.patch):'
Patch #1 (eclipse-cdt-cdtdebug.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix orig --fuzz=0
patching file debug/org.eclipse.cdt.debug.application/scripts/cdtdebug.sh
patching file debug/org.eclipse.cdt.debug.application/scripts/install.sh
+ echo 'Patch #2 (eclipse-cdt-config-ini.patch):'
Patch #2 (eclipse-cdt-config-ini.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file debug/org.eclipse.cdt.debug.application/scripts/config.ini
+ echo 'Patch #3 (eclipse-cdt-cdtdebug-readme.patch):'
Patch #3 (eclipse-cdt-cdtdebug-readme.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file debug/org.eclipse.cdt.debug.application/scripts/README
+ TYCHO_ENV='linuxgtkx86_64'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set pom:configuration/pom:environments 'linuxgtkx86_64'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set pom:configuration/pom:environments 'linuxgtkx86_64' core/org.eclipse.cdt.core.linux
+ sed -i -e 's|linux/x86_64/|linux/x86_64/|' native/org.eclipse.cdt.native.serial/jni/Makefile
+ sed -i -e 's|-m.. -fPIC -D_REENTRANT|$(CFLAGS) -fPIC|' native/org.eclipse.cdt.native.serial/jni/Makefile
+ echo 'Eclipse-BundleShape: dir'
+ echo 'Eclipse-BundleShape: dir'
+ sed -i -e '/library/s/library\//library\/*.c,library\/*.h,library\/Makefile/' core/org.eclipse.cdt.core.linux/build.properties
+ rm -rf native/org.eclipse.cdt.native.serial/os/linux native/org.eclipse.cdt.native.serial/os/macosx native/org.eclipse.cdt.native.serial/os/win32 core/org.eclipse.cdt.core.linux.ppc/os/linux core/org.eclipse.cdt.core.linux.ppc64/os/linux core/org.eclipse.cdt.core.linux.ppc64le/os/linux core/org.eclipse.cdt.core.linux.x86/os/linux core/org.eclipse.cdt.core.linux.x86_64/os/linux
+ mkdir -p native/org.eclipse.cdt.native.serial/os/linux/x86_64 core/org.eclipse.cdt.core.linux.x86_64/os/linux/x86_64
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module releng/org.eclipse.cdt.target
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:configuration/pom:target
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module releng/org.eclipse.cdt.repo
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module releng/org.eclipse.cdt.testing.repo
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.eclipse.tycho:tycho-packaging-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.jacoco:jacoco-maven-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:modules 'core/org.eclipse.cdt.core.linux.ppc64le'
++ ls core/
++ grep -P -e 'org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.aix<' pom.xml
+ module=' core/org.eclipse.cdt.core.aix'
+ '[' -n ' core/org.eclipse.cdt.core.aix' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.aix
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.aix'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.linux.ppc<' pom.xml
++ :
+ module=
+ '[' -n '' ']'
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.linux.ppc64<' pom.xml
+ module=' core/org.eclipse.cdt.core.linux.ppc64'
+ '[' -n ' core/org.eclipse.cdt.core.linux.ppc64' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.linux.ppc64
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.linux.ppc64'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.linux.ppc64le<' pom.xml
+ module=' core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le'
+ '[' -n ' core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le
core/org.eclipse.cdt.core.linux.ppc64le' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.linux.ppc64le
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.linux.ppc64le'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.linux.x86<' pom.xml
+ module=' core/org.eclipse.cdt.core.linux.x86'
+ '[' -n ' core/org.eclipse.cdt.core.linux.x86' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.linux.x86
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.linux.x86'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.macosx<' pom.xml
+ module=' core/org.eclipse.cdt.core.macosx'
+ '[' -n ' core/org.eclipse.cdt.core.macosx' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.macosx
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.macosx'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.win32<' pom.xml
+ module=' core/org.eclipse.cdt.core.win32'
+ '[' -n ' core/org.eclipse.cdt.core.win32' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.win32
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.win32'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.win32.x86<' pom.xml
+ module=' core/org.eclipse.cdt.core.win32.x86'
+ '[' -n ' core/org.eclipse.cdt.core.win32.x86' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.win32.x86
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.win32.x86'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in '`ls core/ | grep -P -e '\''org.eclipse.cdt.core\.(?!linux\.x86_64$|tests$|linux$|native$)'\''`'
++ grep '>core/org.eclipse.cdt.core.win32.x86_64<' pom.xml
+ module=' core/org.eclipse.cdt.core.win32.x86_64'
+ '[' -n ' core/org.eclipse.cdt.core.win32.x86_64' ']'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module core/org.eclipse.cdt.core.win32.x86_64
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.win32.x86_64'\'']' releng/org.eclipse.cdt.native-feature/feature.xml
+ for b in aix macosx win32
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.aix.source'\'']' releng/org.eclipse.cdt.native.source-feature/feature.xml
+ for b in aix macosx win32
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.macosx.source'\'']' releng/org.eclipse.cdt.native.source-feature/feature.xml
+ for b in aix macosx win32
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.core.win32.source'\'']' releng/org.eclipse.cdt.native.source-feature/feature.xml
+ sed -i -e s/org.mockito/org.mockito.mockito-core/ -e s/org.hamcrest/org.hamcrest.core/ dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/META-INF/MANIFEST.MF
+ tar xf /home/pterjan/rpmbuild/SOURCES/org.eclipse.tools.templates-6f34dc60b008d8cdcd7848c76b13b0f2ef8c6134.tar.xz --strip-components=1 --exclude=org.eclipse.tools.templates-6f34dc60b008d8cdcd7848c76b13b0f2ef8c6134/pom.xml
+ for b in 'org.eclipse.tools.templates.{core,freemarker,ui}'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:modules 'bundles/org.eclipse.tools.templates.core'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_set_parent org.eclipse.cdt:cdt-parent:9.1.0-SNAPSHOT bundles/org.eclipse.tools.templates.core
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:parent '../../pom.xml' bundles/org.eclipse.tools.templates.core
+ for b in 'org.eclipse.tools.templates.{core,freemarker,ui}'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:modules 'bundles/org.eclipse.tools.templates.freemarker'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_set_parent org.eclipse.cdt:cdt-parent:9.1.0-SNAPSHOT bundles/org.eclipse.tools.templates.freemarker
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:parent '../../pom.xml' bundles/org.eclipse.tools.templates.freemarker
+ for b in 'org.eclipse.tools.templates.{core,freemarker,ui}'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:modules 'bundles/org.eclipse.tools.templates.ui'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_set_parent org.eclipse.cdt:cdt-parent:9.1.0-SNAPSHOT bundles/org.eclipse.tools.templates.ui
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:parent '../../pom.xml' bundles/org.eclipse.tools.templates.ui
+ sed -i -e s/org.freemarker/org.freemarker.freemarker/ qt/org.eclipse.cdt.qt.core/META-INF/MANIFEST.MF bundles/org.eclipse.tools.templates.freemarker/META-INF/MANIFEST.MF build/org.eclipse.cdt.cmake.core/META-INF/MANIFEST.MF
+ sed -i -e /log4j/d build/org.eclipse.cdt.autotools.ui.tests/META-INF/MANIFEST.MF
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'plugin[@id='\''org.eclipse.cdt.launch.remote.source'\'']' cross/org.eclipse.cdt.launch.remote-feature/feature.xml
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ::pom:: __noinstall
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py '::jar:sources{,-feature}:' sdk
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.source{,.feature}' sdk
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.sdk' sdk
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.doc.isv' sdk
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.core{,.native,.linux,.linux.x86_64}' native
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.native{,.serial}' native
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.testsrunner.test' tests
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.testsrunner*'
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*.test{,s}*' tests
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*parser*' parsers
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.*{xlc,xlupc,bupc}*' parsers
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.tools.templates.*'
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.arduino*' arduino
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.docker*' docker
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.{managedbuilder.llvm,llvm.dsf}*' llvm
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.qt*' qt
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt.cmake*' qt
+ /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':org.eclipse.cdt*'
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j6vyvB
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd org.eclipse.cdt-CDT_9_1_0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export JAVA_HOME=/usr/lib/jvm/java
+ JAVA_HOME=/usr/lib/jvm/java
+ pushd native/org.eclipse.cdt.native.serial/jni
~/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0/native/org.eclipse.cdt.native.serial/jni ~/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0
+ make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ../os/linux/x86_64/libserial.so
mkdir -p ../os/linux/x86_64/
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -shared -o ../os/linux/x86_64/libserial.so serial.c
serial.c: In function 'Java_org_eclipse_cdt_serial_SerialPort_write0':
serial.c:306:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write(jhandle, &buff, 1);
^~~~~~~~~~~~~~~~~~~~~~~~
+ popd
~/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0
+ /usr/bin/python3 /usr/share/java-utils/mvn_build.py -j -f -- -Dtycho.local.keepTarget -Dskip-ppc64le -Dnative=linux.x86_64
Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dtycho.local.keepTarget -Dskip-ppc64le -Dnative=linux.x86_64 package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:builddep
['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', '-Dtycho.local.keepTarget', '-Dskip-ppc64le', '-Dnative=linux.x86_64', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:builddep']
[INFO] Scanning for projects...
[WARNING] Ignoring metadata for artifact org.eclipse.jdt:org.eclipse.jdt.annotation:jar:SYSTEM as it has duplicate metadata
[WARNING] Ignoring metadata for artifact org.eclipse.jdt:org.eclipse.jdt.annotation:jar:sources:SYSTEM as it has duplicate metadata
[INFO] Computing target platform for MavenProject: org.eclipse.cdt:org.eclipse.tools.templates.ui:1.1.0-SNAPSHOT @ /home/pterjan/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0/bundles/org.eclipse.tools.templates.ui/pom.xml
[INFO] Adding repository fedora:/usr/lib/eclipse/plugins
[INFO] Adding repository fedora:/usr/lib/eclipse/features
[INFO] Adding repository fedora:/usr/lib/eclipse/dropins
[INFO] Adding repository fedora:/usr/share/eclipse/dropins
[INFO] Adding repository fedora:/usr/lib/eclipse/droplets
[INFO] Adding repository fedora:/usr/share/eclipse/droplets
[INFO] Adding repository fedora:/usr/share/java
[WARNING] Multiple artifacts detected for osgi.bundle,com.google.inject,4.1.0
[WARNING] /usr/share/java/guice/google-guice.jar and /usr/share/java/guice/google-guice-no_aop.jar have the same ID and version.
[WARNING] /usr/share/java/guice/google-guice-no_aop.jar will be preferred.
[WARNING] Multiple artifacts detected for osgi.bundle,com.google.inject,4.1.0
[WARNING] /usr/share/java/guice/google-guice-no_aop.jar and /usr/share/java/google-guice.jar have the same ID and version.
[WARNING] /usr/share/java/google-guice.jar will be preferred.
[WARNING] Multiple artifacts detected for osgi.bundle,com.google.inject,4.1.0
[WARNING] /usr/share/java/google-guice.jar and /usr/share/java/google-guice-no_aop.jar have the same ID and version.
[WARNING] /usr/share/java/google-guice-no_aop.jar will be preferred.
[INFO] Adding repository fedora:/usr/lib/java
[INFO] Resolving dependencies of MavenProject: org.eclipse.cdt:org.eclipse.tools.templates.ui:1.1.0-SNAPSHOT @ /home/pterjan/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0/bundles/org.eclipse.tools.templates.ui/pom.xml
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.tools.templates.ui 1.1.0.qualifier
[ERROR] Missing requirement: org.eclipse.tools.templates.ui 1.1.0.qualifier requires 'bundle org.eclipse.ui 0.0.0' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: org.eclipse.cdt:org.eclipse.tools.templates.ui:1.1.0-SNAPSHOT @ /home/pterjan/rpmbuild/BUILD/org.eclipse.cdt-CDT_9_1_0/bundles/org.eclipse.tools.templates.ui/pom.xml: See log for details -> [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/MavenExecutionException
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.j6vyvB (%build)
RPM build errors:
Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.j6vyvB (%build)
I: [iurt_root_command] ERROR: chroot