Coder Social home page Coder Social logo

Comments (6)

huo-ju avatar huo-ju commented on July 28, 2024 1

@ascl00 Thanks. It has been fixed now. 0f24369

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

Do you have the full build logs to share?

If you want pre-built binaries, check out https://github.com/psa/photoprism-freebsd-port/releases/tag/2021-05-23

from photoprism-freebsd-port.

quistian avatar quistian commented on July 28, 2024

Where's the location of the build logs?

java.log.photoprism.root.log.java.20210723-073639.7319

or

command.log

If so here's a link to it:

https://u.pcloud.link/publink/show?code=XZqXrCXZDpXmbA8sbd7w1RrFoDFLIVgTbBzV

I can try the prebuilt binaries and get back to you.

from photoprism-freebsd-port.

psa avatar psa commented on July 28, 2024

I suspect the relevant part is C++ compilation of rule '//tensorflow/core/kernels:matrix_square_root_op' failed (Killed)

Killed often means running out of RAM (it could also be a few other things, like running out of file handles etc). How much does that machine have and how much is free?

Are you building it with poudriere (highly recommended)?

If so, consider using USE_TMPFS=no. You may also need to play with MAX_MEMORY (I use 8, which is 25% of the RAM on my build machine). If you have other things building at the same time in the same job, then setting PARALLEL_JOBS=1 may help.

from photoprism-freebsd-port.

quistian avatar quistian commented on July 28, 2024

Thanks. I am running it in a jail using TrueNAS. I can try the poudriere methodolgy.

from photoprism-freebsd-port.

ascl00 avatar ascl00 commented on July 28, 2024

I am also using TrueNAS, and not using poudriere, and have found applying this patch necessary (at least for the duplicate symbol issue):
tensorflow/tensorflow#31196 (comment)

For the killed issue, I found editing the Makefile and adding the following to the bazel command helped:
--jobs 1 --local_resources 2048,0.5,1.0

(my NAS has 32GB of RAM too, but I guess zfs is just RAM hungry!). Between these two I have a successful build on TrueNAS now.

from photoprism-freebsd-port.

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.