Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911844 - dev-ml/camlp5-8.01.00 installs less files with FEATURES="test"
Summary: dev-ml/camlp5-8.01.00 installs less files with FEATURES="test"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-07 09:21 UTC by Agostino Sarubbo
Modified: 2024-06-05 17:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-07 09:21:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ml/camlp5-8.01.00 installs more files (docs) in presence of available programs.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with USE=-doc
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 )
3) Install the package with USE=doc
4) Install (again) the package with USE=-doc
5) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 )
6) Both files should have the same content because they come from a 'USE=-doc' build
7) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 )

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing a diff.
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-07 09:22:05 UTC
DIFF:
--- /dev/fd/63  2023-08-06 16:17:45.276853498 +0200
+++ /dev/fd/62  2023-08-06 16:17:45.276853498 +0200
@@ -1,20 +1,12 @@
 /usr/bin/camlp5
 /usr/bin/camlp5o
-/usr/bin/camlp5o.opt
 /usr/bin/camlp5r
-/usr/bin/camlp5r.opt
 /usr/bin/camlp5sch
 /usr/bin/mkcamlp5
-/usr/bin/mkcamlp5.opt
 /usr/bin/ocpp5
 /usr/lib64/ocaml/camlp5/ast2pt.cmi
-/usr/lib64/ocaml/camlp5/ast2pt.cmx
 /usr/lib64/ocaml/camlp5/ast2pt.mli
 /usr/lib64/ocaml/camlp5/asttools.cmi
-/usr/lib64/ocaml/camlp5/asttools.cmx
-/usr/lib64/ocaml/camlp5/camlp5.a
-/usr/lib64/ocaml/camlp5/camlp5.cma
-/usr/lib64/ocaml/camlp5/camlp5.cmxa
 /usr/lib64/ocaml/camlp5/camlp5o.cma
 /usr/lib64/ocaml/camlp5/camlp5r.cma
 /usr/lib64/ocaml/camlp5/camlp5sch.cma
@@ -22,219 +14,104 @@
 /usr/lib64/ocaml/camlp5/camlp5_top_funs.cmi
 /usr/lib64/ocaml/camlp5/camlp5_top_funs.cmo
 /usr/lib64/ocaml/camlp5/diff.cmi
-/usr/lib64/ocaml/camlp5/diff.cmx
 /usr/lib64/ocaml/camlp5/diff.mli
 /usr/lib64/ocaml/camlp5/eprinter.cmi
-/usr/lib64/ocaml/camlp5/eprinter.cmx
 /usr/lib64/ocaml/camlp5/eprinter.mli
 /usr/lib64/ocaml/camlp5/extfold.cmi
-/usr/lib64/ocaml/camlp5/extfold.cmx
 /usr/lib64/ocaml/camlp5/extfold.mli
 /usr/lib64/ocaml/camlp5/extfun.cmi
-/usr/lib64/ocaml/camlp5/extfun.cmx
 /usr/lib64/ocaml/camlp5/extfun.mli
 /usr/lib64/ocaml/camlp5/fstream.cmi
-/usr/lib64/ocaml/camlp5/fstream.cmx
 /usr/lib64/ocaml/camlp5/fstream.mli
 /usr/lib64/ocaml/camlp5/gramext.cmi
-/usr/lib64/ocaml/camlp5/gramext.cmx
 /usr/lib64/ocaml/camlp5/gramext.mli
-/usr/lib64/ocaml/camlp5/gramlib.a
 /usr/lib64/ocaml/camlp5/gramlib.cma
-/usr/lib64/ocaml/camlp5/gramlib.cmxa
 /usr/lib64/ocaml/camlp5/grammar.cmi
-/usr/lib64/ocaml/camlp5/grammar.cmx
 /usr/lib64/ocaml/camlp5/grammar.mli
 /usr/lib64/ocaml/camlp5/lib.sml
 /usr/lib64/ocaml/camlp5/META
 /usr/lib64/ocaml/camlp5/mLast.cmi
 /usr/lib64/ocaml/camlp5/mLast.mli
 /usr/lib64/ocaml/camlp5/mlsyntax.cmi
-/usr/lib64/ocaml/camlp5/mlsyntax.cmx
 /usr/lib64/ocaml/camlp5/ocpp.cmo
-/usr/lib64/ocaml/camlp5/odyl.a
 /usr/lib64/ocaml/camlp5/odyl.cma
 /usr/lib64/ocaml/camlp5/odyl.cmo
-/usr/lib64/ocaml/camlp5/odyl.cmx
-/usr/lib64/ocaml/camlp5/odyl.cmxa
-/usr/lib64/ocaml/camlp5/odyl.o
 /usr/lib64/ocaml/camlp5/pa_extend.cmi
 /usr/lib64/ocaml/camlp5/pa_extend.cmo
-/usr/lib64/ocaml/camlp5/pa_extend.cmx
 /usr/lib64/ocaml/camlp5/pa_extend_m.cmo
-/usr/lib64/ocaml/camlp5/pa_extend_m.cmx
-/usr/lib64/ocaml/camlp5/pa_extend_m.o
-/usr/lib64/ocaml/camlp5/pa_extend.o
 /usr/lib64/ocaml/camlp5/pa_extfold.cmo
-/usr/lib64/ocaml/camlp5/pa_extfold.cmx
-/usr/lib64/ocaml/camlp5/pa_extfold.o
 /usr/lib64/ocaml/camlp5/pa_extfun.cmo
-/usr/lib64/ocaml/camlp5/pa_extfun.cmx
-/usr/lib64/ocaml/camlp5/pa_extfun.o
 /usr/lib64/ocaml/camlp5/pa_extprint.cmo
-/usr/lib64/ocaml/camlp5/pa_extprint.cmx
-/usr/lib64/ocaml/camlp5/pa_extprint.o
 /usr/lib64/ocaml/camlp5/pa_fstream.cmo
-/usr/lib64/ocaml/camlp5/pa_fstream.cmx
-/usr/lib64/ocaml/camlp5/pa_fstream.o
 /usr/lib64/ocaml/camlp5/pa_lefteval.cmo
-/usr/lib64/ocaml/camlp5/pa_lefteval.cmx
-/usr/lib64/ocaml/camlp5/pa_lefteval.o
 /usr/lib64/ocaml/camlp5/pa_lexer.cmo
-/usr/lib64/ocaml/camlp5/pa_lexer.cmx
-/usr/lib64/ocaml/camlp5/pa_lexer.o
 /usr/lib64/ocaml/camlp5/pa_lisp.cmo
-/usr/lib64/ocaml/camlp5/pa_lisp.cmx
-/usr/lib64/ocaml/camlp5/pa_lisp.o
 /usr/lib64/ocaml/camlp5/pa_macro.cmi
 /usr/lib64/ocaml/camlp5/pa_macro.cmo
-/usr/lib64/ocaml/camlp5/pa_macro.cmx
 /usr/lib64/ocaml/camlp5/pa_macro_gram.cmi
 /usr/lib64/ocaml/camlp5/pa_macro_gram.cmo
-/usr/lib64/ocaml/camlp5/pa_macro_gram.cmx
-/usr/lib64/ocaml/camlp5/pa_macro_gram.o
-/usr/lib64/ocaml/camlp5/pa_macro.o
 /usr/lib64/ocaml/camlp5/pa_macro_print.cmo
-/usr/lib64/ocaml/camlp5/pa_macro_print.cmx
-/usr/lib64/ocaml/camlp5/pa_macro_print.o
 /usr/lib64/ocaml/camlp5/pa_mkast.cmo
-/usr/lib64/ocaml/camlp5/pa_mkast.cmx
-/usr/lib64/ocaml/camlp5/pa_mkast.o
 /usr/lib64/ocaml/camlp5/pa_mktest.cmo
-/usr/lib64/ocaml/camlp5/pa_mktest.cmx
-/usr/lib64/ocaml/camlp5/pa_mktest.o
 /usr/lib64/ocaml/camlp5/pa_o.cmo
-/usr/lib64/ocaml/camlp5/pa_o.cmx
-/usr/lib64/ocaml/camlp5/pa_o.o
 /usr/lib64/ocaml/camlp5/pa_oop.cmo
-/usr/lib64/ocaml/camlp5/pa_oop.cmx
-/usr/lib64/ocaml/camlp5/pa_oop.o
 /usr/lib64/ocaml/camlp5/pa_op.cmo
-/usr/lib64/ocaml/camlp5/pa_op.cmx
-/usr/lib64/ocaml/camlp5/pa_op.o
 /usr/lib64/ocaml/camlp5/pa_pprintf.cmo
-/usr/lib64/ocaml/camlp5/pa_pprintf.cmx
-/usr/lib64/ocaml/camlp5/pa_pprintf.o
 /usr/lib64/ocaml/camlp5/pa_pragma.cmo
-/usr/lib64/ocaml/camlp5/pa_pragma.cmx
-/usr/lib64/ocaml/camlp5/pa_pragma.o
 /usr/lib64/ocaml/camlp5/papr_phony_macro.cmo
-/usr/lib64/ocaml/camlp5/papr_phony_macro.cmx
-/usr/lib64/ocaml/camlp5/papr_phony_macro.o
 /usr/lib64/ocaml/camlp5/pa_r.cmo
-/usr/lib64/ocaml/camlp5/pa_r.cmx
 /usr/lib64/ocaml/camlp5/pa_reloc.cmo
-/usr/lib64/ocaml/camlp5/pa_reloc.cmx
-/usr/lib64/ocaml/camlp5/pa_reloc.o
-/usr/lib64/ocaml/camlp5/pa_r.o
 /usr/lib64/ocaml/camlp5/pa_rp.cmo
-/usr/lib64/ocaml/camlp5/pa_rp.cmx
-/usr/lib64/ocaml/camlp5/pa_rp.o
 /usr/lib64/ocaml/camlp5/pa_scheme.cmo
-/usr/lib64/ocaml/camlp5/pa_scheme.cmx
-/usr/lib64/ocaml/camlp5/pa_scheme.o
 /usr/lib64/ocaml/camlp5/pa_schemer.cmo
-/usr/lib64/ocaml/camlp5/pa_schemer.cmx
-/usr/lib64/ocaml/camlp5/pa_schemer.o
 /usr/lib64/ocaml/camlp5/pa_sml.cmo
-/usr/lib64/ocaml/camlp5/pa_sml.cmx
-/usr/lib64/ocaml/camlp5/pa_sml.o
 /usr/lib64/ocaml/camlp5/pcaml.cmi
-/usr/lib64/ocaml/camlp5/pcaml.cmx
 /usr/lib64/ocaml/camlp5/pcaml.mli
 /usr/lib64/ocaml/camlp5/plexer.cmi
-/usr/lib64/ocaml/camlp5/plexer.cmx
 /usr/lib64/ocaml/camlp5/plexer.mli
 /usr/lib64/ocaml/camlp5/plexing.cmi
-/usr/lib64/ocaml/camlp5/plexing.cmx
 /usr/lib64/ocaml/camlp5/plexing.mli
 /usr/lib64/ocaml/camlp5/ploc.cmi
-/usr/lib64/ocaml/camlp5/ploc.cmx
 /usr/lib64/ocaml/camlp5/ploc.mli
 /usr/lib64/ocaml/camlp5/pp_debug.cmi
-/usr/lib64/ocaml/camlp5/pp_debug.cmx
 /usr/lib64/ocaml/camlp5/pprintf.cmi
-/usr/lib64/ocaml/camlp5/pprintf.cmx
 /usr/lib64/ocaml/camlp5/pprintf.mli
 /usr/lib64/ocaml/camlp5/pr_depend.cmo
-/usr/lib64/ocaml/camlp5/pr_depend.cmx
-/usr/lib64/ocaml/camlp5/pr_depend.o
 /usr/lib64/ocaml/camlp5/pr_dump.cmo
-/usr/lib64/ocaml/camlp5/pr_dump.cmx
-/usr/lib64/ocaml/camlp5/pr_dump.o
 /usr/lib64/ocaml/camlp5/pretty.cmi
-/usr/lib64/ocaml/camlp5/pretty.cmx
 /usr/lib64/ocaml/camlp5/pretty.mli
 /usr/lib64/ocaml/camlp5/pr_extend.cmo
-/usr/lib64/ocaml/camlp5/pr_extend.cmx
-/usr/lib64/ocaml/camlp5/pr_extend.o
 /usr/lib64/ocaml/camlp5/pr_extfun.cmo
-/usr/lib64/ocaml/camlp5/pr_extfun.cmx
-/usr/lib64/ocaml/camlp5/pr_extfun.o
 /usr/lib64/ocaml/camlp5/pr_extprint.cmo
-/usr/lib64/ocaml/camlp5/pr_extprint.cmx
-/usr/lib64/ocaml/camlp5/pr_extprint.o
 /usr/lib64/ocaml/camlp5/pr_null.cmo
-/usr/lib64/ocaml/camlp5/pr_null.cmx
-/usr/lib64/ocaml/camlp5/pr_null.o
 /usr/lib64/ocaml/camlp5/pr_o.cmi
 /usr/lib64/ocaml/camlp5/pr_o.cmo
-/usr/lib64/ocaml/camlp5/pr_o.cmx
 /usr/lib64/ocaml/camlp5/pr_official.cmo
-/usr/lib64/ocaml/camlp5/pr_official.cmx
-/usr/lib64/ocaml/camlp5/pr_official.o
-/usr/lib64/ocaml/camlp5/pr_o.o
 /usr/lib64/ocaml/camlp5/pr_op.cmo
-/usr/lib64/ocaml/camlp5/pr_op.cmx
-/usr/lib64/ocaml/camlp5/pr_op.o
 /usr/lib64/ocaml/camlp5/pr_r.cmi
 /usr/lib64/ocaml/camlp5/pr_r.cmo
-/usr/lib64/ocaml/camlp5/pr_r.cmx
-/usr/lib64/ocaml/camlp5/pr_r.o
 /usr/lib64/ocaml/camlp5/pr_ro.cmo
-/usr/lib64/ocaml/camlp5/pr_ro.cmx
-/usr/lib64/ocaml/camlp5/pr_ro.o
 /usr/lib64/ocaml/camlp5/pr_rp.cmo
-/usr/lib64/ocaml/camlp5/pr_rp.cmx
-/usr/lib64/ocaml/camlp5/pr_rp.o
 /usr/lib64/ocaml/camlp5/pr_scheme.cmo
-/usr/lib64/ocaml/camlp5/pr_scheme.cmx
-/usr/lib64/ocaml/camlp5/pr_scheme.o
 /usr/lib64/ocaml/camlp5/pr_schemep.cmo
-/usr/lib64/ocaml/camlp5/pr_schemep.cmx
-/usr/lib64/ocaml/camlp5/pr_schemep.o
 /usr/lib64/ocaml/camlp5/prtools.cmi
-/usr/lib64/ocaml/camlp5/prtools.cmx
 /usr/lib64/ocaml/camlp5/prtools.mli
 /usr/lib64/ocaml/camlp5/q_ast_base.cmi
 /usr/lib64/ocaml/camlp5/q_ast_base.cmo
-/usr/lib64/ocaml/camlp5/q_ast_base.cmx
-/usr/lib64/ocaml/camlp5/q_ast_base.o
 /usr/lib64/ocaml/camlp5/q_ast.cmi
 /usr/lib64/ocaml/camlp5/q_ast.cmo
-/usr/lib64/ocaml/camlp5/q_ast.cmx
-/usr/lib64/ocaml/camlp5/q_ast.o
 /usr/lib64/ocaml/camlp5/q_MLast.cmi
 /usr/lib64/ocaml/camlp5/q_MLast.cmo
-/usr/lib64/ocaml/camlp5/q_MLast.cmx
-/usr/lib64/ocaml/camlp5/q_MLast.o
 /usr/lib64/ocaml/camlp5/q_phony.cmo
-/usr/lib64/ocaml/camlp5/q_phony.cmx
-/usr/lib64/ocaml/camlp5/q_phony.o
 /usr/lib64/ocaml/camlp5/quotation.cmi
-/usr/lib64/ocaml/camlp5/quotation.cmx
 /usr/lib64/ocaml/camlp5/quotation.mli
 /usr/lib64/ocaml/camlp5/reloc.cmi
-/usr/lib64/ocaml/camlp5/reloc.cmx
 /usr/lib64/ocaml/camlp5/reloc.mli
 /usr/lib64/ocaml/camlp5/stdpp.cmi
-/usr/lib64/ocaml/camlp5/stdpp.cmx
 /usr/lib64/ocaml/camlp5/stdpp.mli
 /usr/lib64/ocaml/camlp5/token.cmi
-/usr/lib64/ocaml/camlp5/token.cmx
 /usr/lib64/ocaml/camlp5/token.mli
 /usr/lib64/ocaml/camlp5/versdep.cmi
-/usr/lib64/ocaml/camlp5/versdep.cmx
 /usr/share/doc/camlp5-8.01.00/CHANGES.bz2
 /usr/share/doc/camlp5-8.01.00/DEVEL.bz2
 /usr/share/doc/camlp5-8.01.00/html/.gitignore
Comment 2 Tupone Alfredo gentoo-dev 2023-08-07 11:12:18 UTC
The difference here seems the use of ocamlopt use flags.

I don't know the use flags  you set
Comment 3 Agostino Sarubbo gentoo-dev 2023-08-07 14:24:11 UTC
the exact problem is that 
FEATURES="test" USE="ocamlopt" emerge dev-ml/camlp5
results in 218 installed files

while

FEATURES="-test" USE="ocamlopt" emerge dev-ml/camlp5
results in 341 installed files

so in short FEATURES="test" is the culprit
Comment 4 Larry the Git Cow gentoo-dev 2023-08-08 15:39:26 UTC
The bug has been closed via the following commit(s):

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

commit c73b540c714b22ae8ae93eb426865e525365d97b
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2023-08-08 15:38:49 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2023-08-08 15:39:06 +0000

    dev-ml/camlp5: add 8.02.00, drop 8.01.00
    
    Closes: https://bugs.gentoo.org/911844
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/camlp5/Manifest                                         | 2 +-
 dev-ml/camlp5/{camlp5-8.01.00.ebuild => camlp5-8.02.00.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 5 Agostino Sarubbo gentoo-dev 2023-08-09 06:48:32 UTC
I still can reproduce with 8.02.00
Comment 6 Larry the Git Cow gentoo-dev 2024-06-05 17:53:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16be5ca0b8d1fbf4dc57fb1f25ac46ffd7dd38bd

commit 16be5ca0b8d1fbf4dc57fb1f25ac46ffd7dd38bd
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-06-05 17:47:54 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-06-05 17:52:55 +0000

    dev-ml/camlp5: rebuild after test
    
    Closes: https://bugs.gentoo.org/911844
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/camlp5/camlp5-8.02.00-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)