Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross-Compile Qt Creator for Orange Pi One
Forum Updated to NodeBB v4.3 + New Features

Cross-Compile Qt Creator for Orange Pi One

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 977 Views 2 Watching
  • 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.
  • K Offline
    K Offline
    kutluyigitturk
    wrote on last edited by
    #1

    Hi,

    I am trying to cross-compile qt5 for Orange Pi One V1.1,
    I am currently in the process of pulling the files on the Orange Pi to my own(ubuntu) machine.
    After running 'rsync -avz opi@192.168.0.26:/lib/ sysroot/lib' in terminal, I get this error.

    Error Line;
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.1]

    Which solutions can you suggest me about this issue?

    Thank you

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kutluyigitturk
      wrote on last edited by
      #9

      [Solved]

      The file cannot be synchronized because the smbspool_krb5_wrapper file in the /lib/arm-linux-gnueabihf/samba/ directory does not have permission to access it.

      To solve this, we have to run the command
      chown opi:opi /lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper
      in Orange Pi Terminal.

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi
        Does it list some files over that error ?

        It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.

        K 2 Replies Last reply
        0
        • mrjjM mrjj

          Hi
          Does it list some files over that error ?

          It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.

          K Offline
          K Offline
          kutluyigitturk
          wrote on last edited by
          #3

          @mrjj It does not list any files.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @kutluyigitturk said in Cross-Compile Qt Creator for Orange Pi One:

            rsync

            Hmm
            odd
            try with
            rsync -avz --no-perms --no-owner --no-group xxx
            and see if that works.

            1 Reply Last reply
            1
            • mrjjM mrjj

              Hi
              Does it list some files over that error ?

              It can also sometimes means that on the local file system, some files have attributes that cannot be copied to the target file system.

              K Offline
              K Offline
              kutluyigitturk
              wrote on last edited by
              #5

              @mrjj I ran this line in terminal; rsync -av opi@192.168.0.26:/lib/ sysroot/lib

              These are the outputs I got in the end;

              receiving incremental file list
              rsync: send_files failed to open "/lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper": Permission denied (13)

              sent 2,343 bytes received 496,904 bytes 90,772.18 bytes/sec
              total size is 1,615,483,518 speedup is 3,235.84
              rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.3]

              I guess, access to some files is blocking.

              mrjjM 1 Reply Last reply
              0
              • K kutluyigitturk

                @mrjj I ran this line in terminal; rsync -av opi@192.168.0.26:/lib/ sysroot/lib

                These are the outputs I got in the end;

                receiving incremental file list
                rsync: send_files failed to open "/lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper": Permission denied (13)

                sent 2,343 bytes received 496,904 bytes 90,772.18 bytes/sec
                total size is 1,615,483,518 speedup is 3,235.84
                rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1677) [generator=3.1.3]

                I guess, access to some files is blocking.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @kutluyigitturk

                Hi
                Good found.
                Yes I agree even its a bit odd rsync is not allowed to copy but
                can be owner is root and rsync is ordinary user.

                K 1 Reply Last reply
                0
                • mrjjM mrjj

                  @kutluyigitturk

                  Hi
                  Good found.
                  Yes I agree even its a bit odd rsync is not allowed to copy but
                  can be owner is root and rsync is ordinary user.

                  K Offline
                  K Offline
                  kutluyigitturk
                  wrote on last edited by
                  #7

                  @mrjj How to fix 'Permission denied' on specific directory? Do you know anything about this?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    Hi,

                    Did you check the permissions on the target ? What are they ?

                    Since you are copying files from system folders, you might want to connect as root to the device.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • K Offline
                      K Offline
                      kutluyigitturk
                      wrote on last edited by
                      #9

                      [Solved]

                      The file cannot be synchronized because the smbspool_krb5_wrapper file in the /lib/arm-linux-gnueabihf/samba/ directory does not have permission to access it.

                      To solve this, we have to run the command
                      chown opi:opi /lib/arm-linux-gnueabihf/samba/smbspool_krb5_wrapper
                      in Orange Pi Terminal.

                      1 Reply Last reply
                      1
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #10

                        I would argue that this is the wrong solution. You are making what looks like an admin only command available to a standard user.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        K 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          I would argue that this is the wrong solution. You are making what looks like an admin only command available to a standard user.

                          K Offline
                          K Offline
                          kutluyigitturk
                          wrote on last edited by
                          #11

                          @SGaist If there is another way for a standard user to access the folder in this directory, please specify.

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #12

                            No, hence my suggestion to connect as root for the copy, you can then change the permissions on your development machine.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved