Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1863558

Summary: firefox-pkcs11-loader: FTBFS in Fedora rawhide/f33
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: firefox-pkcs11-loaderAssignee: Germano Massullo <germano.massullo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 33CC: antti.andreimann, cserpentis, germano.massullo, mboddu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-31 13:06:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-08-03 16:47:10 UTC
firefox-pkcs11-loader failed to build from source in Fedora rawhide/f33

https://koji.fedoraproject.org/koji/taskinfo?taskID=47949506


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Please fix firefox-pkcs11-loader at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
firefox-pkcs11-loader will be orphaned. Before branching of Fedora 34,
firefox-pkcs11-loader will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-08-03 16:47:12 UTC
Created attachment 1704280 [details]
build.log

Comment 2 Fedora Release Engineering 2020-08-03 16:47:13 UTC
Created attachment 1704281 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-08-03 16:47:14 UTC
Created attachment 1704282 [details]
state.log

Comment 4 Ben Cotton 2020-08-11 14:01:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 5 Germano Massullo 2020-09-26 09:13:51 UTC
EPEL branch uses the same spec file of master branch.
There, it has recently been introduced the new cmake macros [1]

%cmake OR %cmake_kf5
%cmake_build
%cmake_install

but they do not work on EL8 at the moment, so we need to add proper macros to skip them.
A good example how to handle this, is my spec file
https://src.fedoraproject.org/rpms/darktable/blob/master/f/darktable.spec

[1]: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds

Comment 6 Fedora Release Engineering 2020-09-30 18:43:01 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 33.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2020-09-28).

A week before the mass branching of Fedora 34 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 32 will be
retired regardless of the status of this bug.

[1] https://fedoraproject.org/wiki/Updates_Policy
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-34/f-34-key-tasks.html

Comment 7 Germano Massullo 2021-01-30 18:24:37 UTC
Help needed

I created an updated spec file with new [1] cmake flags
https://download.copr.fedorainfracloud.org/results/germano/erase_me/fedora-rawhide-x86_64/01927782-firefox-pkcs11-loader/firefox-pkcs11-loader.spec

but the build [2] fails:
===
CMake Error at x86_64-redhat-linux-gnu/cmake_install.cmake:41 (file):
  file INSTALL cannot find
  "/builddir/build/BUILD/firefox-pkcs11-loader-3.13.6/x86_64-redhat-linux-gnu/{02274e0c-d135-45f0-8a9c-32b35110e10d}.xpi":
  No such file or directory.
===
and it's weird because the package structure has not changed, it's the same that built sccessfully on older Fedora branches

Adding in CC mohanboddu that is trying to build the F34 package

[1]: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
[2]: https://copr.fedorainfracloud.org/coprs/germano/erase_me/build/1927782/

Comment 8 Fedora Update System 2021-01-31 13:06:02 UTC
FEDORA-2021-9cb3a970c6 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9cb3a970c6