From nobody Fri Oct 21 04:45:20 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MtsN11mMnz4gZCd for ; Fri, 21 Oct 2022 04:45:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MtsN06Kxzz3qrr for ; Fri, 21 Oct 2022 04:45:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MtsN05Nrgz15v2 for ; Fri, 21 Oct 2022 04:45:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29L4jKxX019336 for ; Fri, 21 Oct 2022 04:45:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29L4jK6C019335 for ports-bugs@FreeBSD.org; Fri, 21 Oct 2022 04:45:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267233] graphics/tesseract: fails to build if science/py-tensorflow is installed Date: Fri, 21 Oct 2022 04:45:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jinxiaoyong@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666327520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HSxf+tN7wPEVCmnfE1g0hnc4hr5YtHIyHYxM3Jg7KEE=; b=U0cj6hzkYJu/d215/rCvYACcuv3peT5PiaTC1lBNXP3zkll/6wpacMXjM+13v5NqIqz+x8 RHbwOKQCtSLvqrB36wsOvH3IqKvuG5uXZpT/KwFJrzxE9RkCfVTKJ/AWJ+rPLWJzp/fvzg ikUK1KB3aYk6ltdNNZ4QEPsC3WzXPH+8LMOFW65KMi0U19o+icwzsyuAtj4lNXRqkQ7uL3 LCKiiH1De4RY/tEBi4yP9DQcOFzQKzWGKxWnf6vZmX8c857fH+Pgy08Dd7vcV8Yca8lxpp KZUaFV3IunvD5HKmuGeCOTebpEMpJyOV1MfsjVn93JlzDF+b/W0+Z29zRvFvgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666327520; a=rsa-sha256; cv=none; b=hwfJOn+F4GmkFTl3a3EuUO6Bl42Dv2tyOXta+s0wt3P6QcfRUQZ4/XK+CoxeHRPvWORTTJ aAD4P9d3W78v2rS3yNrfi/1BJs6LDA3yFljtsp/JA6Eh/GJ8BEQfx4xat55skKEDH0ii9e r+sttdDmKtYmEMqr0R9Me1SdA25mpRRMEnahEtaVzcjKd85VYq1gZYD4N9RkZ3XWoH+3Gu m6L2uuejo2o7UfH4oNTF5Ylm/7K7I6brJiZLRZV5+kn6fUWZs+vUb6TsyIJgIZgFwWke+e nhzutJJGAl8W6cixmIUFvAVdBCCKQoGQZHZsU/muUXExyA3n6iRpyv/oBHjE3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267233 Bug ID: 267233 Summary: graphics/tesseract: fails to build if science/py-tensorflow is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jinxiaoyong@gmail.com CC: amzo1337@gmail.com, pkubaj@FreeBSD.org CC: amzo1337@gmail.com, pkubaj@FreeBSD.org Created attachment 237494 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237494&action= =3Dedit add --without-tensorflow to CONFIGURE_ARGS By default tesseract configure checks for tensorflow. Tensorflow installed from port breaks the build of tesseract, see error messages below. The fau= lt is in the tensorflow port, though I'm not sure how to fix that. For tesser= act to build, it's enough to patch the Makefile and add CONFIGURE_ARGS+=3D--without-tensorflow --- src/lstm/libtesseract_lstm_la-tfnetwork.pb.lo --- In file included from src/lstm/tfnetwork.pb.cc:4: ./src/lstm/tfnetwork.pb.h:17:4: error: This file was generated by an older version of protoc which is # error This file was generated by an older version of protoc which is ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ./src/lstm/tfnetwork.pb.h:18:4: error: incompatible with your Protocol Buff= er headers. Please # error incompatible with your Protocol Buffer headers. Please ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ./src/lstm/tfnetwork.pb.h:19:4: error: regenerate this file with a newer version of protoc. # error regenerate this file with a newer version of protoc. ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 --- src/lstm/libtesseract_lstm_la-tfnetwork.pb.lo --- ./src/lstm/tfnetwork.pb.h:25:10: fatal error: 'google/protobuf/generated_message_table_driven.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/lstm/libtesseract_lstm_la-network.lo --- In file included from src/lstm/network.cpp:42:=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In file included from ./src/lstm/tfnetwork.h:30: In file included from /usr/local/include/tensorflow/core/public/session.h:2= 4: /usr/local/include/tensorflow/core/framework/tensor.h:22:10: fatal error: 'third_party/eigen3/unsupported/Eigen/CXX11/Tensor' file not found #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/lstm/libtesseract_lstm_la-tfnetwork.lo --- In file included from src/lstm/tfnetwork.cpp:20: In file included from ./src/lstm/tfnetwork.h:30: In file included from /usr/local/include/tensorflow/core/public/session.h:2= 4: /usr/local/include/tensorflow/core/framework/tensor.h:22:10: fatal error: 'third_party/eigen3/unsupported/Eigen/CXX11/Tensor' file not found #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=