View previous topic :: View next topic |
Author |
Message |
picarica Guru
Joined: 11 Aug 2018 Posts: 332
|
Posted: Fri Jan 03, 2025 2:34 pm Post subject: file --uncompress doesnt work ? ERROR:[zlib: Fork is require |
|
|
so i am trying to decompress some files using file command, tryinng to see metadata of .blend file but i am getting this error
Code: | ERROR:[zlib: Fork is required to uncompress, but disabled] (gzip compressed data, max speed, from TOPS/20) |
and i am using this command to uncompress
Code: | file --uncompress Drive.blend |
why am i getting that error?
i have mostly every use flag enabled for file command
Code: | $ sudo emerge --info file
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r5, 6.6.67-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.67-gentoo-dist-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v3_@_2.40GHz-with-glibc2.40
KiB Mem: 65837628 total, 4897272 free
KiB Swap: 8388604 total, 2071012 free
Timestamp of repository gentoo: Thu, 02 Jan 2025 14:00:00 +0000
Head commit of repository gentoo: 222a016638e0f63dac0bb2724cb9594abaaf0731
Timestamp of repository gentoo-zh: Thu, 02 Jan 2025 11:48:21 +0000
Head commit of repository gentoo-zh: 6c1357f3d06ec671c3046c5a3cb686f51f660809
Timestamp of repository guru: Tue, 31 Dec 2024 20:18:21 +0000
Head commit of repository guru: a1ae766a4c1e8b021166d98c191bdd49b0b9f2f3
Timestamp of repository inode64-overlay: Thu, 02 Jan 2025 06:50:38 +0000
Head commit of repository inode64-overlay: f2b6d22609ff6ea37bd59a0640f92b7c6f5ff23f
Timestamp of repository kde: Wed, 01 Jan 2025 21:33:21 +0000
Head commit of repository kde: cda80d6ae39e3615ae199afca28e6f335877953c
Head commit of repository picarica-overlay: e421ee640d206768366fc6b1d89f20ba9ceef19a
Timestamp of repository src_prepare-overlay: Mon, 30 Dec 2024 11:48:20 +0000
Head commit of repository src_prepare-overlay: 84467b6fa3e214b5d9e50ba7b140b14c7eaef787
Timestamp of repository steam-overlay: Sun, 22 Dec 2024 19:48:21 +0000
Head commit of repository steam-overlay: fc25c23144765c2fcc4726aa19448b0ed507fc3e
Timestamp of repository xira: Sun, 22 Dec 2024 19:48:30 +0000
Head commit of repository xira: 6754ae9d785efbf89815f2c68d2c216d13bd7d4f
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.6::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.10.16_p1::gentoo, 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust-bin: 1.82.0-r101::gentoo
llvm-core/clang: 18.1.8-r6::gentoo, 19.1.4::gentoo
llvm-core/lld: 19.1.4::gentoo
llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.4::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-apps/systemd: 256.7::gentoo
sys-devel/binutils: 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
gentoo-zh
location: /var/db/repos/gentoo-zh
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
inode64-overlay
location: /var/db/repos/inode64-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
masters: gentoo
volatile: False
kde
location: /var/db/repos/kde
sync-type: git
sync-uri: https://github.com/gentoo-mirror/kde.git
masters: gentoo
volatile: False
picarica-overlay
location: /var/db/repos/picarica-overlay
sync-type: git
sync-uri: https://gitlab.com/picarica/picarica-overlay
masters: gentoo
volatile: False
src_prepare-overlay
location: /var/db/repos/src_prepare-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
masters: gentoo
volatile: False
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo
volatile: False
xira
location: /var/db/repos/xira
sync-type: git
sync-uri: https://github.com/gentoo-mirror/xira.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 16"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
GENTOO_MIRRORS="https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
LANG="en_IE.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="NetworkManager X a52 aac accessibility acl acpi activities alsa amd64 av1 avif branding bundled-libs bzip2 cairo cdda cdr cet crypt cryptsetup cuda cups dav1d dbus declarative device-mapper display-manager dist-kernel dolphin dri dts dvdr encode exif extra fdk ffmpeg flac gd gdbm gif gpm grub gtk gui gvnc iconv icu ipv6 jack jpeg kde kf6compat kwallet lcms libaom libass libnotify libtirpc lvm lzip lzma mad mng modules mp3 mp4 mpeg mpg123 mtp multilib ncurses networkmanager nls nvenc nvidia ogg opengl openmp opus pam pango pcre pdf pipewire pipewire-alsa plasma plymouth png policykit ppds pulseaudio python_single_targets_python3_12 qml qt5 qt6 quick rar readline samba screencast sdl seccomp semantic-desktop sound sound-server spell srt ssh ssl stack-realign startup-notification svg symlink systemd test-rust theora tiff trayicon truetype twolame udev udisks unicode upower usb usbredir vnc vorbis vtkm vulkan wayland webp widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB sk" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
sys-apps/file-5.45-r4::gentoo was built with the following:
USE="bzip2 lzip lzma seccomp zlib zstd -python -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
|
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22938
|
Posted: Fri Jan 03, 2025 2:55 pm Post subject: |
|
|
From man file: man file: | -S, --no-sandbox
On systems where libseccomp
(https://github.com/seccomp/libseccomp) is available, the -S
option disables sandboxing which is enabled by default. This
option is needed for file to execute external decompressing
programs, i.e. when the -z option is specified and the built-in
decompressors are not available. On systems where sandboxing
is not available, this option has no effect.
| Your USE flags show you have seccomp enabled, so the sandbox is probably active. Note that -z referenced above is the short form of the --uncompress option you are using. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|