jacobwilliams/quadpack

quadpack fails to build on Sonoma (x86_64, arm64): `<ERROR> error: Missing key for table header`

Closed this issue · 5 comments

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

https://build.macports.org/builders/ports-14_x86_64-builder/builds/12038/steps/install-port/logs/stdio

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

Had the same (I think ?) issue on Artix. Just remove the padding spaces and it should compile.

[[ test ]] -> [[test]]

I will try, thanks.

Wonder if fpm upstream broken this on purpose.

@banana-bred @jacobwilliams I can confirm that does fix the build.

thanks! I'll commit the fix.

I think maybe it was a change in FPM that no longer allows this for some reason?

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.