Opened 3 years ago
Closed 3 years ago
#64669 closed defect (duplicate)
R: Invalid value for configure.compiler:
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | powerpc, tiger | Cc: | |
Port: | R |
Description
Just invoking installation fails on:
:info:extract ---> Extracting R-4.1.2.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/R/R-4.1.2.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 DEVELOPER_DIR='/Developer' :debug:extract LIBRARY_PATH='/opt/local/lib' :debug:extract MACOSX_DEPLOYMENT_TARGET='10.4' :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.1.2.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.1.2.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :info:extract /usr/bin/gnutar: Read 1024 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 Tue Feb 15 09:54:24 CST 2022 :debug:patch Executing org.macports.patch (R) :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.1/Resources"| :debug:patch Executing reinplace: /usr/bin/sed s|R_HOME|\"/opt/local/Library/Frameworks/R.framework/Versions/4.1/Resources\"| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.1.2/src/unix/Rscript.c >@file12 :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.1.2/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.1.2/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.1.2/src/include/Defn.h >@file12 :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.1.2/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.1.2/src/include/Defn.h :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 Tue Feb 15 09:54:24 CST 2022 :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"
However this succeeds:
sudo port -v -s install r configure.compiler=macports-gcc-7
sergey-fedorovs-powerbook-g4-12:~ svacchanda$ port -v installed The following ports are currently installed: R @4.1.2_1+builtin_lapack+cairo+gcc7+openmp+recommended+x11 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-02-15T10:14:40+0800'
I guess compiler should be called depending on the OS here without a need of a custom line.
Attachments (1)
Change History (3)
Changed 3 years ago by barracuda156
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | R added; r removed |
---|---|
Summary: | r fails to configure on Tiger without specifying gcc7 on command line → R: Invalid value for configure.compiler: |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #63281.
Note: See
TracTickets for help on using
tickets.
I think the problem is that MacPorts base has not put any compilers into the list of possible compilers. I don't know why.
The same problem was reported for poppler in #64750 however the cause there may be different.