yocto#ilx:~/tisdk/build$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
I am building sdk.
Not able to resolve this errors:
ERROR: input-utils-1.0-r0 do_compile: oe_runmake failed
ERROR: input-utils-1.0-r0 do_compile: Function failed: do_compile
It says ERROR: input-utils-1.0-r0 do_compile: oe_runmake failed .
I found some solutions from web and tried, but it gave me same error as figure above.
Does anybody have an idea for this?
Related
I was trying to build a Serverless application with Knative while using Rust. The program run well locally after calling cargo build. However before deploying the project, I keep ending with the error below.
Installing function v0.1.0 (/workspace)
error: failed to get `actix-http` as a dependency of package `function v0.1.0 (/workspace)`
Caused by:
failed to load source for dependency `actix-http`
Caused by:
Unable to update registry `crates-io`
Caused by:
usage of sparse registries requires `-Z sparse-registry`
unable to invoke layer creator
unable to contribute application layer
unable to install single
unable to build
exit status 101
ERROR: failed to build: exit status 1
Error: failed to build the function: executing lifecycle: failed with status code: 51
Error: exit status 1
I've been looking for solutions to solve this without any luck. Can someone help me figure out how to resolve this issue?
I'm trying to build a golang website on Debian 11 but at build time I get this error:
# gocv.io/x/gocv
/usr/bin/ld: cannot find -lopencv_gapi
/usr/bin/ld: cannot find -lopencv_barcode
/usr/bin/ld: cannot find -lopencv_wechat_qrcode
/usr/bin/ld: cannot find -lopencv_xfeatures2d
collect2: error: ld returned 1 exit status
I installed open cv using pip3 install opencv-contrib-python
and can confirm that opencv is installed:
python3 -c "import cv2; print(cv2.__version__)"
4.6.0
In Debian 10 on another server I used to built the same codebase without any issues
My go version is go1.16.7 linux/amd64
I have tried many things like export CGO_LDFLAGS=-Wl,--no-as-needed as suggested here but they did not work.
Also, this might be helpful: ld -lzlib --verbose gives:
ld: mode elf_x86_64
attempt to open /usr/local/lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /usr/local/lib/x86_64-linux-gnu/libzlib.a failed
attempt to open /lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /lib/x86_64-linux-gnu/libzlib.a failed
attempt to open /usr/lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /usr/lib/x86_64-linux-gnu/libzlib.a failed
attempt to open /usr/lib/x86_64-linux-gnu64/libzlib.so failed
attempt to open /usr/lib/x86_64-linux-gnu64/libzlib.a failed
attempt to open /usr/local/lib64/libzlib.so failed
attempt to open /usr/local/lib64/libzlib.a failed
attempt to open /lib64/libzlib.so failed
attempt to open /lib64/libzlib.a failed
attempt to open /usr/lib64/libzlib.so failed
attempt to open /usr/lib64/libzlib.a failed
attempt to open /usr/local/lib/libzlib.so failed
attempt to open /usr/local/lib/libzlib.a failed
attempt to open /lib/libzlib.so failed
attempt to open /lib/libzlib.a failed
attempt to open /usr/lib/libzlib.so failed
attempt to open /usr/lib/libzlib.a failed
attempt to open /usr/x86_64-linux-gnu/lib64/libzlib.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/libzlib.a failed
attempt to open /usr/x86_64-linux-gnu/lib/libzlib.so failed
attempt to open /usr/x86_64-linux-gnu/lib/libzlib.a failed
ld: cannot find -lzlib
attempt to open /usr/local/lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /usr/local/lib/x86_64-linux-gnu/zlib.a failed
attempt to open /lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /lib/x86_64-linux-gnu/zlib.a failed
attempt to open /usr/lib/x86_64-linux-gnu/libzlib.so failed
attempt to open /usr/lib/x86_64-linux-gnu/zlib.a failed
attempt to open /usr/lib/x86_64-linux-gnu64/libzlib.so failed
attempt to open /usr/lib/x86_64-linux-gnu64/zlib.a failed
attempt to open /usr/local/lib64/libzlib.so failed
attempt to open /usr/local/lib64/zlib.a failed
attempt to open /lib64/libzlib.so failed
attempt to open /lib64/zlib.a failed
attempt to open /usr/lib64/libzlib.so failed
attempt to open /usr/lib64/zlib.a failed
attempt to open /usr/local/lib/libzlib.so failed
attempt to open /usr/local/lib/zlib.a failed
attempt to open /lib/libzlib.so failed
attempt to open /lib/zlib.a failed
attempt to open /usr/lib/libzlib.so failed
attempt to open /usr/lib/zlib.a failed
attempt to open /usr/x86_64-linux-gnu/lib64/libzlib.so failed
attempt to open /usr/x86_64-linux-gnu/lib64/zlib.a failed
attempt to open /usr/x86_64-linux-gnu/lib/libzlib.so failed
attempt to open /usr/x86_64-linux-gnu/lib/zlib.a failed
I have also tried: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/blnks as suggested here but still get the same erro.
Appreciate your help to resolve this.
Since the last update of Android Studio (today is 23th of August 2020), each time I create a new flutter project I can't run it. Even if I do not modify a line of code and only create a blank new project then run it.
All my previous flutter project can be run in my VD without any problem. But I can't work on new projects because of this build failure.
I emptied cache using the menu 'File/Invalidate Caches / Restart ...'
I upgraded Flutter using "flutter upgrade --force' then 'flutter run -v' like in this post but it did not work for me.
I learn flutter via courses online but I don't know what to do to solve this problem.
Do you have a solution ?
Thank you
Here is what happens in the console (with a new flutter application project):
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-hi\values-hi.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-de\values-de.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-lo\values-lo.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-pt\values-pt.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-lt\values-lt.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-hr\values-hr.xml: AAPT: error: file failed to compile.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\Steeve\Documents\Flutter\androidstudio\proj\boule_app\build\app\intermediates\incremental\mergeDebugResources\merged.dir\values-lv\values-lv.xml: AAPT: error: file failed to compile.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 24s
Exception: Gradle task assembleDebug failed with exit code 1
Delete the androidstudio folder from the C:\Users\Steeve\Documents\Flutter\ directory.
ERROR: qtbase-5.9.2+gitAUTOINC+ec16ba393b-r0
do_prepare_recipe_sysroot: The file /usr/lib/pkgconfig/wayland-egl.pc
is installed by both mesa and imx-gpu-viv, aborting ERROR:
qtbase-5.9.2+gitAUTOINC+ec16ba393b-r0 do_prepare_recipe_sysroot:
Function failed: extend_recipe_sysroot ERROR: Logfile of failure
stored in:
/home/sandeep/fsl-community-bsp/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.9.2+gitAUTOINC+ec16ba393b-r0/temp/log.do_prepare_recipe_sysroot.2803 ERROR: Task
(/home/sandeep/fsl-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_prepare_recipe_sysroot)
failed with exit code '1'
mesa and imx-gpu-viv both recipe files are trying to insta the same file /usr/lib/pkgconfig/wayland-egl.pc that is cause the error. Remove the file manually and compile it again .
I'm trying to run puppet to install ghostscript, but it's throwing error messages and am not sure what is wrong.
Here are the messages:
Notice: /Stage[last]/Macports/Exec[install ghostscript]/returns: Error: /opt/local/bin/port: Failed to initialize MacPorts, can't read "result": no such variable
Error: /usr/bin/sudo /opt/local/bin/port install 'ghostscript' returned 1 instead of one of [0]
Error: /Stage[last]/Macports/Exec[install ghostscript]/returns: change from notrun to 0 failed: /usr/bin/sudo /opt/local/bin/port install 'ghostscript' returned 1 instead of one of [0]