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-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org