Opened 4 years ago

Last modified 4 years ago

#61258 assigned defect

atlas @3.10.2: error: implicit declaration of function 'dgeqlf_' is invalid in C99 — at Version 3

Reported by: gsarrouh Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: atlas

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install Source Extractor v.2.19.5 using the terminal command: >> sudo port install source-extractor

Three dependencies are required: i) atlas; i) fftw-3; iii) fftw-3-single

When I execute the command i get the following output:

gsarrouh$ sudo port install source-extractor
Password:
--->  Computing dependencies for source-extractor
The following dependencies will be installed: 
 atlas
 fftw-3
 fftw-3-single
Continue? [Y/n]: Y
--->  Fetching archive for atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_19.x86_64.tbz2 from https://packages.macports.org/atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/atlas/atlas
--->  Attempting to fetch atlas-3.10.2_2.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/atlas
--->  Fetching distfiles for atlas
--->  Attempting to fetch atlas3.10.2.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/atlas
--->  Attempting to fetch lapack-3.6.0.tgz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/atlas
--->  Verifying checksums for atlas                                                  
--->  Extracting atlas
--->  Applying patches to atlas
--->  Configuring atlas
Selected C compiler: /usr/bin/clang
Selected F77 compiler: gfortrandevel
Warning: reinplace s|-no-cpp-precomp||g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_atlas/atlas/work/ATLAS/CONFIG/src/atlcomp.txt
--->  Building atlas
Error: Failed to build atlas: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_atlas/atlas/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port source-extractor failed

I really have no idea why altas is failing the build stage, but I cannot use a different software package other than Source Extractor for my work so I really need this to work!

Thanks for your help in advance,
ghassan

Change History (4)

Changed 4 years ago by gsarrouh

Attachment: main.log added

main.log from build failure

comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

The issue is that implicit function declarations used to be considered warnings, but are now considered errors with Xcode 12. The canned response is to downgrade to Xcode 11.x to avoid the errors until MacPorts addresses them.

Existing upstream ticket regarding these implicit function declarations (no feedback yet from developer): https://sourceforge.net/p/math-atlas/support-requests/1082/

comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: aronnax@… removed
Description: modified (diff)
Keywords: atlas source extractor removed
Owner: set to Veence
Port: atlas added; source-extractor removed
Status: newassigned
Summary: atlas-3.10.2: error: "Failed to build atlas: command execution failed"atlas @3.10.2: error: implicit declaration of function 'dgeqlf_' is invalid in C99
Note: See TracTickets for help on using tickets.