Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883063 - dev-lang/R-4.2.2 - cp: cannot create regular file .../Rmath.h: No such file or directory
Summary: dev-lang/R-4.2.2 - cp: cannot create regular file .../Rmath.h: No such file o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL: https://bugs.r-project.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2022-11-25 19:57 UTC by Toralf Förster
Modified: 2022-12-27 20:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.01 KB, text/plain)
2022-11-25 19:57 UTC, Toralf Förster
Details
dev-lang:R-4.2.2:20221125-190832.log.bz2 (dev-lang:R-4.2.2:20221125-190832.log.bz2,22.66 KB, application/x-bzip)
2022-11-25 19:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,102.20 KB, text/plain)
2022-11-25 19:57 UTC, Toralf Förster
Details
environment (environment,100.95 KB, text/plain)
2022-11-25 19:57 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.71 KB, application/x-bzip)
2022-11-25 19:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,34.27 KB, application/x-bzip)
2022-11-25 19:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,51.17 KB, application/x-bzip)
2022-11-25 19:57 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 2022-11-25 19:57:37 UTC
make: Entering directory '/var/tmp/portage/dev-lang/R-4.2.2/work/R-4.2.2/src/nmath/standalone'
make[1]: Entering directory '/var/tmp/portage/dev-lang/R-4.2.2/work/R-4.2.2/src/include'
make[1]: 'Rmath.h' is up to date.
make[1]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.2/work/R-4.2.2/src/include'
cp: cannot create regular file '/var/tmp/portage/dev-lang/R-4.2.2/image/usr/include/Rmath.h': No such file or directory
make: *** [Makefile:158: install-header] Error 1 shuffle=1772471506
make: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.2/work/R-4.2.2/src/nmath/standalone'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221125-020004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-jre-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit 8f6096523dba310acac169a3ceba80a98e0ac036
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 25 18:31:51 2022 +0000

    2022-11-25 18:31:51 UTC

emerge -qpvO dev-lang/R
[ebuild  N    ] dev-lang/R-4.2.2  USE="X icu java jpeg nls openmp png readline tiff -cairo -doc -lapack -lto -minimal -perl (-prefix) -profile -test -tk"
Comment 1 Toralf Förster gentoo-dev 2022-11-25 19:57:38 UTC
Created attachment 836769 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-25 19:57:39 UTC
Created attachment 836771 [details]
dev-lang:R-4.2.2:20221125-190832.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-25 19:57:40 UTC
Created attachment 836773 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-25 19:57:42 UTC
Created attachment 836775 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-25 19:57:43 UTC
Created attachment 836777 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-25 19:57:44 UTC
Created attachment 836779 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-25 19:57:46 UTC
Created attachment 836781 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-12-27 20:01:21 UTC
The bug has been closed via the following commit(s):

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

commit d98ddafb2aef042c7ac141b041e8bfebf915910f
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2022-12-27 14:06:43 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2022-12-27 19:58:59 +0000

    dev-lang/R: attempt to fix the parallel install.
    
    We have had an "emake -j1 ... install" in this ebuild for a long time,
    but bug 883063 shows that -j1 only minimizes the risk of failure, and
    does not completely eliminate it. I've tried to reproduce the failure
    and have found a missing dependency in the upstream Makefile. This
    commit adds a patch to fix it.
    
    Now, we have one fewer build system bugs. I've removed the old -j1
    workaround, and am marking bug 883063 as resolved so that future
    installation failures are reported as new bugs: we need new reports to
    let us know that the bug fixed in this commit was not the only one, if
    that happens to be the case.
    
    Closes: https://bugs.gentoo.org/883063
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/R/R-4.2.2.ebuild                          |  3 ++-
 .../R/files/R-4.2.2-parallel-rmath-h-install.patch | 23 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)