Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust

2023-07-30 Thread Jon Turney via Cygwin-apps

On 27/07/2023 07:46, 小さい猫 via Cygwin-apps wrote:

Hello.

Recently, for my personal needs, I have been trying to tweak and upgrade the 
following packages: llvm, compiler-rt, libunwind, libcxxabi, libcxx, clang 
(upgrading version by version from the original 9.0.1, and currently upgraded 
to version 12.0.1).

I imported some useful patches from Fedora RPMs, MinGW packages from MSYS2, and 
okuoku's llvm fork[1].

For patches and modified cygport files, the repos are here: 
https://github.com/orgs/ookiineko-cygpkg/repositories (commit histories are 
preserved).


Thanks.  This is awesome (and long needed!) work.

I'd suggest, if possible, you try to upstream your patches, as you are 
likely to get more knowledgable review there, but we'll try to take a 
look at them...


I would like to ask why you've dropped debuginfo package generation, and 
why LLVM_CONFIG_PATH needs explicitly setting, in most packages?


Re: [PATCH cygport] lib/src_prep.cygpart: Fix incorrect options passed to unzstd in unpack()

2023-07-30 Thread ASSI via Cygwin-apps
yak_ex via Cygwin-apps writes:
> `unpack()` invokes `unzstd` for a *.zst file as
> `unzstd -qo file.zst`
> Then, an error occurs as 'stdin is a console, aborting',
> because the `-o` option is to specify an output file name.

Indeed, sorry for that.

> There are some choices to fix it. This patch aligns with handling .gz
> and .bz2 like
> `unzstd -c file.zst > file`.

Hmm. I'd would have preferred to use the --keep option (which is the
default for unzstd anyway) and save the redirection (also for the other
programs that offer that option).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


Re: [PATCH cygport] lib/src_prep.cygpart: Fix incorrect options passed to unzstd in unpack()

2023-07-30 Thread Jon Turney via Cygwin-apps

On 29/07/2023 21:55, yak_ex via Cygwin-apps wrote:

Hi maintainers,

This is my first post here.
The attached tiny patch fixes incorrect options passed to unzstd in unpack()
in lib/src_prep.cygpart.

`unpack()` invokes `unzstd` for a *.zst file as
`unzstd -qo file.zst`
Then, an error occurs as 'stdin is a console, aborting',
because the `-o` option is to specify an output file name.

There are some choices to fix it. This patch aligns with handling .gz
and .bz2 like
`unzstd -c file.zst > file`.


Thanks very much.

Do you have an example of a cygport which fails without this fix, so I 
can add a test for this?