Skip to content

3.24.0 breaks lablgtk3 #15429

Description

@0-wiz-0

Expected Behavior

After updating dune in pkgsrc from 3.23.1 to 3.24.0, the build of lablgtk3 3.1.5 broke.

Actual Behavior

File "src-sourceview3/dune", lines 9-11, characters 0-115:
 9 | (rule
10 |  (targets gtkSourceView3Props.ml ogtkSourceView3Props.ml)
11 |  (action (run propcc %{dep:gtkSourceView3.props})))
(cd _build/default/src-sourceview3 && ../.bin/propcc ./gtkSourceView3.props)
Uncaught exception: Sys_error("o./gtkSourceView3Props.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkSourceView3Props.ml: No such file or directory")
File "src/dune-prop.sexp", lines 58-60, characters 0-94:
58 | (rule
59 |  (targets gtkTextProps.ml ogtkTextProps.ml)
60 |  (action (run propcc %{dep:gtkText.props})))
(cd _build/default/src && ../.bin/propcc ./gtkText.props)
Warning: no conversion for type PangoTabArray in class GtkTextView
Warning: no conversion for type PangoTabArray in class GtkTextTag
Uncaught exception: Sys_error("o./gtkTextProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkTextProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 14-16, characters 0-94:
14 | (rule
15 |  (targets gtkBaseProps.ml ogtkBaseProps.ml)
16 |  (action (run propcc %{dep:gtkBase.props})))
(cd _build/default/src && ../.bin/propcc ./gtkBase.props)
Warning: no conversion for type GdkWindow_opt in class GtkWidget
Uncaught exception: Sys_error("o./gtkBaseProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkBaseProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 10-12, characters 0-109:
10 | (rule
11 |  (targets gtkAssistantProps.ml ogtkAssistantProps.ml)
12 |  (action (run propcc %{dep:gtkAssistant.props})))
(cd _build/default/src && ../.bin/propcc ./gtkAssistant.props)
Uncaught exception: Sys_error("o./gtkAssistantProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkAssistantProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 30-32, characters 0-94:
30 | (rule
31 |  (targets gtkEditProps.ml ogtkEditProps.ml)
32 |  (action (run propcc %{dep:gtkEdit.props})))
(cd _build/default/src && ../.bin/propcc ./gtkEdit.props)
Uncaught exception: Sys_error("o./gtkEditProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkEditProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 42-44, characters 0-94:
42 | (rule
43 |  (targets gtkMenuProps.ml ogtkMenuProps.ml)
44 |  (action (run propcc %{dep:gtkMenu.props})))
(cd _build/default/src && ../.bin/propcc ./gtkMenu.props)
Uncaught exception: Sys_error("o./gtkMenuProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkMenuProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 34-36, characters 0-94:
34 | (rule
35 |  (targets gtkFileProps.ml ogtkFileProps.ml)
36 |  (action (run propcc %{dep:gtkFile.props})))
(cd _build/default/src && ../.bin/propcc ./gtkFile.props)
Uncaught exception: Sys_error("o./gtkFileProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkFileProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 6-8, characters 0-100:
6 | (rule
7 |  (targets gtkActionProps.ml ogtkActionProps.ml)
8 |  (action (run propcc %{dep:gtkAction.props})))
(cd _build/default/src && ../.bin/propcc ./gtkAction.props)
Uncaught exception: Sys_error("o./gtkActionProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkActionProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 50-52, characters 0-94:
50 | (rule
51 |  (targets gtkPackProps.ml ogtkPackProps.ml)
52 |  (action (run propcc %{dep:gtkPack.props})))
(cd _build/default/src && ../.bin/propcc ./gtkPack.props)
Uncaught exception: Sys_error("o./gtkPackProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkPackProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 62-64, characters 0-94:
62 | (rule
63 |  (targets gtkTreeProps.ml ogtkTreeProps.ml)
64 |  (action (run propcc %{dep:gtkTree.props})))
(cd _build/default/src && ../.bin/propcc ./gtkTree.props)
Warning: no conversion for type PangoAttrList in class GtkCellRendererText
Uncaught exception: Sys_error("o./gtkTreeProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkTreeProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 22-24, characters 0-103:
22 | (rule
23 |  (targets gtkBuilderProps.ml ogtkBuilderProps.ml)
24 |  (action (run propcc %{dep:gtkBuilder.props})))
(cd _build/default/src && ../.bin/propcc ./gtkBuilder.props)
Uncaught exception: Sys_error("o./gtkBuilderProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkBuilderProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 54-56, characters 0-97:
54 | (rule
55 |  (targets gtkRangeProps.ml ogtkRangeProps.ml)
56 |  (action (run propcc %{dep:gtkRange.props})))
(cd _build/default/src && ../.bin/propcc ./gtkRange.props)
Uncaught exception: Sys_error("o./gtkRangeProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkRangeProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 26-28, characters 0-100:
26 | (rule
27 |  (targets gtkButtonProps.ml ogtkButtonProps.ml)
28 |  (action (run propcc %{dep:gtkButton.props})))
(cd _build/default/src && ../.bin/propcc ./gtkButton.props)
Uncaught exception: Sys_error("o./gtkButtonProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkButtonProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 2-4, characters 0-112:
2 | (rule
3 |  (targets gtkContainersProps.ml ogtkContainersProps.ml)
4 |  (action (run propcc %{dep:gtkContainers.props})))
(cd _build/default/src && ../.bin/propcc ./gtkContainers.props)
Uncaught exception: Sys_error("o./gtkContainersProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkContainersProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 18-20, characters 0-91:
18 | (rule
19 |  (targets gtkBinProps.ml ogtkBinProps.ml)
20 |  (action (run propcc %{dep:gtkBin.props})))
(cd _build/default/src && ../.bin/propcc ./gtkBin.props)
Uncaught exception: Sys_error("o./gtkBinProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkBinProps.ml: No such file or directory")
File "src/dune-prop.sexp", lines 46-48, characters 0-94:
46 | (rule
47 |  (targets gtkMiscProps.ml ogtkMiscProps.ml)
48 |  (action (run propcc %{dep:gtkMisc.props})))
(cd _build/default/src && ../.bin/propcc ./gtkMisc.props)
Warning: no conversion for type PangoAttrList in class GtkLabel
Warning: no conversion for type GIcon in class GtkImage
Warning: no conversion for type GdkPixbufAnimation in class GtkImage
Warning: no conversion for type CairoSurface in class GtkImage
Uncaught exception: Sys_error("o./gtkMiscProps.ml: No such file or directory")
Fatal error: exception Sys_error("o./gtkMiscProps.ml: No such file or directory")
*

The file exists, but in a different location:

_build/default/src/gtkMiscProps.ml

Reproduction

Try building lablgtk 3.1.5 using pkgsrc dependencies and:

dune build -j 16   -p lablgtk3,lablgtk3-gtkspell3,lablgtk3-sourceview3  @install

Specifications

  • Version of dune (output of dune --version): "n/a" (not sure why, it is 3.24.0 - file a separate bug report or a bug in the packaging?)
  • Version of ocaml (output of ocamlc --version): 4.14.3
  • Operating system (distribution and version): NetBSD 11.99.6/x86_64

Additional information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions