[Nix-dev] Unable to handle `.zip` archive in unstable.

Tim Barbour trb at categorical.net
Thu Sep 8 02:07:02 CEST 2016


On Tue, 06 Sep 2016 21:03:45 +1000,
Aloïs Cochard wrote:
> I'm currently trying to upgrade my system to the latest unstable, but I keep running into errors like:
> 
> unpacking source archive /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> do not know how to unpack source archive /nix/store/calj3b4gz6vq99d6wxc1760q66w101k3o147jen_linuxufrII_0290.zip
> builder for ‘/nix/store/hdbk6k7b6v6799i6mfknd7cagmi8zazx-canon-cups-ufr2-2.90.drv’ failed with exit code 1
> 
> If I remove cups, it then fail on the next package that require a `.zip` retrieved by `fetchurl`, is there some
> sort of regression?
> 
> Cheers
> 
> PS: I was building `e8315cb1caac6343322b5bab822f3cd227ae287b` which is the latest Hydra build with complete
> evaluation at the time I started the upgrade.

I just encountered a gzip problem while trying to build chromium-53.0.2785.34, from
'6ac7ffd9d7febdd51dc3a13ce3163115ade6696e', as below.

Tim
---

[2079/19283] ACTION Generating resources from resources/components_resources.grd
FAILED: cd ../../components; python ../tools/grit/grit.py -i resources/components_resources.grd build -f ../tools/gritsettings/resource_ids -o ../out/Release/gen/components "--write-only-new=1" -D _chromium -E "CHROMIUM_BUILD=chromium" -D desktop_linux -D toolkit_views -D use_aura -D use_nss_certs -D enable_extensions -D enable_plugins -D enable_printing -D enable_print_preview -D enable_themes -D use_concatenated_impulse_responses -D enable_media_router -D enable_webrtc -D enable_hangout_services_extension -D enable_task_manager -D enable_notifications -D enable_service_discovery -E "about_credits_file=../out/Release/gen/about_credits.bro"
Error processing node <?xml version="1.0" encoding="UTF-8"?>
<include allowexternalscript="true" compress="gzip" file="../gcm_driver/resources/gcm_internals.html" flattenhtml="true" name="IDR_GCM_DRIVER_GCM_INTERNALS_HTML" type="BINDATA" />
Traceback (most recent call last):
  File "../tools/grit/grit.py", line 15, in <module>
    grit.grit_runner.Main(sys.argv[1:])
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/grit_runner.py", line 268, in Main
    toolobject.Run(options, args[1:])
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py", line 230, in Run
    self.Process()
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py", line 360, in Process
    self.ProcessNode(self.res, output, outfile)
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/tool/build.py", line 297, in ProcessNode
    formatted = formatter(node, output_node.GetLanguage(), output_dir=base_dir)
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/format/data_pack.py", line 45, in Format
    id, value = node.GetDataPackPair(lang, UTF8)
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/node/include.py", line 104, in GetDataPackPair
    data = grit.format.gzip_string.GzipStringRsyncable(data)
  File "/tmp/nix-build-chromium-53.0.2785.34.drv-0/chromium-53.0.2785.34/tools/grit/grit/format/gzip_string.py", line 26, in GzipStringRsyncable
    stderr)
subprocess.CalledProcessError: Command 'gzip' returned non-zero exit status 1
ninja: build stopped: subcommand failed.
builder for ‘/nix/store/pfgvqywsgvysm3aa95ymafr4j4rcjan3-chromium-53.0.2785.34.drv’ failed with exit code 1


More information about the nix-dev mailing list