{"id":89,"date":"2015-02-08T10:28:39","date_gmt":"2015-02-08T15:28:39","guid":{"rendered":"http:\/\/72.167.111.237\/wpmgreene\/?p=89"},"modified":"2015-02-08T10:28:39","modified_gmt":"2015-02-08T15:28:39","slug":"gentoo-java-emerge-issue","status":"publish","type":"post","link":"https:\/\/www.mgreene.org\/?p=89","title":{"rendered":"Gentoo Java emerge issue"},"content":{"rendered":"<p>Once again portage tells me there is an Oracle Java update and I already know it will have to be downloaded manually and moved into \/usr\/portage\/distfiles. I do this, expecting everything to install without a hitch, but it does not. I get the dreaded \u201c<span style=\"color: #666666;\"><span style=\"font-family: Consolas, Monaco, 'Lucida Console', monospace;\"><span lang=\"en-US\">tar: This does not look like a tar archive\u201d <\/span><\/span><\/span> (see below) and I have forgot why this happens as usual. The solution is simple, the archive needs to belong to portage:<\/p>\n<p>chown -R portage:portage \/usr\/portage\/distfiles\/jdk-7u71-linux-x64.tar.gz<\/p>\n<pre lang=\"languagestring\">&gt;&gt;&gt; Emerging (1 of 2) dev-java\/oracle-jdk-bin-1.7.0.76::gentoo\n* jdk-7u76-linux-x64.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]\n&gt;&gt;&gt; Unpacking source...\n&gt;&gt;&gt; Unpacking jdk-7u76-linux-x64.tar.gz to \/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/work\ngzip: \/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/distdir\/jdk-7u76-linux-x64.tar.gz: Permission denied\ntar: This does not look like a tar archive\ntar: Exiting with failure status due to previous errors\n* ERROR: dev-java\/oracle-jdk-bin-1.7.0.76::gentoo failed (unpack phase):\n* failure unpacking jdk-7u76-linux-x64.tar.gz\n*\n* Call stack:\n* ebuild.sh, line 93: Called src_unpack\n* environment, line 2563: Called default\n* phase-functions.sh, line 770: Called default_src_unpack\n* phase-functions.sh, line 797: Called __eapi0_src_unpack\n* phase-helpers.sh, line 648: Called unpack 'jdk-7u76-linux-x64.tar.gz'\n* phase-helpers.sh, line 357: Called __unpack_tar 'gzip -d'\n* phase-helpers.sh, line 299: Called __assert_sigpipe_ok 'failure unpacking jdk-7u76-linux-x64.tar.gz'\n* isolated-functions.sh, line 39: Called die\n* The specific snippet of code:\n* [[ $x -ne 0 &amp;&amp; $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] &amp;&amp; die \"$@\"\n*\n* If you need support, post the output of `emerge --info '=dev-java\/oracle-jdk-bin-1.7.0.76::gentoo'`,\n* the complete build log and the output of `emerge -pqv '=dev-java\/oracle-jdk-bin-1.7.0.76::gentoo'`.\n* The complete build log is located at '\/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/temp\/build.log'.\n* The ebuild environment file is located at '\/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/temp\/environment'.\n* Working directory: '\/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/work'\n* S: '\/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/work\/jdk1.7.0_76'\n&gt;&gt;&gt; Failed to emerge dev-java\/oracle-jdk-bin-1.7.0.76, Log file:\n&gt;&gt;&gt; '\/var\/tmp\/portage\/dev-java\/oracle-jdk-bin-1.7.0.76\/temp\/build.log'\n* Messages for package dev-java\/oracle-jdk-bin-1.7.0.76:\n* ERROR: dev-java\/oracle-jdk-bin-1.7.0.76::gentoo failed (unpack phase):\n* failure unpacking jdk-7u76-linux-x64.tar.gz\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Once again portage tells me there is an Oracle Java update and I already know it will have to be downloaded manually and moved into \/usr\/portage\/distfiles. I do this, expecting [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[12,17,29],"tags":[57,63,69],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-java","category-portage","tag-gentoo","tag-java","tag-portage"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":159,"url":"https:\/\/www.mgreene.org\/?p=159","url_meta":{"origin":89,"position":0},"title":"The Dreaded Gentoo emerge -e @world","author":"Mike","date":"March 31, 2015","format":false,"excerpt":"Not something I take lightly, nor is it something I look forward to doing. \u00a0In Gentoo the emerge \"-e\" means rebuild all packages installed on the system that portage has recorded. \u00a0A quick 'equery -l \"*\"' will list all packages installed. So why do I do this every year or\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":187,"url":"https:\/\/www.mgreene.org\/?p=187","url_meta":{"origin":89,"position":1},"title":"Virtual Box 5.0 in Portage!","author":"Mike","date":"July 14, 2015","format":false,"excerpt":"I guess just in time for Windows 10??? emerge --unmerge -p virtualbox Same old catch if you want the BIOS compiled then Open Watcom is needed. \u00a0To be specific, I have had to use Open Watcom 1.9. \u00a0The emerge output if OW is not found: >>> Source prepared. >>> Configuring\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"vb5","src":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/wordpress.greenenet.net\/wp-content\/uploads\/2015\/07\/vb5.png?resize=525%2C300 1.5x"},"classes":[]},{"id":18,"url":"https:\/\/www.mgreene.org\/?p=18","url_meta":{"origin":89,"position":2},"title":"Gentoo python 3.x error &#8230;","author":"Mike","date":"May 1, 2011","format":false,"excerpt":"I received an error compiling docutils and it is caused by python 3.x:(File \"\/usr\/lib\/python3.1\/encodings\/ascii.py\", line 26, in decode ...)A work around:# mkdir -p \/etc\/portage\/env\/dev-python\/# echo \"export LC_CTYPE=en_US.utf8\" > \/etc\/portage\/env\/app-portage\/docutilsCompiled correctly afterwards.","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":371,"url":"https:\/\/www.mgreene.org\/?p=371","url_meta":{"origin":89,"position":3},"title":"Gpytage","author":"Mike","date":"September 17, 2020","format":false,"excerpt":"Updated to use Python 3.7 and Gtk3. I included an ebuild file for local repository use. https:\/\/gitlab.com\/mikeos2\/gpytage \u00a0","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":563,"url":"https:\/\/www.mgreene.org\/?p=563","url_meta":{"origin":89,"position":4},"title":"Gnome 40","author":"Mike","date":"April 17, 2021","format":false,"excerpt":"EDIT 16 May 21: gnome-40.0.ebuild is in portage emerge --autounmask-write =gnome-40.0 and etc-update should make it available - good luck! Also - I am having good luck with wayland enabled - so far! The big gnome change from vertical to horizontal.","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.mgreene.org\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-17-12-17-25.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":391,"url":"https:\/\/www.mgreene.org\/?p=391","url_meta":{"origin":89,"position":5},"title":"Compile errors with broadcom-sta and kernel 5.9","author":"Mike","date":"December 1, 2020","format":false,"excerpt":"The net-wireless\/broadcom-sta package does compile with the 5.9 versions of the kernel. Specifically, the current driver version 6.30.223.271-r6. The following patch will allow compiling of a working driver. I named the following patch linux-5.9.patch and placed in: \/etc\/portage\/patches\/net-wireless\/broadcom-sta-6.30.223.271-r6 --- a\/src\/wl\/sys\/wl_linux.c 2020-11-16 06:13:53.274122141 -0500 +++ b\/src\/wl\/sys\/wl_linux.c 2020-11-16 05:25:24.506040486 -0500 @@ -1662,8\u2026","rel":"","context":"In &quot;Gentoo&quot;","block_context":{"text":"Gentoo","link":"https:\/\/www.mgreene.org\/?cat=12"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=89"}],"version-history":[{"count":0,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mgreene.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}