Re: (Fixed) Re: Most OCaml packages have broken deps now

2023-01-26 Thread Richard W.M. Jones
On Wed, Jan 25, 2023 at 02:36:56PM -0700, Jerry James wrote:
> On Wed, Jan 25, 2023 at 2:43 AM Richard W.M. Jones  wrote:
> > I think we're fixed now.  Here is the side tag & Bodhi update:
> 
> Thank you for taking care of that.
> 
> > - I have added support for rpmautospec
> 
> That's great.
> 
> > - There is now a cyclic dependency between ocaml-pp and ocaml-dune,
> >   which I have broken by hand, but we should try to avoid it in future
> >   if possible.
> 
> Well, that was an experiment, as you and I discussed starting here:
> https://bugzilla.redhat.com/show_bug.cgi?id=2101964#c1.  Apparently,
> the result is "that doesn't work".  Thanks for fixing.

Ah right, I'd forgotten about that.

Dune is a strange package because it's mainly just a program
(/usr/bin/dune).  But we sometimes use it by installing
ocaml-dune-configurator{,-devel}.  Because these packages install some
libraries ("Configurator") it gets the full OCaml dependency hashes:

https://koji.fedoraproject.org/koji/rpminfo?rpmID=33297545

I'm not sure if in every case where we use ocaml-dune-configurator* we
really need that, or could just use /usr/bin/dune instead.  That would
avoid difficult dependency loops.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: (Fixed) Re: Most OCaml packages have broken deps now

2023-01-25 Thread Jerry James
On Wed, Jan 25, 2023 at 2:43 AM Richard W.M. Jones  wrote:
> I think we're fixed now.  Here is the side tag & Bodhi update:

Thank you for taking care of that.

> - I have added support for rpmautospec

That's great.

> - There is now a cyclic dependency between ocaml-pp and ocaml-dune,
>   which I have broken by hand, but we should try to avoid it in future
>   if possible.

Well, that was an experiment, as you and I discussed starting here:
https://bugzilla.redhat.com/show_bug.cgi?id=2101964#c1.  Apparently,
the result is "that doesn't work".  Thanks for fixing.
-- 
Jerry James
http://www.jamezone.org/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


(Fixed) Re: Most OCaml packages have broken deps now

2023-01-25 Thread Richard W.M. Jones
I think we're fixed now.  Here is the side tag & Bodhi update:

https://koji.fedoraproject.org/koji/builds?inherited=0=62208=-build_id=1

https://bodhi.fedoraproject.org/updates/FEDORA-2023-7bd037f981

 - - -

Here are the scripts I used to do the build, including the custom
make-like tool (called "goals"):

http://git.annexia.org/?p=goals.git;a=summary
http://git.annexia.org/?p=fedora-ocaml-rebuild.git;a=summary
http://oirase.annexia.org/tmp/2020-02-rjones-goals-tech-talk.mp4

- I have added support for rpmautospec

- I added a way to choose either to blindly retry failed packages, or
  [as previously] to always fail forcing you to manually fix it.

- New packages: ocaml-pp, ocaml-camlp-streams, ocaml-ppx-import

- Removed: ocaml-stdint, ocaml-jsonm

- There is now a cyclic dependency between ocaml-pp and ocaml-dune,
  which I have broken by hand, but we should try to avoid it in future
  if possible.

- I installed the new packages locally and they appear to work fine.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue