Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32741

Problem building mariadb 11.1 branch on fedora 39

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.11, 11.0(EOL), 11.1(EOL), 11.2
    • N/A
    • Compiling
    • None

    Description

      I encounter the following when I try to build mariadb on/with docker. I use my own Dockerfile for the task: https://github.com/aanno/linux-config/blob/master/build-with-docker/Containerfile.mariadb.fedora39 . (And I use https://github.com/aanno/linux-config/blob/master/build-with-docker/podman-build.sh as build 'driver'.)

      + cp /opt/owntone/make-it-longer/mariadb-server/include/welcome_copyright_notice.h /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/src/debug/MariaDB-/src_0/include
      + cp /opt/owntone/make-it-longer/mariadb-server/extra/mariabackup/xbstream_read.cc /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/src/debug/MariaDB-/src_0/extra/mariabackup
      + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 11.1.3-1.fc39 --unique-debug-suffix -11.1.3-1.fc39.x86_64 --unique-debug-src-base MariaDB-backup-11.1.3-1.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/BUILD/
      gdb-add-index: Failed to find a useable GDB binary
      gdb-add-index: Failed to find a useable GDB binary
      dwz: Too few files for multifile optimization
      + /usr/lib/rpm/check-buildroot
      + /usr/lib/rpm/redhat/brp-ldconfig
      + /usr/lib/rpm/brp-compress
      + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
      + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
      + /usr/lib/rpm/check-rpaths
      + /usr/lib/rpm/redhat/brp-mangle-shebangs
      + /usr/lib/rpm/brp-remove-la-files
      + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12
      + /usr/lib/rpm/redhat/brp-python-hardlink
      error: File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mariabackup.1\*
      error: File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mariadb-backup.1\*
      error: File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mbstream.1\*
          File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mariabackup.1\*
          File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mariadb-backup.1\*
          File not found: /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/mbstream.1\*
       ***
      CPackRPM:Debug:    - /opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/rpmbuildMariaDB-backup.out
      CPackRPM:Debug: *** Building target platforms: x86_64
      Building for target x86_64
      setting SOURCE_DATE_EPOCH=1278201600
      Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.duhACG
      Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rwP05T
      find-debuginfo: starting
      Extracting debug info from 2 files
      DWARF-compressing 2 files
      sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
      Creating .debug symlinks for symlinks to ELF files
      find-debuginfo: done
      Processing files: MariaDB-backup-11.1.3-1.fc39.x86_64
       
      RPM build errors:
       ***
      CMake Error at /usr/share/cmake/Modules/Internal/CPack/CPackRPM.cmake:1897 (message):
        RPM package was not generated!
      

      This is interesting as the files exist but as *.gz:

      $ ls opt/owntone/make-it-longer/mariadb-build/_CPack_Packages/Linux/RPM/mariadb-11.1.3-linux-x86_64/backup/usr/share/man/man1/
      mariabackup.1.gz  mariadb-backup.1.gz  mbstream.1.gz
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              aanno Thomas Pasch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.