TIP: Click on subject to list as thread! ANSI
echo: tuxpower
to: Benny Pedersen
from: Maurice Kinal
date: 2021-10-06 17:53:00
subject: uuidgen 4 termux

-={ 2021-10-06 17:53:36.593917313+00:00 }=-

Hey Benny!

 MK>> gentoo has a aarch64-unknown-linux-android release?

 BP> imho its a arm64 ?

Unless it's a cross-compiler then yes it is arm64.

 BP> and this is supported yes

Only by android as far as I know.

 BP> keywords to search for is arm64 not aarch64

Last time I looked gentoo was using aarch64-*-linux-gnu for their arm64 distribution, which is obviously not aarch64-unknown-linux-android.  The "android" part at the end should tell the tale.  However I'd be willing to bet that there is at least one aarch64-unknown-linux-android crosscompiler on a gentoo system somewhere.  I have't heard any rumours of a gentoo led aarch64-unknown-linux-android distribution.

 BP> if that clears it up :=)

Nope.

Anyhow the python oneliner worked on my 10" aarch64-unknown-linux-android tablet as shown in the original post here.  It successfully outputted a time based type 1 uuid which when parsed out from the uuid yields a microsecond rfc-3339 datetime stamp.

It would have been best if termux's util-linux pkg contained uuidgen and uuidparse instead of having to resort to python for only half a fix.

Life is good,
Maurice

... Oft sceall eorl monig anes willan wr‘c adreogan.
    Often must many a warrior suffer misery because of the will of one person.
--- GNU bash, version 5.1.8(1)-release (x86_64-motorshed-linux-gnu)
                                                                                        
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.