#71108 closed defect (fixed)
lv @4.51: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Reported by: | kazu-yamamoto (Kazu Yamamoto) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.2 |
Keywords: | sequoia | Cc: | |
Port: | lv |
Description
"lv" cannot be installed because its "configure" cannot find GCC:
% sudo port install lv ... ---> Configuring lv Error: Failed to configure lv: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/work/lv451/build/config.log Error: Failed to configure lv: configure failure: command execution failed
% tail 30 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/main.log tail: 30: No such file or directory ==> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/main.log <== :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_textproc_lv/lv/work/lv451/build" && ../src/configure --prefix=/opt/local :info:configure Exit code: 1 :error:configure Failed to configure lv: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/work/lv451/build/config.log :error:configure Failed to configure lv: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed :debug:configure while executing :debug:configure "$procedure $targetname" :error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/main.log for details.
% cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lv/lv/work/lv451/build" % sudo ../src/configure --prefix=/opt/local loading cache ./config.cache checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables.
After "autoreconf -i", I was able to install "lv".
Attachments (1)
Change History (8)
comment:1 Changed 3 weeks ago by kazu-yamamoto (Kazu Yamamoto)
Port: | lv added |
---|---|
Version: | → 2.10.2 |
comment:2 Changed 3 weeks ago by jmroot (Joshua Root)
Changed 3 weeks ago by kazu-yamamoto (Kazu Yamamoto)
Attachment: | config.log added |
---|
comment:4 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sequoia added |
---|---|
Summary: | lv @4.51 cannot be installed on Sequoia → lv @4.51: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] |
It says the problem was:
configure:678:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 678 | main(){return(0);} | ^ | int 1 error generated.
This could be fixed by patching instead of running autoreconf
. Or are there other reasons why we need to run autoreconf
?
comment:5 Changed 3 weeks ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:6 Changed 3 weeks ago by kazu-yamamoto (Kazu Yamamoto)
No reason to run autoconf
.
I just wanted to tell that configure
is suspicious.
comment:7 Changed 3 weeks ago by kazu-yamamoto (Kazu Yamamoto)
I confirmed that this issue has been fixed. Thank you!
Note: See
TracTickets for help on using
tickets.
Can you please attach the config.log?