Bug 1855094 - Upgrade pveclib to 1.0.4
Summary: Upgrade pveclib to 1.0.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pveclib
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steven Jay Munroe
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-08 23:41 UTC by Steven Jay Munroe
Modified: 2020-08-08 01:37 UTC (History)
3 users (show)

Fixed In Version: pveclib-1.0.4-3.fc33 pveclib-1.0.4-3.el7 pveclib-1.0.4-3.el8
Clone Of:
Environment:
Last Closed: 2020-08-08 00:33:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
SRPM build on F32 (745.82 KB, application/x-rpm)
2020-07-08 23:48 UTC, Steven Jay Munroe
no flags Details

Description Steven Jay Munroe 2020-07-08 23:41:27 UTC
Spec URL: https://github.com/open-power-sdk/fedora/blob/master/pveclib.spec
SRPM URL: <srpm info here>
Description: Power Vector Library (pveclib) A library of useful vector operations for POWER. Version 1.0.4 Multiple (128-bit) quadword multiplies
and adds. Also add IFUNC enable runtime libraries to support the 
complex operations available from vec_int512_ppc.h

More complete description and rationale here: https://github.com/open-power-sdk/pveclib/wiki

License: Apache V2.0 Project governance: modified DCO 1.1
Fedora Account System Username: munroesj52

Comment 1 Steven Jay Munroe 2020-07-08 23:48:05 UTC
Created attachment 1700360 [details]
SRPM build on F32

Cant figure out COPR yet

Comment 2 Robert-André Mauchin 🐧 2020-07-09 14:37:35 UTC
It is already packaged https://src.fedoraproject.org/rpms/pveclib and you are the owner.

Do you require help to update it? You don't need a review for an update.

1. cd pveclib

2. fedpkg switch-branch master (Make sure our changes go to master first)

3. Edit the SPEC to update it (Don't forget to bump version-release and add the corresponding changelog entry).

4. Download the new source:

spectool -g *.spec;

5. Upload the new source to dist-git (remove any old archives first if it still there)

fedpkg new-sources *.tar.gz

6. Test your changes with a scratch build:

fedpkg  --release f33 scratch-build --srpm --fail-fast

If it fails, look at the logs to understand why.

7. If it's good, remove the SRPM from your repo:

rm -f *.src.rpm

8. Stage your changes

git add .

9. Commit your changes:

fedpkg ci -cs

10. Push

fedpkg push

11. Build

fedpkg build



12. Then if you want to support other branches:

fedpkg switch-branch f32

13. Import your changes from master:

git merge master

14. Push & build for F32:

fedpkg push
fedpkg build

15. Request an update from bodhi:

fedpkg update --type enhancement --bugs XXXXXX (add a bug number if needed)

Comment 3 Steven Jay Munroe 2020-07-09 20:17:48 UTC
(In reply to Robert-André Mauchin 🐧 from comment #2)
> It is already packaged https://src.fedoraproject.org/rpms/pveclib and you
> are the owner.
> 
> Do you require help to update it? You don't need a review for an update.
...
> 
> fedpkg update --type enhancement --bugs XXXXXX (add a bug number if needed)

Sorry I lost all the bread crumbs from the last time (11 months ago). So yes I could use some help.

Also I need a reminder (doc link) for how to apply my pagure.keys.

In the meantime I will review the fedpkg doc.

Comment 4 Steven Jay Munroe 2020-07-15 16:04:19 UTC
It looks like I need help: I have a Fedora 30 and 42 system. I originated pveclib for f31 from the f30 system (pagure.keys and all that). Can I continue to work fedpkg from the F30 install or do I move up to F32?

Has the setup changes for F32? The pagure.keys where in .config/rpkg/fedpkg.conf. I copied fedpkg.conf from the F30 to to .config/rpkg/fedpkg.conf on the F32 system but "fedpkg clone pveclib" fails there:

sjmunroe.org: Permission denied (publickey).
fatal: Could not read from remote repository.


hmmm: my local id is sjmunroe but my FAS login is munroesj52? So I have miss configure fedpkg on the F32 install?

Comment 5 Steven Jay Munroe 2020-07-15 16:25:29 UTC
(In reply to Steven Jay Munroe from comment #4)
> It looks like I need help: I have a Fedora 30 and 42 system. I originated
> pveclib for f31 from the f30 system (pagure.keys and all that). Can I
> continue to work fedpkg from the F30 install or do I move up to F32?
> 
> Has the setup changes for F32? The pagure.keys where in
> .config/rpkg/fedpkg.conf. I copied fedpkg.conf from the F30 to to
> .config/rpkg/fedpkg.conf on the F32 system but "fedpkg clone pveclib" fails
> there:
> 
> sjmunroe.org: Permission denied (publickey).
> fatal: Could not read from remote repository.
> 
> 
> hmmm: my local id is sjmunroe but my FAS login is munroesj52? So I have miss
> configure fedpkg on the F32 install?

Ok fixed the identity crisis from:
https://fedoraproject.org/wiki/Package_maintenance_guide#Installing_fedpkg_and_doing_initial_setup

I should be able the swing the exist pveclib-1.0.3 to F32 for build.

Then update source to pveclib-1.0.4alpha2 for rawhide?

Comment 6 Steven Jay Munroe 2020-07-15 20:54:18 UTC
$ fedpkg  --release f33 scratch-build --srpm --fail-fast


setting SOURCE_DATE_EPOCH=1594080000
Wrote: /home/sjmunroe/fedora-scm/pveclib/pveclib-1.0.4alpha2-3.fc33.src.rpm
[====================================] 100% 00:00:00 755.74 KiB   1.03 MiB/sec
Building pveclib-1.0.4alpha2-3.fc33.src.rpm for f33-candidate
Created task: 47275073
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=47275073
Watching tasks (this may be safely interrupted)...
47275073 build (f33-candidate, pveclib-1.0.4alpha2-3.fc33.src.rpm): free
47275073 build (f33-candidate, pveclib-1.0.4alpha2-3.fc33.src.rpm): free -> open (buildvm-ppc64le-38.iad2.fedoraproject.org)
  47275085 rebuildSRPM (noarch): closed
  47275160 buildArch (pveclib-1.0.4alpha2-3.fc33.src.rpm, ppc64le): open (buildvm-ppc64le-04.iad2.fedoraproject.org)
47275073 build (f33-candidate, pveclib-1.0.4alpha2-3.fc33.src.rpm): open (buildvm-ppc64le-38.iad2.fedoraproject.org) -> FAILED: BuildError: error building package (arch ppc64le), mock exited with status 1; see build.log or root.log for more information
  0 free  1 open  1 done  1 failed
  47275160 buildArch (pveclib-1.0.4alpha2-3.fc33.src.rpm, ppc64le): open (buildvm-ppc64le-04.iad2.fedoraproject.org) -> FAILED: BuildError: error building package (arch ppc64le), mock exited with status 1; see build.log or root.log for more information
  0 free  0 open  1 done  2 failed

47275073 build (f33-candidate, pveclib-1.0.4alpha2-3.fc33.src.rpm) failed
[sjmunroe@homer54 pveclib]$ ls
clog                                pveclib.spec  sources
pveclib-1.0.4alpha2-3.fc33.src.rpm  README.md     v1.0.4alpha2.tar.gz

soooo where do I find the build.log or root.log?

Comment 7 Steven Jay Munroe 2020-07-15 22:35:45 UTC
Ok this is better: fixed up typos in pveclib.spec rawhide builds for 1.0.4-alpha2

$ fedpkg build
Building pveclib-1.0.4alpha2-3.fc33 for rawhide
Created task: 47279676
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=47279676
Watching tasks (this may be safely interrupted)...
47279676 build (rawhide, /rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): free
47279676 build (rawhide, /rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): free -> open (buildhw-x86-01.iad2.fedoraproject.org)
  47279705 buildSRPMFromSCM (/rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): free
  47279705 buildSRPMFromSCM (/rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): free -> open (buildvm-s390x-08.s390.fedoraproject.org)
  47279750 buildArch (pveclib-1.0.4alpha2-3.fc33.src.rpm, ppc64le): open (buildvm-ppc64le-23.iad2.fedoraproject.org)
  47279705 buildSRPMFromSCM (/rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): open (buildvm-s390x-08.s390.fedoraproject.org) -> closed
  0 free  2 open  1 done  0 failed
  47279795 tagBuild (noarch): open (buildvm-s390x-06.s390.fedoraproject.org)
  47279750 buildArch (pveclib-1.0.4alpha2-3.fc33.src.rpm, ppc64le): open (buildvm-ppc64le-23.iad2.fedoraproject.org) -> closed
  0 free  2 open  2 done  0 failed
47279676 build (rawhide, /rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f): open (buildhw-x86-01.iad2.fedoraproject.org) -> closed
  0 free  1 open  3 done  0 failed
  47279795 tagBuild (noarch): open (buildvm-s390x-06.s390.fedoraproject.org) -> closed
  0 free  0 open  4 done  0 failed

47279676 build (rawhide, /rpms/pveclib.git:46b3a365f589ab3c57806894db198e04961c345f) completed successfully

But I am just a little wierded out by the buildvm-s390x-08.s390 stuff

Comment 8 Fabio Valentini 2020-07-23 07:37:48 UTC
Please don't NEEDINFO the package reviews mailing list. It only creates more spam for an already very busy mailing list.

> But I am just a little wierded out by the buildvm-s390x-08.s390 stuff

You don't need to be. The tasks scheduled to run on s390x were 1) building the SRPM file and 2) tagging the package into the correct tag in koji, which are both architecture independent.

Comment 9 Petr Pisar 2020-07-23 07:56:05 UTC
I can see pveclib-1.0.4-3.fc33 was successfully built for Fedora 33. That's all what's needed for Fedora 33.

I can see pveclib-1.0.4-3.el8 and pveclib-1.0.4-3.el7 were built. To get non-Rawhide builds into a stable repository, the builds must undergo a testing. That's performed by submitting them into a updates-testing repository with "bodhi updates create ..." command or using a <https://bodhi.fedoraproject.org/updates/> web page. After undergoing a successful testing (you will be notified by an e-mail), you will be able to push them into a stable repository (again with the "bodhi updates request ..." command or with the web page). Then they will be available for all users.

Since this bug report is not about a package, but about upgrading the package, I'm moving it to the pveclib component, assigning it you (because you do the upgrade), and changing the bug status to MODIFIED, because the package has already been updated in the dist-git.

Comment 10 Steven Jay Munroe 2020-07-23 15:24:27 UTC
(In reply to Fabio Valentini from comment #8)
> Please don't NEEDINFO the package reviews mailing list. It only creates more
> spam for an already very busy mailing list.
> 

Noted thanks

> > But I am just a little wierded out by the buildvm-s390x-08.s390 stuff
> 
> You don't need to be. The tasks scheduled to run on s390x were 1) building
> the SRPM file and 2) tagging the package into the correct tag in koji, which
> are both architecture independent.

Good to know thanks.

Comment 11 Fedora Update System 2020-07-23 15:40:27 UTC
FEDORA-EPEL-2020-7c3fde7f74 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-7c3fde7f74

Comment 12 Fedora Update System 2020-07-23 15:40:27 UTC
FEDORA-EPEL-2020-df3af2a8f8 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-df3af2a8f8

Comment 13 Fedora Update System 2020-07-24 01:37:42 UTC
FEDORA-EPEL-2020-df3af2a8f8 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-df3af2a8f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-07-24 01:45:16 UTC
FEDORA-EPEL-2020-7c3fde7f74 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-7c3fde7f74

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-08-08 00:33:24 UTC
FEDORA-EPEL-2020-df3af2a8f8 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2020-08-08 01:37:45 UTC
FEDORA-EPEL-2020-7c3fde7f74 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, 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.