Opened 4 weeks ago
Last modified 4 weeks ago
#71091 new defect
libxmi @1.2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Reported by: | pelopor-pelopor (pelopor) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | sequoia haspatch | Cc: | |
Port: | libxmi |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Build process stops at the "configure" stage.
:info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64) works... no :info:configure configure: error: installation or configuration problem: C compiler cannot create executables. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libxmi/libxmi/work/libxmi-1.2" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info :info:configure Exit code: 1
To build libxmi requires to use "autoreconf" rather than patches.
Attachments (3)
Change History (9)
Changed 4 weeks ago by pelopor-pelopor (pelopor)
Attachment: | Portfile.diff added |
---|
comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Why? What error did you get? Please attach the main.log file from the failed build attempt.
Changed 4 weeks ago by pelopor-pelopor (pelopor)
Just "configure" failed
comment:2 Changed 4 weeks ago by pelopor-pelopor (pelopor)
Description: | modified (diff) |
---|
comment:3 Changed 4 weeks ago by pelopor-pelopor (pelopor)
Description: | modified (diff) |
---|
comment:4 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
When configure fails, there is usually more information in configure's log, as mentioned in the main.log:
:error:configure Failed to configure libxmi: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libxmi/libxmi/work/libxmi-1.2/config.log
Could you attach the config.log file as well?
Changed 4 weeks ago by pelopor-pelopor (pelopor)
Attachment: | config.log added |
---|
comment:6 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sequoia added |
---|---|
Summary: | cannot configure libxmi → libxmi @1.2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] |
The error in the config.log is:
configure:1070:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1070 | main(){return(0);} | ^ | int 1 error generated.
This could be patched, like we do in many other ports, instead of using autoreconf. Does using autoreconf offer other advantages, beyond fixing this problem? Usually we try to avoid it unless patching is prohibitively difficult.
Note: See
TracTickets for help on using
tickets.
use autoreconf