I tried to ct-ng build the rpi3 config with Docker in MacOSX.
The version of crosstool-ng is 1.24.0
And there are error messages:
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20200508.202746
[INFO ] Building environment variables
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = x86_64-pc-linux-gnu
[EXTRA] host = x86_64-pc-linux-gnu
[EXTRA] target = armv8-rpi3ubuntu-linux-gnueabihf
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.35s (at 00:04)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR] automake: download failed
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions#487]
[ERROR] >> called from: CT_DoFetch[scripts/functions#2103]
[ERROR] >> called from: CT_PackageRun[scripts/functions#2063]
[ERROR] >> called from: CT_Fetch[scripts/functions#2174]
[ERROR] >> called from: do_companion_tools_automake_get[scripts/build/companion_tools/300-automake.sh#5]
[ERROR] >> called from: do_companion_tools_get[scripts/build/companion_tools.sh#21]
[ERROR] >> called from: main[scripts/crosstool-NG.sh#646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> https://crosstool-ng.github.io/docs/known-issues/
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 0:02.58)
[00:04] / /opt/crosstool-ng/bin/ct-ng:261: recipe for target 'build' failed
make: *** [build] Error 1
I checked the packages file in source of crosstool-ng crosstool-ng-1.24.0/packages/automake/
In package.desc:
repository='git https://git.savannah.gnu.org/git/automake.git'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU automake)'
relevantpattern='1.*|.'
archive_formats='.tar.xz .tar.gz'
signature_format='packed/.sig'
Is it something wrong with the download url?
How is "download tarball" purpose?
Is it possible use tarball locally that I download it myself?
Thanks for your patience.
Related
I had already mentioned this topic in another post and I need to take it up again.
I am working with Netbeans 12 on Windows 10
Steps performed:
Create the app on the "start.codenameone.com" platform with the necessary parameters.
Add the extension in Control Center.
On the library that Maven generated (common), I press the right button and solve the problems.
Clean and Build the application.
The window for assigning a temporary signature is not displayed, but the build process terminates with the message "BUILD SUCCESS".
I add the console output for your evaluation.
cd C:\Users\ruben\Documents\ProyectosCodenameOne\tarifataxipredictiva; "JAVA_HOME=C:\Program Files\Java\jdk-11.0.11" cmd /c ""C:\Program Files\NetBeans-12.0\netbeans\java\maven\bin\mvn.cmd" -Dmaven.ext.class.path="C:\Program Files\NetBeans-12.0\netbeans\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 cn1:settings"
Scanning for projects...
------------------------------------------------------------------------
Reactor Build Order:
tarifataxipredictiva [pom]
tarifataxipredictiva-cn1libs [pom]
cn1-codescan [pom]
tarifataxipredictiva-common [jar]
--------< com.innova507.tarifapredictiva:tarifataxipredictiva >---------
Building tarifataxipredictiva 1.0-SNAPSHOT [1/4]
--------------------------------[ pom ]---------------------------------
--- codenameone-maven-plugin:7.0.97:settings (default-cli) # tarifataxipredictiva ---
----< com.innova507.tarifapredictiva:tarifataxipredictiva-cn1libs >-----
Building tarifataxipredictiva-cn1libs 1.0-SNAPSHOT [2/4]
--------------------------------[ pom ]---------------------------------
--- codenameone-maven-plugin:7.0.97:settings (default-cli) # tarifataxipredictiva-cn1libs ---
Failed to find CN1 Project directory. codenameone_settings.properties will not be loaded
Checking from project root and source compile root: C:\Users\ruben\Documents\ProyectosCodenameOne\tarifataxipredictiva\cn1libs\src\main\java
--< com.innova507.tarifapredictiva:tarifataxipredictiva-cn1-codescan >--
Building cn1-codescan 1.0-SNAPSHOT [3/4]
--------------------------------[ pom ]---------------------------------
--- codenameone-maven-plugin:7.0.97:settings (default-cli) # tarifataxipredictiva-cn1-codescan ---
Failed to find CN1 Project directory. codenameone_settings.properties will not be loaded
Checking from project root and source compile root: C:\Users\ruben\Documents\ProyectosCodenameOne\tarifataxipredictiva\cn1libs\cn1-codescan\src\main\java
-----< com.innova507.tarifapredictiva:tarifataxipredictiva-common >-----
Building tarifataxipredictiva-common 1.0-SNAPSHOT [4/4]
--------------------------------[ jar ]---------------------------------
--- codenameone-maven-plugin:7.0.97:settings (default-cli) # tarifataxipredictiva-common ---
------------------------------------------------------------------------
Reactor Summary for tarifataxipredictiva 1.0-SNAPSHOT:
tarifataxipredictiva ............................... SUCCESS [ 2.657 s]
tarifataxipredictiva-cn1libs ....................... SUCCESS [ 0.567 s]
cn1-codescan ....................................... SUCCESS [ 0.587 s]
tarifataxipredictiva-common ........................ SUCCESS [ 1.640 s]
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 6.317 s
Finished at: 2023-02-01T12:52:34-05:00
------------------------------------------------------------------------
Test99 new Proyect
I'm attempting to create a toolchain for my Raspberry Pi using my Ubuntu box. I've installed crosstool-ng 1.24.0. When I run ./ct-ng build, it says that it fails to download expat. Here's the output:
[INFO ] Performing some trivial sanity checks
[WARN ] Number of open files 1024 may not be sufficient to build the toolchain; increasing to 2048
[INFO ] Build started 20210903.144609
[INFO ] Building environment variables
[WARN ] Directory '/home/daniel/src' does not exist.
[WARN ] Will not save downloaded tarballs to local storage.
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = x86_64-pc-linux-gnu
[EXTRA] host = x86_64-pc-linux-gnu
[EXTRA] target = aarch64-rpi3-linux-gnu
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.18s (at 00:03)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[EXTRA] Retrieving 'linux-4.20.8'
[EXTRA] Verifying SHA512 checksum for 'linux-4.20.8.tar.xz'
[EXTRA] Retrieving 'zlib-1.2.11'
[EXTRA] Verifying SHA512 checksum for 'zlib-1.2.11.tar.xz'
[EXTRA] Retrieving 'gmp-6.1.2'
[EXTRA] Verifying SHA512 checksum for 'gmp-6.1.2.tar.xz'
[EXTRA] Retrieving 'mpfr-4.0.2'
[EXTRA] Verifying SHA512 checksum for 'mpfr-4.0.2.tar.xz'
[EXTRA] Retrieving 'isl-0.20'
[EXTRA] Verifying SHA512 checksum for 'isl-0.20.tar.xz'
[WARN ] Downloaded file isl-0.20.tar.xz reference digest not available
[EXTRA] Retrieving 'mpc-1.1.0'
[EXTRA] Verifying SHA512 checksum for 'mpc-1.1.0.tar.gz'
[EXTRA] Retrieving 'expat-2.2.6'
[ERROR] expat: download failed
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions#487]
[ERROR] >> called from: CT_DoFetch[scripts/functions#2103]
[ERROR] >> called from: CT_PackageRun[scripts/functions#2063]
[ERROR] >> called from: CT_Fetch[scripts/functions#2174]
[ERROR] >> called from: do_expat_get[scripts/build/companion_libs/210-expat.sh#12]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh#15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh#648]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> https://crosstool-ng.github.io/docs/known-issues/
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 1:09.34)
[01:10] / make: *** [ct-ng:261: build] Error 1
I've tried manually placing a tar ball for expat 2.2.6 into .build/tarballs as I've seen recommended by others. However, the error doesn't change.
I downloaded the 3.6.2 source tarball (apache-zookeeper-3.6.2.tar.gz, sha512sum: 16994067d460a1b6af6a71f3458c64ee32629e876a1ff6646d57be62f1a5adab57462af84074ecaded4186dd3fde035ee24cd9d578b8e5044073eb05f4ab9c3e) from apache zookeeper website. Tried to compile its C client in a debian 10 OS.
In dir zookeeper-client/zookeeper-client-c, I ran "autoreconf -if" and "./configure --enable-debug". configure complained about "configure: error: jute files are missing! Please run "ant compile_jute" while in the zookeeper top level directory."
But then tried to run "ant compile_jute" at the top dir. complained about "Buildfile: build.xml does not exist!". Did some search and tried "mvn -pl zookeeper-jute compile" at the top dir. But still have some error. Can anyone know how to solve the issue? Thanks,
xing#debian10-dev ~/d/apache-zookeeper-3.6.2> mvn -pl zookeeper-jute compile
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.apache.zookeeper:zookeeper-jute >-----------------
[INFO] Building Apache ZooKeeper - Jute 3.6.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) # zookeeper-jute ---
[INFO]
[INFO] --- mavanagaiata:0.9.4:commit (find-current-git-revision) # zookeeper-jute ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.299 s
[INFO] Finished at: 2021-03-20T23:07:23-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.koraktor:mavanagaiata:0.9.4:commit (find-current-git-revision) on project zookeeper-jute: Unable to read Git commit information: Commit "24e9d01f1321d22f1eef2a3fc0f1b3d68f68d12c" could not be loaded. Short read of block. -> [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
Updated on 3/21:
The instructions coming with README (run "ant compile_jute" at top level dir and then "autoreconf -if; ./configure --enable-debug" in dir zookeeper-client/zookeeper-client-c) seem to work for version 3.5.9. I have switched to use that version while waiting for them to update the README for 3.6.2.
I'm trying to build ct-ng in crosstool-ng-1.9.3 on my 64 bit ubuntu 13.04 but I repeatedly receive the following error during this command :
./ct-ng build
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR] Could not retrieve 'cloog-ppl-0.15.10'.
[07:00] / make: *** [build] Error 1
Does anyone have any clue how to resolve it?
It's hard to say without seeing the full build.log file.
I'm going to guess and say it's failing at the point where it downloads that tar.
I would do the following (based on my assumption):
Delete the cloog-ppl-0.15.10.tar.bz stump in /some/path/.../.build/tarfiles
Download the tar manually.
You can either place the tar file in that location or in ./ct-ng menuconfig
Tell it to look at a directory locally.
I got an error when analyzing csharp projects in sonar 3.1.1
It fails to execute sonar-maven-plugin. Here is my log file data.
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on
project MyProject: Can not execute Sonar: Error occured while reading Visual Studio files.
Could not evaluate the expression com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl#ec73b9 on project
D:\projects\MyProject\src\framework\MyPro\MyPro.csproj: XPathExpressionException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration
cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration -> [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/MAVE/MojoExecutionException
please help me to solve this issue...
You have probably added an extra JAR that is messing up the classpath. You should try to make a fresh install and everything should be OK.