@Hanabishi without LTO it builds fine, strange that package 7-zip builds with LTO without problem
Search Criteria
Package Details: 7-zip-full 24.09-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: | 72 |
Popularity: | 3.86 |
First Submitted: | 2022-01-07 08:49 (UTC) |
Last Updated: | 2024-11-30 13:30 (UTC) |
Dependencies (2)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- uasm (make)
Required by (430)
- 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)
- an-anime-game-launcher-bwrap (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)
- Show 410 more...
Sources (4)
asgard commented on 2024-03-31 20:32 (UTC)
Hanabishi commented on 2024-03-30 19:02 (UTC)
@asgard, yeah, seems like there is a problem building with clang. I have no idea why.
Disabling LTO makes it build for me though. I.e. add options=(!lto)
into the PKGBUILD
and try again.
asgard commented on 2024-03-30 18:06 (UTC) (edited on 2024-03-30 18:07 (UTC) by asgard)
when building with clang i got this error:
LzFindOpt.asm: 513 lines, 3 passes, 4666 ms, 0 warnings, 0 errors
_o/7zBuf2.o: file not recognized: file format not recognized
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [../../7zip_gcc.mak:221: _o/7z.so] Error 1
==> ERROR: A failure occurred in build().
Aborting...
Hanabishi commented on 2024-02-18 11:24 (UTC)
I tried to follow original p7zip
contents as much as possible, hoping it to be pushed into official repos some day.
But I guess why not. Will simply symlinking 7zz
to 7z
suffice for you? Or you want a full standalone 7zz
executable?
huyz commented on 2024-02-18 04:06 (UTC)
Since this package provides both 7-zip
and p7zip
, maybe it should also provide a binary called 7zz
which 7-zip
provides.
Hanabishi commented on 2024-02-05 20:40 (UTC)
Made a workaround for now in 23.01-4 by faking the version string. Until it will be fixed in Ark upstream.
Hanabishi commented on 2024-02-05 13:50 (UTC) (edited on 2024-02-05 20:42 (UTC) by Hanabishi)
I created a new MR with the fix in the Ark upstream: https://invent.kde.org/utilities/ark/-/merge_requests/232
Btw, Ark has other general 7z
compatibility problems (regardless of p7zip
or original 7-zip
used).
If someone is interested, I attempted to fix one bug a while ago: https://invent.kde.org/utilities/ark/-/merge_requests/209
Hanabishi commented on 2024-02-05 12:04 (UTC)
Yes, this is Ark issue again unfortunately, a continuation to my previous fix.
Your output is not needed, thanks.
Nocifer commented on 2024-02-05 11:58 (UTC)
So you've verified this behavior on your end as well? Or do you still need me to provide you with the 7z i
output?
Hanabishi commented on 2024-02-05 11:43 (UTC)
Nevermind, I see it with 7z
archives specifically.
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
.