Description of problem: i was trying to use iurt to build a package for mga2, i also tried the same command for cauldron and both failed. Using iurt with --shell works instead How reproducible: Change k9copy with your srpm: iurt --repository http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ -r 2 x86_64 k9copy/SRPMS/k9copy-2.3.8-0.1.mga1.src.rpm --chrooted-urpmi http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ Output: [anaselli@gandalf mageia]$ iurt --repository http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ -r 2 x86_64 k9copy/SRPM.3.8-0.1.mga1.src.rpm --chrooted-urpmi http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ *: [iurt2] This is iurt2 revision 3847-tv (2012-03-26 20:25:24) D: [iurt2] [iurt2] load config: /home/angelo/.iurt.2.conf D: [iurt2] [iurt2] load config: /etc/iurt/build/2.conf D: [iurt2] [iurt2] overriding configuration repository by the one given in the command line D: [iurt2] [iurt2] installation media: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64 I: [iurt2] [iurt2] local spool: /home/angelo/iurt/2/x86_64/ I: [iurt2] [iurt2] Packages to build: 1 D: [iurt2] [iurt2] using 0.20120603133410 as chroot extension D: [iurt2] [iurt2] using local user anaselli, id 500 I: [iurt2] [iurt2] Remove existing chroot D: [iurt2] [iurt2] ... dir /home/angelo/chroot_tmp all prefix chroot_2.x86_64 D: [iurt2] [iurt2] running with pid 3839 N: [iurt2] [iurt2] Build package k9copy-2.3.8-0.1.mga1.src.rpm [1/1] I: [iurt2] [iurt2] Install new chroot D: [iurt2] [iurt2] ... in /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410 D: [iurt2] [iurt2] clean chroot D: [iurt_root_command] Running iurt_root_command --untar /home/angelo/chroot_2.x86_64.tar.gz /home/angelo/chroot_tmp/anaselli/chroot. D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! N: [iurt2] [iurt2] creating chroot D: [iurt2] [iurt2] ... with packages basesystem-minimal, rpm-build, sudo, urpmi, curl D: [iurt2] [iurt2] decompressing /var/log/qa from /home/angelo/chroot_2.x86_64.tar.gz in /home/angelo/chroot_tmp/anaselli/chroot_2.x120603133410.tmp.P4MPLH D: [iurt_root_command] Running iurt_root_command --untar /home/angelo/chroot_2.x86_64.tar.gz /home/angelo/chroot_tmp/anaselli/chroot. D: [iurt_root_command] Uncompress tarball D: [iurt_root_command] Success! N: [iurt2] [iurt2] chroot tarball is already up-to-date I: [iurt2] [iurt2] Remove temporary chroot tarball D: [iurt_root_command] Running iurt_root_command --rm -r /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410.tmp.P4MPL D: [iurt_root_command] Removing files D: [iurt_root_command] removing /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410.tmp.P4MPLH D: [iurt_root_command] removing /home/angelo/chroot_2.x86_64.tar.gz.tmp.Hp8jzu D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --cp /tmp/rpmmacros /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/ho. D: [iurt_root_command] Copying files D: [iurt_root_command] copying /tmp/rpmmacros -> /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/home/builder/.rpmmacro D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /proc /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/proc D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --bindmount /dev/pts /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/dev. D: [iurt_root_command] Bind mounting D: [iurt_root_command] Success! I: [iurt2] [iurt2] add chroot media: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64 D: [iurt2] [iurt2] Using timeout of 300 seconds. D: [iurt2] [iurt2] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410 urpaddmedia --distrib http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64 D: [iurt2] [iurt2] Command exited with 0. MEDIA Core Release Core Release Debug Core Updates Core Updates Debug Core Updates Testing Core Updates Testing Debug Core Backports Core Backports Debug Core Backports Testing Core Backports Testing Debug Nonfree Release Nonfree Release Debug Nonfree Updates Nonfree Updates Debug Nonfree Updates Testing Nonfree Updates Testing Debug Nonfree Backports Nonfree Backports Debug Nonfree Backports Testing Nonfree Backports Testing Debug Tainted Release Tainted Release Debug Tainted Updates Tainted Updates Debug Tainted Updates Testing Tainted Updates Testing Debug Tainted Backports Tainted Backports Debug Tainted Backports Testing Tainted Backports Testing Debug Core 32bit Release Core 32bit Release Debug Core 32bit Updates Core 32bit Updates Debug Core 32bit Updates Testing Core 32bit Updates Testing Debug Core 32bit Backports Core 32bit Backports Debug Core 32bit Backports Testing Core 32bit Backports Testing Debug (Main) E: [iurt2] [iurt2] ERROR iurt could not add media into the chroot I: [iurt2] [iurt2] add chroot media: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64 D: [iurt2] [iurt2] Using timeout of 300 seconds. D: [iurt2] [iurt2] /usr/bin/sudo /usr/sbin/iurt_root_command --chroot /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410 urpaddmedia --wget --distrib http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64 D: [iurt2] [iurt2] Command exited with 0. MEDIA Core Release Core Release Debug Core Updates Core Updates Debug Core Updates Testing Core Updates Testing Debug Core Backports Core Backports Debug Core Backports Testing Core Backports Testing Debug Nonfree Release Nonfree Release Debug Nonfree Updates Nonfree Updates Debug Nonfree Updates Testing Nonfree Updates Testing Debug Nonfree Backports Nonfree Backports Debug Nonfree Backports Testing Nonfree Backports Testing Debug Tainted Release Tainted Release Debug Tainted Updates Tainted Updates Debug Tainted Updates Testing Tainted Updates Testing Debug Tainted Backports Tainted Backports Debug Tainted Backports Testing Tainted Backports Testing Debug Core 32bit Release Core 32bit Release Debug Core 32bit Updates Core 32bit Updates Debug Core 32bit Updates Testing Core 32bit Updates Testing Debug Core 32bit Backports Core 32bit Backports Debug Core 32bit Backports Testing Core 32bit Backports Testing Debug Core Release2 Core Release Debug2 Core Updates2 Core Updates Debug2 Core Updates Testing2 Core Updates Testing Debug2 Core Backports2 Core Backports Debug2 Core Backports Testing2 Core Backports Testing Debug2 Nonfree Release2 Nonfree Release Debug2 Nonfree Updates2 Nonfree Updates Debug2 Nonfree Updates Testing2 Nonfree Updates Testing Debug2 Nonfree Backports2 Nonfree Backports Debug2 Nonfree Backports Testing2 Nonfree Backports Testing Debug2 Tainted Release2 Tainted Release Debug2 Tainted Updates2 Tainted Updates Debug2 Tainted Updates Testing2 Tainted Updates Testing Debug2 Tainted Backports2 Tainted Backports Debug2 Tainted Backports Testing2 Tainted Backports Testing Debug2 Core 32bit Release2 Core 32bit Release Debug2 Core 32bit Updates2 Core 32bit Updates Debug2 Core 32bit Updates Testing2 Core 32bit Updates Testing Debug2 Core 32bit Backports2 Core 32bit Backports Debug2 Core 32bit Backports Testing2 Core 32bit Backports Testing Debug2 (Main) E: [iurt2] [iurt2] ERROR iurt could not add media into the chroot E: [iurt2] [iurt2] Failed to add media http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/x86_64. Disabling chrooted_urpmi. D: [iurt2] [iurt2] Creating chroot failed. Command was: /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410 D: [iurt2] [iurt2] clean chroot D: [iurt_root_command] Running iurt_root_command --umount /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/proc D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! D: [iurt_root_command] Running iurt_root_command --umount /home/angelo/chroot_tmp/anaselli/chroot_2.x86_64.0.20120603133410/dev/pts D: [iurt_root_command] Unmounting D: [iurt_root_command] Success! I: [iurt2] [iurt2] reprocess generated packages queue [anaselli@gandalf mageia]$
I think you are probably hitting this problem: http://svnweb.mageia.org/soft/build_system/iurt/trunk/lib/Iurt/Urpmi.pm?r1=3832&r2=3888 To workaround it you should specify media as well. For example iurt --repository http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ --media core/release -r 2 x86_64 k9copy/SRPM.3.8-0.1.mga1.src.rpm --chrooted-urpmi http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
CC: (none) => sander.lepik
I locally fixed this issue switching from Media to Core as seen at revision 3888 and greater. http://svnweb.mageia.org/soft/build_system/iurt/trunk/lib/Iurt/Urpmi.pm?revision=3888&view=markup
CC: (none) => pasotti.matteo
I will check for the workaround, thanks. I think an update for mga2 should be released.
Component: New RPM package request => RPM Packages
Is there a link with bug 5768 ? Task-obsolete prevent to install k9copy !!! see also bug 5093
CC: (none) => philippedidier
I reopen bug 627
Well no last version of k9copy is more stable than the one we had in mga1 and the fact is not supported any more does not mean that we can't ship it. I was building it by my-self, and if task-obsolote prevent its installation i believe is wrong. Nothing has obsoleted it, it was just removed. Anyway this iurt bug is "k9copy" independent, i got it which ever package i build :) I'd expect an update of iurt for that. I understand it's not a common user tool... but maintained anyway :p
on comment #1 suggested workaround does not seem to work, or maybe i was wrong to use it :( about suggested patch yes that solve my problem.
CC: (none) => pterjanAssignee: bugsquad => pterjan
Status: NEW => ASSIGNED
--media core/release core/updates should workaround I have updated the cauldron package to a more recent snapshot containing the fix and will see to make an update for 2
This message is a reminder that Mageia 2 is nearing its end of life. Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'. 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 prior to Mageia 2's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life. If you would still like to see this bug fixed and 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. 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. -- The Mageia Bugsquad
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug. Thank you for reporting this bug and we are sorry it could not be fixed. -- The Mageia Bugsquad
Status: ASSIGNED => RESOLVEDResolution: (none) => OLD