#67256 closed defect (fixed)

R-polspline @1.1.22: shouldn't be marked noarch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: arm64 Cc:
Port: R-polspline, R-Hmisc, R-rms

Description

https://build.macports.org/builders/ports-12_arm64-builder/builds/89357/steps/install-port/logs/stdio

/opt/local/bin/clang-mp-15 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/Library/Frameworks/R.framework/Resources/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -o rms.so init.o lrmfit.o mlmats.o ormuv.o robcovf.o -L/opt/local/lib/gcc12/gcc/arm64-apple-darwin21/12.2.0 -L/opt/local/lib/gcc12 -lgfortran -lemutls_w -lquadmath -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: could not create compact unwind for _lrmfit_: registers 76 and 77 not saved contiguously in frame
ld: warning: could not create compact unwind for _emutls_destroy: registers 21 and 22 not saved contiguously in frame
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_R_R-rms/R-rms/work/destroot/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-rms/00new/rms/libs
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/polspline/libs/polspline.so':
  dlopen(/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/polspline/libs/polspline.so, 0x0006): tried: '/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/polspline/libs/polspline.so' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘rms’

Change History (4)

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Port: R-polspline R-Hmisc added
Summary: R-rms @6.6-0: unable to load shared object ... tried ... polspline.so (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))R-polspline @1.1.22: shouldn't be marked noarch

R-polspline is the port that provides polspline.so. The R-polspline port is marked noarch but it evidently it shouldn't be. After fixing this, we'll need to schedule builds for everything depending on R-polspline (looks like R-Hmisc and R-rms).

comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Perhaps is the problem that led to [f82f293a5bfe1221347bc9fec2e954ed16ac1df8/macports-ports] and when fixing it that can be reverted.

comment:3 in reply to:  2 Changed 13 months ago by barracuda156

Replying to ryandesign:

Perhaps is the problem that led to [f82f293a5bfe1221347bc9fec2e954ed16ac1df8/macports-ports] and when fixing it that can be reverted.

Indeed, it should not be noarch, sorry, that was somehow missed. I will fix that it coming R-related PR. Thank you for noticing!

comment:4 Changed 13 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In a3d4b2ee0b9e9ba459b567be3294017b1faf623a/macports-ports (master):

R-polspline: drop erroneous noarch

Fixes: #67256

Note: See TracTickets for help on using tickets.