Bug 1686826 - Unable to install american-fuzzy-lop-clang-fast on Fedora 29
Summary: Unable to install american-fuzzy-lop-clang-fast on Fedora 29
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: american-fuzzy-lop
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-08 12:28 UTC by Jakub Jelen
Modified: 2019-08-30 00:50 UTC (History)
3 users (show)

Fixed In Version: american-fuzzy-lop-2.53b-1.fc30 american-fuzzy-lop-2.53b-1.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-29 22:06:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jakub Jelen 2019-03-08 12:28:50 UTC
Description of problem:
Installing the american-fuzzy-lop-clang fails because of broken dependencies?

Version-Release number of selected component (if applicable):
american-fuzzy-lop-clang-2.52b-5.fc29.x86_64

How reproducible:
100%

Steps to Reproduce:
$ sudo dnf install american-fuzzy-lop-clang


Actual results:
Last metadata expiration check: 2:43:16 ago on Fri 08 Mar 2019 10:43:14 AM CET.
Error: 
 Problem: conflicting requests
  - nothing provides clang(major) = 6 needed by american-fuzzy-lop-clang-2.52b-5.fc29.x86_64
(try to add '--skip-broken' to skip uninstallable packages)


Expected results:
Should install.

Comment 1 Richard W.M. Jones 2019-03-08 12:30:41 UTC
We can't rebuild afl at the moment because of an upstream bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1674644#c4

Comment 2 Jakub Jelen 2019-03-08 15:05:05 UTC
On Fedora 29, I am getting the error even earlier when building against clang7 and I do not seem to be able to build against clang6.

clang -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.52b\"  afl-clang-fast.c -o ../afl-clang-fast 
clang-7: error: unknown argument: '-fstack-clash-protection'

I am getting the same error with rawhide and clang8:

clang -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DVERSION=\"2.52b\"  afl-clang-fast.c -o ../afl-clang-fast 
clang-8: error: unknown argument: '-fstack-clash-protection'
make: *** [Makefile:79: ../afl-clang-fast] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.uTBMZQ (%build)

Can you clarify how did you get to the errors in the other bug?

Comment 3 Vasil Velichkov 2019-08-20 23:55:28 UTC
Hi,

I just successfully built american-fuzzy-lop-clang-2.53b from the master branch 630838a6af7282efb51ee70c809f0cb278e22ac8 on fedora 29 by only setting clang_major to 7. Would it be possible to release versions for f29 and f30? 


diff --git a/american-fuzzy-lop.spec b/american-fuzzy-lop.spec
index 758683f..ebe90ae 100644
--- a/american-fuzzy-lop.spec
+++ b/american-fuzzy-lop.spec
@@ -1,7 +1,7 @@
 # We need to rebuild this package every time the clang major version
 # changes, since clang releases are not ABI compatible between major
 # versions.  See also https://bugzilla.redhat.com/1544964
-%global clang_major 8
+%global clang_major 7
 
 Name:          american-fuzzy-lop
 Version:       2.53b

Thanks.

Comment 4 Fedora Update System 2019-08-21 07:39:36 UTC
FEDORA-2019-6354d8254b has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6354d8254b

Comment 5 Fedora Update System 2019-08-21 07:39:44 UTC
FEDORA-2019-5c12602326 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c12602326

Comment 6 Fedora Update System 2019-08-22 03:32:29 UTC
american-fuzzy-lop-2.53b-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6354d8254b

Comment 7 Fedora Update System 2019-08-22 03:40:15 UTC
american-fuzzy-lop-2.53b-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c12602326

Comment 8 Fedora Update System 2019-08-29 22:06:12 UTC
american-fuzzy-lop-2.53b-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2019-08-30 00:50:38 UTC
american-fuzzy-lop-2.53b-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.