The broken link during archivefetch is MacPorts looking for a pre-built archive. It should become available once the buildbot is finished (which has occurred, so it has become a workaround on the next clean run of sudo port install libiodbc
).
It looks like the difference between the build logs is GTK. The buildbot didn't actually build any GTK code; so another workaround is to build with the variant disabled sudo port install libiodbc -x11
.
Notice the side effect of the buildbot: the archive claims +x11 but it actually built as if -x11.