Re: [Rpm-maint] [rpm-software-management/rpm] Update OCaml requires/provides to ignore cmxs (PR #1814)

2021-10-27 Thread Olaf Hering
This was briefly discussed on [discuss.ocaml.org](https://discuss.ocaml.org/t/what-runtime-dependencies-are-stored-in-cmxs-files-and-in-applications-using-those-cmxs-files/8699) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

Re: [Rpm-maint] [rpm-software-management/rpm] Update OCaml requires/provides to ignore cmxs (PR #1814)

2021-10-27 Thread Olaf Hering
#913 was merged into 4.16 and 4.17. I think this fix should be backported to these branches. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1814#issuecomment-953019967

[Rpm-maint] [rpm-software-management/rpm] Update OCaml requires/provides to ignore cmxs (PR #1814)

2021-10-27 Thread Olaf Hering
Adjust ocamldeps, do nothing with cmxs files. Fixes: a6fe37c39b39acbcbd014dd1e6d5653ff84254a1 Signed-off-by: Olaf Hering <o...@aepfle.de> You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/1814 -- Commit Summary -- *

Re: [Rpm-maint] [rpm-software-management/rpm] Ocaml dependency generators running on all ELF files (#1173)

2020-04-09 Thread Olaf Hering
Well, of course it is supposed to be `magic && path`. Are you saying rpm can not do that? And if it can do `&&`, how? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/117

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-03-10 Thread Olaf Hering
Such existing flags to pass options to a script do still work. The existing known flags are handled. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1070#issuecomment-59704

Re: [Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

2020-03-05 Thread Olaf Hering
The evaluation order of `*.attr` files has nothing to do with how ocaml files are handled. It would certainly be nice if non-rpm helpers could easily replace existing rpm helpers. But this is way off-topic. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-18 Thread Olaf Hering
Will you guys please discuss and perform any separation of language support in a separate SR, please?! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1070#issuecomment-58

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-15 Thread Olaf Hering
@olafhering pushed 1 commit. dddabb30a808a803d00d9543f09cf201eae85102 update OCaml requires/provides to cover also cmx -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/1070/files/9f04b41e653da201a6350b0

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-15 Thread Olaf Hering
@olafhering pushed 1 commit. 9f04b41e653da201a6350b00482309d4be272519 update OCaml requires/provides to cover also cmx -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/1070/files/03ff54739629181e9877920

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-15 Thread Olaf Hering
> While we are on it, shouldn't we move these to rpm-extras? That is up to you guys. But this must be a separate SR. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1070#is

Re: [Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-14 Thread Olaf Hering
olafhering commented on this pull request. > +} +# +# +usage() { +echo >&2 "Usage: ${0##*/} -prov|-req [-f 'ocamlobjinfo cmd']" +} +# +mode= +ignore_implementation_a=() +ignore_interface_a=() +while test "$#" -gt 0 +do + : "${1}" "${2}" + case "${1}" in +-prov) mode='prov' ;; +-req

[Rpm-maint] [rpm-software-management/rpm] update OCaml requires/provides to cover also cmx (#1070)

2020-02-14 Thread Olaf Hering
ique. Therefore this dependency is no longer created. The option -c, which excluded this dependency, is still recognized. Fixes #913 Signed-off-by: Olaf Hering <o...@aepfle.de> You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pu

Re: [Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

2020-02-10 Thread Olaf Hering
In which order is `/usr/lib/rpm/fileattrs/*.attr` evaluated? Is there a safe way to override the content of `%_rpmconfigdir/fileattrs/ocaml.attr` (part of rpm.rpm) with another file from my own `ocaml-rpm-macros.rpm` package? -- You are receiving this because you are subscribed to this thread.

Re: [Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

2019-10-24 Thread Olaf Hering
One the other hand: are these cmxs files are really supposed to be stand-alone? If they were in the -devel.rpm along with their cm* siblings, the issue would not exist. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https:

Re: [Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

2019-10-24 Thread Olaf Hering
Sure. Will replace the greppery with awkery. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/913#issuecomment-545881682___ Rpm-

[Rpm-maint] [rpm-software-management/rpm] ocaml-find-requires.sh should also consider cmxs files (#913)

2019-10-23 Thread Olaf Hering
I do not know much about OCaml *.cmxs files. According to `ocamlobjinfo /usr/lib64/ocaml/unix.cmxs` this file expects a certain hash of other functions provided by other OCaml libraries. I am sure if these functions change the `*.cmxs` library can not be used anymore, just like an ordinary ELF f

[Rpm-maint] [rpm-software-management/rpm] rpm -qpv --provides: error: incorrect format: array iterator used with different sized arrays (#402)

2018-03-01 Thread Olaf Hering
It is valid to list files and provides of an uninstalled pkg. This broke recently, likely with 4.14.1: # rpm -q rpm rpm-4.14.1-2.1.x86_64 Distribution: openSUSE Tumbleweed # zypper -n in -ydD libfdt-devel # rpm -qpliv --provides /var/cache/zypp/packages/oss/suse/x86_64/libfdt-devel-1.4.4-1.