Skip to content

Unrelated files being touched? #179

@pochicake

Description

@pochicake

Initially i was building the app on my machine, the build failed there reporting unrelated files (my personal files outside the project folder) in the logs.

I thought maybe it's an NTFS-on-Linux issue, so i moved to using ext4, cleaned the project and start the build again. That time it's kinda building python now but it got stuck (or just compiling longer) in installing "bundle/python3.12/opcode.pyc" and it overheated my incompetent laptop and emergency shutdown itself.

So then i thought i'll use codespace instead, to offload some computation demands. And now, it got past (i think? i don't see it in the logs) the opcode.pyc thing, but now it's touching unrelated files again:

Running the command: flutter build linux --verbose

........
[        ] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/email/utils.pyc
[   +4 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/email/message.pyc
[        ] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/sqlite3
[   +2 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/sqlite3/dbapi2.pyc
[        ] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/sqlite3/__init__.pyc
[   +3 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/sqlite3/__main__.pyc
[        ] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/sqlite3/dump.pyc
[   +4 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/subprocess.pyc
[   +2 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/nturl2path.pyc
[   +5 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/enum.pyc
[   +4 ms] -- Installing: /workspaces/test_app/build/linux/x64/release/bundle/python3.12/imghdr.pyc
[  +30 ms] CMake Error at plugins/serious_python_linux/cmake_install.cmake:61 (file):
[  +22 ms]   file COPY cannot find "///run/xtables.lock": Permission denied.
[        ] Call Stack (most recent call first):
[        ]   cmake_install.cmake:185 (include)
[   +3 ms] FAILED: CMakeFiles/install.util 
[        ] cd /workspaces/test_app/build/linux/x64/release && /usr/bin/cmake -P cmake_install.cmake
[        ] ninja: build stopped: subcommand failed.
[  +15 ms] Building Linux application... (completed in 37.3s)
[        ] "flutter linux" took 40,083ms.
[  +35 ms] Build process failed
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
           #1      _runBuild (package:flutter_tools/src/linux/build_linux.dart:215:5)
           <asynchronous suspension>
           #2      buildLinux (package:flutter_tools/src/linux/build_linux.dart:96:5)
           <asynchronous suspension>
           #3      BuildLinuxCommand.runCommand (package:flutter_tools/src/commands/build_linux.dart:89:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1581:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:503:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:438:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:98:11)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:101:3)
           <asynchronous suspension>
           
           
[        ] Running 1 shutdown hook
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions