Mailinglist Archive: opensuse-buildservice (209 mails)

< Previous Next >
Re: [opensuse-buildservice] Ubuntu 13.04 and Debian 7.0 got added
  • From: Martin Koegler <martin.koegler@xxxxxxxxx>
  • Date: Mon, 13 May 2013 20:09:23 +0200
  • Message-id: <20130513180923.GB1275@mail.zuhause>
On Mon, May 13, 2013 at 11:28:07AM +0200, Nico Kruber wrote:
On Monday 13 May 2013 08:53:17 Adrian Schröter wrote:
On Sonntag, 12. Mai 2013, 13:52:20 wrote Martin Koegler:
* Debian i586 builds fails installing python2.7-minimal

Fix for the project config:
%if "%_repository" == "Debian_7.0"
Runscripts: gawk

Hm, that is already part of default Debian:7.0 project config ...

I also noted the following difference:

on x86_64:
[ 2s] [48/66] preinstalling gawk...
[ 58s] [195/310] installing gawk
[ 58s] Selecting previously unselected package gawk.
[ 71s] [227/310] installing python2.7-minimal
[ 71s] Selecting previously unselected package python2.7-minimal.

on i586:
[ 5s] [48/66] preinstalling gawk...
[ 39s] [120/310] installing python2.7-minimal
[ 39s] Selecting previously unselected package python2.7-minimal.
[ 40s] /var/lib/dpkg/info/python2.7-minimal.postinst: 62:
/var/lib/dpkg/info/python2.7-minimal.postinst: awk: not found
[ 40s] dpkg: error processing python2.7-minimal (--install):
[ 40s] subprocess installed post-installation script returned error exit
status 127
[ 40s] Errors were encountered while processing:
[ 40s] python2.7-minimal

-> no further mentioning of gawk - strange that apparently a
and an "installation" is needed for gawk to be set up..

The config lists gawk as preinstall, so it is only extracted by default.
The post-inst script (which is necessary to not break python2.7-minimal) is only
run, if the package is normally installed (eg. because another installed
package depends on it)
or if the script is run via Runscripts.

The dependency and their resolution can differ between i586 and x86_64, so it
can be different, if/when gawk is
normally installed.
Runscripts: base-passwd user-setup base-files gawk

So the remaining question is: Why does the global Runscript tag for gawk does
not work?

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >