quadpack fails to build on Sonoma (x86_64, arm64): `<ERROR> error: Missing key for table header`
Closed this issue · 5 comments
barracuda156 commented
Executing: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/quadpack-2.1.1" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/opt/local" --profile="release"
DEBUG: system: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/quadpack-2.1.1" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/opt/local" --profile="release"
<ERROR> error: Missing key for table header
--> fpm.toml:21:3
|
21 | [[ test ]]
| ^ unexpected whitespace
|
STOP 1
Command failed: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/quadpack-2.1.1" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_fortran_quadpack/quadpack/work/opt/local" --profile="release"
Exit code: 1
Same error on arm64:
---> Building quadpack
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fortran_quadpack/quadpack/work/bin
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fortran_quadpack/quadpack/work/quadpack-2.1.1" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fortran_quadpack/quadpack/work/opt/local" --profile="release"
<ERROR> error: Missing key for table header
--> fpm.toml:21:3
|
21 | [[ test ]]
| ^ unexpected whitespace
|
STOP 1
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fortran_quadpack/quadpack/work/quadpack-2.1.1" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fortran_quadpack/quadpack/work/opt/local" --profile="release"
Exit code: 1
banana-bred commented
Had the same (I think ?) issue on Artix. Just remove the padding spaces and it should compile.
[[ test ]]
-> [[test]]
barracuda156 commented
I will try, thanks.
Wonder if fpm
upstream broken this on purpose.
barracuda156 commented
@banana-bred @jacobwilliams I can confirm that does fix the build.
jacobwilliams commented
thanks! I'll commit the fix.
I think maybe it was a change in FPM that no longer allows this for some reason?
barracuda156 commented
I think maybe it was a change in FPM that no longer allows this for some reason?
@jacobwilliams Looks like that indeed. I will open an issue with them.