Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618554 - app-arch/lzma ~arm64 support
Summary: app-arch/lzma ~arm64 support
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: ARM64 Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 18:03 UTC by Michael Lawrence
Modified: 2020-01-28 18:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lzma built on sakaki's RPI-64 Gentoo (lzma-9.20-r1.tbz2,79.48 KB, application/x-bzip-compressed-tar)
2017-05-16 23:47 UTC, Michael Lawrence
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lawrence 2017-05-15 18:03:04 UTC
~arm64 keyword requested. 

wont emerge  and overrides/unmask/s tend to fail.

(https://github.com/sakaki-/gentoo-on-rpi3-64bit used for testing on RPI3)
Comment 1 Mike Gilbert gentoo-dev 2017-05-15 18:08:53 UTC
Please improve the quality of your bug summary.
Comment 2 Jonas Stein gentoo-dev 2017-05-15 20:46:51 UTC
We need more information and a proper title. See
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide
Thank you.
Comment 3 Michael Lawrence 2017-05-16 14:43:24 UTC
app-arch/lzma

KEYWORDS="~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" <<<<< ~arm64 

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs

MY_P="${PN}${PV//.}"
DESCRIPTION="LZMA Stream Compressor from the SDK"
HOMEPAGE="http://www.7-zip.org/sdk.html"
SRC_URI="mirror://sourceforge/sevenzip/${MY_P}.tar.bz2 -> ${P}.tar.bz2"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="doc"

S=${WORKDIR}

src_compile() {
	cd CPP/7zip/Bundles/LzmaCon || die
	emake -f makefile.gcc \
		CXX="$(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS}" \
		CXX_C="$(tc-getCC) ${CFLAGS} ${CPPFLAGS}"
}

src_install() {
	newbin CPP/7zip/Bundles/LzmaCon/lzma lzmacon || die
	dodoc lzma.txt history.txt
	use doc && dodoc 7zC.txt 7zFormat.txt Methods.txt
}

pkg_postinst() {
	einfo "The lzma binary is now 'lzmacon' to avoid xz-utils conflicts #218459"
}
Comment 4 Michael Lawrence 2017-05-16 14:59:01 UTC
hack ebuild insert ~amr64 over sshfs to Rasberypi Ruining 
(Hot-edit in gentoo tree on RPI over ssh done ... )

(https://github.com/sakaki-/gentoo-on-rpi3-64bit , has porthole xfce etc 
but for larger runs ie GCC can be slow (emerge gcc might take a day)  is arm64 full 64bit ABI. 
haven't bought a soft-iorn-ar64 server yet , but enough to build an ISO for install ... might be good.... and rpi3 cheeper for nows.. ) 

repoman -digest y ...... (FIX manifest for ebuild) in /usr/portage/.... 


emerge -av app-arch/lzma  (squashfs might be nice to have) 

if wanted , I have the resulting tarball. 

adding keyword for arm64 shuts up the nagging... on emerge. 
package dose in fact build. 

KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"

add ~arm64 to KEYWORDS , Package builds wala done..
Comment 5 Jonas Stein gentoo-dev 2017-05-16 15:45:14 UTC
Michael, I have severe difficulties to understand the bug report.
I understand, that you wish a new keyword for "~arm64".

If possible, please discuss the rest if the ticket with someone and add a short, but precise text with complete sentences. 

Hint: Imagine you have only one chance in your life to write this very important bug report and you know only that the recipient can read English, but it is not his native language.
Comment 6 Michael Lawrence 2017-05-16 23:47:58 UTC
Created attachment 472872 [details]
lzma built on sakaki's RPI-64 Gentoo

build results in binpkg. enjoy.
Comment 7 Michael Lawrence 2017-05-17 00:02:00 UTC
perhaps I was too plain... earlier my bad... 
I stare into a SIEM @@@@@@@ all day till my eyes bake... with the bosses occasional oversholder... , nothing like a crap-ton of false posties to bore one into .... out of the bazillion IDS's.... i have to admin... 

however rigging the ebuild on rpi3 , was able to get favorable results in a a build.

next rebuild squashfs-tools ,

PS 
anyhow if I can get TATT to work , can run it to test if you like wile I'm trying to get arm64 bins built I need.. 
can take a few for testing..
Comment 8 Andreas Sturmlechner gentoo-dev 2020-01-28 18:53:01 UTC
I was going to re-use this bug as keywordreq but really don't know what to make of it.

Continued elsewhere.