Giter Club home page Giter Club logo

Comments (8)

userdocs avatar userdocs commented on May 9, 2024

What you should do it delete the build folder and start again.

./qbittorrent-nox-static.sh all

After you can look at the build logs in qb-build/logs to see what build failed.

from qbittorrent-nox-static.

joshft91 avatar joshft91 commented on May 9, 2024

Thanks, I'll get back to you; need to set up my Pi4 after it crashed due to something else this morning. Will see if a clean install will fix the problem I was encountering.

from qbittorrent-nox-static.

joshft91 avatar joshft91 commented on May 9, 2024

Alright, it seems to be some sort of libtorrent compile/build issue that I'm running into. I noticed when doing the libtorrent module that at one point it will freeze for quite a while and then eventually I get this error: g++: fatal error: Killed signal terminated program cc1plus

Seems that the more specific error is this:
...failed gcc.compile.c++ bin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi/src/session_impl.o...

The last few lines of libtorrent.log.txt are here:

...skipped <pbin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi>libtorrent.a(clean) for lack of <pbin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi>src/session_impl.o...
...skipped <pbin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi>libtorrent.a for lack of <pbin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi>src/session_impl.o...
...skipped <p/home/pi/qbittorrent-playground/qb-build/lib>libtorrent.a for lack of <pbin/gcc-8/release/address-model-32/crypto-openssl/cxxstd-17-iso/link-static/threading-multi>libtorrent.a...
...failed updating 1 target...
...skipped 3 targets...
...updated 434 targets..

Which lines up with the issue seen when attempting to build qbittorrent

linking qbittorrent-nox
/usr/bin/ld: cannot find -l:libtorrent.a

Not sure why I wouldn't be able to compile/build, seems like everything else is okay.

from qbittorrent-nox-static.

userdocs avatar userdocs commented on May 9, 2024

it hard for me to help since I don't have a pie and it's a 32 bit os.

I am not sure where the problem is it may be the same error as here

arvidn/libtorrent#5117

from qbittorrent-nox-static.

joshft91 avatar joshft91 commented on May 9, 2024

No problem, thanks for at least reading. I'll close this out since it does appear to be something OS/32-bit related. I'll dig into building libtorrent and see if I can go from there. Thanks

from qbittorrent-nox-static.

joshft91 avatar joshft91 commented on May 9, 2024

I finally got the latest version of qBittorrent (4.3.3) built after working through the issues I was encountering above. Turns out it was due to Out of Memory issues when building libtorrent. I've outlined the way I solved the problem below. Thanks @userdocs for the responses along the way.

Hardware: Raspberry Pi 4 2GB
OS: Raspberry Pi OS 64-bit

Problem: ./qbittorrent-nox-static.sh dies when attempting to build the libtorrent module
Fix: Create a 1Gb swapfile according to these instructions and attempt to build libtorrent again.

Libtorrent was then created successfully allowing me to then run ./qbittorrent-nox-static.sh qbittorrent and get the qbittorrent-nox binary.

from qbittorrent-nox-static.

userdocs avatar userdocs commented on May 9, 2024

That is good to know, thanks.

Does the binary run with no issues?

from qbittorrent-nox-static.

joshft91 avatar joshft91 commented on May 9, 2024

It did, yep. No issues or anything, I just executed the binary and it started with no problem on port 8080. I suspect that there's not a lot of Pi4 2GB models out there that people are building ... it looks like even with 4GB it would have no problem.

from qbittorrent-nox-static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.