Comments (4)
Hey @nroi, thanks for taking the time to look into this so quickly, much appreciated!
I can confirm that with the latest version the build on the rpi completes and runs successfully:
[harry@archpi ~]$ journalctl -u flexo
-- Logs begin at Sun 2020-06-07 20:43:30 UTC, end at Sun 2020-06-21 18:00:37 UTC. --
Jun 21 17:46:10 archpi systemd[1]: Started central pacman cache.
Jun 21 17:46:13 archpi flexo[12716]: [2020-06-21T17:46:13Z INFO flexo] Primary mirror: https://archlinux.mailtunnel.eu/
Jun 21 17:46:13 archpi flexo[12716]: [2020-06-21T17:46:13Z INFO flexo::mirror_flexo] Retrieved 0 files with a total size of 0.00 B from local file system.
Jun 21 17:51:49 archpi flexo[12716]: [2020-06-21T17:51:49Z INFO flexo] Request served: "testing/os/x86_64/testing.db"
Jun 21 17:51:50 archpi flexo[12716]: [2020-06-21T17:51:50Z INFO flexo] Request served: "core/os/x86_64/core.db"
Jun 21 17:51:50 archpi flexo[12716]: [2020-06-21T17:51:50Z INFO flexo] Request served: "extra/os/x86_64/extra.db"
Jun 21 17:51:50 archpi flexo[12716]: [2020-06-21T17:51:50Z INFO flexo] Request served: "community-testing/os/x86_64/community-testing.db"
Jun 21 17:51:50 archpi flexo[12716]: [2020-06-21T17:51:50Z INFO flexo] Request served: "community/os/x86_64/community.db"
[harry@archpi ~]$ pacman -Qs flexo-git
local/flexo-git 1.0.4.r0.gda1a3c1-1
A central pacman cache
from flexo.
Hey @nroi.
Very happy with flexo so far, I have it running on an archlinux VM and on top of my main server at home and it's been working great.
I have recently setup a Raspberry Pi 4B with ArchLinuxARM in my network, and thought I could run flexo there, to offload my main server. Unfortunately, compilation fails with the following error:
Compiling flexo v1.0.3 (/home/harry/.cache/yay/flexo-git/src/flexo/flexo)
error[E0308]: mismatched types
--> src/main.rs:459:55
|
459 | let size: isize = libc::sendfile(sfd, fd, &mut offset, MAX_SENDFILE_COUNT);
| ^^^^^^^^^^^ expected `i32`, found `i64`
|
= note: expected raw pointer `*mut i32`
found mutable reference `&mut i64`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: could not compile `flexo`.
To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in build().
Aborting...
error making: %!s(func() string=0x783080)
Happy to create a separate issue, or provide more info if necessary.
from flexo.
Hi @harrykantas
Thanks for reporting this issue. I was able to reproduce the problem on a cubieboard (armv7l) with ArchLinux ARM installed. With the most recent version, this issue seems to be fixed: I was able to compile and run flexo on my cubieboard.
Could you try to build flexo on your Raspberry Pi again and report back if it works?
from flexo.
Awesome.
I assume that flexo runs on all ARM architectures that are supported by Rust, so I'm closing this for now. In case anyone else has issues building or running flexo an ARM, please open a new issue.
from flexo.
Related Issues (20)
- add liveness/readyness enpoints HOT 3
- Feature Request: Object Storage (S3) HOT 3
- [Potential Bug] DemarshallError(Error("unknown variant `ftp`, expected one of `http`, `https`, `rsync`", line: 1, column: 227697)) HOT 3
- [Potential Bug] JSON fallback is not used
- Docker `latest` tag not updated HOT 1
- Flexo docker fails to start: "No such file or directory", then "Unable to fetch mirrors remotely" HOT 2
- [feature request] Prefetch HOT 4
- [Potential Bug] High CPU useage due to stuck fetch cycle HOT 5
- Crash on startup HOT 2
- Periodically update the cache? HOT 2
- Integration tests failing on latest build HOT 4
- Mirrors timing out in docker HOT 7
- Error compiling rustc-serialize HOT 1
- signature from <package> is invalid HOT 23
- Listen to multiple IPs HOT 1
- ARM cache issues HOT 1
- Panic on nonexistent `latency_test_results.json` due to invalid status.json format HOT 1
- Implement support for Manjaro
- Flexo stops working from time to time HOT 2
- Different mirrors serving the same package with different size HOT 4
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 flexo.