Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2023 23:13:38 +0100
From:      Rodrigo Osorio <ros@bebik.net>
To:        Andrea Venturoli <ml@netfence.it>, ports@freebsd.org
Subject:   Re: signal-cli not working anymore (help porting)
Message-ID:  <c97cdf2a-4ab4-4a41-a97f-81504bbcb372@bebik.net>
In-Reply-To: <baa9819c-6e6c-47d9-8011-5e39736ea54c@bebik.net>
References:  <e3c9422d-268b-439c-b576-3bd3b75a7361@netfence.it> <447588a2-38b9-4644-ad38-c2822577c9f5@netfence.it> <baa9819c-6e6c-47d9-8011-5e39736ea54c@bebik.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------PHC3hsI37wx0aCaXWm1ObvwS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Andrea,

Find attached the quick patch if you wanna build it on your own.
I also put a pre-build package for 14.0 amd64 in my space
https://people.freebsd.org/~rodrigo/signal-cli-0.12.6%2C1-FreeBSD14-amd64.pkg 


Feel free to test it.

On 12/12/23 19:20, Rodrigo Osorio wrote:
> Hi Andrea,
>
> I did the libsignal-client port upgrade who build on poudriere but has 
> to be tested
> Can you git it a try and tell how it works ? I can send you a pach or 
> a pre-build
I mean get not git 😛
> package if you let me know your FreeBSD version and arch.
>
> Regards
> -- Rodrigo
>
> On 12/12/23 14:29, Andrea Venturoli wrote:
>> On 12/9/23 12:27, Andrea Venturoli wrote:
>>
>>> Has anyone tried working on updating it?
>>> If so, what are the problems blocking such an update?
>>
>> Well, no one answered, so I'm giving it a try in my spare time.
>>
>> I started upgrading net-im/libsignal-client, but I already came to a 
>> showstopper (probably because I know close to nothing about rust :( ).
>>
>> I've followed the Porters' Handbook on the make makesum/make 
>> cargo-crates/make makesum instructions.
>>
>> However, the port build fails with:
>>>      Running 
>>> `/usr/ports/net-im/libsignal-client/work/target/release/build/boring-sys-0dffa970497cad40/build-script-build`
>>> [boring-sys 2.1.0] cargo:rerun-if-env-changed=BORING_BSSL_PATH
>>> [boring-sys 2.1.0] cargo:warning=fetching boringssl git submodule
>>> [boring-sys 2.1.0] error: pathspec 'deps/boringssl' did not match 
>>> any file(s) known to git
>>> [boring-sys 2.1.0] thread 'main' panicked at 'failed to fetch 
>>> submodule - consider running `git submodule update --init 
>>> --recursive deps/boringssl` yourself', 
>>> /usr/ports/net-im/libsignal-client/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/build.rs:447:17
>>> [boring-sys 2.1.0] stack backtrace:
>>> [boring-sys 2.1.0]    0: std::panicking::begin_panic
>>> [boring-sys 2.1.0]    1: build_script_build::main::{{closure}}
>>> [boring-sys 2.1.0]    2: core::result::Result<T,E>::unwrap_or_else
>>> [boring-sys 2.1.0]    3: build_script_build::main
>>> [boring-sys 2.1.0]    4: core::ops::function::FnOnce::call_once
>>> [boring-sys 2.1.0] note: Some details are omitted, run with 
>>> `RUST_BACKTRACE=full` for a verbose backtrace.
>>> The following warnings were emitted during compilation:
>>>
>>> warning: fetching boringssl git submodule
>>>
>>> error: failed to run custom build command for `boring-sys v2.1.0 
>>> (/usr/ports/net-im/libsignal-client/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys)` 
>>>
>>> note: To improve backtraces for build dependencies, set the 
>>> CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable 
>>> to enable debug information generation.
>>>
>>> Caused by:
>>>   process didn't exit successfully: 
>>> `/usr/ports/net-im/libsignal-client/work/target/release/build/boring-sys-0dffa970497cad40/build-script-build` 
>>> (exit status: 101)
>>>   --- stdout
>>>   cargo:rerun-if-env-changed=BORING_BSSL_PATH
>>>   cargo:warning=fetching boringssl git submodule
>>>
>>>   --- stderr
>>>   error: pathspec 'deps/boringssl' did not match any file(s) known 
>>> to git
>>>   thread 'main' panicked at 'failed to fetch submodule - consider 
>>> running `git submodule update --init --recursive deps/boringssl` 
>>> yourself', 
>>> /usr/ports/net-im/libsignal-client/work/boring-3809a7e1ca2f60a9495620da514f8432f148cde7/boring-sys/build.rs:447:17
>>>   stack backtrace:
>>>      0: std::panicking::begin_panic
>>>      1: build_script_build::main::{{closure}}
>>>      2: core::result::Result<T,E>::unwrap_or_else
>>>      3: build_script_build::main
>>>      4: core::ops::function::FnOnce::call_once
>>>   note: Some details are omitted, run with `RUST_BACKTRACE=full` for 
>>> a verbose backtrace.
>>> *** Error code 101
>>>
>>> Stop.
>>
>>
>> I guess this is because of the following in Cargo.toml:
>>> # Use our fork of curve25519-dalek for zkgroup support.
>>> curve25519-dalek = { git = 
>>> 'https://github.com/signalapp/curve25519-dalek', tag = 
>>> 'signal-curve25519-4.0.0' }
>>> boring = { git = 'https://github.com/signalapp/boring', branch = 
>>> 'libsignal' }
>>
>>
>> I tried playing with CARGO_USE_GITHUB=yes & Co., but I got up to 
>> nothing.
>>
>>
>> Any hint is appreciated.
>>
>>  bye & Thanks
>>     av.
>>
>
>
--------------PHC3hsI37wx0aCaXWm1ObvwS
Content-Type: text/x-patch; charset=UTF-8; name="signal-cli-0.12.6.patch"
Content-Disposition: attachment; filename="signal-cli-0.12.6.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL25ldC1pbS9zaWduYWwtY2xpL01ha2VmaWxlIGIvbmV0LWltL3NpZ25h
bC1jbGkvTWFrZWZpbGUKaW5kZXggYTE3ZGY0NDhkMTFlLi5jNmEzOTE1YjkzNGMgMTAwNjQ0
Ci0tLSBhL25ldC1pbS9zaWduYWwtY2xpL01ha2VmaWxlCisrKyBiL25ldC1pbS9zaWduYWwt
Y2xpL01ha2VmaWxlCkBAIC0xLDcgKzEsNiBAQAogUE9SVE5BTUU9CXNpZ25hbC1jbGkKIERJ
U1RWRVJTSU9OUFJFRklYPQl2Ci1ESVNUVkVSU0lPTj0JMC45LjAKLVBPUlRSRVZJU0lPTj0J
MQorRElTVFZFUlNJT049CTAuMTIuNgogUE9SVEVQT0NIPQkxCiBDQVRFR09SSUVTPQluZXQt
aW0gamF2YQog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
Ci0lJURBVEFESVIlJS9saWIvZGJ1cy1qYXZhLTMuMy4wLmphcgotJSVEQVRBRElSJSUvbGli
L2phY2tzb24tYW5ub3RhdGlvbnMtMi45LjAuamFyCi0lJURBVEFESVIlJS9saWIvamFja3Nv
bi1jb3JlLTIuOS45LmphcgotJSVEQVRBRElSJSUvbGliL2phY2tzb24tZGF0YWJpbmQtMi45
LjkuMi5qYXIKLSUlREFUQURJUiUlL2xpYi9qZmZpLTEuMy4xLW5hdGl2ZS5qYXIKLSUlREFU
QURJUiUlL2xpYi9qZmZpLTEuMy4xLmphcgotJSVEQVRBRElSJSUvbGliL2puci1hNjRhc20t
MS4wLjAuamFyCi0lJURBVEFESVIlJS9saWIvam5yLWNvbnN0YW50cy0wLjEwLjEuamFyCi0l
JURBVEFESVIlJS9saWIvam5yLWVueGlvLTAuMzIuMy5qYXIKLSUlREFUQURJUiUlL2xpYi9q
bnItZmZpLTIuMi4xLmphcgotJSVEQVRBRElSJSUvbGliL2puci1wb3NpeC0zLjEuNC5qYXIK
LSUlREFUQURJUiUlL2xpYi9qbnItdW5peHNvY2tldC0wLjM4LjUuamFyCi0lJURBVEFESVIl
JS9saWIvam5yLXg4NmFzbS0xLjAuMi5qYXIKLSUlREFUQURJUiUlL2xpYi9rb3RsaW4tc3Rk
bGliLTEuMy43MS5qYXIKLSUlREFUQURJUiUlL2xpYi9rb3RsaW4tc3RkbGliLWNvbW1vbi0x
LjMuNzEuamFyCiAlJURBVEFESVIlJS9saWIvbGliLmphcgotJSVEQVRBRElSJSUvbGliL2xp
YnBob25lbnVtYmVyLTguMTIuMTcuamFyCi0lJURBVEFESVIlJS9saWIvb2todHRwLTQuNi4w
LmphcgotJSVEQVRBRElSJSUvbGliL29raW8tanZtLTIuNi4wLmphcgotJSVEQVRBRElSJSUv
bGliL3Byb3RvYnVmLWphdmFsaXRlLTMuMTAuMC5qYXIKKyUlREFUQURJUiUlL2xpYi9IaWth
cmlDUC01LjEuMC5qYXIKKyUlREFUQURJUiUlL2xpYi9iY3Byb3YtamRrMThvbi0xLjc3Lmph
cgorJSVEQVRBRElSJSUvbGliL2NvcmUtdXRpbC1qdm0tMi4xNS4zX3Vub2ZmaWNpYWxfODgu
amFyCislJURBVEFESVIlJS9saWIvZGJ1cy1qYXZhLWNvcmUtNC4zLjEuamFyCislJURBVEFE
SVIlJS9saWIvZGJ1cy1qYXZhLXRyYW5zcG9ydC1uYXRpdmUtdW5peHNvY2tldC00LjMuMS5q
YXIKKyUlREFUQURJUiUlL2xpYi9qYWNrc29uLWFubm90YXRpb25zLTIuMTYuMC5qYXIKKyUl
REFUQURJUiUlL2xpYi9qYWNrc29uLWNvcmUtMi4xNi4wLmphcgorJSVEQVRBRElSJSUvbGli
L2phY2tzb24tZGF0YWJpbmQtMi4xNi4wLmphcgorJSVEQVRBRElSJSUvbGliL2phY2tzb24t
bW9kdWxlLWtvdGxpbi0yLjE2LjAuamFyCislJURBVEFESVIlJS9saWIvanNyMzA1LTMuMC4y
LmphcgorJSVEQVRBRElSJSUvbGliL2p1bC10by1zbGY0ai0yLjAuOS5qYXIKKyUlREFUQURJ
UiUlL2xpYi9rb3RsaW4tcmVmbGVjdC0xLjYuMjEuamFyCislJURBVEFESVIlJS9saWIva290
bGluLXN0ZGxpYi0xLjkuMTAuamFyCislJURBVEFESVIlJS9saWIva290bGluLXN0ZGxpYi1j
b21tb24tMS45LjEwLmphcgorJSVEQVRBRElSJSUvbGliL2tvdGxpbi1zdGRsaWItamRrNy0x
LjkuMTAuamFyCislJURBVEFESVIlJS9saWIva290bGluLXN0ZGxpYi1qZGs4LTEuOS4xMC5q
YXIKKyUlREFUQURJUiUlL2xpYi9saWJwaG9uZW51bWJlci04LjEzLjIzLmphcgorJSVEQVRB
RElSJSUvbGliL2xpYnNpZ25hbC1jbGllbnQtMC4zMi4xLmphcgorJSVEQVRBRElSJSUvbGli
L2xvZ2JhY2stY2xhc3NpYy0xLjQuMTEuamFyCislJURBVEFESVIlJS9saWIvbG9nYmFjay1j
b3JlLTEuNC4xMS5qYXIKKyUlREFUQURJUiUlL2xpYi9va2h0dHAtNC4xMS4wLmphcgorJSVE
QVRBRElSJSUvbGliL29raW8tanZtLTMuNi4wLmphcgogJSVEQVRBRElSJSUvbGliL3JlYWN0
aXZlLXN0cmVhbXMtMS4wLjMuamFyCiAlJURBVEFESVIlJS9saWIvcnhqYXZhLTMuMC4xMy5q
YXIKICUlREFUQURJUiUlL2xpYi9zaWduYWwtY2xpLSUlVkVSU0lPTiUlLmphcgotJSVEQVRB
RElSJSUvbGliL3NpZ25hbC1jbGllbnQtamF2YS0lJVZFUlNJT04lJS5qYXIKLSUlREFUQURJ
UiUlL2xpYi9zaWduYWwtc2VydmljZS1qYXZhLTIuMTUuM191bm9mZmljaWFsXzI3Lmphcgot
JSVEQVRBRElSJSUvbGliL3NsZjRqLWFwaS0xLjcuMzAuamFyCi0lJURBVEFESVIlJS9saWIv
c2xmNGotc2ltcGxlLTEuNy4zMC5qYXIKLSUlREFUQURJUiUlL2xpYi90aHJlZXRlbmJwLTEu
My42LmphcgotJSVEQVRBRElSJSUvbGliL3prZ3JvdXAtamF2YS0wLjcuMC5qYXIKKyUlREFU
QURJUiUlL2xpYi9zaWduYWwtc2VydmljZS1qYXZhLTIuMTUuM191bm9mZmljaWFsXzg4Lmph
cgorJSVEQVRBRElSJSUvbGliL3NsZjRqLWFwaS0yLjAuOS5qYXIKKyUlREFUQURJUiUlL2xp
Yi9zcWxpdGUtamRiYy0zLjQ0LjAuMC5qYXIKKyUlREFUQURJUiUlL2xpYi93aXJlLXJ1bnRp
bWUtanZtLTQuNC4zLmphcgo=

--------------PHC3hsI37wx0aCaXWm1ObvwS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c97cdf2a-4ab4-4a41-a97f-81504bbcb372>