Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 762258 Details for
Bug 831269
dev-java/snappy-1.1.0.1::gentoo failed (compile phase) with openjdk-11
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
build.log (text/plain), 18.43 KB, created by
Volkmar W. Pogatzki
on 2022-01-15 18:59:51 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Volkmar W. Pogatzki
Created:
2022-01-15 18:59:51 UTC
Size:
18.43 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-java/snappy-1.1.0.1 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: java@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > [32m*[0m Using: openjdk-11 >>>> Unpacking source... >>>> Unpacking snappy-java-1.1.0.1.tar.gz to /var/tmp/portage/dev-java/snappy-1.1.0.1/work >>>> Source unpacked in /var/tmp/portage/dev-java/snappy-1.1.0.1/work >>>> Preparing source in /var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1 ... > [32m*[0m Applying 1.1.0.1-unbundle-snappy.patch ... >[A[147C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying 1.1.0.1-gentoo.patch ... >[A[147C [34;01m[ [32;01mok[34;01m ][0m >Searching for bundled jars: >/var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1/lib/silk-weaver.jar >Searching for bundled classes (no output if none found): >/var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1/lib/org/xerial/snappy/OSInfo.class >Search done. >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1 ... >Rewriting attributes >Rewriting ./build.xml >--- ./build.xml.orig 2022-01-15 19:48:26.994795872 +0100 >+++ ./build.xml 2022-01-15 19:48:27.087794077 +0100 >@@ -1,184 +1,183 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<project name="snappy-java-from-maven" default="package" basedir="." > > >-<project name="snappy-java-from-maven" default="package" basedir="."> >+ <property file="${user.home}/.m2/maven.properties" ></property> >+ <property file="maven-build.properties" ></property> > >- <property file="${user.home}/.m2/maven.properties" /> >- <property file="maven-build.properties" /> >+ <property name="maven.build.finalName" value="snappy" ></property> >+ <property name="maven.build.dir" value="target" ></property> >+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes" ></property> >+ <property name="maven.build.srcDir.0" value="src/main/java" ></property> >+ <property name="maven.build.resourceDir.0" value="src/main/java" ></property> >+ <property name="maven.build.resourceDir.1" value="src/main/resources" ></property> >+ <property name="maven.build.resourceDir.2" value="." ></property> >+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" ></property> >+ <property name="maven.build.testDir.0" value="src/test/java" ></property> >+ <property name="maven.build.testResourceDir.0" value="src/test/java" ></property> >+ <property name="maven.build.testResourceDir.1" value="src/test/resources" ></property> >+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports" ></property> >+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" ></property> > >- <property name="maven.build.finalName" value="snappy" /> >- <property name="maven.build.dir" value="target" /> >- <property name="maven.build.outputDir" value="${maven.build.dir}/classes" /> >- <property name="maven.build.srcDir.0" value="src/main/java" /> >- <property name="maven.build.resourceDir.0" value="src/main/java" /> >- <property name="maven.build.resourceDir.1" value="src/main/resources" /> >- <property name="maven.build.resourceDir.2" value="." /> >- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes" /> >- <property name="maven.build.testDir.0" value="src/test/java" /> >- <property name="maven.build.testResourceDir.0" value="src/test/java" /> >- <property name="maven.build.testResourceDir.1" value="src/test/resources" /> >- <property name="maven.test.reports" value="${maven.build.dir}/test-reports" /> >- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site" /> >- >- <property name="maven.repo.local" value="${user.home}/.m2/repository" /> >- <property name="maven.settings.offline" value="false" /> >- <property name="maven.settings.interactiveMode" value="true" /> >- >- <!-- ====================================================================== --> >- <!-- Defining classpaths --> >- <!-- ====================================================================== --> >+ <property name="maven.repo.local" value="${user.home}/.m2/repository" ></property> >+ <property name="maven.settings.offline" value="false" ></property> >+ <property name="maven.settings.interactiveMode" value="true" ></property> > >- <path id="build.classpath"> >+ >+ >+ >+ >+ <path id="build.classpath" > > </path> >- <path id="build.test.classpath"> >+ <path id="build.test.classpath" > > </path> > >- <!-- ====================================================================== --> >- <!-- Cleaning up target --> >- <!-- ====================================================================== --> >- >- <target name="clean" description="Clean the output directory"> >- <delete dir="${maven.build.dir}" /> >- </target> >- >- <!-- ====================================================================== --> >- <!-- Compilation target --> >- <!-- ====================================================================== --> >- >- <target name="compile" description="Compile the code"> >- <mkdir dir="${maven.build.outputDir}" /> >- <javac destdir="${maven.build.outputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6"> >- <src> >- <pathelement location="${maven.build.srcDir.0}" /> >+ >+ >+ >+ >+ <target name="clean" description="Clean the output directory" > >+ <delete dir="${maven.build.dir}" ></delete> >+ </target> >+ >+ >+ >+ >+ >+ <target name="compile" description="Compile the code" > >+ <mkdir dir="${maven.build.outputDir}" ></mkdir> >+ <javac destdir="${maven.build.outputDir}" debug="true" optimize="false" deprecation="true" verbose="false" fork="false" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <src > >+ <pathelement location="${maven.build.srcDir.0}" ></pathelement> > </src> >- <classpath refid="build.classpath" /> >- </javac> >- <copy todir="${maven.build.outputDir}"> >- <fileset dir="${maven.build.resourceDir.0}"> >- <include name="org/xerial/snappy/VERSION" /> >+ <classpath refid="build.classpath" ></classpath> >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <copy todir="${maven.build.outputDir}" > >+ <fileset dir="${maven.build.resourceDir.0}" > >+ <include name="org/xerial/snappy/VERSION" ></include> > </fileset> > </copy> >- <copy todir="${maven.build.outputDir}"> >- <fileset dir="${maven.build.resourceDir.1}"> >- <include name="org/xerial/snappy/*.bytecode" /> >- <include name="org/xerial/snappy/native/**" /> >+ <copy todir="${maven.build.outputDir}" > >+ <fileset dir="${maven.build.resourceDir.1}" > >+ <include name="org/xerial/snappy/*.bytecode" ></include> >+ <include name="org/xerial/snappy/native/**" ></include> > </fileset> > </copy> >- <mkdir dir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java" /> >- <copy todir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java"> >- <fileset dir="${maven.build.resourceDir.2}"> >- <include name="LICENSE*" /> >+ <mkdir dir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java" ></mkdir> >+ <copy todir="${maven.build.outputDir}/META-INF/maven/org.xerial.snappy/snappy-java" > >+ <fileset dir="${maven.build.resourceDir.2}" > >+ <include name="LICENSE*" ></include> > </fileset> > </copy> > </target> > >- <!-- ====================================================================== --> >- <!-- Test-compilation target --> >- <!-- ====================================================================== --> >- >- <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip"> >- <mkdir dir="${maven.build.testOutputDir}" /> >- <javac destdir="${maven.build.testOutputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="1.6" verbose="false" fork="false" source="1.6"> >- <src> >- <pathelement location="${maven.build.testDir.0}" /> >+ >+ >+ >+ >+ <target name="compile-tests" depends="compile" description="Compile the test code" unless="maven.test.skip" > >+ <mkdir dir="${maven.build.testOutputDir}" ></mkdir> >+ <javac destdir="${maven.build.testOutputDir}" debug="true" optimize="false" deprecation="true" verbose="false" fork="false" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <src > >+ <pathelement location="${maven.build.testDir.0}" ></pathelement> > </src> >- <classpath> >- <path refid="build.test.classpath" /> >- <pathelement location="${maven.build.outputDir}" /> >+ <classpath > >+ <path refid="build.test.classpath" ></path> >+ <pathelement location="${maven.build.outputDir}" ></pathelement> > </classpath> >- </javac> >- <copy todir="${maven.build.testOutputDir}"> >- <fileset dir="${maven.build.testResourceDir.0}"> >- <exclude name="**/*.java" /> >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <copy todir="${maven.build.testOutputDir}" > >+ <fileset dir="${maven.build.testResourceDir.0}" > >+ <exclude name="**/*.java" ></exclude> > </fileset> > </copy> > </target> > >- <!-- ====================================================================== --> >- <!-- Run all tests --> >- <!-- ====================================================================== --> >- >- <target name="test" depends="compile-tests, junit-missing" unless="junit.skipped" description="Run the test cases"> >- <mkdir dir="${maven.test.reports}" /> >- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> >- <sysproperty key="basedir" value="." /> >- <formatter type="xml" /> >- <formatter type="plain" usefile="false" /> >- <classpath> >- <path refid="build.test.classpath" /> >- <pathelement location="${maven.build.outputDir}" /> >- <pathelement location="${maven.build.testOutputDir}" /> >+ >+ >+ >+ >+ <target name="test" depends="compile-tests, junit-missing" unless="junit.skipped" description="Run the test cases" > >+ <mkdir dir="${maven.test.reports}" ></mkdir> >+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="." > >+ <sysproperty key="basedir" value="." ></sysproperty> >+ <formatter type="xml" ></formatter> >+ <formatter type="plain" usefile="false" ></formatter> >+ <classpath > >+ <path refid="build.test.classpath" ></path> >+ <pathelement location="${maven.build.outputDir}" ></pathelement> >+ <pathelement location="${maven.build.testOutputDir}" ></pathelement> > </classpath> >- <batchtest todir="${maven.test.reports}" unless="test"> >- <fileset dir="${maven.build.testDir.0}"> >- <include name="**/Test*.java" /> >- <include name="**/*Test.java" /> >- <include name="**/*TestCase.java" /> >- <exclude name="**/*Abstract*Test.java" /> >+ <batchtest todir="${maven.test.reports}" unless="test" > >+ <fileset dir="${maven.build.testDir.0}" > >+ <include name="**/Test*.java" ></include> >+ <include name="**/*Test.java" ></include> >+ <include name="**/*TestCase.java" ></include> >+ <exclude name="**/*Abstract*Test.java" ></exclude> > </fileset> > </batchtest> >- <batchtest todir="${maven.test.reports}" if="test"> >- <fileset dir="${maven.build.testDir.0}"> >- <include name="**/${test}.java" /> >- <exclude name="**/*Abstract*Test.java" /> >+ <batchtest todir="${maven.test.reports}" if="test" > >+ <fileset dir="${maven.build.testDir.0}" > >+ <include name="**/${test}.java" ></include> >+ <exclude name="**/*Abstract*Test.java" ></exclude> > </fileset> > </batchtest> >- </junit> >+ <classpath path="${gentoo.classpath}" ></classpath></junit> > </target> > >- <target name="test-junit-present"> >- <available classname="junit.framework.Test" property="junit.present" /> >+ <target name="test-junit-present" > >+ <available classname="junit.framework.Test" property="junit.present" ></available> > </target> > >- <target name="test-junit-status" depends="test-junit-present"> >- <condition property="junit.missing"> >- <and> >- <isfalse value="${junit.present}" /> >- <isfalse value="${maven.test.skip}" /> >+ <target name="test-junit-status" depends="test-junit-present" > >+ <condition property="junit.missing" > >+ <and > >+ <isfalse value="${junit.present}" ></isfalse> >+ <isfalse value="${maven.test.skip}" ></isfalse> > </and> > </condition> >- <condition property="junit.skipped"> >- <or> >- <isfalse value="${junit.present}" /> >- <istrue value="${maven.test.skip}" /> >+ <condition property="junit.skipped" > >+ <or > >+ <isfalse value="${junit.present}" ></isfalse> >+ <istrue value="${maven.test.skip}" ></istrue> > </or> > </condition> > </target> > >- <target name="junit-missing" depends="test-junit-status" if="junit.missing"> >- <echo>=================================== WARNING ===================================</echo> >- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> >- <echo>===============================================================================</echo> >+ <target name="junit-missing" depends="test-junit-status" if="junit.missing" > >+ <echo >=================================== WARNING ===================================</echo> >+ <echo > JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> >+ <echo >===============================================================================</echo> > </target> > >- <!-- ====================================================================== --> >- <!-- Javadoc target --> >- <!-- ====================================================================== --> > >- <target name="javadoc" description="Generates the Javadoc of the application"> >- <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" access="public" old="false" verbose="false" locale="en_US" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="UTF-8" linksource="false" breakiterator="false" /> >+ >+ >+ >+ <target name="javadoc" description="Generates the Javadoc of the application" > >+ <javadoc sourcepath="${maven.build.srcDir.0}" packagenames="*" destdir="${maven.reporting.outputDirectory}/apidocs" access="public" old="false" verbose="false" locale="en_US" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" charset="UTF-8" linksource="false" breakiterator="false" source="1.6" ></javadoc> > </target> > >- <!-- ====================================================================== --> >- <!-- Package target --> >- <!-- ====================================================================== --> > >- <target name="package" depends="compile,test" description="Package the application"> >- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="true" basedir="${maven.build.outputDir}" excludes="**/package.html" /> >+ >+ >+ >+ <target name="package" depends="compile,test" description="Package the application" > >+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" compress="true" index="true" basedir="${maven.build.outputDir}" excludes="**/package.html" ></jar> > </target> > >- <!-- ====================================================================== --> >- <!-- A dummy target for the package named after the type it creates --> >- <!-- ====================================================================== --> > >- <target name="jar" depends="package" description="Builds the jar for the application" /> > >- <!-- ====================================================================== --> >- <!-- Download dependencies target --> >- <!-- ====================================================================== --> > >- <target name="test-offline"> >- <condition property="maven.mode.offline"> >- <equals arg1="${maven.settings.offline}" arg2="true" /> >+ >+ <target name="jar" depends="package" description="Builds the jar for the application" ></target> >+ >+ >+ >+ >+ >+ <target name="test-offline" > >+ <condition property="maven.mode.offline" > >+ <equals arg1="${maven.settings.offline}" arg2="true" ></equals> > </condition> > </target> > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1 ... >make -j8 >[WeaverMain] org.xerial.util.opt.OptionParserException: [UNKNOWN_COMMAND] unkown command find >"$JAVA_HOME/bin/javac" -source 1.6 -target 1.6 -d target/classes -sourcepath src/main/java src/main/java/org/xerial/snappy/SnappyNative.java >warning: [options] bootstrap class path not set in conjunction with -source 6 >warning: [options] source value 6 is obsolete and will be removed in a future release >warning: [options] target value 1.6 is obsolete and will be removed in a future release >warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. >4 warnings >"$JAVA_HOME/bin/javah" -classpath target/classes -o src/main/java/org/xerial/snappy/SnappyNative.h org.xerial.snappy.SnappyNative >/bin/sh: line 1: /usr/lib64/openjdk-11/bin/javah: No such file or directory >make: *** [Makefile:41: src/main/java/org/xerial/snappy/SnappyNative.h] Error 127 > [31;01m*[0m ERROR: dev-java/snappy-1.1.0.1::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-java/snappy-1.1.0.1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-java/snappy-1.1.0.1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/snappy-1.1.0.1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/snappy-1.1.0.1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1' > [31;01m*[0m S: '/var/tmp/portage/dev-java/snappy-1.1.0.1/work/snappy-java-1.1.0.1' >!!! When you file a bug report, please include the following information: >GENTOO_VM=openjdk-11 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11" >JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" >and of course, the output of emerge --info =snappy-1.1.0.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 831269
: 762258