DUB error with package ddn-data-xml

Dejan Lekic dejan.lekic at gmail.com
Sat May 2 18:36:14 UTC 2026


On Saturday, 2 May 2026 at 16:21:22 UTC, torhu wrote:
> I'm not sure if this is a dub issue, a code.dlang.org issue or 
> if the zip file is broken. I also tried version 1.1.2 of the 
> package, same error.
>
>
>> C:\prog\prosjekt\MonsterBrowser_phobos2>dub build -a=x86 
>> -c=windows
>>    Fetching ddn-data-xml 1.1.3 (getting selected version)
>>             Failed to extract zip archive for ddn-data-xml 
>> 1.1.3...
>>             Failed to extract zip archive for ddn-data-xml 
>> 1.1.3...
>>             Failed to extract zip archive for ddn-data-xml 
>> 1.1.3...
>> Error found no valid 'end of central dir record'
>
> For now, I'm just using a local installation of the package.

tohu, thanks for reporting this. I do not have access to Windows 
right now, but will definitely look at this tomorrow. It could be 
that dub packaged the code in wrong way. Workaround is ofc to 
clone the repo locally on your Windows box, and try to build it. 
This is exactly what I am going to do tomorrow.

If it happens to be a genuine issue in the ddn-data-xml code, I 
will try to fix it. The right place to report ddn-data-xml 
issue(s) is https://codeberg.org/ddn/ddn-data-xml/issues

ZIP looks good btw:

```
dejan at mini:/tmp
» wget https://code.dlang.org/packages/ddn-data-xml/1.1.3.zip
HTTP response 302  
[https://code.dlang.org/packages/ddn-data-xml/1.1.3.zip]
Enqueue https://codeberg.org/ddn/ddn-data-xml/archive/v1.1.3.zip
Saving '1.1.3.zip'
HTTP response 200  
[https://codeberg.org/ddn/ddn-data-xml/archive/v1.1.3.zip]
1.1.3.zip            100% 
[==========================================================================================================================================>]  238.96K    --.-KB/s
                           [Files: 1  Bytes: 238.99K [138.14KB/s] 
Redirects: 1  Todo: 0  Errors: 0                                  
                                    ]
dejan at mini:/tmp
» zip -T 1.1.3.zip
test of 1.1.3.zip OK
```


More information about the Digitalmars-d mailing list