Skip to content
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

Pre-build binaries #255

Merged
merged 2 commits into from
Sep 2, 2021
Merged

Pre-build binaries #255

merged 2 commits into from
Sep 2, 2021

Conversation

oxr463
Copy link
Collaborator

@oxr463 oxr463 commented Jun 3, 2021

Closes: #239, #244

@oxr463 oxr463 added this to the PRoot v5.2 milestone Jun 3, 2021
@oxr463 oxr463 changed the title WIP: Document binary locations WIP: Pre-build binaries Jun 3, 2021
@oxr463

This comment has been minimized.

@oxr463

This comment has been minimized.

@oxr463 oxr463 force-pushed the document-binary-locations branch from 5dc3fdb to 2b66245 Compare July 22, 2021 02:00
@oxr463
Copy link
Collaborator Author

oxr463 commented Jul 22, 2021

@oxr463
Copy link
Collaborator Author

oxr463 commented Sep 2, 2021

LDFLAGS="${LDFLAGS} -static" make -C src proot care GIT=false
make: Entering directory '/usr/src/proot/src'
  GEN	build.h
  CC	cli/cli.o
  CC	cli/proot.o
  CC	cli/note.o
  CC	execve/enter.o
  CC	execve/exit.o
  CC	execve/shebang.o
  CC	execve/elf.o
  CC	execve/ldso.o
  CC	execve/auxv.o
  CC	execve/aoxp.o
  CC	path/binding.o
  CC	path/glue.o
  CC	path/canon.o
  CC	path/path.o
  CC	path/proc.o
  CC	path/temp.o
  CC	syscall/seccomp.o
  CC	syscall/syscall.o
  CC	syscall/chain.o
  CC	syscall/enter.o
  CC	syscall/exit.o
  CC	syscall/sysnum.o
  CC	syscall/socket.o
  CC	syscall/heap.o
  CC	syscall/rlimit.o
  CC	tracee/tracee.o
  CC	tracee/mem.o
  CC	tracee/reg.o
  CC	tracee/event.o
  CC	ptrace/ptrace.o
  CC	ptrace/user.o
  CC	ptrace/wait.o
  CC	extension/extension.o
  CC	extension/kompat/kompat.o
  CC	extension/fake_id0/fake_id0.o
  CC	extension/link2symlink/link2symlink.o
  CC	extension/portmap/portmap.o
  CC	extension/portmap/map.o
  CC	loader/loader.o
  CC	loader/assembly.o
  LD	loader/loader
  GEN	loader/loader-wrapped.o
  CC	loader/loader-m32.o
  CC	loader/assembly-m32.o
  LD	loader/loader-m32
  GEN	loader/loader-m32-wrapped.o
  LD	proot
  CC	cli/care.o
  GEN	cli/care-manual.o
  CC	extension/care/care.o
  CC	extension/care/final.o
  CC	extension/care/extract.o
  CC	extension/care/archive.o
  LD	care
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_disk_set_standard_lookup.o): in function `lookup_gid':
(.text+0x2f8): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_disk_set_standard_lookup.o): in function `lookup_uid':
(.text+0x158): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_read_support_filter_gzip.o): in function `gzip_filter_close':
(.text+0xe7): undefined reference to `inflateEnd'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_read_support_filter_gzip.o): in function `gzip_filter_read':
(.text+0x37b): undefined reference to `crc32'
/usr/bin/ld: (.text+0x3b4): undefined reference to `inflateInit2_'
/usr/bin/ld: (.text+0x408): undefined reference to `inflate'
/usr/bin/ld: (.text+0x47e): undefined reference to `inflateEnd'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_add_filter_gzip.o): in function `archive_compressor_gzip_open':
(.text+0xf3): undefined reference to `crc32'
/usr/bin/ld: (.text+0x1e5): undefined reference to `deflateInit2_'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_add_filter_gzip.o): in function `drive_compressor.isra.0.part.1':
(.text+0x3a3): undefined reference to `deflate'
/usr/bin/ld: (.text+0x3e9): undefined reference to `deflate'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_add_filter_gzip.o): in function `archive_compressor_gzip_close':
(.text+0x49f): undefined reference to `deflateEnd'
/usr/bin/ld: (.text+0x52d): undefined reference to `deflateEnd'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_write_add_filter_gzip.o): in function `archive_compressor_gzip_write':
(.text+0x57f): undefined reference to `crc32'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_disk_acl_linux.o): in function `translate_acl':
(.text+0x44): undefined reference to `acl_get_entry'
/usr/bin/ld: (.text+0x8b): undefined reference to `acl_get_tag_type'
/usr/bin/ld: (.text+0xcb): undefined reference to `acl_get_permset'
/usr/bin/ld: (.text+0xec): undefined reference to `acl_get_perm'
/usr/bin/ld: (.text+0x113): undefined reference to `acl_get_perm'
/usr/bin/ld: (.text+0x16c): undefined reference to `acl_get_qualifier'
/usr/bin/ld: (.text+0x18b): undefined reference to `acl_free'
/usr/bin/ld: (.text+0x1fc): undefined reference to `acl_get_qualifier'
/usr/bin/ld: (.text+0x21b): undefined reference to `acl_free'
/usr/bin/ld: (.text+0x248): undefined reference to `acl_get_entry'
/usr/bin/ld: (.text+0x28b): undefined reference to `acl_get_entry'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_disk_acl_linux.o): in function `set_acl':
(.text+0x35c): undefined reference to `acl_init'
/usr/bin/ld: (.text+0x3fa): undefined reference to `acl_create_entry'
/usr/bin/ld: (.text+0x441): undefined reference to `acl_free'
/usr/bin/ld: (.text+0x4ab): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x4be): undefined reference to `acl_get_permset'
/usr/bin/ld: (.text+0x4d3): undefined reference to `acl_clear_perms'
/usr/bin/ld: (.text+0x514): undefined reference to `acl_add_perm'
/usr/bin/ld: (.text+0x54b): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x579): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x588): undefined reference to `acl_set_qualifier'
/usr/bin/ld: (.text+0x5a3): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x5d1): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x5e0): undefined reference to `acl_set_qualifier'
/usr/bin/ld: (.text+0x5fb): undefined reference to `acl_set_tag_type'
/usr/bin/ld: (.text+0x62e): undefined reference to `acl_set_fd'
/usr/bin/ld: (.text+0x6a6): undefined reference to `acl_set_file'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libarchive.a(archive_disk_acl_linux.o): in function `archive_read_disk_entry_setup_acls':
(.text+0x74e): undefined reference to `acl_get_fd'
/usr/bin/ld: (.text+0x79d): undefined reference to `acl_get_file'
/usr/bin/ld: (.text+0x7c2): undefined reference to `acl_free'
/usr/bin/ld: (.text+0x811): undefined reference to `acl_get_file'
/usr/bin/ld: (.text+0x836): undefined reference to `acl_free'
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:182: care] Error 1
rm .check_process_vm .check_process_vm.o .check_seccomp_filter.o .check_seccomp_filter manual
make: Leaving directory '/usr/src/proot/src'

Add care binary to CI/CD pipeline
@oxr463 oxr463 force-pushed the document-binary-locations branch from 2b66245 to 6f3bb4b Compare September 2, 2021 02:02
@oxr463 oxr463 changed the title WIP: Pre-build binaries Pre-build binaries Sep 2, 2021
@oxr463 oxr463 self-assigned this Sep 2, 2021
@oxr463 oxr463 merged commit 58cfd86 into master Sep 2, 2021
@oxr463 oxr463 deleted the document-binary-locations branch September 2, 2021 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Where to find static builds for various platforms
1 participant