Comments (6)
from renode.
This is the diff between the failed and successful builds (after replacing some spaces by end of lines to let the line oriented meld give better output):
The main difference is a missing mscorelib.dll in the failed build, and some changes from api-4.5 versions to 4.0.0.0 versions
success.txt
failed.txt
from renode.
Hello @alefminus,
Thanks for reporting this issue.
We are able to reproduce the problem on Fedora 39. It isn't really related to the C# language version but it's due to the .NET Framework version upgrade.
Fedora's mono-complete
package only contains libraries to build with .NET Framework versions 4.0, 4.5 and 4.7.1. This is why building Renode, which currently targets .NET Framework 4.6.2, fails.
We strongly recommend using a mono-complete
package supplied directly by the Mono Project. This is the most complete package as it contains the Roslyn compiler, which is missing in the Fedora's package, and enables building software targeting any .NET Framework version. The first one is especially important because there are known issues with mcs
, the legacy C# compiler, e.g., handling numbers with separators like 0x1_0000_0000
.
The site doesn't contain any official instructions for Fedora but they supply RPM repositories targetting CentOS. We have verified one can add the repository, use it to install Mono and then build Renode successfully in a fresh Fedora 39 docker container with:
dnf install 'dnf-command(config-manager)'
dnf config-manager --add-repo https://download.mono-project.com/repo/centos8-stable.repo
yum install gcc git gtk-sharp2 mono-complete
git clone --recursive -j 10 https://github.com/renode/renode
cd renode
./build.sh
If there are any reasons you have to use Fedora's mono-complete
package, it is possible to enforce .NET Framework version building Renode. If this is the case then we have verified it's possible to build Renode with it by enforcing the use of .NET Framework 4.7.1:
./build.sh --force-net-framework-version 4.7.1
from renode.
from renode.
Excellent, thanks for the confirmation.
from renode.
Just to add to this ticket, I'm running RHEL 9.4 and had the same issues. I managed to build Renode after installing the centos8-stable version of Mono but had to add the --nogpgcheck
flag to DNF as RHEL 9 doesn't support SHA-1 any more.
sudo dnf install -y --nogpgcheck gtk-sharp2 mono-complete
from renode.
Related Issues (20)
- STM32_Timer Produces error HOT 6
- STM32 F2 and H7 EMAC
- Support of an ethernet device driver (litex_vexriscv board) for Zephyr
- Updating BME280 I2C sensor value using python script. HOT 1
- Save statefile inside a Hook (it hangs) via python script HOT 3
- Read value from GPIO
- hi i am trying to run gdb for blinky which is using nordic-blinky-zephyr.elf and using nrf52840 board when i am trying gdb not working HOT 1
- Possibility to synchronize simulation time with real time HOT 1
- Feature Request: Ethernet Support for Cortex-A53 Linux in Renode HOT 1
- Documentation: How to add a custom C# peripheral and testing it ? HOT 1
- `InvalidOperationException` is thrown when invoking a method via reflection HOT 4
- wish: rtos awareness for GDB server HOT 2
- How to use buildroot with renode HOT 2
- Failed to Flash from the eMMC in the Icicle Kit Machine in Renode HOT 1
- Bug in Virtqueue implementation HOT 4
- CAN tools (Wireshark, candump, python-can) run directly from host shows invalid CAN ID while using SocketCAN-Bridge feature
- How to connect multiple AXI masters/slaves to a VerilatedPeripheral HOT 3
- STM32F103 (Bluepill) simulation with CAN bus HOT 2
- Support Needed: Add SD Card peripheral when it is connected to a SPI bus
- renode-test cli output shows status of skipped tests as failed HOT 1
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 renode.