Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750263 - dev-ml/ocamlgraph-1.8.8-r1 - ocamlfind: dgraph/dgraph.o: No such file or directory
Summary: dev-ml/ocamlgraph-1.8.8-r1 - ocamlfind: dgraph/dgraph.o: No such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
: 711046 (view as bug list)
Depends on:
Blocks: 749669
  Show dependency tree
 
Reported: 2020-10-19 22:37 UTC by ernsteiswuerfel
Modified: 2022-01-18 20:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ocamlgraph-1.8.8-r1:20201019-223241.log,51.01 KB, text/plain)
2020-10-19 22:37 UTC, ernsteiswuerfel
Details
emerge --info (file_750263.txt,5.96 KB, text/plain)
2020-10-19 22:38 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-10-19 22:37:30 UTC
Created attachment 667217 [details]
build.log

[...]
>>> Source compiled.
>>> Test phase [not enabled]: dev-ml/ocamlgraph-1.8.8-r1

>>> Install dev-ml/ocamlgraph-1.8.8-r1 into /var/tmp/portage/dev-ml/ocamlgraph-1.8.8-r1/image/
make -j16 -l18 install-findlib 
ocamlfind install  ocamlgraph META \
	src/*.mli view_graph/*.mli dgraph/*.mli \
	graph.cmo graph.cmi \
	graph.cma \
	view_graph/viewgraph.cmo view_graph/viewgraph.cmi \
                dgraph/dgraph.cmo dgraph/dgraph.cmi \
                graph.o graph.a graph.cmx graph.cmxa graph.cmxs view_graph/viewgraph.cmx view_graph/viewgraph.o dgraph/dgraph.cmx dgraph/dgraph.o
ocamlfind: dgraph/dgraph.o: No such file or directory
make: *** [Makefile:447: install-findlib] Error 2
 * ERROR: dev-ml/ocamlgraph-1.8.8-r1::gentoo failed (install phase):


I noticed that during tatt testing. Only builds with USE +gtk +ocamlopt succeed:

 # cat ocamlgraph-749669.report 
USE tests started on Mo 19. Okt 23:56:46 CEST 2020

FEATURES=' test' USE='gtk' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples -gtk -ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples -gtk -ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples gtk -ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc examples gtk -ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples gtk -ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
Comment 1 ernsteiswuerfel archtester 2020-10-19 22:38:03 UTC
Created attachment 667220 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 04:43:53 UTC
Is USE=+ocamlopt set globally? Flipping that requires global changes.

Could you also include --complete-graph in your EMERGE_DEFAULT_OPTS because of issues like 731150?
Comment 3 ernsteiswuerfel archtester 2020-10-20 12:50:45 UTC
(In reply to Sam James from comment #2)
> Is USE=+ocamlopt set globally? Flipping that requires global changes.
> 
> Could you also include --complete-graph in your EMERGE_DEFAULT_OPTS because
> of issues like 731150?

Added EMERGE_DEFAULT_OPTS="--complete-graph" to my make.conf and added ocamlopt to my USE-flags there. An emerge -uND world did change nothing however.

With USE=+ocamlopt tatt tests look like that:

 # cat ocamlgraph-749669.report 
USE tests started on Di 20. Okt 11:25:17 CEST 2020

FEATURES=' test' USE='gtk' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples -gtk ocamlopt' failed for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc -examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc -examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='-doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1
USE='doc examples gtk ocamlopt' succeeded for =dev-ml/ocamlgraph-1.8.8-r1

So for a successful build +ocamlopt and +gtk are necessary it seems. If one of these two is not set the emerge fails.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-20 14:36:54 UTC
OK, thanks.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-19 00:42:36 UTC
*** Bug 711046 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2022-01-18 20:28:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e80258c7f1020dfae14f7548187703fecc9a236

commit 3e80258c7f1020dfae14f7548187703fecc9a236
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-01-18 20:27:55 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-01-18 20:27:55 +0000

    dev-ml/ocamlgraph: lablgtk is no more automagically discovered
    
    Closes: https://bugs.gentoo.org/750263
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)