Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Packaging feathercoind and feathercoin-qt on Linux

    Technical Development
    linux feathercoin release
    6
    45
    40579
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators @AcidD last edited by wrapper

      @aciddude said:

      So apparently it compiled…

      Feathercoin-qt is 143.2MB

      when I try to run it I get an error:
      “Could not display Feathercoin-qt”

      “There is no application install for “shared library” files. do you want to search for an application to open this file?”

      =====
      edit: WHOOOP!! IT WORKS
      in terminal running sudo ./feathercoin-qt loaded it fine. it’s syncing the block chain now. Screen shots coming.

      1st point - there is a compression method to reduce the size for release binaries

      from : https://github.com/FeatherCoin/Feathercoin/blob/0.9.3.1/doc/build-unix.md

      The release is built with GCC and then “strip bitcoind” to strip the debug symbols, which reduces the executable size by about 90%.

      in Feathercoind case

      cd src
      strip feathercoind

      2nd point - don’t run feathercoin-qt as sudo, otherwise the wallet will be put into root …

      try running

      cd ~/Feathercoin
      ./feathercoin-qt

      or you need to run make install and run feathercoin-qt directly

      3rd point found this reference to previous work Wellenreiter did on 0.9.3.1 build.

      http://forum.feathercoin.com/topic/8168/building-feathercoin/9

      1 Reply Last reply Reply Quote 1
      • wrapper
        wrapper Moderators last edited by wrapper

        Other potential areas to Investigate current Feathercoin build issues :

        FTC 0.9.3.1 - Building on Ubuntu 15.10

        Possible other issues with rpcrawtransaction.cpp
        Possible causes :
        Miss match between Qt4 and Qt5 build requirements
        rpcrawtransaction.h missing?
        Task :
        check sources re:
        https://trac.macports.org/changeset/136010

        Research why no rpcrawtransaction.h?

        15.10 build error zxing in snapwidget.cpp:71
        Possible causes :
        Causes :
        missing system path to zxing headers in snapwidget.cpp / snapwidget.h

        Task :
        Try building without QR codes

        Run make clean on a fresh clone of FTC messages

        checking for moc-qt5… no
        checking for moc5… no
        checking for moc… /usr/bin/moc
        checking for uic-qt5… no
        checking for uic5… no
        checking for uic… /usr/bin/uic
        checking for rcc-qt5… no
        checking for rcc5… no
        checking for rcc… /usr/bin/rcc
        checking for lrelease-qt5… no
        checking for lrelease5… no
        checking for lrelease… /usr/bin/lrelease
        checking for lupdate-qt5… no
        checking for lupdate5… no
        checking for lupdate… /usr/bin/lupdate
        checking whether to build Feathercoin Core GUI… yes (Qt5)

        Task :
        Check negative checks

        Results :
        Moc5 - included in qtbase5-dev-tools
        Note: qtbase5-private-tools is not installed try that result build still failed.

        Investigate Bitcoin Github issue as cause

        http://www.boost.org/users/history/version_1_58_0.html

        1 Reply Last reply Reply Quote 0
        • wrapper
          wrapper Moderators last edited by

          Just noting Commits on Aug 24, 2015
          @enlighter @Bushstar
          Update rpcrawtransaction.cpp

          A fix in 0.8.7 was not transferred/updated at head to 0.9.3

          Note: Have we a way of checking all “Feathercoinpatches” have been applied to the new version? Did we check any Litecoin only patches, that we “used” were brought into the Bitcoin Build?

          1 Reply Last reply Reply Quote 0
          • Wellenreiter
            Wellenreiter Moderators last edited by wrapper

            We need to maintain release notes, specifying what was implemented in what version. Also the goal must be to have one production release only, which requires a good release planning.

            @lizhi : can you add a release notes file, where you specify what you implemented, e.g ‘implemented ACP’ or ‘implemented bib 102’?
            I know, that this also is part of a commit comment, so does anybody know a way to create the release notes from the github commit comments?

            Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
            Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

            1 Reply Last reply Reply Quote 1
            • Wellenreiter
              Wellenreiter Moderators @AcidD last edited by

              @aciddude said:

              So apparently it compiled…

              Feathercoin-qt is 143.2MB

              when I try to run it I get an error:
              “Could not display Feathercoin-qt”

              “There is no application install for “shared library” files. do you want to search for an application to open this file?”

              =====
              edit: WHOOOP!! IT WORKS
              in terminal running sudo ./feathercoin-qt loaded it fine. it’s syncing the block chain now. Screen shots coming.

              I never had a problem to run feathercoin-qt as non-root user.
              Can you tell what you did to get it compiled?
              Did you modify the code?
              Did you install additional libraries?

              Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
              Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

              AcidD 1 Reply Last reply Reply Quote 1
              • Wellenreiter
                Wellenreiter Moderators last edited by

                @wrapper : we should include the strip command in the packaging process and the stripped code NEVER ahould be committed to github, othwise debugging could become a pain.
                Also I think that the 143mB binary is a result of static linking, qhwre all libraries are part of the binary. Dynamic linking should reduce the size also and has the advantage, that we don’t need to release a new version, if a library is patched

                Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                1 Reply Last reply Reply Quote 0
                • wrapper
                  wrapper Moderators last edited by wrapper

                  @Lizhi @Ghostlander @Bushstar

                  Development procedure

                  @Wellenreiter Thanks for the update, it’s a complex situation and keeping close to Bitcoin development, at least takes advantage of all their testers.

                  Although, slower than it could be with dedicated paid staff, the open source “chaos” does seem to work. As you say, so far we have tried to make everything backwardly compatible, where that was not possible, members have moved to the new forks pretty well.

                  The main thing FTC seems deficient at is a guide or methodology for “upgrading” a Bitcoin fork to include all FTC specific enhancements / settings. Particularly as of the extra complexity of moving from Litecoin fork directly to Bitcoin core.

                  I could be wrong and Bush, Wellenreiter or Lizhi have a way of doing it but it would assist in finding members who could help, if we get everything documented now.

                  As far as testing 0.9.3.1 and above, the main thing we must do is test all FTC specific features have been included a work. Even if that is a simple as being “double checked” by someone …

                  That is the main effort should be in maintaining the fork difference.

                  We could have a Development thread called FTC additional packages, with each as a post, updated with “install in version” and checked by …

                  created by the first checker. From a list of commits to 0.6 to 0.8 Feathercoin Github?

                  List of FTC Pages and system settings / additional files

                  ACP
                  Name changes : Bitcoind changed to Feathercoind
                  images and icons
                  splash screen
                  eHRC
                  neoscrypt
                  Transaction fees
                  Block times
                  checkpoints

                  etc

                  Release procedure

                  To keep things simple and to allow others to help get involved, we also need an updated release procedure post.

                  It again would be a simple check list, from the git hub readme, so a checker can be allocated and sign of the release steps.

                  We could of course just point the forum to slight update to the Feathercoin readme, but having it on the forum would help members get involved, reduce errors and spread the development load from staff.

                  1 Reply Last reply Reply Quote 0
                  • AcidD
                    AcidD Moderators @Wellenreiter last edited by AcidD

                    @Wellenreiter said:

                    I never had a problem to run feathercoin-qt as non-root user.
                    Can you tell what you did to get it compiled?
                    Did you modify the code?
                    Did you install additional libraries?

                    :Edit, removed my rough draft.

                    see here
                    http://forum.feathercoin.com/topic/8556/guide-ubuntu-16-04-lts-compile-feathercoin-0-9-3-1-with-gui

                    • FTC Block Explorer + API @ https://fsight.chain.tips
                    • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                    • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                    • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                    1 Reply Last reply Reply Quote 1
                    • Wellenreiter
                      Wellenreiter Moderators last edited by

                      I have added 32 bit packages for Ubuntu 15.10 and 16.04 to the ropsitory at https://software.opensuse.org/package/feathercoin

                      As usual the packages are under the ‘unstable’ branch, as they are not supported by the distribution owners.

                      Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                      Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                      1 Reply Last reply Reply Quote 2
                      • wrapper
                        wrapper Moderators last edited by wrapper

                        I am trying to learn about the OpenSuse build service and who owns what and what is where. Pretty mind blowing.

                        I noted that : the 9.3.1 build is complex because of bringing in and compiling associated dependencies.

                        1. Does this work with the straight 16.04 dev install, without compiling outside dependencies?. (probably not in case of zxing)

                        2. If not, it is OpenSuse suggested policy to build (such as zxing or BerkleyDB) as separate repositories, so others could use them and bring the binaries in from there (on the final “release” build). I have searched and no zxing is currently up.

                        3. I have registered Feathercoin-qt Opensuse build service name, for consideration as the official name, can pass it over appropriately.

                        4. I have researched becoming the Offical FTC openSuse package and have been given and possible way forward, to be assesd by the Factory as the official package. Passed on to Wellenreiter try that angle.

                        Wellenreiter 1 Reply Last reply Reply Quote 0
                        • Wellenreiter
                          Wellenreiter Moderators @wrapper last edited by

                          @wrapper said:

                          I am trying to learn about the OpenSuse build service and who owns what and what is where. Pretty mind blowing.

                          I noted that : the 9.3.1 build is complex because of bringing in and compiling associated dependencies.

                          1. Does this work with the straight 16.04 dev install, without compiling outside dependencies?. (probably not in case of zxing)

                          If you follow the guide I made for debian/ubuntu installs it should solve all dependencies, as you add my repository as package source and I’ve a xzing package for ubuntu there.

                          1. If not, it is OpenSuse suggested policy to build (such as zxing or BerkleyDB) as separate repositories, so others could use them and bring the binaries in from there (on the final “release” build). I have searched and no zxing is currently up.

                          The package name is ‘libzxing’ ;)

                          1. I have registered Feathercoin-qt Opensuse build service name, for consideration as the official name, can pass it over appropriately.

                          2. I have researched becoming the Offical FTC openSuse package and have been given and possible way forward, to be assesd by the Factory as the official package. Passed on to Wellenreiter try that angle.

                          Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                          Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                          1 Reply Last reply Reply Quote 1
                          • AcidD
                            AcidD Moderators last edited by AcidD

                            Random idea semi related. Now that Ubuntu builds have been done… maybe posting that on bitcointalk just to make people aware.

                            Ubuntu is a popular distro, makes sense no ?

                            • FTC Block Explorer + API @ https://fsight.chain.tips
                            • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                            • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                            • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                            1 Reply Last reply Reply Quote 2
                            • wrapper
                              wrapper Moderators last edited by

                              @Aciddude Re : To Announce all the builds available — That’s a great idea.

                              I would look better if we get all the links sorted so we/Wellenreiter are the official builds on OpenSuse.

                              There is a procedure, hopefully short, to apply to the Factory project maintainer. It would look better, especially announcing it.

                              I suppose the author could specify each of the "official " builds in a link - and go back later and update them if we end up adjusting the links to release builds.

                              1 Reply Last reply Reply Quote 1
                              • wrapper
                                wrapper Moderators last edited by

                                I have been investigating the usefulness of “cheap” Arm smart TV boxes. As905 quad core Arm is quite powerful, enough to start running a full desktop. It currently runs Android.

                                It is relatively straight forward to compile the Bitcoin codebase for Arm 7 and above should have enough power to run graphics.

                                I am looking into wither a build service covers cross compiling a Arm build?

                                https://bitcointalk.org/index.php?topic=1386368.0

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post