Opened 19 months ago

Last modified 19 months ago

#67251 assigned defect

R fails to configure on Tiger: Failed to configure R: Invalid value for configure.compiler

Reported by: barracuda156 Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger Cc: i0ntempest
Port: R

Description

version:1
:debug:clean Starting logging for R @4.2.3_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11
:debug:sysinfo Mac OS X 10.4.11 (darwin/8.11.0) arch powerpc
:debug:sysinfo MacPorts 2.8.0
:debug:sysinfo Xcode 2.5, CLT none
:debug:sysinfo SDK 10.4
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.4
:msg:clean --->  Computing dependencies for R:info:clean .:debug:clean R has no conflicts
:debug:clean Searching for dependency: pkgconfig
:debug:clean Found Dependency: receipt exists for pkgconfig
:debug:clean Searching for dependency: gcc7
:debug:clean Found Dependency: receipt exists for gcc7
:debug:clean Searching for dependency: readline
:debug:clean Found Dependency: receipt exists for readline
:debug:clean Searching for dependency: icu
:debug:clean Found Dependency: receipt exists for icu
:debug:clean Searching for dependency: libiconv
:debug:clean Found Dependency: receipt exists for libiconv
:debug:clean Searching for dependency: zlib
:debug:clean Found Dependency: receipt exists for zlib
:debug:clean Searching for dependency: pcre
:debug:clean Found Dependency: receipt exists for pcre
:debug:clean Searching for dependency: pcre2
:debug:clean Found Dependency: receipt exists for pcre2
:debug:clean Searching for dependency: libjpeg-turbo
:debug:clean Found Dependency: receipt exists for libjpeg-turbo
:debug:clean Searching for dependency: tiff
:debug:clean Found Dependency: receipt exists for tiff
:debug:clean Searching for dependency: libpng
:debug:clean Found Dependency: receipt exists for libpng
:debug:clean Searching for dependency: curl
:debug:clean Found Dependency: receipt exists for curl
:debug:clean Searching for dependency: less
:debug:clean Found Dependency: receipt exists for less
:debug:clean Searching for dependency: texinfo
:debug:clean Found Dependency: receipt exists for texinfo
:debug:clean Searching for dependency: bzip2
:debug:clean Found Dependency: receipt exists for bzip2
:debug:clean Searching for dependency: gzip
:debug:clean Found Dependency: receipt exists for gzip
:debug:clean Searching for dependency: zip
:debug:clean Found Dependency: receipt exists for zip
:debug:clean Searching for dependency: unzip
:debug:clean Found Dependency: receipt exists for unzip
:debug:clean Searching for dependency: gnutar
:debug:clean Found Dependency: receipt exists for gnutar
:debug:clean Searching for dependency: xz
:debug:clean Found Dependency: receipt exists for xz
:debug:clean Searching for dependency: libgcc
:debug:clean Found Dependency: receipt exists for libgcc
:debug:clean Searching for dependency: cairo
:debug:clean Found Dependency: receipt exists for cairo
:debug:clean Searching for dependency: pango
:debug:clean Found Dependency: receipt exists for pango
:debug:clean Searching for dependency: glib2
:debug:clean Found Dependency: receipt exists for glib2
:debug:clean Searching for dependency: freetype
:debug:clean Found Dependency: receipt exists for freetype
:debug:clean Searching for dependency: fontconfig
:debug:clean Found Dependency: receipt exists for fontconfig
:debug:clean Searching for dependency: gettext-runtime
:debug:clean Found Dependency: receipt exists for gettext-runtime
:debug:clean Searching for dependency: xorg-libsm
:debug:clean Found Dependency: receipt exists for xorg-libsm
:debug:clean Searching for dependency: xorg-libice
:debug:clean Found Dependency: receipt exists for xorg-libice
:debug:clean Searching for dependency: xorg-libX11
:debug:clean Found Dependency: receipt exists for xorg-libX11
:debug:clean Searching for dependency: xorg-libXt
:debug:clean Found Dependency: receipt exists for xorg-libXt
:debug:clean Searching for dependency: legacy-support
:debug:clean Found Dependency: receipt exists for legacy-support
:debug:main Executing org.macports.main (R)
:debug:main dropping privileges: euid changed to 502, egid changed to 500.
:debug:archivefetch archivefetch phase started at Mon Apr 17 03:21:59 CST 2023
:msg:archivefetch --->  Fetching archive for R
:debug:archivefetch Executing proc-pre-org.macports.archivefetch-archivefetch-0
:debug:archivefetch Executing org.macports.archivefetch (R)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/500
:info:archivefetch --->  R-4.2.3_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch R-4.2.3_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11.darwin_8.ppc.tbz2 from http://packages.macports.org/R
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch R-4.2.3_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/R
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch R-4.2.3_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11.darwin_8.ppc.tbz2 from http://atl.us.packages.macports.org/R
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Apr 17 03:22:02 CST 2023
:notice:fetch --->  Fetching distfiles for R
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing org.macports.fetch (R)
:info:fetch --->  R-4.2.3.tar.gz does not exist in /opt/local/var/macports/distfiles/R
:notice:fetch --->  Attempting to fetch R-4.2.3.tar.gz from https://cran.rstudio.com/src/base/R-4/
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Apr 17 03:23:22 CST 2023
:notice:checksum --->  Verifying checksums for R
:debug:checksum Executing org.macports.checksum (R)
:info:checksum --->  Checksumming R-4.2.3.tar.gz
:debug:checksum Calculated (rmd160) is c46686207d55e9f6fcd52049a8f1b7c542ad0483
:debug:checksum Correct (rmd160) checksum for R-4.2.3.tar.gz
:debug:checksum Calculated (sha256) is 55e4a9a6d43be314e2c03d0266a6fa5444afdce50b303bfc3b82b3979516e074
:debug:checksum Correct (sha256) checksum for R-4.2.3.tar.gz
:debug:checksum Calculated (size) is 34010655
:debug:checksum Correct (size) checksum for R-4.2.3.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Apr 17 03:23:24 CST 2023
:notice:extract --->  Extracting R
:debug:extract Executing org.macports.extract (R)
:info:extract --->  Extracting R-4.2.3.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/R/R-4.2.3.tar.gz'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:extract C_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:extract DEVELOPER_DIR='/Developer'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:extract MACPORTS_LEGACY_SUPPORT_CPPFLAGS='-isystem/opt/local/include/LegacySupport'
:debug:extract MACPORTS_LEGACY_SUPPORT_ENABLED='1'
:debug:extract MACPORTS_LEGACY_SUPPORT_LDFLAGS='-L/opt/local/lib -lMacportsLegacySupport'
:debug:extract OBJCPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport'
:debug:extract OBJC_INCLUDE_PATH='/opt/local/include/LegacySupport'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/R/R-4.2.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/R/R-4.2.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract /usr/bin/gnutar: Read 6656 bytes from -
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work to macports
:debug:extract euid/egid changed to: 502/500
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Apr 17 03:23:41 CST 2023
:debug:patch Executing org.macports.patch (R)
:notice:patch --->  Applying patches to R
:info:patch --->  Applying patch-curl.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.4'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/math/R/files/patch-curl.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/math/R/files/patch-curl.diff'
:info:patch patching file configure
:debug:patch Executing proc-post-org.macports.patch-patch-0
:info:patch --->  Patching Rscript.c: s|R_HOME|"/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources"|
:debug:patch Executing reinplace: /usr/bin/sed s|R_HOME|\"/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources\"| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/unix/Rscript.c >@file14
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/unix/Rscript.c to macports
:debug:patch euid/egid changed to: 502/500
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/unix/Rscript.c
:debug:patch euid/egid changed to: 502/500
:info:patch --->  Patching Defn.h: s|<libintl.h>|"libintl.h"|
:debug:patch Executing reinplace: /usr/bin/sed s|<libintl.h>|\"libintl.h\"| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/include/Defn.h >@file14
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/include/Defn.h to macports
:debug:patch euid/egid changed to: 502/500
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/include/Defn.h
:debug:patch euid/egid changed to: 502/500
:info:patch --->  Patching localtime.c: s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g
:debug:patch Executing reinplace: /usr/bin/sed s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/extra/tzone/localtime.c >@file14
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/extra/tzone/localtime.c to macports
:debug:patch euid/egid changed to: 502/500
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/extra/tzone/localtime.c
:debug:patch euid/egid changed to: 502/500
:info:patch --->  Patching timezones.Rd: s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g
:debug:patch Executing reinplace: /usr/bin/sed s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/man/timezones.Rd >@file14
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/man/timezones.Rd to macports
:debug:patch euid/egid changed to: 502/500
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/man/timezones.Rd
:debug:patch euid/egid changed to: 502/500
:info:patch --->  Patching datetime.R: s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g
:debug:patch Executing reinplace: /usr/bin/sed s|/var/db/timezone/zoneinfo|/usr/share/zoneinfo|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/R/datetime.R >@file14
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/R/datetime.R to macports
:debug:patch euid/egid changed to: 502/500
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3/src/library/base/R/datetime.R
:debug:patch euid/egid changed to: 502/500
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Apr 17 03:23:42 CST 2023
:notice:configure --->  Configuring R
:error:configure Failed to configure R: Invalid value for configure.compiler: 
:debug:configure Error code: NONE
:debug:configure Backtrace: Invalid value for configure.compiler: 
:debug:configure     while executing
:debug:configure "[ditem_key $ditem prerun] $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/main.log for details.

Change History (5)

comment:1 Changed 19 months ago by barracuda156

Worked with manual passing of configure.compiler=macports-gcc-7 on command line.

comment:2 Changed 19 months ago by kencu (Ken)

try disabling the openmp variant

base sets the min gcc to 8 for openmp >= 4.5, but Tiger currently has only up to gcc7, so there is no compiler that can satisfy the requirement.

comment:4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: i0ntempest added
Owner: changed from i0ntempest to kjellpk

comment:5 in reply to:  2 Changed 19 months ago by barracuda156

Replying to kencu:

try disabling the openmp variant

base sets the min gcc to 8 for openmp >= 4.5, but Tiger currently has only up to gcc7, so there is no compiler that can satisfy the requirement.

Thank you, will try that out.

Note: See TracTickets for help on using tickets.