-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[+] Tracking Broken Binaries #10
Comments
This is a bug, It will be fixed in next release. |
run tmux on termux, you could do this: export TMUX_TMPDIR="$HOME/tmux-tmp-dir"
ln -s ~/../usr/lib/terminfo ~/.terminfo |
I split util-linux to several sub packages e.g. libuuid, getopt, etc |
The aria2c dynamic build works perfectly, but the static built has dns issues like always: ❯ ./aria2c-static https://bin.ajam.dev/arm64_v8a_Android/tailscale
05/17 11:40:17 [NOTICE] Downloading 1 item(s)
05/17 11:40:17 [ERROR] CUID#7 - Download aborted. URI=https://bin.ajam.dev/arm64_v8a_Android/tailscale
Exception: [/root/.ndk-pkg/run/225417/android-34-arm64-v8a/aria2/src/src/AbstractCommand.cc:351] errorCode=19 URI=https://bin.ajam.dev/arm64_v8a_Android/tailscale
-> [/root/.ndk-pkg/run/225417/android-34-arm64-v8a/aria2/src/src/NameResolver.cc:60] errorCode=19 Failed to resolve the hostname bin.ajam.dev, cause: No address associated with hostname
05/17 11:40:17 [NOTICE] Download GID#d7714c172a344d74 not complete:
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
d7714c|ERR | n/a|https://bin.ajam.dev/arm64_v8a_Android/tailscale
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
export TMUX_TMPDIR="$HOME/tmux-tmp-dir"
ln -s ~/../usr/lib/terminfo ~/.terminfo That still doesn't work, I now get no suitable socket path
I can only find: Are these missing? addpart
agetty
blkdiscard
blkid
blkpr
blkzone
blockdev
cal
cfdisk
chcpu
chfn
chmem
choom
chrt
chsh
col
colcrt
colrm
column
ctrlaltdel
delpart
dmesg
eject
fadvise
fallocate
fdisk
fincore
findfs
findmnt
flock
fsck
fsck.cramfs
fsck.minix
fsfreeze
fstrim
hardlink
hexdump
hwclock
i386
ionice
ipcmk
ipcrm
ipcs
irqtop
isosize
kill
last
lastb
ldattach
linux32
linux64
logger
login
look
losetup
lsblk
lscpu
lsfd
lsipc
lsirq
lslocks
lslogins
lsmem
lsns
mcookie
mesg
mkfs
mkfs.bfs
mkfs.cramfs
mkfs.minix
mkswap
more
mount
mountpoint
namei
nologin
nsenter
partx
pipesz
pivot_root
prlimit
readprofile
rename
renice
resizepart
rev
rfkill
rtcwake
runuser
script
scriptlive
scriptreplay
setarch
setpriv
setsid
setterm
sfdisk
sulogin
swaplabel
swapoff
swapon
switch_root
taskset
uclampset
ul
umount
uname26
unshare
utmpdump
uuidd
uuidgen
uuidparse
waitpid
wall
wdctl
whereis
wipefs
write
x86_64
zramctl |
This has been fixed. |
export TMUX_TMPDIR="$HOME/tmux-tmp-dir"
install -d "$TMUX_TMPDIR"
ln -s ~/../usr/lib/terminfo ~/.terminfo you should create |
Ah yes it works now, thank you! |
only libuuid and getopt sub package is available at this moment. I will patch util-linux later. |
It would be nice to add comments in the formula.yaml and detail what needs to be done to get them working. Putting all these in the readme is another option but that would clutter it very quickly. |
I will add a new mapping called |
and for the binaries if they can work statically etc or not, maybe something like this as an additional field in the formula.yaml
|
|
I saw pkgtype | optional | indicates what type of this package. value shall be any one of exe, pie, lib, exe+lib.To exe type package, ndk-pkg would add --static -static options to LDFLAGS if --fsle install option is given.To pie type package, it means that it doesn't support fully statically linking, it is supposed to be dynamically linked.If this mapping is not present, ndk-pkg will determine the package type by package name, if a package name starts/ends with lib, it would be recognized as type lib, otherwise, it would be recognized as type exe but pie can also be static-pie no? |
|
I only consider traditional static right now. static-pie would be tested later. |
I meant as a sort of future proofing, as the pkgtype serves entirely different purpose Is it possible to have arbitrary foo:bar entries in the formula.yaml? I tried to fork this repo to test but alas, Github seems to allow only one fork.. |
I can't quite catch this. a bit more clear? |
|
unrecognized keys would be ignored, it would not break ndk-pkg. |
I meant can I add additional entries in formula.yaml which aren't real keys supported by ndk-pkg can I do this summary: Run your GitHub Actions locally
git-url: https://github.com/nektos/act
src-url: https://github.com/nektos/act/archive/refs/tags/v0.2.62.tar.gz
src-sha: 2b0231d02d57d5edbcc070b7c4802acf16110a0582ffb40181aaa695f2b7bf5c
license: MIT
install: gow -X main.version="$PACKAGE_VERSION" -o act main.go summary: Run your GitHub Actions locally
git-url: https://github.com/nektos/act
src-url: https://github.com/nektos/act/archive/refs/tags/v0.2.62.tar.gz
src-sha: 2b0231d02d57d5edbcc070b7c4802acf16110a0582ffb40181aaa695f2b7bf5c
license: MIT
install: gow -X main.version="$PACKAGE_VERSION" -o act main.go
foo: bar #This doesn't actually exist |
This issue should serve as tracker for tracking binaries that don't work despite being promoted/included in the ./formula dir.
This issue should also track a list of binaries that won't work if built statically (
--fsle
) due to the following reasons:Perhaps this can be later added to the readme to warn people or the formulae itself could be modified to not support
--fsle
.The list will be based on prebuilt binaries from:
This comment will be edited based on fixes & solutions suggested.
The text was updated successfully, but these errors were encountered: