Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-2153

Cannot build rhc for c10s due to missing systemd.pc

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • 2
    • False
    • None
    • False
    • Testable

      The build of rhc RPM package fails for c10s due to missing systemd.pc file despite systemd-devel is installed according dependency in rhc.spec.

      PR: https://gitlab.com/redhat/centos-stream/rpms/rhc/-/merge_requests/43
      Failed job: https://centos.softwarefactory-project.io/zuul/t/centos/buildset/acac87b8625c4cb9ad991d9f541201ae

      Output from failed job:

      DEBUG: Package systemd was not found in the pkg-config search path.
      DEBUG: Perhaps you should add the directory containing `systemd.pc'
      DEBUG: to the PKG_CONFIG_PATH environment variable
      DEBUG: Package 'systemd', required by 'virtual:world', not found
      DEBUG: make: *** [Makefile:130: install] Error 1
      DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.FPLZYU (%install)
      DEBUG: RPM build errors:
      DEBUG:     Bad exit status from /var/tmp/rpm-tmp.FPLZYU (%install)
      DEBUG: Child return code was: 1
      INFO: EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rhc.spec'\n", 1)]
      Traceback (most recent call last):
        File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
          result = func(*args, **kw)
                   ^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status
          raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
      mockbuild.exception.Error: Command failed: 
       # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rhc.spec'
      
      ERROR: Exception(/home/fedora/zuul-output/logs/repo/rhc-0.2.4-5.el10.src.rpm) Config(centos-stream-10-x86_64) 4 minutes 52 seconds
      INFO: Results and/or logs in: /data/chainrepo/results/c10s-x86_64/rhc-0.2.4-5.el10
      ERROR: Command failed: 
       # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rhc.spec'
      

              tdawson@redhat.com Troy Dawson
              jhnidek@redhat.com Jiri Hnidek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: