{"id":45,"date":"2012-01-13T23:26:01","date_gmt":"2012-01-13T22:26:01","guid":{"rendered":"http:\/\/blogs.gentoo.org\/johu\/?p=45"},"modified":"2023-07-31T08:10:50","modified_gmt":"2023-07-31T07:10:50","slug":"cmake-picks-always-the-latest-boost","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/","title":{"rendered":"CMake picks always the latest boost."},"content":{"rendered":"<p>As known as <a title=\"dev-util\/cmake picks always the latest boost\" href=\"https:\/\/bugs.gentoo.org\/show_bug.cgi?id=335108\">#335108<\/a>. This is (was) a long term bug in Gentoo KDE scope. The problem is that if you have two or more different boost versions installed, the latest version will be used at build time, regardless which version is (e)selected. Real world example we have boost \u00a01.46.1 and 1.47.0 installed selected the 1.46 slot, the 1.47 slot would be used at build:<\/p>\n<blockquote>\n<pre>$ eselect boost list\r\nAvailable boost versions:\r\n [1]   boost-1.46\/default *\r\n [2]   boost-1.47\/default<\/pre>\n<\/blockquote>\n<p>Last night i patched dev-util\/cmake-2.8.6 successfully and made the revision bump today in the <a title=\"kde-overlay\" href=\"http:\/\/git.overlays.gentoo.org\/gitweb\/?p=proj\/kde.git\">kde-overlay<\/a>. So please test =dev-util\/cmake-2.8.6-r5, in the case your maintained package is cmake based and needs dev-util\/boost at build time. You should test at least with two different boost versions and of course switch between those to check that the selected version is used.<\/p>\n<p>I bumped dev-util\/cmake-2.8.7 in the overlay too. The patch is also included in this version.<\/p>\n<p>Start your engines&#8230;<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-45\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-45\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Reddit (Opens in new window)<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon no-text\" href=\"mailto:?subject=%5BShared%20Post%5D%20CMake%20picks%20always%20the%20latest%20boost.&body=https%3A%2F%2Fblogs.gentoo.org%2Fjohu%2F2012%2F01%2F13%2Fcmake-picks-always-the-latest-boost%2F&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"0940398b63\" data-email-share-track-url=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=email\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to email a link to a friend (Opens in new window)<\/span><\/a><\/li><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/\" target=\"_blank\" title=\"Click to print\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to print (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>As known as #335108. This is (was) a long term bug in Gentoo KDE scope. The problem is that if you have two or more different boost versions installed, the latest version will be used at build time, regardless which version is (e)selected. Real world example we have boost \u00a01.46.1 and 1.47.0 installed selected the &hellip; <a href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;CMake picks always the latest boost.&#8221;<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-45\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Facebook (Opens in new window)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-45\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Twitter (Opens in new window)<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to share on Reddit (Opens in new window)<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon no-text\" href=\"mailto:?subject=%5BShared%20Post%5D%20CMake%20picks%20always%20the%20latest%20boost.&body=https%3A%2F%2Fblogs.gentoo.org%2Fjohu%2F2012%2F01%2F13%2Fcmake-picks-always-the-latest-boost%2F&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"0940398b63\" data-email-share-track-url=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/?share=email\"><span><\/span><span class=\"sharing-screen-reader-text\">Click to email a link to a friend (Opens in new window)<\/span><\/a><\/li><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon no-text\" href=\"https:\/\/blogs.gentoo.org\/johu\/2012\/01\/13\/cmake-picks-always-the-latest-boost\/\" target=\"_blank\" title=\"Click to print\" ><span><\/span><span class=\"sharing-screen-reader-text\">Click to print (Opens in new window)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":138,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3,15,7],"tags":[17,16,9,12,18],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2w1o9-J","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":5,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":246,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/posts\/45\/revisions\/246"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/johu\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}