Opened 7 years ago
Closed 7 years ago
#191 closed defect (fixed)
ZIP return code 18 and messages 'zip warning: name not matched: foo'
| Reported by: | Shmuel (Seymour J.) Metz | Owned by: | |
|---|---|---|---|
| Priority: | Feedback pending | Milestone: | |
| Component: | *none | Version: | |
| Severity: | medium | Keywords: | zip | 
| Cc: | 
Description
ZIP return code 18 and messages 'zip warning: name not matched: foo'
ZIP message 'iff 4 eq 0 then' written to console rather than to STDERR or STDOUT
dir I:\ /f /s >J:\I.dir
SYS0008: There is not enough memory available to process this command.
All available memory is in use.
SYS0008: There is not enough memory available to process this command.
All available memory is in use.
SYS0008: There is not enough memory available to process this command.
All available memory is in use.
ZIP -9rSuv -b W:\ --display-counts J:\I.zip I:\  > J:\I.log 2>&1
zip of I completed with rc=0
iff 4 eq 0 then
dir M:\ /f /s >J:\M.dir
ZIP -9rSuv -b W:\ --display-counts J:\M.zip M:\  > J:\M.log 2>&1
zip of M completed with rc=0
iff 4 eq 0 then
dir P:\ /f /s >J:\P.dir
ZIP -9rSuv -b W:\ --display-counts J:\P.zip P:\ -x "?? ????. sf" > J:\P.log 2>&1
zip of P completed with rc=0
iff 4 eq 0 then
dir Q:\ /f /s >J:\Q.dir
ZIP -9rSuv -b W:\ --display-counts J:\Q.zip Q:\ -x "*\SWAPPER.DAT" > J:\Q.log 2>
&1
zip of Q completed with rc=18
iff 4 eq 0 then
dir U:\ /f /s >J:\U.dir
ZIP -9rSuv -b W:\ --display-counts J:\U.zip U:\  > J:\U.log 2>&1
zip of U completed with rc=0
iff 4 eq 0 then
dir W:\ /f /s >J:\W.dir
ZIP -9rSuv -b W:\ --display-counts J:\W.zip W:\ -x "*\SWAPPER.DAT" > J:\W.log 2>
&1
zip of W completed with rc=0
iff 1 eq 0 then
dir J:
Volume in drive J is BACKUP2 Serial number is 89BA:D90D
Directory of J:\*
9-25-18 12:51 <DIR> 0 .
9-25-18 12:51 <DIR> 0 ..
9-25-18 9:52 22,644 0 C.dir
9-25-18 9:52 67,321 0 C.log
9-25-18 9:52 16,725,698 124 C.zip
9-25-18 9:52 40,991 0 D.dir
9-25-18 9:53 129,061 0 D.log
9-25-18 9:53 30,762,546 124 D.zip
9-25-18 9:53 1,529,295 0 E.dir
9-25-18 9:59 2,993,397 0 E.log
9-25-18 10:04 779,556,399 124 E.zip
9-25-18 10:04 2,543,509 0 F.dir
9-25-18 10:13 5,271,510 0 F.log
9-25-18 10:19 992,496,570 124 F.zip
9-25-18 10:19 2,402,631 0 G.dir
9-25-18 10:28 4,742,916 0 G.log
9-25-18 10:36 1,283,311,653 124 G.zip
9-25-18 10:36 1,867,267 0 H.dir
9-25-18 10:47 3,358,473 0 H.log
9-25-18 11:04 2,847,560,864 124 H.zip
9-25-18 11:05 3,500,281 0 I.dir
9-25-18 11:18 15,333,736 0 I.log
9-25-18 11:30 1,895,763,663 124 I.zip
9-25-18 11:30 232,350 0 M.dir
9-25-18 11:58 495,717 0 M.log
9-25-18 12:25 4,294,967,295 124 M.zip
9-25-18 12:25 17 0 P.dir
9-25-18 12:27 387 0 P.log
9-25-18 12:28 76,111,975 124 P.zip
9-25-18 12:28 1,309,722 0 Q.dir
9-25-18 12:33 2,673,568 0 Q.log
9-25-18 12:38 802,664,142 124 Q.zip
9-25-18 12:39 1,859,168 0 U.dir
9-25-18 12:43 3,682,609 0 U.log
9-25-18 12:45 325,994,326 124 U.zip
9-25-18 12:45 1,458,912 0 W.dir
9-25-18 12:51 2,235,333 0 W.log
9-25-18 12:56 864,655,927 124 W.zip
9-25-18 9:52 1,354 0 zipver
14,268,323,227 bytes (13GB) in 37 files and 2 dirs
14,268,391,424 bytes (13GB) allocated
1,703,329,792 bytes (1,624MB) free
Attachments (1)
Change History (13)
by , 7 years ago
| Attachment: | BackupUSB.cmd added | 
|---|
comment:1 by , 7 years ago
I can provide directory and log listing for any or all of the failing drives. Do you want all of the logs with rc=18 or just one?
comment:2 by , 7 years ago
| Priority: | major → Feedback pending | 
|---|
one log should be fine. as I guess all look the same.
and please do just one single failing zip command from cmdline. and paste the output here.
comment:4 by , 7 years ago
zip warning: J:/F.zip not found or empty
Scanning files ..
zip warning: name not matched: F:/usr/bin/date
zip warning: name not matched: F:/usr/bin/dir
zip warning: name not matched: F:/usr/bin/hostid
zip warning: name not matched: F:/usr/bin/rpmdb
zip warning: name not matched: F:/usr/bin/rpmquery
zip warning: name not matched: F:/usr/bin/rpmsign
zip warning: name not matched: F:/usr/bin/rpmverify
zip warning: name not matched: F:/usr/bin/sort
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_archive
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_deadlock
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_dump
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_load
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_printlog
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_recover
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_stat
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_upgrade
zip warning: name not matched: F:/usr/lib/rpm/rpmdb_verify
. .....  0/54040   adding: 0024_01.TRP        (in=13963) (out=3695) (deflated 74%)
1/54039 adding: Apps/ (in=0) (out=0) (stored 0%)
2/54038 adding: Apps/apache2/ (in=0) (out=0) (stored 0%)
3/54037 adding: Apps/apache2/bin/ (in=0) (out=0) (stored 0%)
4/54036 adding: Apps/apache2/bin/ab.exe (in=1284316) (out=491741) (deflated 62%)
5/54035 adding: Apps/apache2/bin/apachectl (in=3476) (out=1541) (deflated 56%)
6/54034 adding: Apps/apache2/bin/apxs (in=23380) (out=7027) (deflated 70%)
7/54033 adding: Apps/apache2/bin/apxs.good (in=23236) (out=6961) (deflated 70%)
...
54028/ 12   adding: WATCOM/wipfc/de_DE.nls        (in=527) (out=360) (deflated 32%)
54029/ 11   adding: WATCOM/wipfc/entit932.txt        (in=2000) (out=936) (deflated 53%)
54030/ 10   adding: WATCOM/wipfc/entit934.txt        (in=1916) (out=986) (deflated 49%)
54031/  9   adding: WATCOM/wipfc/entit938.txt        (in=2000) (out=906) (deflated 55%)
54032/  8   adding: WATCOM/wipfc/entity.txt        (in=1934) (out=993) (deflated 49%)
54033/  7   adding: WATCOM/wipfc/en_GB.nls        (in=501) (out=324) (deflated 35%)
54034/  6   adding: WATCOM/wipfc/en_US.nls        (in=500) (out=323) (deflated 35%)
54035/  5   adding: WATCOM/wipfc/fr_CA.nls        (in=560) (out=412) (deflated 26%)
54036/  4   adding: WATCOM/wipfc/fr_FR.nls        (in=552) (out=400) (deflated 28%)
54037/  3   adding: WATCOM/wipfc/ja_JA.nls        (in=376) (out=268) (deflated 29%)
54038/  2   adding: WATCOM/wipfc/xx_YY.nls        (in=525) (out=334) (deflated 36%)
54039/  1   adding: WP ROOT. SF        (in=493) (out=263) (deflated 47%)
zip warning: Not all files were readable
files/entries read: 54037 (1.9G bytes) skipped: 3 (1.3M bytes)
total bytes=2128997604, compressed=981023040 -> 54% savings
What's the URL for the zip RPM you want me to try?
comment:5 by , 7 years ago
http://rpm.netlabs.org/experimental/00/i386/i686/ or http://rpm.netlabs.org/experimental/00/i386/pentium4/ it depends which arch you use.
the name not matched messages are from symlinks. We know that some symlinks are broken. there are tickets for that in the rpm project.
comment:6 by , 7 years ago
I thought that you couldn't define a symlink in OS/2.
zip-3.0-8.oc00.i686.rpm does not correct this problem, although it does seem to fix the bug in the $ option.
comment:7 by , 7 years ago
sure we have symlinks with all libc based apps. And some are wrong created (especially those from rpm). And those give the above error.
whats the entry of f:\usr\bin\date it should point to some valid exe.
comment:8 by , 7 years ago
and ry to use -y flag. It should include the symlinks as well
comment:9 by , 7 years ago
How do I tell what f:\usr\bin\date links to? Is the link in the file itself or in an EA?
comment:11 by , 7 years ago
Yes, f:\usr\bin\date links to date.exe and, yes, zip give return code 0 with the y option. Both the contents and the EA use @unixroot. Thanks.
comment:12 by , 7 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
so I close that case.
If you liked our support please consider sponsoring our work at http://www.bitwiseworks.com/shop


Backup script invoking ZIP