probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.2k stars 409 forks source link

Filesystem creation loops infinitely #87

Closed vadi2 closed 7 years ago

vadi2 commented 7 years ago
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============================/                                                                                         ]  458/1800  25%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================|                                                                                                  ]  326/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================|                                                                                               ]  377/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================\                                                                                                  ]  324/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================\                                                                                               ]  373/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================-                                                                                                  ]  322/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============================/                                                                                         ]  454/1800  25%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  331/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============-                                                                                                         ]  216/1800  12%^C
real    3m45.770s
user    0m3.122s
sys 0m30.744s
osboxes@osboxes:~/installers/generic-linux$ rm source/Mudlet-^C
osboxes@osboxes:~/installers/generic-linux$ rm source/mudlet source/src/mudlet
osboxes@osboxes:~/installers/generic-linux$ cp ~/mudlet/src/mudlet source/
osboxes@osboxes:~/installers/generic-linux$ cp ~/mudlet/src/mudlet source/src
osboxes@osboxes:~/installers/generic-linux$ time ./make-installer.sh 
Current branch release_30 is up to date.
Already on 'release_30'
Your branch is up-to-date with 'origin/release_30'.
Project MESSAGE: mudlet will be installed to /usr/local/bin...
Project MESSAGE: Lua files will be installed to /usr/local/share/mudlet/lua...
Project MESSAGE: Geyser lua files will be installed to /usr/local/share/mudlet/lua/geyser...
make: Nothing to be done for `first'.
Not using FHS-like mode
app-binary: "/home/osboxes/installers/generic-linux/source/mudlet"
appDirPath: "/home/osboxes/installers/generic-linux/source"
relativeBinPath: "mudlet"
WARNING: gpg2 is missing, please install it if you want to create digital signatures
Desktop file: /home/osboxes/installers/generic-linux/source/mudlet.desktop
Name: Mudlet
Icon: mudlet
Exec: mudlet
Comment: Play online text-based games (MUDs)
Type: Application
Categories: Game;AdventureGame;RolePlaying;ActionGame
File used for determining architecture: /home/osboxes/installers/generic-linux/source/lib/libasyncns.so.0
Arch: 86_64
App name for filename: Mudlet
dest_path: Mudlet-x86_64.AppImage
DESTINATION not specified, so assuming Mudlet-x86_64.AppImage
/home/osboxes/installers/generic-linux/source should be packaged as Mudlet-x86_64.AppImage
Generating squashfs...
Size of the embedded runtime: 112856 bytes
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on Mudlet-x86_64.AppImage, block size 131072.
[===========/                                                                                                            ]  168/1800   9%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  340/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============/                                                                                                          ]  206/1800  11%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================|                                                                                                 ]  346/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================|                                                                                               ]  369/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================\                                                                                               ]  374/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================-                                                                                                 ]  343/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  329/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  359/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================/                                                                                               ]  372/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  356/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  354/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==========================-                                                                                             ]  396/1800  22%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  348/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[============================-                                                                                           ]  429/1800  23%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  358/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==========================-                                                                                             ]  401/1800  22%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  331/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  363/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  366/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============================\                                                                                          ]  443/1800  24%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================\                                                                                               ]  369/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==========================\                                                                                             ]  402/1800  22%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  348/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================-                                                                                              ]  384/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  347/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[============================\                                                                                           ]  436/1800  24%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================\                                                                                               ]  364/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  361/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================-                                                                                                 ]  342/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  368/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  367/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============================\                                                                                         ]  461/1800  25%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  350/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================\                                                                                              ]  385/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================-                                                                                                  ]  322/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  365/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  364/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[===========================-                                                                                            ]  419/1800  23%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  356/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==========================-                                                                                             ]  406/1800  22%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================-                                                                                                 ]  338/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  367/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  322/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[============================-                                                                                           ]  426/1800  23%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================-                                                                                                ]  357/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================-                                                                                              ]  389/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  322/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  347/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  318/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============================\                                                                                         ]  463/1800  25%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================-                                                                                                  ]  332/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================-                                                                                              ]  383/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================-                                                                                               ]  364/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==========================-                                                                                             ]  394/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  344/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[============================-                                                                                           ]  437/1800  24%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================-                                                                                                  ]  322/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================-                                                                                              ]  385/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============-                                                                                                          ]  206/1800  11%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[========================/                                                                                               ]  378/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================|                                                                                                  ]  331/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[============================/                                                                                           ]  433/1800  24%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  361/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[===========================-                                                                                            ]  409/1800  22%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  336/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================/                                                                                              ]  382/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================|                                                                                                 ]  334/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[===========================/                                                                                            ]  415/1800  23%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  352/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================/                                                                                              ]  381/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=====================/                                                                                                  ]  321/1800  17%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  361/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================/                                                                                                ]  361/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============================\                                                                                          ]  446/1800  24%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============-                                                                                                          ]  206/1800  11%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[===========================|                                                                                            ]  417/1800  23%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================|                                                                                                ]  354/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=======================|                                                                                                ]  362/1800  20%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================/                                                                                                 ]  335/1800  18%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=============================-                                                                                          ]  450/1800  25%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[======================-                                                                                                 ]  343/1800  19%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=========================|                                                                                              ]  387/1800  21%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[==============/                                                                                                         ]  213/1800  11%^C
real    2m16.682s
user    0m3.851s

Nothing from my side is changing the AppImage size, so I don't know why is it looping like this.

vadi2 commented 7 years ago

A few tries later, it only happened once and I got a result:

Creating 4.0 filesystem on Mudlet-x86_64.AppImage, block size 131072.
[=========\                                                                                                              ]  149/1800   8%
File /home/osboxes/installers/generic-linux/source/Mudlet-x86_64.AppImage changed size while reading filesystem, attempting to re-read
[=================================================================================================================-      ] 1722/1800  95%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
    compressed data, compressed metadata, compressed fragments, no xattrs
probonopd commented 7 years ago

That's really strange, I never saw a "changed size while reading filesystem" message ever. Could it be that something is writing to the directory you are using as the source for the AppImage?

E.g., could it be that the AppImage is written into the directory you are making the AppImage from? Or could you have other open/background processes that are writing to the directory?

vadi2 commented 7 years ago

I think deleting the existing appimage before making a new one worked, something I should have done to begin with. It's not that intuitive though. I'll reopen if it happens again.

On Wed, 8 Mar 2017 8:41 am probonopd, notifications@github.com wrote:

That's really strange, I never saw a "changed size while reading filesystem" message ever. Could it be that something is writing to the directory you are using as the source for the AppImage?

E.g., could it be that the AppImage is written into the directory you are making the AppImage from? Or could you have other open/background processes that are writing to the directory?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/probonopd/linuxdeployqt/issues/87#issuecomment-284969782, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGxjPrOJsJ83KcHJDPCaRNLiA5tvWcyks5rjluwgaJpZM4MWXz9 .

ribtoks commented 7 years ago

This also happens to me if you create AppImage in the AppDir, as @probonopd stated above. Just call linuxdeployqt from some other directory and you will have 100% success rate.

probonopd commented 7 years ago

This is like if you wanted to zip a directory, and put the resulting zip into the directory that you are trying to zip... maybe we should add an error message in these cases.

vadi2 commented 7 years ago

Would be a good idea, it could happen and pretty confusing when it does!

On Fri, 19 May 2017 11:55 am probonopd, notifications@github.com wrote:

This is like if you wanted to zip a directory, and put the resulting zip into the directory that you are trying to zip... maybe we should add an error message in these cases.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/probonopd/linuxdeployqt/issues/87#issuecomment-302741482, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGxjObwMhkgkRqPtwkJNd13TDXpIfbpks5r7btdgaJpZM4MWXz9 .

probonopd commented 7 years ago

@vadi2 feel like sending a PR?

ribtoks commented 7 years ago

@probonopd Error message sounds more than reasonably.

vadi2 commented 7 years ago

Sorry, I've got too much on my plate right now.

On Fri, 19 May 2017 11:58 am probonopd, notifications@github.com wrote:

@vadi2 https://github.com/vadi2 feel like sending a PR?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/probonopd/linuxdeployqt/issues/87#issuecomment-302742412, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGxjGBOBZ6bPQ6Cu2KSen1h1-xPzaIHks5r7bw0gaJpZM4MWXz9 .