{"id":2717,"date":"2023-08-15T16:29:41","date_gmt":"2023-08-15T16:29:41","guid":{"rendered":"https:\/\/hauweele.net\/~gawen\/blog\/?p=2717"},"modified":"2023-08-15T16:29:41","modified_gmt":"2023-08-15T16:29:41","slug":"port-configure-fails-on-arm64","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=2717","title":{"rendered":"Port configure fails on ARM64"},"content":{"rendered":"<p>On FreeBSD, if you are trying to build a port but it fails at the configure step with a message similar to this:<\/p>\n<pre>\r\nchecking build system type... Invalid configuration `arm64-portbld-freebsd13.2': machine `arm64-portbld' not recognized\r\nconfigure: error: \/bin\/sh .\/build-aux\/config.sub arm64-portbld-freebsd13.2 failed\r\n<\/pre>\n<p>Here&#8217;s a quick-fix that might work for you:<\/p>\n<pre>\r\nexport CONFIGURE_TARGET=arm64-unknown-freebsd13.2\r\nmake install\r\n<\/pre>\n<p>This is similar to passing <code>--host arm64-unknown-freebsd13.2<\/code> to the configure script instead of trying to guess it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On FreeBSD, if you are trying to build a port but it fails at the configure step with a message similar to this: checking build system type&#8230; Invalid configuration `arm64-portbld-freebsd13.2&#8242;: machine `arm64-portbld&#8217; not recognized configure: error: \/bin\/sh .\/build-aux\/config.sub arm64-portbld-freebsd13.2 failed &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=2717\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[1116,880,389,393],"class_list":["post-2717","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-arm64","tag-build","tag-freebsd","tag-port"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2717"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2717\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}