Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140111

[Boot2Qt] Package provided to Qt for MCU will result to Error when using 7zip 25.01

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt for MCUs 2.9
    • Device Creation
    • None
    • Windows

      Windows 10

      7zip: 25.01

      Steps to reproduce:

      1. Download provided "meta-b2qt-embedded-qbsp-x86_64-mingw32-imx93-11x11-lpddr4x-evk-6.8.3.qbsp" file.
      2. Download 25.01 version on 7zip
      3. Unzip ".qbsp" file(cli)
        1. <pathToSevenzip>\7z.exe x -y -bb "-oC:\Windows\Temp\embedded.b2qt.683.imx9311x11lpddr4xevk" "<pathToMetaFile>\meta-b2qt-embedded-qbsp-x86_64-mingw32-imx93-11x11-lpddr4x-evk-6.8.3.qbsp"
      4. Unzip this file:
        1. <pathToSevenzip>7z.exe x y "C:\Windows\Temp\embedded.b2qt.683.imx9311x11lpddr4xevk\embedded.b2qt.683.imx9311x11lpddr4xevk.toolchain\6.8.3*toolchain.tar.xz" -so | <pathToSevenzip>\7z.exe x -y -aoa -si -ttar "-oC:\MCU_Prerequisites\b2qt-imx93-11x11-lpddr4x-evk_6_8_3\toolchain"

      Expected: Package gets unzipped and you can see the file contents.

      Actual: Starts unzipping the package - looks like everything is working - this log appears - ERROR: Dangerous link path was ignored : .\sysroots\cortexa55-poky-linux\var\lock : ..\run\lock

       

      Logs:

      ======================================================================
      Extracting 'C:\Windows\Temp\embedded.b2qt.683.imx9311x11lpddr4xevk\embedded.b2qt.683.imx9311x11lpddr4xevk.toolchain\6.8.3-*toolchain.tar.xz' to 'C:\MCU_Prerequisites\b2qt-imx93-11x11-lpddr4x-evk_6_8_3\toolchain'...
      Running "cmd.exe" with arguments "/C 7z.exe x -y "C:\Windows\Temp\embedded.b2qt.683.imx9311x11lpddr4xevk\embedded.b2qt.683.imx9311x11lpddr4xevk.toolchain\6.8.3-*toolchain.tar.xz" -so | 7z.exe x -y -aoa -si -ttar "-oC:\MCU_Prerequisites\b2qt-imx93-11x11-lpddr4x-evk_6_8_3\toolchain""
      ======================================================================
      stdout of "cmd.exe":
      ======================================================================
      7-Zip 25.01 (x64) : Copyright (c) 1999-2025 Igor Pavlov : 2025-08-03
      Extracting archive:
      --
      Path =
      Type = tarCode
      Page = UTF-8
      Characteristics = ASCII
      Sub items Errors: 437
      Archives with Errors: 1
      Sub items Errors: 437
      ======================================================================
      stderr of "cmd.exe":
      ======================================================================
      ERROR: Dangerous link path was ignored : .\sysroots\cortexa55-poky-linux\var\lock : ..\run\lock
      ERROR: Dangerous link path was ignored : .\sysroots\cortexa55-poky-linux\var\run : ..\run
      ERROR: Dangerous link via another link was ignored : .\sysroots\cortexa55-poky-linux\usr\bin\python3-config : python3.12-config
      ERROR: Dangerous link path was ignored : .\sysroots\cortexa55-poky-linux\usr\share\alsa\ucm2\conf.d\acp63\acp63.conf : ..\..\common\linked-card.conf
      ...

       

      Info of the error log: "The error "Dangerous link path was ignored" in 7-Zip occurs when an archive contains a symbolic link (symlink) or a hard link that points to a potentially unsafe location, such as an absolute path on the system or a location outside the archive's intended scope. 7-Zip flags these as dangerous to prevent potential exploits or accidental overwrites of critical system files by malicious or poorly constructed archives."

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sapiippo Samuli Piippo
            teko Tero Koponen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes