This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Installer file is reported as broken with BLOCK_SIZE set to 1K | ||
---|---|---|---|
Product: | installer | Reporter: | sreque <sreque> |
Component: | NBI | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | output of command ./netbeans-6.1-linux.sh --verbose --output out.txt |
Description
sreque
2008-05-07 15:52:30 UTC
could you please run it in verbose mode: ./netbeans-6.1-linux.sh --verbose --output out.txt and attach out.txt here? thanks, Dmitry Created attachment 61200 [details]
output of command ./netbeans-6.1-linux.sh --verbose --output out.txt
I've attached the output of running the install script as you requested. Hi, It looks like the size of the file was reported in kilobytes instead of bytes. Could you please also attach the output of the following commands: $ ls -l ./netbeans-6.1-linux.sh $ ls -l ./netbeans-6.1-linux.sh | awk ' { print $5 }' 2>/dev/null $ man ls $ ls --help $ env what is your shell? bash? csh ? do you know by chance how to make ls on your system show size in bytes? thanks, Dmitry Haha, that fixed it! I purposely set my env variable BLOCK_SIZE=1K because I think it makes output from commands like ls more readable, but setting it back to 1 and running the installer worked. The installer shouldn't make an such an assumption about block sizes since they are configurable, but at least there is a work around for it. Oh.. I haven`t known of that feature before :) I`ve founded a more decriptive topic on that... http://www.gnu.org/software/coreutils/manual/html_node/Block-size.html In fact, NetBeans Installer does not do anything about those special env variables: it just executes "ls -l". I`ll check what I can do here to avoid such a situation in the future. sreque, thanks for you investigations! Fixed in development builds. http://hg.netbeans.org/main/rev/3cc68f5cfbf8 Integrated into 'main-golden', available in NB_Trunk_Production #195 build Changeset: http://hg.netbeans.org/main/rev/3cc68f5cfbf8 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #134684 Installer file is reported as broken with BLOCK_SIZE set to 1K |