Opened 4 weeks ago

Last modified 4 weeks ago

#63538 new defect

xastir @2.0.8_7: error: implicit declaration of function 'XmGetDestination' is invalid in C99

Reported by: TheCranston Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: catalina bigsur Cc:
Port: xastir

Description

trying to build Xastir 2.0.8_7 on big sur. Fails looking for motif libraries while open motif is installed via port and the library is in /opt/local/lib/libXm.a where expected.

% sudo port install xastir    
--->  Computing dependencies for xastir
--->  Fetching archive for xastir
--->  Attempting to fetch xastir-2.0.8_7.darwin_20.x86_64.tbz2 from https://packages.macports.org/xastir
--->  Attempting to fetch xastir-2.0.8_7.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/xastir
--->  Attempting to fetch xastir-2.0.8_7.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/xastir
--->  Fetching distfiles for xastir
--->  Attempting to fetch xastir-2.0.8.tar.gz from http://gigenet.dl.sourceforge.net/project/xastir/xastir-stable/xastir-2.0.8
--->  Verifying checksums for xastir                                                 
--->  Extracting xastir
--->  Applying patches to xastir
--->  Configuring xastir
Error: Failed to configure xastir: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xastir/xastir/work/xastir-2.0.8/config.log
Error: Failed to configure xastir: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_xastir/xastir/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port xastir failed

Attachments (2)

config.log (52.2 KB) - added by TheCranston 4 weeks ago.
config.log
main.log (191.7 KB) - added by TheCranston 4 weeks ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 4 weeks ago by TheCranston

Attachment: config.log added

config.log

Changed 4 weeks ago by TheCranston

Attachment: main.log added

main.log

comment:1 Changed 4 weeks ago by TheCranston

Info about open motif which is installed

% sudo port installed openmotif
The following ports are currently installed:
  openmotif @2.3.8_2 (active)

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

Keywords: catalina bigsur added; Xastir removed
Port: xastir added
Summary: Xastir fails to build on missing motif libraryxastir @2.0.8_7: error: implicit declaration of function 'XmGetDestination' is invalid in C99

Because:

conftest.c:66:1: error: implicit declaration of function 'XmGetDestination' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

The usual Xcode 12+ issue which needs the usual fix.

comment:3 in reply to:  2 Changed 4 weeks ago by TheCranston

Is this something I need to do or the code maintainer? Thanks!

Note: See TracTickets for help on using tickets.