Bug 14243

Summary: rpm-4.12.0.1 breaks iurt buids
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Pascal Terjan <pterjan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: 4   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: iurt-0.6.22-3.mga5.src.rpm CVE:
Status comment:

Description Barry Jackson 2014-10-07 00:03:24 CEST
Description of problem:
Since the update to rpm-4.12.0 in Cauldron it is not possible to build packages for Cauldron using iurt locally.

I: [iurt] [iurt] --------------- Command failed, full output follows ---------------
I: [iurt] [iurt] D: [iurt_root_command] chroot
error: Could not open /home/baz/rpmbuild/SRPMS/dvtm-0.12-1.mga5.src.rpm: Permission denied
I: [iurt_root_command] ERROR: chroot


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Pascal Terjan 2014-10-12 19:55:53 CEST
Fixed in git, I'll see if there is something else to do before a release
Comment 2 Barry Jackson 2014-10-12 22:17:36 CEST
I rebuilt iurt from git master, and installed it locally, but the error persists.

F: [iurt] [iurt] Command failed: /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/baz/chroot_tmp/baz/chroot_cauldron.x86_64.0.20141012200835 su baz -c "rpmbuild --nodeps -bs  /home/baz/rpmbuild/SPECS/phototonic.spec"

I: [iurt] [iurt] --------------- Command failed, full output follows ---------------
I: [iurt] [iurt] D: [iurt_root_command] chroot
error: Could not open /home/baz/rpmbuild/SRPMS/phototonic-1.4.3-1.mga5.src.rpm: Permission denied

[baz@jackodesktop ~]$ rpm -q iurt
iurt-0.6.22-4.mga5                   (which is what I built from git)
Comment 3 Pascal Terjan 2014-10-13 00:17:42 CEST
Strange, it now works fine here:

[pterjan@chopin-cauldron-64 iurt]$ perl -I/home/pterjan/git/mageia/soft/build-system/iurt/lib iurt --rebuild cauldron x86_64 ~/rpmbuild/SRPMS/fasterxml-oss-parent-16-1.mga5.src.rpm
[...]
N: [iurt] [iurt] recreate srpm: fasterxml-oss-parent-16-1.mga5.src.rpm
[...]
D: [iurt_root_command] Removing files
D: [iurt_root_command] removing /home/pterjan/build/chroot_tmp/pterjan/chroot_cauldron.x86_64.0.20141012221429/home/pterjan/rpmbuild/SRPMS/fasterxml-oss-parent-16-1.mga5.src.rpm
D: [iurt_root_command] Success!
D: [iurt] [iurt] Using timeout of 300 seconds.
D: [iurt] [iurt] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/pterjan/build/chroot_tmp/pterjan/chroot_cauldron.x86_64.0.20141012221429 su pterjan -c "rpmbuild --nodeps -bs  /home/pterjan/rpmbuild/SPECS/fasterxml-oss-parent.spec"
D: [iurt] [iurt] Command exited with 0.
N: [iurt] [iurt] new srpm: fasterxml-oss-parent-16-1.mga5.src.rpm
I: [iurt] [iurt] Install build dependencies for fasterxml-oss-parent-16-1.mga5.src.rpm
Comment 4 Pascal Terjan 2014-10-13 01:41:55 CEST
I have uploaded iurt 0.6.23 to updates_testing
Comment 5 Barry Jackson 2014-10-13 20:48:58 CEST
Yes strange indeed, however 0.6.23 from updates_testing works fine!

Nice :)
Comment 6 Pascal Terjan 2014-10-13 22:22:17 CEST
Great, I still need to decide how I do an update for older distros
Comment 7 Samuel Verschelde 2015-05-19 21:14:48 CEST
(In reply to Pascal Terjan from comment #6)
> Great, I still need to decide how I do an update for older distros

Have you decided for Mageia 4?

Version: Cauldron => 4

Comment 8 Samuel Verschelde 2015-09-21 13:18:20 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 9 Thierry Vignaud 2015-09-28 14:32:56 CEST
Resolved in mga5 and mga4 is EOL

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED