{"id":796,"date":"2010-11-27T18:54:51","date_gmt":"2010-11-28T01:54:51","guid":{"rendered":"http:\/\/www.graphics-muse.org\/wp\/?p=796"},"modified":"2010-11-29T18:00:05","modified_gmt":"2010-11-30T01:00:05","slug":"make-3-82-vs-the-world","status":"publish","type":"post","link":"https:\/\/www.graphics-muse.org\/wp\/?p=796","title":{"rendered":"make 3.82 vs the world"},"content":{"rendered":"<p>After upgrading to Fedora 14 at work I did some builds against various kernels, u-boot, buildroot and toolchains we use.\u00a0 I ran into an interesting problem.<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>make[2]: Entering directory<br \/>\n`\/home\/mjhammel\/src\/cei\/sysbuild\/bld\/buildroot-2010.05.xcc\/output\/toolchain\/linux-2.6.32.14&#8242;<br \/>\n\/home\/mjhammel\/src\/cei\/sysbuild\/bld\/buildroot-2010.05.xcc\/output\/toolchain\/linux-2.6.32.14\/arch\/powerpc\/Makefile:178: *** mixed implicit and normal rules.\u00a0 Stop.<\/em><\/span><\/p>\n<p>?A <a href=\"http:\/\/www.spinics.net\/lists\/linux-kbuild\/msg03305.html\">bit of<\/a> <a href=\"http:\/\/lkml.org\/lkml\/2010\/8\/2\/437\">googling<\/a> <a href=\"http:\/\/comments.gmane.org\/gmane.linux.kernel\/1022928\">shows that<\/a> make 3.82 changed in a way that makes kernel compiles break if the kernel source has not been patched.\u00a0 You can patch the kernel (or other code) or you can punt like I did and backtrack to make 3.81 since there is no switch to 3.82 to disable this function.\u00a0 I had to ask on the <a href=\"http:\/\/lug.boulder.co.us\/\">Boulder LUG<\/a> mailing list to find out how to downgrade, since I&#8217;d not done previously.\u00a0 In Fedora, the way to do this is as follows:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>yum &#8211;releasever=13 downgrade make<\/em><\/span><\/p>\n<p>After that you&#8217;ll need to add:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>exclude=make<\/em><\/span><\/p>\n<p>to the <strong>[updates]<\/strong> section of <span style=\"color: #003366;\">\/etc\/yum.repos.d\/fedora-updates.repo<\/span>.\u00a0 However, when I did the downgrade like this I got an error message:<\/p>\n<p style=\"padding-left: 30px;\"><em><span style=\"color: #003366;\">The GPG keys listed for the &#8220;Fedora 13 &#8211; x86_64 &#8211; Updates&#8221; repository are already installed but they are not correct for this package.\u00a0 Check that the correct key URLs are configured for this repository.<\/span><\/em><\/p>\n<p>The GPG keys are part of the fedora-release packages, which are tied to the release version, so it would be a bit tricky to import them.\u00a0 The way around this is to tell the yum operation to ignore the GPG check, like so:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #003366;\"><em>yum &#8211;nogpgcheck &#8211;releasever=13 downgrade make<\/em><\/span><\/p>\n<p>More information on <a href=\"https:\/\/fedoraproject.org\/keys\">importing GPG keys<\/a> can be found at the Fedora Project.<\/p>\n<p><span style=\"color: #003366;\"><strong>Update: 2010-11-29<\/strong><\/span><\/p>\n<p>I noticed today when I tried to do a yum update that the <em>make<\/em> package was not excluded.\u00a0 A <a href=\"http:\/\/www.cyberciti.biz\/faq\/redhat-centos-linux-yum-update-exclude-packages\/\">little googling<\/a> showed that a better place to place the <span style=\"color: #003366;\"><em>exclude=make<\/em><\/span> line is in the <span style=\"color: #003366;\">\/etc\/yum.conf<\/span> file, as the last line in the <strong>[main]<\/strong> section.\u00a0 I did this (and removed it from the <span style=\"color: #003366;\">\/etc\/yum.repos.d\/fedora-updates.repo<\/span> file) and the update proceeded without updating the <em>make<\/em> page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After upgrading to Fedora 14 at work I did some builds against various kernels, u-boot, buildroot and toolchains we use.\u00a0 I ran into an interesting problem. make[2]: Entering directory `\/home\/mjhammel\/src\/cei\/sysbuild\/bld\/buildroot-2010.05.xcc\/output\/toolchain\/linux-2.6.32.14&#8242; \/home\/mjhammel\/src\/cei\/sysbuild\/bld\/buildroot-2010.05.xcc\/output\/toolchain\/linux-2.6.32.14\/arch\/powerpc\/Makefile:178: *** mixed implicit and normal rules.\u00a0 Stop. ?A bit of googling shows that make 3.82 changed in a way that makes kernel compiles break [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[35,5,6,202],"tags":[134,382,634,490,493,492,491,619,494,79],"class_list":{"0":"post-796","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-fedora","7":"category-linux","8":"category-software-development","9":"category-x86-64","10":"tag-boulder","11":"tag-buildroot","12":"tag-fedora","13":"tag-fedora-project","14":"tag-gpg","15":"tag-gpg-keys","16":"tag-kernel-source","17":"tag-linux","18":"tag-nogpgcheck","19":"tag-yum","20":"czr-hentry"},"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pe9t8-cQ","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=796"}],"version-history":[{"count":3,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/796\/revisions\/798"}],"wp:attachment":[{"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphics-muse.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}