Comments (8)
In QDK2, we truncate tailing garbage in https://github.com/qnap-dev/qdk2/blob/master/QDK_2.2/bin/qbuild#L620.
I guess it's relating with @Johnsik problem
from qdk.
Hello Johnsik
1."/bin/tar: Exiting with failure status due to previous errors"
The return value is how to produce.
2."aa" 0.1 installation failed. Data file error.
aa.qpkg is this QDK build?
from qdk.
Hi edhongcy!
TS-419P II with QDK 2.2.13:
qbuild --create-env aa
cd aa
qbuild
sh ./build/aa_0.1.qpkg
result is:
Install QNAP package on TS-NAS...
8+1 records in
8+1 records out
./
./qinstall.sh
./qpkg.cfg
./package_routines
./built_info
0+1 records in
0+1 records out
0+1 records in
0+1 records out
aa 0.1 installation failed. Data file error.
Installation Abort.
Problem is ONLY when I install from terminal. There is no problem in web GUI.
If I comment /bin/rm -fr \$_EXTRACT_DIR && exit $retval
in qbuild and after run
/bin/tar xvf /share/HDA_DATA/.qpkg/.tmp/data.tar.gz
I've got:
./
./.gitkeep
./aa.sh
gzip: stdin: decompression OK, trailing garbage ignored
/bin/tar: Child returned status 2
/bin/tar: Exiting with failure status due to previous errors
tar version is 1.22
from qdk.
Hi Johnsik
I hope you can reply to a few questions .It can accelerate to clarify my question .
- How you take QDK 2.2.13?
- You NAS QDK is upgrade or remove old QDK than install new QDK.
I guess it's NAS QDK incomplete upgrade issue.
from qdk.
@fcwu
Thank you tell me "Truncate" bug in qbuild.
I will fix it in qdk.
from qdk.
- From QPKG Development Guidelines.
- Remove old and install new.
Also I have installed Optware-ng. But qbuild include absolute path to utils (like /bin/tar) so it not must be a problem.
UPD. Ups... I'm try to disable Optware-ng and the problem is gone.
from qdk.
data.tar.gz in qpkg isn't fully correct. It contain a trailing garbage.
tar w/o Optware-ng use /bin/gzip from BusyBox that isn't show warning about trailing garbage.
tar with Optware-ng use /opt/bin/gzip that is show warning about trailing garbage.
from qdk.
Hello @Johnsik
I use "cat" data.tar.gz.
[/share/CACHEDEV1_DATA/aa/build] # cat data.tar.gz �����Qo�0����Oq�xX'��@���� T{�&0���,P�j��~�*tR7��N���rv������\�::�" �c��Z3&��F���a��I��bA
����[�-���7:�.d�e�z+���c̕˿Y����X������,���G�͉7��'�v{���<^̽�:OE��l�3W���~����Ɯr� ���ԓ�;S^i��G����ZW�ɐ�K��P�����v<��=Zz�]ٖ{O��zqB'�څO?��T�p�]���S�����<]O�9��� q@�6��jq��������V��s�Ҝ�V���z�n|1�&g�r�B��E�Er���8��|mB���Qi�|�V�}l!a!�p����(��i*�9��Ӂ�8N������z4�f�ٴ͙֛�'���9����@����ש������͑�����aD�zTL������A��A��A��A��A��A��A^�O�7ǀ( 1085687375 aa 0.1 QNAPQPKG
I think you say "trailing garbage" is QDK write information " 1085687375 aa 0.1 QNAPQPKG" in end of file.
So that is QNAP deliberately stayed information not issue.
from qdk.
Related Issues (19)
- InstallToUbuntu.sh remove is deleting the whole of `/etc/config` HOT 1
- Missing dependency in InstallToUbuntu.sh for rsync HOT 1
- How to build a QPKG on a Linux machine (not a QNAP)? HOT 1
- unable to install x41 QPKG on armv7l because of platform HOT 4
- return code for package service script?
- Problem signing QPKG
- Link - https://cheng-yuan-hong.gitbook.io/qdk-quick-start-guide/ Is not working HOT 1
- due to up coming QTS 5, please modify template qpkg.conf HOT 2
- Building without root permissions broken because make tries to copy the binary to /bin
- Minimal sample is not installable HOT 1
- releases GitHub HOT 1
- Why run a `rsync` when uninstalling QPKG? HOT 1
- Output is not deterministic
- `qbuild --extract` seems to be slightly broken
- Does QDK support code signing certificates on Azure Key Vault?
- [ enhancement ] Icons HOT 1
- [ enhancement ] generate .md5 files on fly when launching qbuild
- QDK 2.3.0: QPKG failed to install due to missing Optware package (but it is installed) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qdk.