[uyuni-users] Build repositories for openSUSE 42.3
Hi all, I already asked several times several weeks ago within the chat but I still have problems. I have a test uyuni server (4.0.1) running on openSUSE 42.3. Now I want to build new packages based on the "ubuntu-support" branch since there has been a lot of work in the last weeks and I want to test these improvements, since we are currently running Spacewalk 2.7 with a lot of Debian clients and are planning (or at least thinking about) migrating to Uyuni (to also get Salt). Now I also have a "build system" also based on openSUSE 42.3. But it seems that at least one "build repository" seems to be missing. Trying to build "spacewalk-backend" returns uyuni-build:~/git/uyuni/backend # rpmbuild -bb spacewalk-backend.spec error: Failed build dependencies: python2-spacewalk-usix is needed by spacewalk-backend-4.0.7-1.noarch python2-gzipstream is needed by spacewalk-backend-4.0.7-1.noarch python2-rhn-client-tools is needed by spacewalk-backend-4.0.7-1.noarch python2-rhnlib >= 2.5.74 is needed by spacewalk-backend-4.0.7-1.noarch My current list of repos. I know, there is missing but I did not find the above mentioned packages around the build.opensuse.org system (or I really overlooked something). uyuni-build:~/git/uyuni/backend # zypper lr Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh ---+----------------------------------+-----------------------------------------+---------+-----------+-------- 1 | openSUSE-Leap-42.3-0 | openSUSE-Leap-42.3-0 | Yes | (r ) Yes | Yes 2 | repo-debug | openSUSE-Leap-42.3-Debug | No | ---- | ---- 3 | repo-debug-non-oss | openSUSE-Leap-42.3-Debug-Non-Oss | No | ---- | ---- 4 | repo-debug-update | openSUSE-Leap-42.3-Update-Debug | No | ---- | ---- 5 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | No | ---- | ---- 6 | repo-non-oss | openSUSE-Leap-42.3-Non-Oss | Yes | (r ) Yes | Yes 7 | repo-oss | openSUSE-Leap-42.3-Oss | Yes | (r ) Yes | Yes 8 | repo-source | openSUSE-Leap-42.3-Source | No | ---- | ---- 9 | repo-source-non-oss | openSUSE-Leap-42.3-Source-Non-Oss | No | ---- | ---- 10 | repo-update | openSUSE-Leap-42.3-Update | Yes | (r ) Yes | Yes 11 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Yes | (r ) Yes | Yes 12 | uyuni-master_leap42_client-tools | uyuni-master_leap42_client-tools | Yes | (r ) Yes | No uyuni-build:~/git/uyuni/backend # Where do I find the needed repositories for openSUSE 42.3 to be able to successfully build all "changed" packages? Thanks Robert -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
Hi Robert, On Thu, 2019-03-28 at 09:18 +0100, Robert Paschedag wrote:
I have a test uyuni server (4.0.1) running on openSUSE 42.3.
Now I want to build new packages based on the "ubuntu-support" branch since there has been a lot of work in the last weeks and I want to test these improvements, since we are currently running Spacewalk 2.7 with a lot of Debian clients and are planning (or at least thinking about) migrating to Uyuni (to also get Salt).
Now I also have a "build system" also based on openSUSE 42.3. But it seems that at least one "build repository" seems to be missing.
Trying to build "spacewalk-backend" returns
uyuni-build:~/git/uyuni/backend # rpmbuild -bb spacewalk-backend.spec error: Failed build dependencies: python2-spacewalk-usix is needed by spacewalk-backend-4.0.7- 1.noarch python2-gzipstream is needed by spacewalk-backend-4.0.7- 1.noarch python2-rhn-client-tools is needed by spacewalk-backend- 4.0.7-1.noarch python2-rhnlib >= 2.5.74 is needed by spacewalk-backend- 4.0.7-1.noarch
Those are built in https://build.opensuse.org/project/show/systemsmanagement:spacewalk You could add the 42.3 repo from there and get them. -- Cedric -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
Gesendet: Donnerstag, 28. März 2019 um 09:44 Uhr Von: "Cedric Bosdonnat" <cbosdonnat@suse.com> An: "Robert Paschedag" <robert.paschedag@web.de>, uyuni-users@opensuse.org Cc: uyuni-devel@opensuse.org Betreff: Re: [uyuni-devel] Build repositories for openSUSE 42.3
Hi Robert,
On Thu, 2019-03-28 at 09:18 +0100, Robert Paschedag wrote:
I have a test uyuni server (4.0.1) running on openSUSE 42.3.
Now I want to build new packages based on the "ubuntu-support" branch since there has been a lot of work in the last weeks and I want to test these improvements, since we are currently running Spacewalk 2.7 with a lot of Debian clients and are planning (or at least thinking about) migrating to Uyuni (to also get Salt).
Now I also have a "build system" also based on openSUSE 42.3. But it seems that at least one "build repository" seems to be missing.
Trying to build "spacewalk-backend" returns
uyuni-build:~/git/uyuni/backend # rpmbuild -bb spacewalk-backend.spec error: Failed build dependencies: python2-spacewalk-usix is needed by spacewalk-backend-4.0.7- 1.noarch python2-gzipstream is needed by spacewalk-backend-4.0.7- 1.noarch python2-rhn-client-tools is needed by spacewalk-backend- 4.0.7-1.noarch python2-rhnlib >= 2.5.74 is needed by spacewalk-backend- 4.0.7-1.noarch
Those are built in https://build.opensuse.org/project/show/systemsmanagement:spacewalk
You could add the 42.3 repo from there and get them.
Cedric, ahh.....man...that was easy :-) I search below the "uyuni" "path"..... OK. But now I get an assertion error within tests.... F ====================================================================== FAIL: test_timestamp_3 (__main__.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_rhnLib_timestamp.py", line 71, in test_timestamp_3 self.assertTrue(is_eq, "Failed: %s, %s" % (t1, t2)) AssertionError: Failed: 57739297, 57739297 ---------------------------------------------------------------------- Ran 1 test in 0.002s FAILED (failures=1) Makefile:23: recipe for target 'test-test_rhnLib_timestamp.py' failed make[1]: *** [test-test_rhnLib_timestamp.py] Error 1 make[1]: Leaving directory '/root/rpmbuild/BUILD/spacewalk-backend-4.0.7/server/test/unit-test' Robert
-- Cedric
-- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
Gesendet: Donnerstag, 28. März 2019 um 09:53 Uhr Von: "Robert Paschedag" <robert.paschedag@web.de> An: "Cedric Bosdonnat" <cbosdonnat@suse.com> Cc: uyuni-users@opensuse.org, uyuni-devel@opensuse.org Betreff: Aw: Re: [uyuni-devel] Build repositories for openSUSE 42.3
Gesendet: Donnerstag, 28. März 2019 um 09:44 Uhr Von: "Cedric Bosdonnat" <cbosdonnat@suse.com> An: "Robert Paschedag" <robert.paschedag@web.de>, uyuni-users@opensuse.org Cc: uyuni-devel@opensuse.org Betreff: Re: [uyuni-devel] Build repositories for openSUSE 42.3
Hi Robert,
On Thu, 2019-03-28 at 09:18 +0100, Robert Paschedag wrote:
I have a test uyuni server (4.0.1) running on openSUSE 42.3.
Now I want to build new packages based on the "ubuntu-support" branch since there has been a lot of work in the last weeks and I want to test these improvements, since we are currently running Spacewalk 2.7 with a lot of Debian clients and are planning (or at least thinking about) migrating to Uyuni (to also get Salt).
Now I also have a "build system" also based on openSUSE 42.3. But it seems that at least one "build repository" seems to be missing.
Trying to build "spacewalk-backend" returns
uyuni-build:~/git/uyuni/backend # rpmbuild -bb spacewalk-backend.spec error: Failed build dependencies: python2-spacewalk-usix is needed by spacewalk-backend-4.0.7- 1.noarch python2-gzipstream is needed by spacewalk-backend-4.0.7- 1.noarch python2-rhn-client-tools is needed by spacewalk-backend- 4.0.7-1.noarch python2-rhnlib >= 2.5.74 is needed by spacewalk-backend- 4.0.7-1.noarch
Those are built in https://build.opensuse.org/project/show/systemsmanagement:spacewalk
You could add the 42.3 repo from there and get them.
Cedric,
ahh.....man...that was easy :-) I search below the "uyuni" "path".....
OK. But now I get an assertion error within tests....
F ====================================================================== FAIL: test_timestamp_3 (__main__.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_rhnLib_timestamp.py", line 71, in test_timestamp_3 self.assertTrue(is_eq, "Failed: %s, %s" % (t1, t2)) AssertionError: Failed: 57739297, 57739297
---------------------------------------------------------------------- Ran 1 test in 0.002s
FAILED (failures=1) Makefile:23: recipe for target 'test-test_rhnLib_timestamp.py' failed make[1]: *** [test-test_rhnLib_timestamp.py] Error 1 make[1]: Leaving directory '/root/rpmbuild/BUILD/spacewalk-backend-4.0.7/server/test/unit-test'
Robert
I was able to fix this with TZ="" rpmbuild -bb spacewalk-backend.spec Turns out, that on my system (running in "CET") has a "dstshift" of "-3600" within that test. Robert
-- Cedric
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
-- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
participants (2)
-
Cedric Bosdonnat
-
Robert Paschedag