[opensuse-buildservice] FreeCol fails on 10.1 (at pre-installation stage)
Hello, this one goes a bit beyond me, so I ask for your professional help. As logged at https://build.opensuse.org/package/live_build_log?arch=i586&package=freecol&project=games%3Astrategy%3Aturn-based&repository=SUSE_Linux_10.1 the package building for FreeCol failed (for SUSE Linux 10.1).
From the Log: installing xerces-j2-2.7.1-15 /var/tmp/rpm-tmp.57814: line 1: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.57814: line 2: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.57814: line 3: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.57814: line 4: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.57814: line 5: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.57814: line 6: /usr/sbin/update-alternatives: No such file or directory error: %post(xerces-j2-2.7.1-15.noarch) scriptlet failed, exit status 127 mount: can't find / in /etc/fstab or /etc/mtab /bin/bash: halt: command not found Kernel panic - not syncing: Attempted to kill init!
I think I can 'work around' by including as a BuildRequires: /usr/sbin/update-alternatives, but actually this would be a bug in xerces-j2 package. Do we decide to fix such things on OBS Level (like having a substitute for xeces2-j2) or shall I just fix it in my spec file? Dominique -- TMF is a global management and accounting outsourcing firm with 77 offices in 60 countries and over 2,500 professionals (2007). TMF is expanding rapidly throughout the world. Learn more about our unique network and our services and visit our website at www.tmf-group.com. The information contained in this e-mail communication is confidential and solely intended for the person to whom it is addressed. If someone other than the intended recipient should receive or come into possession of this e-mail communication, he/she will not be entitled to read, disseminate, disclose or duplicate it. If you are not the intended recipient, you are requested to notify the sender and to destroy the original e-mail communication. TMF is neither liable for the correct and complete transmission of the information contained in this e-mail communication nor for any delay in its receipt. This footnote also confirms that this email message has been checked for the presence of computer viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Dominique Leuenberger wrote:
/var/tmp/rpm-tmp.57814: line 1: /usr/sbin/update-alternatives: No such file or directory
Seems there is a bug in xerces-j2 package. Line reads: PreReq: update-alternatives, /bin/ln instead of PreReq: update-alternatives /bin/ln Will be fixed soon. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Pavol Rusnak wrote:
Will be fixed soon. Fix submitted to STABLE, please wait until it is synced with Factory in OBS.
-- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 23-01-2008 at 13:26, Pavol Rusnak
wrote: Pavol Rusnak wrote: Will be fixed soon. Fix submitted to STABLE, please wait until it is synced with Factory in OBS.
Pavol, well, that would help for factory... but my problem is actually on 10.1 :) Dominique -- TMF is a global management and accounting outsourcing firm with 77 offices in 60 countries and over 2,500 professionals (2007). TMF is expanding rapidly throughout the world. Learn more about our unique network and our services and visit our website at www.tmf-group.com. The information contained in this e-mail communication is confidential and solely intended for the person to whom it is addressed. If someone other than the intended recipient should receive or come into possession of this e-mail communication, he/she will not be entitled to read, disseminate, disclose or duplicate it. If you are not the intended recipient, you are requested to notify the sender and to destroy the original e-mail communication. TMF is neither liable for the correct and complete transmission of the information contained in this e-mail communication nor for any delay in its receipt. This footnote also confirms that this email message has been checked for the presence of computer viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Dominique Leuenberger wrote:
well, that would help for factory... but my problem is actually on 10.1 :)
Ah, I overlooked SUSE version. :) Package update-alternatives will get into BuildRequires because java-1_5_0-sun requires it, but I think it will be installed after xerces-j2 and that is the problem. You could build your own version of xerces-j2 for 10.1 (link and patch), but even better solution will be to ask OBS team to fix broken package in BuildService (and it seems that was what you were doing in your first post :P). -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 23-01-2008 at 13:41, Pavol Rusnak
wrote: [...], but even better solution will be to ask OBS team to fix broken package in BuildService (and it seems that was what you were doing in your first post :P).
Indeed, that was the intention ;) but nevertheless it helped us get rid of a bug in a package (that must have been around for a while). Dominique -- TMF is a global management and accounting outsourcing firm with 77 offices in 60 countries and over 2,500 professionals (2007). TMF is expanding rapidly throughout the world. Learn more about our unique network and our services and visit our website at www.tmf-group.com. The information contained in this e-mail communication is confidential and solely intended for the person to whom it is addressed. If someone other than the intended recipient should receive or come into possession of this e-mail communication, he/she will not be entitled to read, disseminate, disclose or duplicate it. If you are not the intended recipient, you are requested to notify the sender and to destroy the original e-mail communication. TMF is neither liable for the correct and complete transmission of the information contained in this e-mail communication nor for any delay in its receipt. This footnote also confirms that this email message has been checked for the presence of computer viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jan 23, 2008 at 12:30:30PM +0100, Dominique Leuenberger wrote:
On 23-01-2008 at 13:26, Pavol Rusnak
wrote: Pavol Rusnak wrote: Will be fixed soon. Fix submitted to STABLE, please wait until it is synced with Factory in OBS. Pavol,
well, that would help for factory... but my problem is actually on 10.1 :)
The problem is that the 10.1 package PreRequires '/usr/sbin/update-alternatives', but the build service doesn't understand file provides. I think it's time to create a way to add some selected provides to the project configuration. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Jan 23, 2008 at 12:22:52PM +0100, Pavol Rusnak wrote:
Dominique Leuenberger wrote:
/var/tmp/rpm-tmp.57814: line 1: /usr/sbin/update-alternatives: No such file or directory
Seems there is a bug in xerces-j2 package. Line reads: PreReq: update-alternatives, /bin/ln instead of PreReq: update-alternatives /bin/ln Will be fixed soon.
Hmm, IIRC rpm treats ',' as white space when splitting deps. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Pavol Rusnak wrote:
Dominique Leuenberger wrote:
/var/tmp/rpm-tmp.57814: line 1: /usr/sbin/update-alternatives: No such file or directory
Seems there is a bug in xerces-j2 package. Line reads: PreReq: update-alternatives, /bin/ln instead of PreReq: update-alternatives /bin/ln Will be fixed soon.
There's no bug, the comma is allowed there. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Dominique Leuenberger
-
Michael Schroeder
-
Michal Marek
-
Pavol Rusnak