Created attachment 945928 [details] fix build on ARM hadoop build fails on ARM in Java detection in hadoop-common with ... [INFO] [INFO] --- maven-antrun-plugin:1.7:run (make) @ hadoop-common --- [INFO] Executing tasks main: [exec] -- The C compiler identification is GNU 4.9.1 [exec] -- The CXX compiler identification is GNU 4.9.1 [exec] -- Check for working C compiler: /usr/bin/cc [exec] -- Check for working C compiler: /usr/bin/cc -- works [exec] -- Detecting C compiler ABI info [exec] -- Detecting C compiler ABI info - done [exec] -- Check for working CXX compiler: /usr/bin/c++ [exec] -- Check for working CXX compiler: /usr/bin/c++ -- works [exec] -- Detecting CXX compiler ABI info [exec] -- Detecting CXX compiler ABI info - done [exec] Soft-float JVM detected [exec] -- Looking for exit [exec] -- Looking for exit - not found [exec] -- Configuring incomplete, errors occurred! [exec] See also "/builddir/build/BUILD/hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeOutput.log". [exec] See also "/builddir/build/BUILD/hadoop-common-9e2ef43a240fb0f603d8c384e501daec11524510/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeError.log". [exec] CMake Error at JNIFlags.cmake:59 (message): [exec] Soft-float dev libraries required (e.g. 'apt-get install libc6-dev-armel' [exec] on Debian/Ubuntu) [exec] Call Stack (most recent call first): [exec] CMakeLists.txt:24 (include) [exec] ... The Java detection in JNIFlags.cmake is wrong when hadoop is built in a distribution. The solution is to drop the special handling of ARM completely, see the attached patch. Resulting scratch build is http://koji.fedoraproject.org/koji/taskinfo?taskID=7820354 Version-Release number of selected component (if applicable): hadoop-2.4.1-5.fc21
*** This bug has been marked as a duplicate of bug 999971 ***
avro-1.7.5-10.fc22, hive-0.12.0-6.fc22, parquet-1.5.0-5.fc22, accumulo-1.6.1-3.fc22, hadoop-2.4.1-8.fc22, hbase-0.98.3-4.fc22, oozie-4.0.1-4.fc22, glusterfs-hadoop-2.3.2-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/hadoop-2.4.1-8.fc22,avro-1.7.5-10.fc22,hbase-0.98.3-4.fc22,hive-0.12.0-6.fc22,oozie-4.0.1-4.fc22,parquet-1.5.0-5.fc22,glusterfs-hadoop-2.3.2-5.fc22,accumulo-1.6.1-3.fc22
avro-1.7.5-10.fc22, hive-0.12.0-6.fc22, parquet-1.5.0-5.fc22, accumulo-1.6.1-3.fc22, hadoop-2.4.1-8.fc22, hbase-0.98.3-4.fc22, oozie-4.0.1-4.fc22, glusterfs-hadoop-2.3.2-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.