Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57234 - [ocaml] removing compiler-libcs break compilation upstream (for instance lablgtk2)

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Friday, 26 January 2018, 16:35 GMT
Last edited by Jürgen Hötzel (juergen) - Monday, 12 February 2018, 20:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Got this when building lablgtk2:

ocamlmktop -thread -o lablgtktop unix.cma threads.cma \
-I . lablgtk.cma lablrsvg.cma lablgtksourceview2.cma gtkThread.cmo
File "_none_", line 1:
Error: Cannot find file topstart.cmo
make[1]: *** [Makefile:277: lablgtktop] Error 2
make[1]: Leaving directory '/data/INSTALL/lablgtk2/src/lablgtk-2.18.6/src'
make: *** [Makefile:5: world] Error 2

I can compile when I install the compiler libraries by hand:

pacman -s ocaml-compiler-libs

The PKGBUILD file of lablgtk2 contains:

makedepends=('ocaml>=4.0.6' 'camlp4>=4.06')

ocaml PKGBUILD contains no dependencies to the compiler libraries.

The question is now: should all upstream packages add a dependency
to ocaml-compiler-libs or should ocaml depend on it?


Additional info:
* package version(s): 4.06.
* config and/or log files etc.


Steps to reproduce:

Make sure you don't have ocaml-compiler-libs installed
asp export lablgtk2
cd lablgtk2
makepkg -s
This task depends upon

Closed by  Jürgen Hötzel (juergen)
Monday, 12 February 2018, 20:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks for the report: Fixed in trunk
Comment by Doug Newgard (Scimmia) - Friday, 26 January 2018, 23:33 GMT
The description of ocaml-compiler-libs does seem to indicate that ocaml should depend on it, not the other way around.

Loading...