Bug 2227526

Summary: gmp-6.3.0 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: gmpAssignee: Jakub Martisko <jamartis>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jamartis, stli
Target Milestone: ---Keywords: FutureFeature, Triaged
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: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Update to 6.3.0 (#2227526) none

Description Upstream Release Monitoring 2023-07-30 13:24:10 UTC
Releases retrieved: 6.3.0
Upstream release that is considered latest: 6.3.0
Current version/release in rawhide: 6.2.1-5.fc39
URL: http://gmplib.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1186/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/gmp

Comment 1 Upstream Release Monitoring 2023-07-30 13:24:17 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-jq1aaiu5/gmp.spec']' returned non-zero exit status 1.

StdOut:
setting SOURCE_DATE_EPOCH=1690675200
error: Bad file: ./gmp-6.3.0.tar.xz: No such file or directory

RPM build errors:
    Bad file: ./gmp-6.3.0.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.11/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/hotness/builders/koji.py", line 229, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 2 Upstream Release Monitoring 2023-07-30 13:24:18 UTC
Created attachment 1980690 [details]
Update to 6.3.0 (#2227526)

Comment 3 stli 2023-08-02 08:59:53 UTC
For s390x, the gmp 6.3 release-notes (https://gmplib.org/gmp6.3) mention:
Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in a huge speedup.

Starting with Fedora 38, ALS on s390x has switched from zEC12 to z13. So far z10 is used as default CPU in gmp.spec (https://src.fedoraproject.org/rpms/gmp/blob/rawhide/f/gmp.spec#_74)

Please also note that the trick with setting the symlink mpn/s390_64/s390x to z10 directory and configuring with --host=s390x-... does not work anymore as configure.ac was adjusted.
See commit: "Recognise CPUs z13-z15."
(https://gmplib.org/repo/gmp/rev/3b2819294177#l4.105)

Choosing z13 as default CPU for s390x can be done by setting the MPN_PATH variable
(https://gmplib.org/repo/gmp/file/tip/doc/gmp.texi#l1061) for configuring.
%ifarch s390x
  export MPN_PATH="s390_64/z13 s390_64 generic"
%endif

Comment 4 stli 2023-08-03 15:02:59 UTC
Unfortunately it turned out that you'll get an illegal-instruction in popcount/hamdist if run on z13. This is observable with make check. Please have a look at the mailing-list:
[PATCH] Revert "Move popcount and hamdist back from z14 to z13 after needed edits."
https://gmplib.org/list-archives/gmp-devel/2023-August/006198.html
The patch is already committed to master:
https://gmplib.org/repo/gmp/rev/372acfd0c33e

Please also pick up this patch when switching to gmp 6.3.0 release.