Overview

Request 604407 accepted

Dose3 is a framework made of several OCaml libraries for managing distribution packages and their dependencies.

It is a dependency of opam.

Loading...

Dominique Leuenberger's avatar

+%{_libdir}/ocaml/%{_name}/*.a

No static libraries should be packaged, or if they are needed, adhere to the packaging guidelines for static libraries (split out into a -devel-static package)


Olaf Hering's avatar

Thats how it is done, objects to be used by other consumers are packaged in archives. There is no other way. Shared libs do not exist.


Dominique Leuenberger's avatar

Argh! Right.. ocaml is this weird thing with all static libs

please re-open the request


Jan Engelhardt's avatar

They exist, just cleverly hidden:

# readelf -a /usr/lib64/ocaml/re/str/re_str.cmxs | grep DYN
  Type:                              DYN (Shared object file)

With the .a file being the same size as .cmxs or more, this suggests the code is in fact duplicated (unlike Windows implib archives for example):

12:49 a4:~ # l -og /usr/lib64/ocaml/re/re.cmxs /usr/lib64/ocaml/re/re.a 
-rw-r--r-- 1 524236 Apr 27 19:55 /usr/lib64/ocaml/re/re.a
-rwxr-xr-x 1 382248 Apr 27 19:55 /usr/lib64/ocaml/re/re.cmxs

though there may be symbols in the .a that did not transpire into the .dynsym section of the .cmxs so that it may be impossible to just link to the .cmxs like it is possible for C,C++ libraries.


Dominique Leuenberger's avatar

Also:

ocaml-dose-devel.x86_64: W: non-standard-group Development/Languages/OCaml
ocaml-dose.src: W: non-standard-group Development/Languages/OCaml
ocaml-dose.x86_64: W: non-standard-group Development/Languages/OCaml

Should be addressed (possibly by registering this group with rpmlint)

Request History
Andy Li's avatar

onthewings created request

Dose3 is a framework made of several OCaml libraries for managing distribution packages and their dependencies.

It is a dependency of opam.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:18"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:18


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar declined review

+%{_libdir}/ocaml/%{_name}/*.a

No static libraries should be packaged, or if they are needed, adhere to the packaging guidelines for static libraries (split out into a -devel-static package)

Also:

ocaml-dose-devel.x86_64: W: non-standard-group Development/Languages/OCaml
ocaml-dose.src: W: non-standard-group Development/Languages/OCaml
ocaml-dose.x86_64: W: non-standard-group Development/Languages/OCaml

Should be addressed (possibly by registering this group with rpmlint)


Dominique Leuenberger's avatar

dimstar declined request

+%{_libdir}/ocaml/%{_name}/*.a

No static libraries should be packaged, or if they are needed, adhere to the packaging guidelines for static libraries (split out into a -devel-static package)

Also:

ocaml-dose-devel.x86_64: W: non-standard-group Development/Languages/OCaml
ocaml-dose.src: W: non-standard-group Development/Languages/OCaml
ocaml-dose.x86_64: W: non-standard-group Development/Languages/OCaml

Should be addressed (possibly by registering this group with rpmlint)


Dominique Leuenberger's avatar

dimstar reopened request

retry


Dominique Leuenberger's avatar

dimstar accepted review


Staging Bot's avatar

staging-bot accepted review

ready to accept


Staging Bot's avatar

staging-bot approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by