Comments (8)
I can reopen this issue, but this error is belongs to tensorflow project.
from photoprism-freebsd-port.
Thanks for the information. I have merged the patch into the port e7e2199 and it's only applied to FreeBSD 11.
from photoprism-freebsd-port.
Does not work. Got
2021-01-30 12:40:14 (1.00 MB/s) - 'v1.15.2.tar.gz' saved [46196945]
tar -xzf v1.15.2.tar.gz
cp .tf_configure.bazelrc Makefile *.sh tensorflow-1.15.2
gmake[2]: Leaving directory '/root/photoprism-freebsd-port/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow'
===> Patching for photoprism-g20210111
===> Applying extra patch /root/photoprism-freebsd-port/files/patch-docker_tensorflow_tensorflow-1.15.2_tensorflow_core_protobuf_autotuning.proto
===> Applying FreeBSD patches for photoprism-g20210111 from /root/photoprism-freebsd-port/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to docker/tensorflow/tensorflow-1.15.2/tensorflow/core/protobuf/autotuning.proto.rej
===> FAILED Applying FreeBSD patch-docker_tensorflow_tensorflow-1.15.2_tensorflow_core_protobuf_autotuning.proto
===> Cleanly applied FreeBSD patch(es) patch-docker_tensorflow_Makefile
===> FAILED to apply cleanly FreeBSD patch(es) patch-docker_tensorflow_tensorflow-1.15.2_tensorflow_core_protobuf_autotuning.proto
*** Error code 1
Stop.
make[1]: stopped in /root/photoprism-freebsd-port
*** Error code 1
Stop.
make: stopped in /root/photoprism-freebsd-port
from photoprism-freebsd-port.
it seems that the patch-file has to have prefix: extra-patch-
to prevent multiple patching
this means: extra-patch-docker_tensorflow_tensorflow-1.15.2_tensorflow_core_protobuf_autotuning.proto
instead of
patch-docker_tensorflow_tensorflow-1.15.2_tensorflow_core_protobuf_autotuning.proto
from photoprism-freebsd-port.
Thanks, I have updated the file and Makefile. It should work now. c22b75f
from photoprism-freebsd-port.
Thank you!
But there are still problems, other problems ...:
...
ERROR: /root/photoprism-freebsd-port/work/photoprism-6b0d94ff42fadccfe88c4d68744b9d3afea36e2f/docker/tensorflow/tensorflow-1.15.2/tensorflow/BUILD:563:1: Linking of rule '//tensorflow:libtensorflow_framework.so.1.15.2' failed (Exit 1)
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(adler32.pic.o): In function `adler32':
adler32.c:(.text.adler32+0x0): multiple definition of `adler32'
bazel-out/host/bin/external/zlib/libzlib.pic.a(adler32.pic.o):adler32.c:(.text.adler32+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(adler32.pic.o): In function `adler32_combine':
adler32.c:(.text.adler32_combine+0x0): multiple definition of `adler32_combine' bazel-out/host/bin/external/zlib/libzlib.pic.a(adler32.pic.o):adler32.c:(.text.adler32_combine+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(adler32.pic.o): In function `adler32_combine64': adler32.c:(.text.adler32_combine64+0x0): multiple definition of `adler32_combine64'
bazel-out/host/bin/external/zlib/libzlib.pic.a(adler32.pic.o):adler32.c:(.text.adler32_combine64+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(adler32.pic.o): In function `adler32_z':
adler32.c:(.text.adler32_z+0x0): multiple definition of `adler32_z' bazel-out/host/bin/external/zlib/libzlib.pic.a(adler32.pic.o):adler32.c:(.text.adler32_z+0x0): first defined here bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(compress.pic.o): In function `compress':
compress.c:(.text.compress+0x0): multiple definition of `compress'
bazel-out/host/bin/external/zlib/libzlib.pic.a(compress.pic.o):compress.c:(.text.compress+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(compress.pic.o): In function `compress2': compress.c:(.text.compress2+0x0): multiple definition of `compress2'
...
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(zutil.pic.o): In function `zcalloc':
zutil.c:(.text.zcalloc+0x0): multiple definition of `zcalloc'
bazel-out/host/bin/external/zlib/libzlib.pic.a(zutil.pic.o):zutil.c:(.text.zcalloc+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(zutil.pic.o): In function `zcfree':
zutil.c:(.text.zcfree+0x0): multiple definition of `zcfree'
bazel-out/host/bin/external/zlib/libzlib.pic.a(zutil.pic.o):zutil.c:(.text.zcfree+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(zutil.pic.o): In function `zlibCompileFlags':
zutil.c:(.text.zlibCompileFlags+0x0): multiple definition of `zlibCompileFlags'
bazel-out/host/bin/external/zlib/libzlib.pic.a(zutil.pic.o):zutil.c:(.text.zlibCompileFlags+0x0): first defined here
bazel-out/host/bin/external/zlib_archive/libzlib.pic.a(zutil.pic.o): In function `zlibVersion':
zutil.c:(.text.zlibVersion+0x0): multiple definition of `zlibVersion'
bazel-out/host/bin/external/zlib/libzlib.pic.a(zutil.pic.o):zutil.c:(.text.zlibVersion+0x0): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //tensorflow:libtensorflow.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 12204.121s, Critical Path: 365.29s
INFO: 4320 processes: 4320 local.
FAILED: Build did NOT complete successfully
*** Error code 1
Stop.
make[1]: stopped in /root/photoprism-freebsd-port
*** Error code 1
Stop.
make: stopped in /root/photoprism-freebsd-port
Seems to be the problem that zlib is built multiple times. There was a similar problem ...
from photoprism-freebsd-port.
It's a little wired, and I can't reproduce it on my system (12-RELEASE).
Looks there are some bugs in the tensorflow bazel's build script? I still have no idea on it.
from photoprism-freebsd-port.
so please reopen this issue until it's not solved to keep in mind that there is a problem on 11.4-RELEASE
from photoprism-freebsd-port.
Related Issues (20)
- Error when changing rc command_arg to use a options.yml file HOT 2
- Update to Release 220901-f493607b0 HOT 2
- heif-convert binary is missing HOT 2
- libtensorflow1 dependency via FreshPorts broken HOT 4
- GO error when compiling HOT 3
- Registering installation step failing HOT 5
- Update port to Release 221118-e58fee0fb HOT 12
- Upgrade guidelines HOT 2
- Node fails to install maplibre-gl HOT 1
- Cannot build: USES=go has invalid arguments: 1.19 HOT 3
- latest prebuilt binary are missing several tabs in Settings HOT 3
- Develop version of makefile HOT 3
- Upgrade port to new version (230502-c405f6eff) HOT 2
- multimedia/ffmpeg updated to version 6, not compatible with Photoprism HOT 2
- libheif problem HOT 7
- photoprism cli "invalid assets path, check configuration and permissions" HOT 7
- NPM errror building in poudriere HOT 2
- Photoprism not starting using new FreeBSD 13.1 build HOT 15
- FreeBSD 14 Binary Packages HOT 13
- Duplicate plist file 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 photoprism-freebsd-port.