Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 509700

Summary: app-arch/arj-3.10.22-r8 with sys-devel/clang miscompiles postproc - ./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arj/arj: Patch not found
Product: Gentoo Linux Reporter: Jauhien Piatlicki (RETIRED) <jauhien>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: esigra, llvm, lssndrbarbieri, sam, StormByte, theprogrammernerd, toralf, wizardedit
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963, 915000    
Attachments: build.log
Fix build errors by using the latest version of patches from Debian.
arj-3.10.22_p26.ebuild

Description Jauhien Piatlicki (RETIRED) gentoo-dev 2014-05-06 16:43:45 UTC
Created attachment 376490 [details]
build.log

Build log attached.
Comment 1 theprogrammernerd 2015-02-01 03:53:54 UTC
Created attachment 395286 [details, diff]
Fix build errors by using the latest version of patches from Debian.

This has nothing to do with clang. I also get POSTPROC errors when trying to compile arj with gcc. The attached patch allowed arj to compile.
Comment 2 Pacho Ramos gentoo-dev 2016-06-12 10:40:07 UTC
Austin, I saw you added PATCH keyword... this package has no maintainer, then, feel free to go ahead and fix it directly if you want :)
Comment 3 Austin English (RETIRED) gentoo-dev 2016-06-14 20:48:28 UTC
(In reply to Pacho Ramos from comment #2)
> Austin, I saw you added PATCH keyword... this package has no maintainer,
> then, feel free to go ahead and fix it directly if you want :)

Thanks for the reminder. I looked closer, that patch is already in tree, but building still fails with clang-3.5. I'll look closer at the failure.
Comment 4 Austin English (RETIRED) gentoo-dev 2016-06-14 20:48:47 UTC
Assigning to myself.
Comment 5 Austin English (RETIRED) gentoo-dev 2016-06-14 22:49:51 UTC
Looks like there's (at least) one file being miscompiled. The current failure, with arj-3.10.22-r6 is:
POSTPROC v 1.30  [17/01/2003]  Not a part of any binary package!

Patch not found
GNUmakefile:403: recipe for target 'linux-gnu/en/rs/rearj/rearj' failed

replacing linux-gnu/en/rs/rearj/rearj with one compiled with gcc allows that command to succeed.
Comment 6 Alessandro Barbieri 2017-10-15 18:59:40 UTC
Same with gcc6
Comment 7 David Carlos Manuelda 2021-05-13 12:03:17 UTC
Title needs to be changed because it can be reproduced with clang-12 (2021) so this bug is still valid regardless a bit old.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-06 04:34:13 UTC
*** Bug 871006 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-06 05:41:00 UTC
Created attachment 863365 [details]
arj-3.10.22_p26.ebuild

I took a look at cranking this up to the latest Debian patchset at least, but the result wouldn't then work with GCC (13, anyway).
Comment 10 Agostino Sarubbo gentoo-dev 2024-01-30 21:02:34 UTC
clang-lld_tinderbox has reproduced this issue with version 3.10.22-r8 - Updating summary.