Opened 2 years ago
Closed 22 months ago
#66254 closed defect (fixed)
gnuastro fails on PPC: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking
Reported by: | barracuda156 | Owned by: | sikmir (Nikolay Korotkiy) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | powerpc, leopard, snowleopard | Cc: | |
Port: | gnuastro |
Description
config.status: creating config.h config.status: executing depfiles commands config.status: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See `config.log' for more details Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18" && ./configure --prefix=/opt/local Exit code: 1
Identical error on 10.5.8 and 10A190.
Attachments (1)
Change History (7)
Changed 2 years ago by barracuda156
comment:1 Changed 2 years ago by barracuda156
Owner: | set to sikmir |
---|---|
Status: | new → assigned |
Summary: | gnuastro fails on PPC: → gnuastro fails on PPC: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking |
comment:2 Changed 2 years ago by barracuda156
comment:3 Changed 2 years ago by barracuda156
Adding this:
platform powerpc { configure.args-append \ --disable-dependency-tracking }
solved initial error, but the build still failed on:
---> Building gnuastro Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18" && /usr/bin/make -j4 -w all make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18' Makefile:2000: *** missing separator. Stop. make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuastro/gnuastro/work/gnuastro-0.18" && /usr/bin/make -j4 -w all Exit code: 2 Error: Failed to build gnuastro: command execution failed
comment:4 Changed 2 years ago by barracuda156
Makefile has:
SUGGESTEDJOBS = = 4
Which is obvious nonsense. Apparently this code in configure does not work correctly:
if test $has_sysctl = yes then : jobs=$(sysctl -a | awk '/^hw\.ncpu/{print $2}') else $as_nop jobs=8 fi fi SUGGESTEDJOBS=$jobs
comment:5 Changed 2 years ago by barracuda156
Yes, the code is wrong:
36-5:gnuastro-0.18 svacchanda$ sysctl -a | awk '/^hw\.ncpu/{print $2}' kern.exec: unknown type returned = 4
comment:6 Changed 22 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This did not help: