Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-46696

tigervnc FTBFS due to already applied patch

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-8.10.z
    • rhel-8.10.z, CentOS Stream 8
    • tigervnc
    • None
    • tigervnc-1.13.1-12.el8_10
    • None
    • None
    • 1
    • rhel-sst-display-productivity
    • ssg_display
    • 22
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • DESKTOP Cycle #4 10.beta phase
    • None

      What were you trying to do that didn't work?

      When attempting to build tigervnc from the c8s branch of https://gitlab.com/redhat/centos-stream/rpms/tigervnc/ , I discovered that the branch, as it exists, fails to build from source due to a patch included which is already in the source tarball.

      I opened https://gitlab.com/redhat/centos-stream/rpms/tigervnc/-/merge_requests/46 to address this, by removing the already-applied patch.

      Please provide the package NVR for which bug is seen: 

      1.13.1-11

      How reproducible:

      always

      Steps to reproduce

      1. checkout repo:
        git clone --branch c8s https://gitlab.com/redhat/centos-stream/rpms/tigervnc.git
      2. download lookaside (whatever method preferred)
      3. run mock:
        pushd tigervnc && mock -r rhel-8-x86_64 --sources . --spec tigervnc.spec

      Expected results

      package build successfully

      Actual results

      FTBFS

      ~/build/BUILD/tigervnc-1.13.1/unix/xserver ~/build/BUILD/tigervnc-1.13.1
      ++ find . -type f -perm -001
      Patch #100 (tigervnc-xserver120.patch):
      + echo 'Patch #100 (tigervnc-xserver120.patch):'
      + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xserver120-rebased --fuzz=0
      patching file configure.ac
      Hunk #2 succeeded at 1735 (offset -129 lines).
      Hunk #3 succeeded at 1774 (offset -129 lines).
      Hunk #4 succeeded at 1990 (offset -133 lines).
      Hunk #5 succeeded at 2528 (offset -169 lines).
      patching file hw/Makefile.am
      patching file mi/miinitext.c
      patching file include/os.h
      Hunk #1 succeeded at 635 (offset 14 lines).
      Patch #101 (0001-rpath-hack.patch):
      + echo 'Patch #101 (0001-rpath-hack.patch):'
      + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpath --fuzz=0
      patching file configure.ac
      Hunk #1 succeeded at 1258 (offset -3 lines).
      Patch #200 (xorg-CVE-2024-31083-followup.patch):
      + echo 'Patch #200 (xorg-CVE-2024-31083-followup.patch):'
      + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xorg-CVE-2024-31083-followup --fuzz=0
      patching file render/glyph.c
      Reversed (or previously applied) patch detected!  Assume -R? [n]
      Apply anyway? [n]
      Skipping patch.
      1 out of 1 hunk ignored – saving rejects to file render/glyph.c.rej
      error: Bad exit status from /var/tmp/rpm-tmp.GpEIon (%prep)
          Bad exit status from /var/tmp/rpm-tmp.GpEIon (%prep)

              jgrulich@redhat.com Jan Grulich
              neilhanlon Neil Hanlon (Inactive)
              Jan Grulich Jan Grulich
              Radek Duda Radek Duda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: