Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939923 - dev-ml/camlpdf-2.7.1 - [gcc-15] Error: Unbound module Pdfunits
Summary: dev-ml/camlpdf-2.7.1 - [gcc-15] Error: Unbound module Pdfunits
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ivan Lloro
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-20 21:29 UTC by Toralf Förster
Modified: 2024-12-07 12:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.89 KB, text/plain)
2024-09-20 21:29 UTC, Toralf Förster
Details
dev-ml:camlpdf-2.7.1:20240920-202416.log (dev-ml:camlpdf-2.7.1:20240920-202416.log,6.27 KB, text/plain)
2024-09-20 21:29 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,145.76 KB, application/x-xz)
2024-09-20 21:29 UTC, Toralf Förster
Details
environment (environment,29.17 KB, text/plain)
2024-09-20 21:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,54.16 KB, application/x-xz)
2024-09-20 21:29 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,140.24 KB, application/x-xz)
2024-09-20 21:29 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,9.02 KB, application/x-xz)
2024-09-20 21:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-09-20 21:29:07 UTC
mkdir -p doc/camlpdf/html
rm -rf doc/camlpdf/html/*
ocamldoc -html -d doc/camlpdf/html pdfe.mli pdfutil.mli pdfio.mli pdftransform.mli pdfunits.mli pdfpaper.mli pdfcryptprimitives.mli pdf.mli pdfcrypt.mli pdfflate.mli pdfcodec.mli pdfwrite.mli pdfgenlex.mli pdfread.mli pdfjpeg.mli pdfops.mli pdfdest.mli pdfmarks.mli pdfpagelabels.mli pdftree.mli pdfst.mli pdfpage.mli pdfannot.mli pdffun.mli pdfspace.mli pdfimage.mli pdfafm.mli pdfafmdata.mli pdfglyphlist.mli pdftext.mli pdfstandard14.mli pdfdate.mli pdfocg.mli pdfmerge.mli
File "pdfpaper.mli", line 7, characters 11-21:
7 | val make : Pdfunits.t -> float -> float -> t
               ^^^^^^^^^^
Error: Unbound module Pdfunits
File "pdfcryptprimitives.mli", line 4, characters 25-36:
4 | val crypt : int array -> Pdfio.bytes -> Pdfio.bytes

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20240905-152002

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  Block bug #35155 if this looks like a parallel build issue.
  Possible reproducer: MAKEOPTS='...  shuffle=1742387175'

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 915370bf64988841c4ca0f70cb87071e1aef0a77
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 20 18:33:57 2024 +0000

    2024-09-20 18:33:57 UTC

emerge -qpvO =dev-ml/camlpdf-2.7.1
[ebuild  N    ] dev-ml/camlpdf-2.7.1  USE="examples ocamlopt -doc"
Comment 1 Toralf Förster gentoo-dev 2024-09-20 21:29:08 UTC
Created attachment 903461 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-20 21:29:09 UTC
Created attachment 903462 [details]
dev-ml:camlpdf-2.7.1:20240920-202416.log
Comment 3 Toralf Förster gentoo-dev 2024-09-20 21:29:10 UTC
Created attachment 903463 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-09-20 21:29:12 UTC
Created attachment 903464 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-20 21:29:13 UTC
Created attachment 903465 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-20 21:29:14 UTC
Created attachment 903466 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-20 21:29:15 UTC
Created attachment 903467 [details]
temp.tar.xz
Comment 8 Ivan Lloro 2024-12-03 21:47:01 UTC
This is not related to GCC (version 15 nor else) as this package is built using ocaml. Actually, this is what happens when make -jX is called for X>1. For some unknown reason, in this case the forced -j1 option in the ebuild (the purpose of "emake -j1" line) is overridden by the system's defined -j4.

What I don't understand is why it happens as, according to "man make", the last -jX option should prevail (and that is -j1).

In any case, I wonder if this "make" issue be resolved within this particular ebuild and if so, how.
Comment 9 Ivan Lloro 2024-12-07 12:34:46 UTC
Following https://wiki.gentoo.org/wiki/Bugzilla/Guide, I will close it as WORKSFORME.

1. I cannot reproduce it.

2. It does not seem related to this particular ebuild.

3. This ebuild version is been superseded by a newer one.