I would like to install this package ... I think it is the most complete? also contains a gui? however there are a lot of p7zip dependencies ...
Search Criteria
Package Details: 7-zip-full 24.08-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/7-zip-full.git (read-only, click to copy) |
---|---|
Package Base: | 7-zip-full |
Description: | File archiver with a high compression ratio (full package to replace p7zip) |
Upstream URL: | https://7-zip.org/ |
Keywords: | 7-zip 7z 7zip archiver compress p7zip zip |
Licenses: | BSD-3-Clause, LGPL-2.1-or-later, LicenseRef-UnRAR |
Conflicts: | p7zip |
Provides: | 7-zip, 7z.so, p7zip |
Submitter: | Hanabishi |
Maintainer: | Hanabishi |
Last Packager: | Hanabishi |
Votes: | 70 |
Popularity: | 2.63 |
First Submitted: | 2022-01-07 08:49 (UTC) |
Last Updated: | 2024-08-12 16:42 (UTC) |
Dependencies (2)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- uasm (make)
Required by (431)
- 0cc-famitracker (requires p7zip) (make)
- acetoneiso2 (requires p7zip) (optional)
- acroread-fonts-systemwide (requires p7zip) (make)
- adrive (requires p7zip) (make)
- aliyun-adrive-bin (requires p7zip) (make)
- an-anime-game-launcher (requires p7zip)
- an-anime-game-launcher-bin (requires p7zip)
- anime-games-launcher (requires p7zip)
- anime-games-launcher-bin (requires p7zip)
- anime-games-launcher-git (requires p7zip)
- ankama-launcher (requires p7zip) (make)
- aocc-flang (requires p7zip) (make)
- apple-fonts (requires p7zip) (make)
- apple-sf-script-extension-fonts (requires p7zip) (make)
- apptimer (requires p7zip) (make)
- archive-cli (requires p7zip) (optional)
- ares (requires p7zip) (make)
- ark-git (requires p7zip) (optional)
- arqiver (requires p7zip)
- arqiver-git (requires p7zip)
- arqiver-qt6-git (requires p7zip)
- artiphon-instrument-one-editor (requires p7zip) (make)
- asgardex-appimage (requires p7zip) (make)
- atool2-git (requires p7zip) (optional)
- baidu-translate-client-bin (requires p7zip) (make)
- baiduwenku-bin (requires p7zip) (make)
- bash-it-git (requires p7zip)
- bash-scripts-git (requires p7zip)
- bcml-git (requires p7zip)
- bilibili (requires p7zip) (make)
- bilibili-linux-git (requires p7zip) (make)
- binwalk-git (requires p7zip) (optional)
- bitbox-wallet-app-appimage (requires p7zip) (make)
- blacknut-appimage (requires p7zip) (make)
- blockstream-green-appimage (requires p7zip) (make)
- bottles (requires p7zip)
- bottles-git (requires p7zip)
- brave-extension-bitwarden-git (requires p7zip) (make)
- bridgedesigner (requires p7zip) (make)
- buceutils-git (requires p7zip)
- bytewalk (requires p7zip) (optional)
- cbr2pdf-git (requires p7zip)
- cdcat (requires p7zip)
- cewe-fotobuch (requires p7zip) (make)
- cewe-fotowelt (requires p7zip) (make)
- cewe-france (requires p7zip) (make)
- chrome-extension-bitwarden-git (requires p7zip) (make)
- chromium-docker (requires p7zip)
- chromium-docker (requires p7zip) (make)
- chromium-extension-bitwarden-git (requires p7zip) (make)
- chronocraft (requires p7zip) (make)
- chunghwa-post-webatm (requires p7zip) (make)
- citespace (requires p7zip) (make)
- clifm (requires p7zip) (optional)
- clifm-bin (requires p7zip) (optional)
- clifm-git (requires p7zip) (optional)
- clifm-nerd (requires p7zip) (optional)
- climate (requires p7zip) (optional)
- clipcc (requires p7zip) (make)
- clipcc-beta-bin (requires p7zip) (make)
- com.classin.deepin (requires p7zip)
- com.fenbi.deepin (requires p7zip)
- com.jiakaobaodian.deepin (requires p7zip)
- com.qq.weixin.deepin (requires p7zip) (make)
- com.qq.weixin.work.deepin-x11 (requires p7zip)
- conky-manager2 (requires p7zip)
- conky-manager2-git (requires p7zip)
- cryo (requires p7zip) (optional)
- cydia-impactor (requires p7zip) (make)
- dcexel (requires p7zip) (make)
- death-road-to-canada-gog (requires p7zip) (make)
- deepin-wine-adrive (requires p7zip) (make)
- deepin-wine-aliyun-mail (requires p7zip) (make)
- deepin-wine-baiduwenku (requires p7zip) (make)
- deepin-wine-cntv-cbox (requires p7zip) (make)
- deepin-wine-danmoshui (requires p7zip)
- deepin-wine-douyin (requires p7zip) (make)
- deepin-wine-ecloud (requires p7zip) (make)
- deepin-wine-helper (requires p7zip)
- deepin-wine-mailmaster (requires p7zip) (make)
- deepin-wine-mcloud (requires p7zip) (make)
- deepin-wine-pandaocr.pro (requires p7zip)
- deepin-wine-plugin-virtual (requires p7zip)
- deepin-wine-qq (requires p7zip)
- deepin-wine-tencent-edu (requires p7zip) (make)
- deepin-wine-tim (requires p7zip)
- deepin-wine-ttplayer (requires p7zip)
- deepin-wine-wechat (requires p7zip)
- deepin-wine-weiyunsync (requires p7zip) (make)
- deepin-wine-xiguavideo (requires p7zip) (make)
- deepin-wine-ximalaya (requires p7zip) (make)
- deepin-wine-yuque (requires p7zip) (make)
- deepin.com.qq.im.light (requires p7zip)
- deezer (requires p7zip) (make)
- discordmessenger-mingw (requires p7zip) (make)
- discordmessenger-msvc (requires p7zip) (make)
- dm-fotowelt (requires p7zip) (make)
- dmenufm (requires p7zip)
- dmenufm-git (requires p7zip)
- dn-famitracker-bin (requires p7zip) (make)
- doc2x (requires p7zip) (make)
- doublecmd-gtk2-alpha-bin (requires p7zip) (optional)
- doublecmd-plugin-p7z-usr (requires p7zip)
- dtrx (requires p7zip) (optional)
- dtrx-git (requires p7zip) (optional)
- elgato-gchd-git (requires p7zip) (make)
- evesetup (requires p7zip)
- exact-audio-copy (requires p7zip) (make)
- extrattor (requires p7zip)
- extrattor-git (requires p7zip)
- fdclone (requires p7zip) (optional)
- feem (requires p7zip) (make)
- fernanda (requires p7zip)
- fgallery (requires 7-zip) (optional)
- file-roller-git (requires p7zip) (optional)
- file-roller-linuxmint (requires p7zip) (optional)
- firecamp (requires p7zip) (make)
- firefox-extension-bitwarden-git (requires p7zip) (make)
- firefox-extension-tab-stash (requires p7zip) (make)
- flashpoint-bin (requires p7zip) (make)
- flashpoint-launcher-bin (requires p7zip) (make)
- flomo-bin (requires p7zip) (make)
- flomo-electron (requires p7zip) (make)
- fluidplug-git (requires p7zip) (make)
- fluxion-git (requires p7zip)
- fontbase (requires p7zip) (make)
- foobar2000 (requires p7zip) (make)
- foobar2000-encoders-bin (requires p7zip) (make)
- foxitreader (requires p7zip) (make)
- fs2-knossos (requires p7zip)
- fsport (requires p7zip) (make)
- fuse3-p7zip-git (requires p7zip)
- fzf-tab-source (requires p7zip) (optional)
- gbm (requires p7zip)
- gd-tools-git (requires p7zip) (make)
- gdevelop-git (requires p7zip)
- gdlauncher (requires p7zip)
- gdlauncher-git (requires p7zip)
- gearlever (requires p7zip)
- git-remote-rclone (requires p7zip)
- gobi-firmware-mc8355 (requires p7zip) (make)
- gog-battletech (requires p7zip) (make)
- gog-battletech-flashpoint (requires p7zip) (make)
- gog-battletech-heavy-metal (requires p7zip) (make)
- gog-battletech-urban-warfare (requires p7zip) (make)
- gog-darkest-dungeon-musketeer (requires p7zip) (make)
- gog-darkest-dungeon-the-color-of-madness (requires p7zip) (make)
- gog-darkest-dungeon-the-crimson-court (requires p7zip) (make)
- gog-darkest-dungeon-the-shieldbreaker (requires p7zip) (make)
- gog-tangledeep (requires p7zip) (make)
- gog-tangledeep-dawn-of-dragons (requires p7zip) (make)
- gog-tangledeep-legend-of-shara (requires p7zip) (make)
- gog-the-witcher-2-assassins-of-kings (requires p7zip) (make)
- gulden-appimage (requires p7zip) (make)
- gw2-tools (requires p7zip) (optional)
- gyroflow (requires p7zip) (make)
- gyroflow-git (requires p7zip) (make)
- gz-models (requires p7zip) (make)
- ham-v2.71-linux (requires p7zip) (make)
- hikari-field-client-bin (requires p7zip) (make)
- honkers-launcher (requires p7zip)
- honkers-launcher-bin (requires p7zip)
- hostsblock (requires p7zip) (optional)
- hunter (requires p7zip) (optional)
- hunter-git (requires p7zip) (optional)
- iauto (requires p7zip) (make)
- idos-timetable-data-chaps-trains-cz-2016-latest (requires p7zip) (make)
- idos-timetable-data-chaps-trains-europe-2016-latest (requires p7zip) (make)
- idos-timetable-data-inprop-mhd-sk-all-latest (requires p7zip) (make)
- idos-timetable-data-zsr-europe+sk-2024-latest (requires p7zip) (make)
- idos-timetable-data-zsr-sk-2024-latest (requires p7zip) (make)
- implosion (requires p7zip)
- iortcw (requires p7zip) (make)
- izpack (requires p7zip) (optional)
- izpack-git (requires p7zip) (optional)
- j7z (requires p7zip)
- jkazip (requires p7zip)
- jpcsp (requires p7zip) (make)
- julia-git (requires p7zip)
- k-meleon-bin-wine (requires p7zip) (make)
- kcc (requires p7zip) (optional)
- kcc-beta (requires p7zip) (optional)
- keepkey-desktop-appimage (requires p7zip) (make)
- kex-git (requires p7zip)
- kinect-audio-setup (requires p7zip) (make)
- koreader-appimage (requires p7zip) (make)
- krusader-git (requires p7zip) (optional)
- kwooty-frameworks-git (requires p7zip) (optional)
- labelplus-bin (requires p7zip) (make)
- labview-mathscript-2018 (requires p7zip) (make)
- lampray (requires p7zip)
- librewolf-extension-bitwarden-git (requires p7zip) (make)
- linuxqq-nt-bwrap (requires p7zip) (make)
- littleutils (requires p7zip)
- lutris-git (requires p7zip)
- lzma-sdk (requires p7zip)
- maszyna-git (requires p7zip) (make)
- mc-git (requires p7zip) (optional)
- mcomix (requires p7zip) (optional)
- mcomix-git (requires p7zip) (optional)
- memtest86-efi (requires p7zip) (make)
- merikens-tripcode-engine-v3-git (requires p7zip) (make)
- merlin-server-bin (requires p7zip) (make)
- meshmixer-wine (requires p7zip) (make)
- mini-benchmarker (requires p7zip)
- minuimus (requires p7zip)
- mn88472-firmware (requires p7zip) (make)
- mn88473-firmware (requires p7zip) (make)
- molotov (requires p7zip) (make)
- mp3tag (requires p7zip) (make)
- msvc-wine-rust-git (requires p7zip)
- mubu-bin (requires p7zip) (make)
- multibootusb (requires p7zip)
- musicbee (requires p7zip) (make)
- mxiv-git (requires p7zip)
- napi-bash (requires p7zip)
- napi-bash-git (requires p7zip)
- nerd-fonts-apple (requires p7zip) (make)
- nerd-fonts-inter (requires p7zip) (make)
- nerd-fonts-sf-mono (requires p7zip) (make)
- nerd-fonts-sf-mono-ligatures (requires p7zip) (make)
- nextcloud-client-appimage-daily (requires p7zip) (make)
- nocash2k6 (requires p7zip) (make)
- nocashgba-debugger (requires p7zip) (make)
- notion-app-electron (requires p7zip) (make)
- nunchuk-desktop-appimage (requires p7zip) (make)
- nwn-diamond (requires p7zip) (make)
- nwn-gog (requires p7zip) (make)
- nzbget-bin (requires p7zip) (optional)
- nzbget-git (requires p7zip) (optional)
- nzbget-git-debug (requires p7zip) (optional)
- octane-bench (requires p7zip) (make)
- onlyoffice (requires p7zip) (make)
- open-android-backup (requires p7zip)
- openzone (requires p7zip) (optional)
- opera-beta-ffmpeg-codecs-bin (requires p7zip) (make)
- opera-developer-ffmpeg-codecs-bin (requires p7zip) (make)
- opera-extension-bitwarden-git (requires p7zip) (make)
- opera-ffmpeg-codecs-bin (requires p7zip) (make)
- osrs-launcher (requires p7zip) (make)
- otf-apple-ny (requires p7zip) (make)
- otf-apple-sf-arabic (requires p7zip) (make)
- otf-apple-sf-compact (requires p7zip) (make)
- otf-apple-sf-mono (requires p7zip) (make)
- otf-apple-sf-pro (requires p7zip) (make)
- otf-new-york (requires p7zip) (make)
- otf-san-francisco-mono (requires p7zip) (make)
- oxyromon-git (requires p7zip) (make)
- oxyromon-git (requires p7zip) (optional)
- p7zip-gui (requires p7zip)
- p7zip-zstd-codec (requires p7zip)
- parallel-launcher (requires p7zip)
- patool (requires p7zip) (optional)
- patool-git (requires p7zip) (optional)
- pcsx2 (requires p7zip) (make)
- pcsx2-avx-git (requires p7zip) (make)
- pcsx2-git (requires p7zip) (make)
- pdf-xchange (requires p7zip) (make)
- peazip (requires p7zip)
- peazip-gtk2-bin (requires p7zip) (optional)
- peazip-qt-bin (requires 7-zip) (optional)
- peazip-qt-bin (requires p7zip)
- pgl (requires p7zip) (optional)
- pgl-cli (requires p7zip) (optional)
- pgl-git (requires p7zip) (optional)
- phoenicis-playonlinux (requires p7zip)
- pianoteq-stage (requires p7zip) (make)
- pianoteq7 (requires p7zip) (make)
- playonlinux (requires p7zip)
- playonlinux4-git (requires p7zip)
- polypane (requires p7zip) (make)
- pops-usb-setup (requires p7zip) (make)
- ppsearch (requires p7zip) (make)
- printargnum (requires p7zip)
- pyunz-git (requires p7zip)
- qaac-wine (requires p7zip) (make)
- qcomicbook (requires p7zip) (optional)
- qcomicbook-git (requires p7zip) (optional)
- qnap-qdk-git (requires p7zip) (optional)
- qnapi-git (requires p7zip)
- qrookie-vrp (requires p7zip)
- rcsc-localsign (requires p7zip) (make)
- reminiscence (requires p7zip) (make)
- reshade-steam-proton-git (requires p7zip)
- ricoh-spc261-ppd (requires p7zip) (make)
- ricoh-spc261sfnw-ppd (requires p7zip) (make)
- rpcs3-bin (requires p7zip) (make)
- rpfm-bin (requires p7zip)
- rpfm-git (requires p7zip)
- rvgl-launcher (requires p7zip)
- sabnzbd (requires p7zip) (optional)
- sabnzbd-git (requires p7zip) (optional)
- sailfish-sdk-setup (requires p7zip) (optional)
- sappy2006 (requires p7zip) (make)
- scratch3-bin (requires p7zip) (make)
- shutter-encoder (requires p7zip)
- silitune (requires p7zip) (optional)
- simple64 (requires p7zip) (optional)
- simple64-git (requires p7zip) (optional)
- sixfireusb-dkms (requires p7zip) (make)
- slade (requires p7zip) (make)
- slade-git (requires p7zip) (make)
- sleepy-launcher-bin (requires p7zip)
- sleepy-launcher-git (requires p7zip)
- spacecadetpinball-git (requires p7zip) (make)
- spark-dwine-helper (requires p7zip)
- spark-dwine-helper-git (requires p7zip)
- starfield-mod-loader-bin (requires p7zip)
- steamtinkerlaunch (requires p7zip) (optional)
- steamtinkerlaunch-git (requires p7zip) (optional)
- stm32cubeprog (requires p7zip) (make)
- suave (requires p7zip) (make)
- subs2srs (requires p7zip) (make)
- super-mario-4-jugadores (requires p7zip) (make)
- svgcleaner-bin (requires p7zip)
- svgcleaner-gui-git (requires p7zip)
- svp-bin (requires p7zip) (make)
- tauon-music-box (requires p7zip) (optional)
- tauon-music-box-git (requires p7zip) (optional)
- tbb-combo-native-agent (requires p7zip) (make)
- tfe (requires p7zip)
- th06-demo-data (requires p7zip) (make)
- th06-demo-pytouhou (requires p7zip) (make)
- th06-demo-wine (requires p7zip) (make)
- the-dark-mod-bin (requires p7zip) (make)
- the-honkers-railway-launcher (requires p7zip)
- thedude (requires p7zip) (make)
- thextech-adventuresofdemo-git (requires p7zip) (make)
- thextech-assetpack-aod (requires p7zip) (make)
- thextech-assetpack-smbx13 (requires p7zip) (make)
- thextech-git (requires p7zip) (make)
- thextech-supermariobrosx-git (requires p7zip) (make)
- thr-editor (requires p7zip) (make)
- thunder-mini (requires p7zip) (make)
- thunderbird-extension-import-export-tools-ng (requires p7zip) (make)
- tile-molestor (requires p7zip) (make)
- tingle-git (requires p7zip) (optional)
- tochd (requires p7zip)
- trezor-suite-appimage (requires p7zip) (make)
- ttf-huayingmincho (requires p7zip) (make)
- ttf-ms-win10-auto (requires p7zip) (make)
- ttf-ms-win10-auto-japanese (requires p7zip) (make)
- ttf-ms-win10-auto-korean (requires p7zip) (make)
- ttf-ms-win10-auto-other (requires p7zip) (make)
- ttf-ms-win10-auto-sea (requires p7zip) (make)
- ttf-ms-win10-auto-thai (requires p7zip) (make)
- ttf-ms-win10-auto-zh_cn (requires p7zip) (make)
- ttf-ms-win10-auto-zh_tw (requires p7zip) (make)
- ttf-ms-win11-auto (requires p7zip) (make)
- ttf-ms-win11-auto-japanese (requires p7zip) (make)
- ttf-ms-win11-auto-korean (requires p7zip) (make)
- ttf-ms-win11-auto-other (requires p7zip) (make)
- ttf-ms-win11-auto-sea (requires p7zip) (make)
- ttf-ms-win11-auto-thai (requires p7zip) (make)
- ttf-ms-win11-auto-zh_cn (requires p7zip) (make)
- ttf-ms-win11-auto-zh_tw (requires p7zip) (make)
- ttf-ms-win11-fod-auto-arab (requires p7zip) (make)
- ttf-ms-win11-fod-auto-beng (requires p7zip) (make)
- ttf-ms-win11-fod-auto-cans (requires p7zip) (make)
- ttf-ms-win11-fod-auto-cher (requires p7zip) (make)
- ttf-ms-win11-fod-auto-deva (requires p7zip) (make)
- ttf-ms-win11-fod-auto-ethi (requires p7zip) (make)
- ttf-ms-win11-fod-auto-gujr (requires p7zip) (make)
- ttf-ms-win11-fod-auto-guru (requires p7zip) (make)
- ttf-ms-win11-fod-auto-hans (requires p7zip) (make)
- ttf-ms-win11-fod-auto-hant (requires p7zip) (make)
- ttf-ms-win11-fod-auto-hebr (requires p7zip) (make)
- ttf-ms-win11-fod-auto-jpan (requires p7zip) (make)
- ttf-ms-win11-fod-auto-khmr (requires p7zip) (make)
- ttf-ms-win11-fod-auto-knda (requires p7zip) (make)
- ttf-ms-win11-fod-auto-kore (requires p7zip) (make)
- ttf-ms-win11-fod-auto-laoo (requires p7zip) (make)
- ttf-ms-win11-fod-auto-mlym (requires p7zip) (make)
- ttf-ms-win11-fod-auto-orya (requires p7zip) (make)
- ttf-ms-win11-fod-auto-paneuropean (requires p7zip) (make)
- ttf-ms-win11-fod-auto-sinh (requires p7zip) (make)
- ttf-ms-win11-fod-auto-syrc (requires p7zip) (make)
- ttf-ms-win11-fod-auto-taml (requires p7zip) (make)
- ttf-ms-win11-fod-auto-telu (requires p7zip) (make)
- ttf-ms-win11-fod-auto-thai (requires p7zip) (make)
- ttf-sarasa-gothic-sc (requires p7zip) (make)
- ttf-sarasa-ui-sc (requires p7zip) (make)
- ttf-win10 (requires p7zip) (make)
- ttkmusicplayer-bin (requires p7zip) (make)
- ubports-installer (requires p7zip)
- uhasselt-print-canon (requires p7zip) (make)
- undms (requires p7zip) (make)
- unetbootin (requires p7zip)
- unetbootin-git (requires p7zip)
- unity-version-manager (requires p7zip)
- unity-version-manager-git (requires p7zip)
- unpack-git (requires p7zip) (optional)
- usenti (requires p7zip) (make)
- va-11-hall-a-gog (requires p7zip) (make)
- vapoursynth-plugin-svpflow (requires p7zip) (make)
- vmangos-git (requires p7zip) (make)
- vmware-thinprint (requires p7zip) (make)
- voicevox-appimage (requires p7zip) (make)
- vortex-tracker-ii (requires p7zip) (make)
- wazzuf-ripper (requires p7zip)
- webcord-screenshare-vencord-git (requires p7zip) (make)
- webcord-vencord-git (requires p7zip) (make)
- wechat-devtools (requires p7zip) (make)
- winamp2 (requires p7zip) (make)
- winarcadia-bin (requires p7zip) (make)
- windows2usb (requires p7zip)
- windows2usb-git (requires p7zip)
- winegame (requires p7zip)
- winegame (requires p7zip) (make)
- winegui (requires p7zip)
- winegui-bin (requires p7zip)
- winetricks-zh-git (requires p7zip) (optional)
- wiznote-electron (requires p7zip) (make)
- woeusb-ng (requires p7zip)
- woeusb-ng-git (requires p7zip)
- wolf3d-shareware (requires p7zip) (make)
- wrye-bash (requires p7zip)
- xarchiver-assume-name (requires p7zip) (optional)
- xchainkeys (requires p7zip) (make)
- xcloud-desktop-appimage (requires p7zip) (make)
- xcursor-entis (requires p7zip) (make)
- xerox-workcentre-5135-5150 (requires p7zip) (make)
- xonotic-git (requires p7zip) (make)
- xraygui-bin (requires p7zip)
- yandex-music (requires p7zip) (make)
- yatqa (requires p7zip) (make)
- yazi-git (requires p7zip) (optional)
- yazi-nightly-bin (requires p7zip) (optional)
- yy-wine-1 (requires p7zip)
- zdoom (requires p7zip) (make)
- zipper.app (requires p7zip) (optional)
Sources (4)
simona commented on 2022-11-20 19:48 (UTC)
<deleted-account> commented on 2022-11-05 03:09 (UTC)
@Hanabishi thanks for the help.
I have permissions and ownership, and I also changed the line in the PKGBUILD, but it still gives the same error.
The 7-zip package works so I'll just use that, but thanks!
Hanabishi commented on 2022-11-03 02:08 (UTC) (edited on 2022-11-03 02:10 (UTC) by Hanabishi)
@calcium, well, check that you have permissions and ownership for the package directory.
Also try to edit PKGBUILD
, change this line:
chmod -R a=r,a+X,u+w .
to
chmod -R a=rw,a+X .
and see does something changed.
<deleted-account> commented on 2022-11-02 22:20 (UTC)
The package doesn't build, I get this error:
make: g++: Permission denied
make: *** [../../7zip_gcc.mak:399: /home/yfoow/7-zip-full/src/build/StreamBinder.o] Error 127
make: Leaving directory '/home/yfoow/7-zip-full/src/CPP/7zip/Bundles/Alone'
==> ERROR: A failure occurred in build().
Hanabishi commented on 2022-09-20 12:42 (UTC) (edited on 2022-11-20 20:26 (UTC) by Hanabishi)
To build without ASM (uasm
), set NO_ASM
variable. For example:
NO_ASM=1 makepkg -si
Hanabishi commented on 2022-09-16 20:55 (UTC)
@ZhangHua, I implemented your request, but in slightly different way.
Now the package can be built for all supported architectures and with clang.
ZhangHua commented on 2022-09-16 02:35 (UTC)
Hello, I think this patch will allow this program to build under arm64 and x86 arch and with clang and gcc compiler, please consider merging it:
diff --git a/PKGBUILD b/PKGBUILD
index d382295..3bff388 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,26 +10,50 @@ provides=("${pkgname%-full}" 'p7zip')
conflicts=("${provides[@]}")
_archive="7z${pkgver//./}-src.tar.xz"
+_compiler=${CC:-gcc}
+[[ ${_compiler} == clang ]] && makedepends+=('clang' 'lld')
source=(
"${_archive}::${url}/a/${_archive}"
'prepare.patch'
)
-sha256sums=(
- '393098730c70042392af808917e765945dc2437dee7aae3cfcc4966eb920fbc5'
- 'fa1fd77e9d95f97d349f057c53b9ba4bacde64b2fae3a50d16b1d93e991d7866'
-)
+sha256sums=('393098730c70042392af808917e765945dc2437dee7aae3cfcc4966eb920fbc5'
+ '4e010de2dce2eebbe72d0e9f72fbf953eb2f8cba7bffbae53bda1544e3879101')
prepare() {
cd "${srcdir}"
chmod -R a=r,a+X,u+w .
patch -p0 --binary -i "${source[1]}"
+ for file in var_{clang,gcc}{,_{arm64,x64,x86}}.mak
+ do
+ sed -i '
+ s#O=b/c_$(PLATFORM)#O=$(BUILD_DIR)#;
+ s#O=b/g_$(PLATFORM)#O=$(BUILD_DIR)#;
+ s#O=b/c#O=$(BUILD_DIR)#;
+ s#O=b/g#O=$(BUILD_DIR)#
+ ' "${srcdir}/CPP/7zip/${file}"
+ done
+
}
build() {
+ case ${CARCH} in
+ x86_64)
+ _arch=_x64
+ ;;
+ aarch64)
+ _arch=_arm64
+ ;;
+ i686)
+ _arch=_x86
+ ;;
+ *)
+ _arch=
+ ;;
+ esac
local bundles="${srcdir}/CPP/7zip/Bundles"
- local mak="${srcdir}/CPP/7zip/cmpl_gcc_x64.mak"
+ local mak="${srcdir}/CPP/7zip/cmpl_${_compiler}${_arch}.mak"
local targets=("Alone" "Alone2" "Alone7z" "Format7zF")
(
export BUILD_DIR="${srcdir}/build"
diff --git a/prepare.patch b/prepare.patch
index f3db023..61feacd 100644
--- a/prepare.patch
+++ b/prepare.patch
@@ -15,9 +15,3 @@
@@ -182 +182 @@
-CXXFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CXXFLAGS_BASE2) $(CFLAGS_BASE) $(CXXFLAGS_EXTRA) $(CC_SHARED) -o $@ $(CXX_WARN_FLAGS)
+CXXFLAGS += $(MY_ARCH_2) $(LOCAL_FLAGS) $(CXXFLAGS_BASE2) $(CFLAGS_BASE) $(CXXFLAGS_EXTRA) $(CC_SHARED) -o $@ $(CXX_WARN_FLAGS)
-
---- CPP/7zip/var_gcc_x64.mak
-+++ CPP/7zip/var_gcc_x64.mak
-@@ -2 +2 @@
--O=b/g_$(PLATFORM)
-+O=$(BUILD_DIR)
Hanabishi commented on 2022-09-12 12:56 (UTC)
Checked with the custom flags and its seems ok. Here is an update with a respective patch.
Hanabishi commented on 2022-09-12 11:40 (UTC)
@saltedcoffii, if you look at PKGBUILD
you can see it has nothing to do with CFLAGS
. They are baked in the source makefiles.
I can patch the source to respect custom CFLAGS
, but can't say is this a good idea or not. Backed flags are very specific and obviously have some intentions by the developer.
saltedcoffii commented on 2022-09-12 11:26 (UTC)
7-zip-full does not respect custom CFLAGS specified in /etc/makepkg.conf
. I have the following CFLAGS set:
CFLAGS="-march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul"
The compiler invocation (the first one) is as follows:
gcc -O2 -c -Wall -Werror -Wextra -Waddress -Waddress-of-packed-member -Waggressive-loop-optimizations -Wattributes -Wbool-compare -Wbool-operation -Wcast-align -Wcast-align=strict -Wcomment -Wdangling-else -Wdiv-by-zero -Wduplicated-branches -Wduplicated-cond -Wformat-contains-nul -Wimplicit-fallthrough=5 -Winit-self -Wint-in-bool-context -Wint-to-pointer-cast -Wunused -Wunused-macros -Wconversion -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -Wno-maybe-uninitialized -o /home/saltedcoffee/Projects/7-zip-full/src/build/7zStream.o ../../../../C/7zStream.c
If this is an issue with upstream, not with the PKGBUILD, let me know and I'm happy to report it.
Pinned Comments
Hanabishi commented on 2022-01-07 08:53 (UTC) (edited on 2023-09-18 11:00 (UTC) by Hanabishi)
Not all apps are compatible with original
7-zip
binaries!In case of problems, try reverting to original
p7zip
.