[opensuse-buildservice] Build.pm: Collax support breaks worker
Hi, I installed the new build version 20150911 just some moments ago and my workers just stopped building and everything failed with this message: [ 26s] Can't locate parent.pm in @INC (@INC contains: /.build /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /.build/Build/Collax.pm line 16. [ 26s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16. My workaround is this: /usr/lib/obs/server/build # diff -u Build.pm.old Build.pm --- Build.pm.old 2015-09-16 17:08:21.000000000 +0200 +++ Build.pm 2015-09-16 17:07:29.000000000 +0200 @@ -55,7 +55,7 @@ require Build::Arch; } if ($do_collax) { - require Build::Collax; +# require Build::Collax; } if ($do_livebuild) { require Build::LiveBuild; Is the update incomplete? I've installed the update from http://download.opensuse.org/repositories/OBS:/Server:/2.6/SLE_11_SP3. Regards, Christian -- Christian Schneemann System Management & Monitoring Architect Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, 16 Sep 2015 17:14:43 +0200
Christian Schneemann
Hi,
I installed the new build version 20150911 just some moments ago and my workers just stopped building and everything failed with this message:
[ 26s] Can't locate parent.pm in @INC (@INC contains: /.build /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /.build/Build/Collax.pm line 16. [ 26s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16.
My workaround is this:
/usr/lib/obs/server/build # diff -u Build.pm.old Build.pm --- Build.pm.old 2015-09-16 17:08:21.000000000 +0200 +++ Build.pm 2015-09-16 17:07:29.000000000 +0200 @@ -55,7 +55,7 @@ require Build::Arch; } if ($do_collax) { - require Build::Collax; +# require Build::Collax; } if ($do_livebuild) { require Build::LiveBuild;
Is the update incomplete? I've installed the update from http://download.opensuse.org/repositories/OBS:/Server:/2.6/SLE_11_SP3.
zypper in perl-parent darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 09/16/2015 05:22 PM, Marcus Rückert wrote:
On Wed, 16 Sep 2015 17:14:43 +0200 Christian Schneemann
wrote: Hi,
I installed the new build version 20150911 just some moments ago and my workers just stopped building and everything failed with this message:
[ 26s] Can't locate parent.pm in @INC (@INC contains: /.build /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /.build/Build/Collax.pm line 16. [ 26s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16.
My workaround is this:
/usr/lib/obs/server/build # diff -u Build.pm.old Build.pm --- Build.pm.old 2015-09-16 17:08:21.000000000 +0200 +++ Build.pm 2015-09-16 17:07:29.000000000 +0200 @@ -55,7 +55,7 @@ require Build::Arch; } if ($do_collax) { - require Build::Collax; +# require Build::Collax; } if ($do_livebuild) { require Build::LiveBuild;
Is the update incomplete? I've installed the update from http://download.opensuse.org/repositories/OBS:/Server:/2.6/SLE_11_SP3.
zypper in perl-parent
# zypper in perl-parent Refreshing service 'SMT-http_peach_colo_b1-systems_de'. Loading repository data... Reading installed packages... 'perl-parent' is already installed. Package 'perl-parent' is not available in your repositories. Cannot reinstall, upgrade, or downgrade. Resolving package dependencies... Nothing to do. ## Also on the workers itself, but then it was missed in the xen workers.. Something has to be added to the update. Regards, Christian
darix
-- Christian Schneemann System Management & Monitoring Architect Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, 16 Sep 2015 17:26:58 +0200
Christian Schneemann
Also on the workers itself, but then it was missed in the xen workers.. Something has to be added to the update.
of course it needs to be installed on all the workers. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 09/16/2015 05:28 PM, Marcus Rückert wrote:
On Wed, 16 Sep 2015 17:26:58 +0200 Christian Schneemann
wrote: Also on the workers itself, but then it was missed in the xen workers.. Something has to be added to the update.
of course it needs to be installed on all the workers.
it is.. now I get the message later in the log: [ 7s] Updating /etc/sysconfig/backup... [ 7s] Updating /etc/sysconfig/proxy... [ 8s] Updating /etc/sysconfig/windowmanager... [ 8s] Updating /etc/sysconfig/news... [ 8s] Updating etc/passwd...unchanged [ 8s] Updating etc/group...unchanged [ 8s] Updating etc/shadow...new [ 8s] initializing rpm db... [ 8s] Can't locate parent.pm in @INC (you may need to install the parent module) (@INC contains: /.build /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /.build/Build/Collax.pm line 16. [ 8s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16. [ 8s] Compilation failed in require at /.build/Build.pm line 57. [ 8s] BEGIN failed--compilation aborted at /.build/listinstalled line 28. [ 8s] [1/109] Can't locate parent.pm in @INC (you may need to install the parent module) (@INC contains: /.build /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /.build/Build/Collax.pm line 16. [ 8s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16. [ 8s] Compilation failed in require at /.build/Build.pm line 57. [ 8s] BEGIN failed--compilation aborted. [ 8s] ### WATCHDOG MARKER START ### So should the parent.pm Module also be in the worker itself? Or what did you mean with "installed on all workers"? On the machine that starts the workers or in the xen-VMs starting the worker? I think it should be also somewhere next to the code that is loaded on from the worker start script. Also the perl-parent package seems not to be part of the OBS Repository. Regards, Christian
darix
-- Christian Schneemann System Management & Monitoring Architect Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 2015-09-16 17:43, Christian Schneemann wrote:
[ 8s] Can't locate parent.pm in @INC (you may need to install the parent module) (@INC contains: /.build /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /.build/Build/Collax.pm line 16.
17:44 localhorse:~ > find /usr/lib*/perl* -name 'parent.pm' /usr/lib/perl5/5.20.1/parent.pm 17:44 localhorse:~ > rpm -qf /usr/lib/perl5/5.20.1/parent.pm perl-5.20.1-1.3.x86_64 [opensuse 13.2] So... what exactly is missing? It's in the normal perl package. ("use parent" is mentioned in perlobj(1) to inherit from a class.) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 09/16/2015 05:46 PM, Jan Engelhardt wrote:
On Wednesday 2015-09-16 17:43, Christian Schneemann wrote:
[ 8s] Can't locate parent.pm in @INC (you may need to install the parent module) (@INC contains: /.build /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /.build/Build/Collax.pm line 16.
17:44 localhorse:~ > find /usr/lib*/perl* -name 'parent.pm' /usr/lib/perl5/5.20.1/parent.pm 17:44 localhorse:~ > rpm -qf /usr/lib/perl5/5.20.1/parent.pm perl-5.20.1-1.3.x86_64 [opensuse 13.2]
So... what exactly is missing? It's in the normal perl package. ("use parent" is mentioned in perlobj(1) to inherit from a class.)
OK, then these errors are just on sles 11 sp3: zauberkugel:~ # find /usr/lib*/perl* -name 'parent.pm' /usr/lib/perl5/vendor_perl/5.10.0/parent.pm rpm -qf /usr/lib/perl5/vendor_perl/5.10.0/parent.pm perl-parent-0.234-1.1 Yes, sles11 sp3 is old.. -- Christian Schneemann System Management & Monitoring Architect Tel.: +49-175-7250665 Mail: schneemann@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 16. September 2015, 17:53:13 CEST wrote Christian Schneemann:
On 09/16/2015 05:46 PM, Jan Engelhardt wrote:
On Wednesday 2015-09-16 17:43, Christian Schneemann wrote:
[ 8s] Can't locate parent.pm in @INC (you may need to install the parent module) (@INC contains: /.build /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /.build/Build/Collax.pm line 16.
17:44 localhorse:~ > find /usr/lib*/perl* -name 'parent.pm' /usr/lib/perl5/5.20.1/parent.pm 17:44 localhorse:~ > rpm -qf /usr/lib/perl5/5.20.1/parent.pm perl-5.20.1-1.3.x86_64 [opensuse 13.2]
So... what exactly is missing? It's in the normal perl package. ("use parent" is mentioned in perlobj(1) to inherit from a class.)
OK, then these errors are just on sles 11 sp3:
zauberkugel:~ # find /usr/lib*/perl* -name 'parent.pm' /usr/lib/perl5/vendor_perl/5.10.0/parent.pm
rpm -qf /usr/lib/perl5/vendor_perl/5.10.0/parent.pm perl-parent-0.234-1.1
Yes, sles11 sp3 is old..
Yes, I have added a perl-parent package for SLE 11 SP3 meanwhile to OBS:Server:unstable project. But that won't help the workers. Could we make the dependency optional and just report "badhost" when it is not able to load perl-parent? That way we do not introduce a new global dependency ... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Sep 16, 2015 at 05:14:43PM +0200, Christian Schneemann wrote:
Hi,
I installed the new build version 20150911 just some moments ago and my workers just stopped building and everything failed with this message:
[ 26s] Can't locate parent.pm in @INC (@INC contains: /.build /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /.build/Build/Collax.pm line 16. [ 26s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16.
Oh my. I'll fix Collax.pm to not rely on the parent module. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Sep 17, 2015 at 10:47:29AM +0200, Michael Schroeder wrote:
On Wed, Sep 16, 2015 at 05:14:43PM +0200, Christian Schneemann wrote:
Hi,
I installed the new build version 20150911 just some moments ago and my workers just stopped building and everything failed with this message:
[ 26s] Can't locate parent.pm in @INC (@INC contains: /.build /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /.build/Build/Collax.pm line 16. [ 26s] BEGIN failed--compilation aborted at /.build/Build/Collax.pm line 16.
Oh my. I'll fix Collax.pm to not rely on the parent module.
In fact, the 'use parent "Build::Deb"' line is completely unneeded. Dunno why they added it at all. I removed it, let's see if Collax builds still work [commit #3e809564fde7578e8ba7a9988e8237855edd1016]. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2015-09-17 10:47, Michael Schroeder wrote:
Oh my. I'll fix Collax.pm to not rely on the parent module.
@ISA = qw(Build::Deb); is probably enough. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Adrian Schröter
-
Christian Schneemann
-
Jan Engelhardt
-
Marcus Rückert
-
Michael Schroeder