[opensuse-arm] ARM images fail
Hi, ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed. Any idea why? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 07/11/2012 11:43, Guillaume Gardet a écrit :
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed.
There is also this error: [ 763s] /.kconfig: line 354: /sbin/SuSEconfig: No such file or directory [ 763s] /.kconfig: line 358: SuSEconfig: command not found Because SuSEConfig was removed from aaa_base package. A few lines from aaa_base.changes: *************************************************************** Thu Sep 20 13:35:49 CEST 2012 - kukuk@suse.de - SuSEconfig is finally gone [FATE#100011] *************************************************************** Maybe it is not related but does kiwi still need SuSEConfig during image creation? Guillaume
Any idea why?
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed.
Hmm, if lvm2 is install on the kiwi building host it should not complain
There is also this error:
[ 763s] /.kconfig: line 354: /sbin/SuSEconfig: No such file or directory [ 763s] /.kconfig: line 358: SuSEconfig: command not found
yes this needs a fix in kiwi but it doesn't hurt
Maybe it is not related but does kiwi still need SuSEConfig during image creation?
It just calls it but it doesn't need it I will add a check and call it only if it exists Thanks Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 07/11/2012 14:10, Marcus Schäfer a écrit :
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed. Hmm, if lvm2 is install on the kiwi building host it should not complain
Yes, it should. On a local build, I reproduced the problem and lvm2 is installed (seen in the log) but when I go to the build-root folder, no executables from this package are in sbin/ folder but they are in usr/src/packages/KIWIROOT-oem/sbin/.
There is also this error:
[ 763s] /.kconfig: line 354: /sbin/SuSEconfig: No such file or directory [ 763s] /.kconfig: line 358: SuSEconfig: command not found yes this needs a fix in kiwi but it doesn't hurt
ok.
Maybe it is not related but does kiwi still need SuSEConfig during image creation? It just calls it but it doesn't need it
I will add a check and call it only if it exists
Perfect. Thanks. Guillaume
Thanks
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed. Hmm, if lvm2 is install on the kiwi building host it should not complain
Yes, it should. On a local build, I reproduced the problem and lvm2 is installed (seen in the log) but when I go to the build-root folder, no executables from this package are in sbin/ folder but they are in usr/src/packages/KIWIROOT-oem/sbin/.
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs Is it this problem we are talking about or am I totally misunderstanding the concern here ? Thanks Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 08/11/2012 08:50, Marcus Schäfer a écrit :
Hi,
ARM images fail to build because it does not find "vgs" whereas lvm2 package is installed. Hmm, if lvm2 is install on the kiwi building host it should not complain Yes, it should. On a local build, I reproduced the problem and lvm2 is installed (seen in the log) but when I go to the build-root folder, no executables from this package are in sbin/ folder but they are in usr/src/packages/KIWIROOT-oem/sbin/. Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ?
Yes, that is it. Sorry if I was unclear. When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ******************************************************************************** Should "vgs" be installed elsewhere? Guillaume
Thanks
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ?
Yes, that is it. Sorry if I was unclear.
When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ********************************************************************************
Should "vgs" be installed elsewhere?
ah ok now I understand. the buildservice should install lvm2 as part of the buildsystem. I think that can be achieved if you change your prjconf osc meta -e prjconf and add something like requires lvm2 I'm not 100% shure but Adrian knows it definitly :) CC'ed him Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 08/11/2012 09:23, Marcus Schäfer a écrit :
Hi,
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ? Yes, that is it. Sorry if I was unclear.
When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ********************************************************************************
Should "vgs" be installed elsewhere? ah ok now I understand. the buildservice should install lvm2 as part of the buildsystem. I think that can be achieved if you change your prjconf
osc meta -e prjconf
and add something like
requires lvm2
I'm not 100% shure but Adrian knows it definitly :) CC'ed him
Adrian?
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 09/11/2012 09:43, Guillaume Gardet a écrit :
Le 08/11/2012 09:23, Marcus Schäfer a écrit :
Hi,
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ? Yes, that is it. Sorry if I was unclear.
When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ********************************************************************************
Should "vgs" be installed elsewhere? ah ok now I understand. the buildservice should install lvm2 as part of the buildsystem. I think that can be achieved if you change your prjconf
osc meta -e prjconf
and add something like
requires lvm2
I'm not 100% shure but Adrian knows it definitly :) CC'ed him
Adrian?
Ping. All ARM images are KO due to this error. Could you (or someone else) have a quick look at it, please? Guillaume
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
----- Marcus Schäfer <ms@suse.de> a écrit :
Hi,
Sorry I don't get it ? kiwi uses the vgs command when building the image thus it needs to be installed on the system where you have installed kiwi. Therefore the check __hasValidLVMName() in KIWIRuntimeChecker.pm exists and complains if it can't find vgs
Is it this problem we are talking about or am I totally misunderstanding the concern here ?
Yes, that is it. Sorry if I was unclear.
When I am talking about "local build", I mean an OBS local build (e.g. osc build images armv5el JeOS.armv5.kiwi). And when I look at the image build log, I see lvm2 is downloaded and installed, but when I go to the buildroot (/var/tmp/build-root/) and I am looking for vgs (find -name vgs), it is found (only) in "usr/src/packages/KIWIROOT-oem/sbin/vgs" and image fails with vgs not found: ******************************************************************************** [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which mkfs.ext3" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which zypper" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : EXEC [bash -c "PATH=$PATH:/sbin which vgs" 2>&1] [ 1513s] Nov-07 09:20:00 <1> : warning: vgs not found [ 1513s] Nov-07 09:20:00 <3> : LVM definition in configuration being processed, but necessary tools not found on system. [ 1513s] Nov-07 09:20:00 <3> : KIWI exited with error(s) ********************************************************************************
Should "vgs" be installed elsewhere?
ah ok now I understand. the buildservice should install lvm2 as part of the buildsystem. I think that can be achieved if you change your prjconf
osc meta -e prjconf
and add something like
requires lvm2
I'm not 100% shure but Adrian knows it definitly :) CC'ed him
in openSUSE 12.2 images, "vgs" is not found but kiwi does not fail: https://build.opensuse.org/package/rawlog?arch=armv7l&package=JeOS-beagle&project=home%3AGuillaume_G%3Abranches%3AopenSUSE%3A12.2%3AARM&repository=images Was kiwi changed with "vgs not found" between 5.04.21 and 5.04.23? Guillaume
Regards, Marcus -- Public Key available gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de -------------------------------------------------------
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
in openSUSE 12.2 images, "vgs" is not found but kiwi does not fail: https://build.opensuse.org/package/rawlog?arch=armv7l&package=JeOS-beagle&project=home%3AGuillaume_G%3Abranches%3AopenSUSE%3A12.2%3AARM&repository=images
Was kiwi changed with "vgs not found" between 5.04.21 and 5.04.23?
the 12.2 kiwi doesn't have this runtime check which means it doesn't need lvm2 to finish the unit tests but newer versions of kiwi requires it. As it's a runtime test vgs is required to be installed in the environment within kiwi is called For arm we normally use the latest version because so many changes were required to satisfy the needs of arm images that we don't stick with the 12.2 kiwi osc meta -e prjconf %if "%_repository" == "images" Type: kiwi Repotype: rpm-md Patterntype: none Required: lvm2 preinstall: lvm2 %endif should do the trick imho Regards, Marcus -- Public Key available gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 15/11/2012 11:53, Marcus Schäfer a écrit :
Hi,
in openSUSE 12.2 images, "vgs" is not found but kiwi does not fail: https://build.opensuse.org/package/rawlog?arch=armv7l&package=JeOS-beagle&project=home%3AGuillaume_G%3Abranches%3AopenSUSE%3A12.2%3AARM&repository=images
Was kiwi changed with "vgs not found" between 5.04.21 and 5.04.23? the 12.2 kiwi doesn't have this runtime check which means it doesn't need lvm2 to finish the unit tests but newer versions of kiwi requires it. As it's a runtime test vgs is required to be installed in the environment within kiwi is called
For arm we normally use the latest version because so many changes were required to satisfy the needs of arm images that we don't stick with the 12.2 kiwi
osc meta -e prjconf
%if "%_repository" == "images" Type: kiwi Repotype: rpm-md Patterntype: none Required: lvm2 preinstall: lvm2 %endif
should do the trick imho
Indeed, it did the trick on my home build service. Is there anyone able to do it for other projects? I have not the rights... Guillaume
Regards, Marcus
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Donnerstag, 15. November 2012, 15:38:29 schrieb Guillaume Gardet:
Le 15/11/2012 11:53, Marcus Schäfer a écrit :
Hi,
in openSUSE 12.2 images, "vgs" is not found but kiwi does not fail: https://build.opensuse.org/package/rawlog?arch=armv7l&package=JeOS-beagle&project=home%3AGuillaume_G%3Abranches%3AopenSUSE%3A12.2%3AARM&repository=images
Was kiwi changed with "vgs not found" between 5.04.21 and 5.04.23? the 12.2 kiwi doesn't have this runtime check which means it doesn't need lvm2 to finish the unit tests but newer versions of kiwi requires it. As it's a runtime test vgs is required to be installed in the environment within kiwi is called
For arm we normally use the latest version because so many changes were required to satisfy the needs of arm images that we don't stick with the 12.2 kiwi
osc meta -e prjconf
%if "%_repository" == "images" Type: kiwi Repotype: rpm-md Patterntype: none Required: lvm2 preinstall: lvm2 %endif
should do the trick imho
Indeed, it did the trick on my home build service. Is there anyone able to do it for other projects? I have not the rights...
If that package is required (and for sure not for preinstall) kiwi package itself should require it. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
If that package is required (and for sure not for preinstall) kiwi package itself should require it.
makes sense. I have added lvm2 not only as buildrequires to the spec file (required for unit tests to succeed) but also as package requirement to fit the needs of the runtime checking thanks Regards, Marcus -- Public Key available gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Guillaume Gardet
-
guillaume.gardet@free.fr
-
Marcus Schäfer