Description of problem: Can dumb-init be branched and built for EPEL8? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I managed to successfully build dumb-init in EPEL8 mock, so this should work.
Building in koji failed on s390x: https://koji.fedoraproject.org/koji/taskinfo?taskID=95767898 > =================================== FAILURES =================================== > ________________________ test_working_directories[1-0] _________________________ > @pytest.mark.usefixtures('both_debug_modes', 'both_setsid_modes') > def test_working_directories(): > """The child process must start in the working directory in which > dumb-init was invoked, but dumb-init itself should not keep a > reference to that.""" > > # We need absolute path to dumb-init since we pass cwd=/tmp to get > # predictable output - so we can't rely on dumb-init being found > # in the "." directory. > dumb_init = os.path.realpath(shutil.which('dumb-init')) > proc = run((dumb_init, > 'sh', '-c', 'readlink /proc/$PPID/cwd && readlink /proc/$$/cwd'), > cwd="/tmp", stdout=PIPE, stderr=PIPE) > > assert proc.returncode == 0 > > assert proc.stdout == b'/\n/tmp\n' > E AssertionError: assert b'/tmp\n/tmp\n' == b'/\n/tmp\n' > E At index 1 diff: 116 != 10 > E Left contains more items, first extra item: 109 > E Full diff: > E - b'/tmp\n/tmp\n' > E ? --- > E + b'/\n/tmp\n' > tests/cwd_test.py:22: AssertionError > ===================== 1 failed, 181 passed in 9.65 seconds ===================== I'll try to find a fix for this. If I can't, I guess I'll just add "ExcludeArch: s390x".
FEDORA-EPEL-2023-85bd9419d1 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-85bd9419d1
Sorry for taking so long - I admit I completely forgot about this ticket. Whatever was causing the tests to fail on s390x appears to have been fixed. Enjoy!
FEDORA-EPEL-2023-85bd9419d1 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-85bd9419d1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2023-85bd9419d1 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.