From nobody Wed Dec 13 15:29:46 2023 X-Original-To: ports@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 4Sqztr6NLMz53w3b for ; Wed, 13 Dec 2023 15:29:56 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sqztr2xBtz3XHq for ; Wed, 13 Dec 2023 15:29:56 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; none Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.2/8.17.1) with ESMTPSA id 3BDFTk49088141 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Wed, 13 Dec 2023 16:29:46 +0100 (CET) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202310; t=1702481386; bh=mJbAQMOBo+AJwTD0EoziuSOQttyTQ+mT+BLVxrxK/EU=; h=Date:Subject:To:References:Cc:From:In-Reply-To; b=0n7+G+VlpGHn/cGtKcw8Q4sqh0GGeqsY7KzTMy4/ZgXvWZeULW/9coVZQdo61dPMy lBL8V7rdZN1unR5BuUs+C0yXPSc7dZwtZ5607ZKYt2RqFY/ZqIWJYuXV1Df/dPKas3 ba6FuVJGcuNpk288YEw70b/w71m0Q2GJ5nkVHogA= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: Date: Wed, 13 Dec 2023 16:29:46 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: signal-cli not working anymore (help porting) Content-Language: en-US To: Rodrigo Osorio References: <447588a2-38b9-4644-ad38-c2822577c9f5@netfence.it> Cc: ports@freebsd.org From: Andrea Venturoli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sqztr2xBtz3XHq On 12/12/23 23:13, Rodrigo Osorio wrote: > Hi Andrea, Hi. > Find attached the quick patch if you wanna build it on your own. Thanks for this. > Feel free to test it. However, it does not work. E.g. > % signal-cli -u +............. register > WARN Manager - Failed to call libsignal-client: /tmp/11770562555259415722libsignal_jni.so: /tmp/11770562555259415722libsignal_jni.so: mmap of data failed: Permission denied > Missing required native library dependency: libsignal-client Two things: I see you put "JAVA_VERSION= 17+" in the makefile, but the project page on GitHub says you need "at least Java Runtime Environment (JRE) 21". It compiles however, so maybe this is not the problem. The real problem I think is the version mismatch with net-im/libsignal-client. See > https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal It says "Every signal-cli release requires a specific version of libsignal-client. The version number is a part of a libsignal-client-.jar filename in signal-cli's lib directory." So, for signal-cli 0.12.6, libsignal-client 0.32.1 is needed. That's why I was trying to upgrade libsignal-client before even attempting signal-cli. (And I didn't succeed yet; see previous message). You mentioned a patch for libsignal-client, but then posted one for signal-cli. Do you have the one for libsignal-client too? If so, I'm willing to test. bye & Thanks av.