Comments (7)
Looks like same issue as
https://gitmemory.cn/repo/lovell/sharp-libvips/issues/109
So it looks like a conflict between the version of your native rust compiler and this version of librsvg.
from freedom-u-sdk.
@jim-wilson Thanks for your reply.
I apologize in advance if my following question looks silly. I am not experienced in building systems and solving those potential issues. I tried to solve it the whole day yesterday but still did not find a solution.
I am kind of confused since I did not have rust compiler installed prior to building this project. Following the link you provided, I installed rust and switched to nighly, but still did not solve the problem.
May I know what is the intuitive way to solve the version conflict issues? Thanks in advance!
from freedom-u-sdk.
I don't have a mac so I can't look into this.
from freedom-u-sdk.
I would look at the build log for the failing library to figure out what the file name conflict is, and then debug the build to figure out where the duplicate files are coming from, probably from two different places. Maybe openembedded is building its own rust compiler, and that is the problem. Or maybe I'm wrong about this being the same problem.
You don't have to build OE to use it. You can download one of the prebuilt images from the releases section on the right.
If you do want to build OE, then you are probably better off using a linux machine. The OE build process is complex, and MacOS is probably not a well supported build platform for OE.
from freedom-u-sdk.
@jim-wilson Thanks a lot for your reply.
I am running Linux on a virtual machine on Mac, so it might not due to the non-linux machine problem.
I tried to reduce the problem to the smallest possible input that produces the error: I downloaded the source of librsvg with version 2.52.5 from this link, and tried to install it using the following commands:
$ ./configure
$ sudo make install
I got the same error:
make install-recursive
make[1]: Entering directory '/home/yusen/packages/librsvg-2.52.5'
Making install in .
make[2]: Entering directory '/home/yusen/packages/librsvg-2.52.5'
CCLD librsvg-2.la
libtool: error: object name conflicts in archive: .libs/librsvg-2.lax/librsvg_c_api.a//home/yusen/packages/librsvg-2.52.5/./.libs/librsvg_c_api.a
make[2]: *** [Makefile:818: librsvg-2.la] Error 1
make[2]: Leaving directory '/home/yusen/packages/librsvg-2.52.5'
make[1]: *** [Makefile:1078: install-recursive] Error 1
make[1]: Leaving directory '/home/yusen/packages/librsvg-2.52.5'
make: *** [Makefile:1383: install] Error 2
According to what I got, I think what you mentioned is correct - openembedded is trying to build its own rust compiler, which is more likely to build librsvg as well, and the error occurred when building librsvg.
from freedom-u-sdk.
I noticed that there is an issue corresponding to this error: https://gitlab.gnome.org/GNOME/librsvg/-/issues/787
from freedom-u-sdk.
For those who are using aarch64, one possible solution is to execute
repo init -u git://github.com/sifive/meta-sifive -b 2021.04 -m tools/manifests/sifive.xml
instead of
repo init -u git://github.com/sifive/freedom-u-sdk -b 2021.12 -m tools/manifests/sifive.xml
to build an older version of SiFive Freedom-u-sdk.
This works for me on aarch64 Linux. Note that the version of QEMU is 5.2.0.
from freedom-u-sdk.
Related Issues (20)
- Repo unable to initialize/sync HOT 2
- Error `trace/trace-ebpf.h: No such file or directory` when building qemu HOT 2
- select kernel version HOT 1
- How to build SiFive Freedom-u-sdk from scratch? HOT 2
- Version magic issue for compiling kernel module when passing in another version of Linux kernel HOT 1
- nstall-buildtools: No such file or directory HOT 1
- released image can not boot up HiFive Unmatched HOT 1
- No official build for 2022.05 and 2022.06? HOT 1
- 2022.06 kas build error HOT 1
- freedom-u-sdk 2022.06 kas build error HOT 4
- freedom-u-sdk 2022.06 build qemuriscv64-cli.yml HOT 1
- Radeon RX550 4GB stuck during kernel boot HOT 2
- TensorFlow and Pytorch on unmatch machines
- No 'apt' or 'apt-get'
- fu740 pcie window too small
- Failed to access CSR 0xc01 from M-modesbi_trap_error
- ZSTD symbol undeclared HOT 4
- FUSDK 2023.06.00 build breaks while trying to build trace-cmd HOT 1
- Building unmatched on 2023.06/2023.04 fails for rust HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freedom-u-sdk.