Opened 5 weeks ago

Last modified 5 days ago

#63717 assigned defect

vecLibFort @0.4.2_0: error: conflicting types for 'sdsdot_'

Reported by: Nevensky (Neven Golenić) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port: vecLibFort

Description (last modified by Nevensky (Neven Golenić))

Unfortunately vecLibFort fails to build on macOS Monterey 12.0.1 (intel cpu, I don't know about M1), it is a dependency for some physics related packages like Quantum Espresso so its quite important.

--->  Fetching archive for vecLibFort
--->  Attempting to fetch vecLibFort-0.4.2_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/vecLibFort
--->  Attempting to fetch vecLibFort-0.4.2_0.darwin_21.x86_64.tbz2 from https://fra.de.packages.macports.org/vecLibFort
--->  Attempting to fetch vecLibFort-0.4.2_0.darwin_21.x86_64.tbz2 from https://cph.dk.packages.macports.org/vecLibFort
--->  Building vecLibFort
Error: Failed to build vecLibFort: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_vecLibFort/vecLibFort/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is
a bug.
Error: Processing of port vecLibFort failed

Attachments (2)

main.log (69.2 KB) - added by Nevensky (Neven Golenić) 5 weeks ago.
main.log
main.2.log (20.4 KB) - added by TruePath (Peter Gerdes) 5 weeks ago.
main.log from build on Montery with M1

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 weeks ago by Nevensky (Neven Golenić)

Description: modified (diff)
Summary: vecLibFort @0.4.2_0 (darwin_21.x86_64) fails to build on macOS Monterey 12.0..1vecLibFort @0.4.2_0 (darwin_21.x86_64) fails to build on macOS Monterey 12.0.1 (intel)

comment:2 Changed 5 weeks ago by reneeotten (Renee Otten)

Cc: tenomoto removed
Keywords: monterey added; vecLibFort Monterey removed
Owner: set to tenomoto
Status: newassigned

please attached the main.log file mentioned in the error message to this ticket.

Changed 5 weeks ago by Nevensky (Neven Golenić)

Attachment: main.log added

main.log

comment:3 Changed 5 weeks ago by Nevensky (Neven Golenić)

Added main.log as requested.

Last edited 5 weeks ago by Nevensky (Neven Golenić) (previous) (diff)

comment:4 Changed 5 weeks ago by TruePath (Peter Gerdes)

It also fails to build on M1 (also on Montery though with Xcode-beta version 13.2). I'll attach the log.

Changed 5 weeks ago by TruePath (Peter Gerdes)

Attachment: main.2.log added

main.log from build on Montery with M1

comment:5 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Summary: vecLibFort @0.4.2_0 (darwin_21.x86_64) fails to build on macOS Monterey 12.0.1 (intel)vecLibFort @0.4.2_0: error: conflicting types for 'sdsdot_'

A zillion errors starting with:

vecLibFort.c:124:1: error: conflicting types for 'sdsdot_'
BLS_CALL(float,sdsdot,6)
^
vecLibFort.c:117:13: note: expanded from macro 'BLS_CALL'
extern type name ## _( VOIDS(n) ); \
            ^
<scratch space>:85:1: note: expanded from here
sdsdot_
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h:95:8: note: previous declaration is here
double sdsdot_(int *n, float *sb,
       ^

comment:6 Changed 6 days ago by dasice (Dave)

I see the same error on Monterey 12.0.1 on an M1 chip as Peter Gerdes starting with:

:info:build /usr/bin/clang -shared -arch arm64 -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c \
:info:build             -Wl,-reexport_framework -Wl,Accelerate \
:info:build             -install_name /opt/local/lib/libvecLibFortI.dylib
:info:build vecLibFort.c:124:1: error: conflicting types for 'sdsdot_'
:info:build BLS_CALL(float,sdsdot,6)
:info:build ^
:info:build vecLibFort.c:117:13: note: expanded from macro 'BLS_CALL'
:info:build extern type name ## _( VOIDS(n) ); \
:info:build             ^
:info:build <scratch space>:37:1: note: expanded from here
:info:build sdsdot_
:info:build ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Accelerate.framework/Fra
meworks/vecLib.framework/Headers/fortran_blas.h:95:8: note: previous declaration is here
:info:build double sdsdot_(int *n, float *sb,
:info:build        ^
Last edited 6 days ago by dasice (Dave) (previous) (diff)

comment:7 Changed 5 days ago by mcmara (Jack McMara)

Besides Quantum Espresso, this defect is also preventing the installation of Octave. How about increasing the priority?

Note: See TracTickets for help on using tickets.