Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2152

Fix conflict with libressl-devel from mysql-devel

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: build
    • Labels:
      None

      Description

      Seems like libressl-devel is installed by default in the docker container.

      1. BIGTOP-2152.1.patch
        1 kB
        Olaf Flebbe
      2. BIGTOP-2152.2.patch
        2 kB
        Olaf Flebbe

        Activity

        Hide
        oflebbe Olaf Flebbe added a comment - - edited

        Explanation of the fix:

        mysql-devel seems to define some kind of "weak" reference to libressl-devel. The libopenssl-devel package does provide the same api so it can be used, too. But only if it is installed before or in one go.

        Since puppet tries to install mysql-devel first and than libopenssl-devel, zypper detects an conflict and terminates.

        The fix is to force puppet to install libopenssl-devel first.

        Show
        oflebbe Olaf Flebbe added a comment - - edited Explanation of the fix: mysql-devel seems to define some kind of "weak" reference to libressl-devel. The libopenssl-devel package does provide the same api so it can be used, too. But only if it is installed before or in one go. Since puppet tries to install mysql-devel first and than libopenssl-devel, zypper detects an conflict and terminates. The fix is to force puppet to install libopenssl-devel first.
        Hide
        evans_ye Evans Ye added a comment -

        Indeed It solves the problem. GJ Olaf!
        I suggest to add comment with this jira id aside the exec line. Otherwise It appears to be wired and is hard to understand why we separate out the installation w/o the context.

        Show
        evans_ye Evans Ye added a comment - Indeed It solves the problem. GJ Olaf! I suggest to add comment with this jira id aside the exec line. Otherwise It appears to be wired and is hard to understand why we separate out the installation w/o the context.
        Hide
        plinnell Peter Linnell added a comment -

        +1 on the patch. This is an odd thing... I know libressl has not been switched to provide the default in openSUSE.

        Show
        plinnell Peter Linnell added a comment - +1 on the patch. This is an odd thing... I know libressl has not been switched to provide the default in openSUSE.
        Hide
        oflebbe Olaf Flebbe added a comment -

        Added comment line

        Show
        oflebbe Olaf Flebbe added a comment - Added comment line
        Hide
        oflebbe Olaf Flebbe added a comment -

        Committed

        Show
        oflebbe Olaf Flebbe added a comment - Committed

          People

          • Assignee:
            oflebbe Olaf Flebbe
            Reporter:
            oflebbe Olaf Flebbe
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development