nicolo-paganin commented on issue #5454: mysql JDBC Sink - consumer error URL: https://github.com/apache/pulsar/issues/5454#issuecomment-586877898 @tuteng thanks I have upgraded lib pulsar to the 2.5.0 editing manually the homebrew formula with `brew edit libpulsat` like this ``` class Libpulsar < Formula desc "Apache Pulsar C++ library" homepage "https://pulsar.apache.org/" url "https://www.apache.org/dyn/closer.cgi?path=pulsar/pulsar-2.5.0/apache-pulsar-2.5.0-src.tar.gz" revision 1 bottle do cellar :any sha256 "13c37b77dee18f4bba454484b4426a6f3dad27f902e0793a56a6358897ab4f3f" => :catalina sha256 "ff0090b77842ac6034c4a425438f8d5b401164da4bada7ac11c4963dcdaa3a28" => :mojave sha256 "d73f612edf73a351ab7f90776c24670c4c77b85fd95e37999e863ff27daf89ef" => :high_sierra end depends_on "cmake" => :build depends_on "pkg-config" => :build depends_on "boost" depends_on "[email protected]" depends_on "protobuf" depends_on "snappy" depends_on "zstd" def install cd "pulsar-client-cpp" do system "cmake", ".", *std_cmake_args, "-DBUILD_TESTS=OFF", "-DBUILD_PYTHON_WRAPPER=OFF", "-DBoost_INCLUDE_DIRS=#{Formula["boost"].include}", "-DProtobuf_INCLUDE_DIR=#{Formula["protobuf"].include}", "-DProtobuf_LIBRARIES=#{Formula["protobuf"].lib}/libprotobuf.dylib" system "make", "pulsarShared", "pulsarStatic" system "make", "install" end end test do (testpath/"test.cc").write <<~EOS #include <pulsar/Client.h> int main (int argc, char **argv) { pulsar::Client client("pulsar://localhost:6650"); return 0; } EOS system ENV.cxx, "test.cc", "-L#{lib}", "-lpulsar", "-o", "test" system "./test" end end ``` this is the log of the `brew upgrade` and `brew info` commands ``` ~ brew upgrade libpulsar ==> Upgrading 1 outdated package: libpulsar 2.4.2_1 -> 2.5.0_1 ==> Upgrading libpulsar ==> Downloading https://homebrew.bintray.com/bottles/libpulsar-2.5.0_1.catalina.bottle.tar.gz curl: (22) The requested URL returned error: 404 Not Found Error: Failed to download resource "libpulsar" Download failed: https://homebrew.bintray.com/bottles/libpulsar-2.5.0_1.catalina.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Downloading https://www.apache.org/dyn/closer.cgi?path=pulsar/pulsar-2.5.0/apache-pulsar-2.5.0-src.tar.gz Already downloaded: /Users/nicolopaganin/Library/Caches/Homebrew/downloads/594e305adec94cc36760459e3848bfe7280abf71827148ad5ec65230c7716486--apache-pulsar-2.5.0-src.tar.gz Warning: Cannot verify integrity of 594e305adec94cc36760459e3848bfe7280abf71827148ad5ec65230c7716486--apache-pulsar-2.5.0-src.tar.gz A checksum was not provided for this resource. For your reference the SHA-256 is: 87ffe8aa9456d1143e2436f83d3ba220f12246a90f03c6b51ed5dad0df489a3b ==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/libpulsar/2.5.0_1 -DCMAKE_BUILD_TYPE=Release -D ==> make pulsarShared pulsarStatic ==> make install 🍺 /usr/local/Cellar/libpulsar/2.5.0_1: 51 files, 14.7MB, built in 3 minutes 5 seconds Removing: /usr/local/Cellar/libpulsar/2.4.2_1... (50 files, 14.2MB) Removing: /Users/nicolopaganin/Library/Caches/Homebrew/libpulsar--2.4.2_1.catalina.bottle.tar.gz... (3.3MB) ==> Checking for dependents of upgraded formulae... ==> No dependents found! ~ brew info libpulsar libpulsar: stable 2.5.0 (bottled) Apache Pulsar C++ library https://pulsar.apache.org/ /usr/local/Cellar/libpulsar/2.5.0_1 (51 files, 14.7MB) * Built from source on 2020-02-17 at 09:30:35 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libpulsar.rb ==> Dependencies Build: cmake ✔, pkg-config ✔ Required: boost ✔, [email protected] ✔, protobuf ✔, snappy ✔, zstd ✔ ==> Analytics install: 142 (30 days), 427 (90 days), 1,427 (365 days) install-on-request: 142 (30 days), 426 (90 days), 1,425 (365 days) build-error: 0 (30 days) ``` Unfortunately this has not resolved the issue, I still have the same error. Any other advices @tuteng? Thanks!
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
