Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.rpm flavor fail to install on opensuse tumbleweed #1063

Closed
mess-maker opened this issue Jul 24, 2021 · 11 comments
Closed

.rpm flavor fail to install on opensuse tumbleweed #1063

mess-maker opened this issue Jul 24, 2021 · 11 comments
Labels
bug 🐛 Issue concerns a bug. help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.

Comments

@mess-maker
Copy link

mess-maker commented Jul 24, 2021

Issuehunt badges

Current behavior

downloaded the boost note rpm from https://github.com/BoostIO/BoostNote.next/releases/download/v0.20.2/boost-note-linux.rpm

install command sudo zypper install boost-note-linux.rpm

result

mess-maker@localhost ~/Downloads> sudo zypper install boost-note-linux.rpm
Resolving package dependencies...
Problem: nothing provides 'libuuid' needed by the to be installed boostnote.next-0.20.2-1.x86_64
Solution 1: do not install boostnote.next-0.20.2-1.x86_64
Solution 2: break boostnote.next-0.20.2-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1

there I choose to not install boostnote :)

libuuid is installed on this system but is named libuuid1 in place of libuuid
see the search result hereunder, the "i" in the first column is for "installed"

mess-maker@localhost ~> sudo zypper search libuuid
S | Name                 | Summary                       | Type              
--+----------------------+-------------------------------+--------
  | libuuid-devel        | Development files for libuuid | package
  | libuuid-devel-32bit  | Development files for libuuid | package
  | libuuid-devel-static | Development files for libuuid | package
i | libuuid1             | Library to generate UUIDs     | package
  | libuuid1-32bit       | Library to generate UUIDs     | package

Expected behavior

install process do not fail

Steps to reproduce

  1. install opensuse tumbleweed
  2. D/L the install rpm
  3. try to install

Environment

Desktop/Web

  • Boost Note.next version: 0.20.2
  • OS version and name: vmware VM opensuse tumbleweed x64 guest on W10 host

IssueHunt Summary

drunckj drunckj has been rewarded.

Backers (Total: $20.00)

Submitted pull Requests


Tips

@jhdcruz
Copy link
Contributor

jhdcruz commented Aug 2, 2021

Try installing the libuuid-devel package.

I don't know about OpenSUSE Tumbleweed packages that much but based on this package info,
libuuid is located in the libuuid-devel package (or did I understand it wrong?).

Which presumably resolves the missing dependency problem:
Problem: nothing provides 'libuuid' needed by the to be installed boostnote.next-0.20.2-1.x86_64

This is only based on my research without testing so don't expect the above to actually fix it.

@mess-maker
Copy link
Author

mess-maker commented Aug 15, 2021

hi,

in my understanding libuuid no longer exist on opensuse system and is replaced by libuuid1
this since Opensuse 15.2 at least and on Tumbleweed (the rolling release) too

here the detail on libuuid1
https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/libuuid1-2.36.2-2.1.x86_64.rpm.html

and the actual page describing libuuid-devel that ''need'' libuuid1 but don't seem to provide libuuid
https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/libuuid-devel-2.36.2-2.1.x86_64.rpm.html

@Rokt33r
Copy link
Member

Rokt33r commented Aug 19, 2021

@mess-maker

It seems we can manually modify the dependencies of each package. Do you think it is possible for you to apply the changes below, build an rpm package, and test the package?

Before (https://github.com/BoostIO/BoostNote.next/blob/master/package.json#L238-L242)

    "linux": {
      "icon": "static/icon.icns",
      "target": [
        "deb",
        "rpm",
        "AppImage"
      ]
    },

After

    "linux": {
      "icon": "static/icon.icns",
      "target": [
        "deb",
        {
          "target": "rpm",
          "depends": [
            "libnotify",
            "libappindicator",
            "libXScrnSaver",
            "libuuid or libuuid1"
          ]
        },
        "AppImage"
      ]
    },

Package building script

npm install
npm run build:electron
npm run pack

Then you will see .rpm file from dist directory.

@Rokt33r Rokt33r added needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. bug 🐛 Issue concerns a bug. help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! labels Aug 19, 2021
@kazup01 kazup01 assigned kazup01 and unassigned kazup01 Aug 25, 2021
@issuehunt-oss
Copy link

issuehunt-oss bot commented Sep 14, 2021

@boostio has funded $20.00 to this issue.


@issuehunt-oss issuehunt-oss bot added the funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. label Sep 14, 2021
@mess-maker
Copy link
Author

hi,
i'm not skilled enough to try your solution

I've found this issue where it's talking about the same issue (libuuid)
maybe some relevant info there
electron-userland/electron-installer-redhat#130

@pandom79
Copy link

I just built BoostNote-App as rpm package for openSUSE.
It works.

@pandom79
Copy link

pandom79 commented Sep 19, 2021

I created a PR for this issue. #1204

@drunckj
Copy link
Contributor

drunckj commented Sep 24, 2021

I added a pull request with the fix. Please look into it.

@drunckj
Copy link
Contributor

drunckj commented Sep 26, 2021

please look into my pull request asap so I can start working on debian packaging issue.

Rokt33r pushed a commit that referenced this issue Oct 1, 2021
@issuehunt-oss
Copy link

issuehunt-oss bot commented Oct 1, 2021

@rokt33r has rewarded $18.00 to @drunckj. See it on IssueHunt

  • 💰 Total deposit: $20.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $2.00

@issuehunt-oss issuehunt-oss bot added rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded. and removed funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. labels Oct 1, 2021
@Rokt33r
Copy link
Member

Rokt33r commented Oct 1, 2021

@drunckj Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. help wanted 🆘 Pull request/issue requires extra help from the community. Check these out if you're new! needs investigation 🔬 Issue requires further investigation to locate or narrow down the problem. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.
Projects
None yet
Development

No branches or pull requests

6 participants