Package Details: edl-git r440.356ab5e-3

Git Clone URL: https://aur.archlinux.org/edl-git.git (read-only, click to copy)
Package Base: edl-git
Description: Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools
Upstream URL: https://github.com/bkerler/edl
Keywords: edl firehose flashing qfil qualcomm sahara
Licenses: GPL
Conflicts: edl
Provides: edl
Submitter: zkm2fw
Maintainer: SelfRef
Last Packager: SelfRef
Votes: 6
Popularity: 0.004957
First Submitted: 2022-01-10 10:15 (UTC)
Last Updated: 2023-09-23 16:26 (UTC)

Latest Comments

1 2 3 Next › Last »

SelfRef commented on 2023-12-24 17:08 (UTC) (edited on 2023-12-24 17:09 (UTC) by SelfRef)

@Cryen This is an upstream bug, already reported here and here.

I've encountered this too. It basically means you don't have a correct loader (Android devices require a loader). Some loaders are provided in the project itself, but you can see in the second line it didn't find one. The most reliable way is to use a loader file from official recovery firmware - it should be named something like prog_firehose_ddr.elf and you can use --loader=filename argument.

SelfRef commented on 2023-12-24 16:53 (UTC)

@dreieck That's not right. edl is not using configparser so it cannot be an error from this package. But the exscript has such dependency. I can build this package without python-configparser even installed.

Cryen commented on 2023-12-23 15:35 (UTC)

After the package is built (successfully) basically every time I try to use edl it fails the same way.

Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: sahara
Traceback (most recent call last):
  File "/usr/bin/edl", line 386, in <module>
    base.run()
  File "/usr/bin/edl", line 294, in run
    version = conninfo["data"].version
              ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'req' has no attribute 'version'

dreieck commented on 2023-12-20 16:56 (UTC)

I just checked, I had an old version of python-configparser installed (from the out of date Artix "omniverse" repository), and that gave me build error

ERROR Missing dependencies:
    Exscript
    configparser

Updating to python-configparser (from the AUR) 6.0.0 solved the build error for me.

So I suggest you add a versioned make dependency: python-configparser>=6.

Regards!

dreieck commented on 2023-12-20 16:34 (UTC) (edited on 2023-12-20 16:35 (UTC) by dreieck)

Ahoj,

I recognise that for some reasons "loaders" repository is downloaded both in source retrieval step and in prepare().

makepkg -do:

[...]
==> Retrieving sources...
[...]
  -> Cloning Loaders git repo...
Cloning into bare repository '/tmp/makepkg/sources/Loaders'...
remote: Enumerating objects: 1442, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1442 (delta 5), reused 11 (delta 3), pack-reused 1427
Receiving objects: 100% (1442/1442), 67.57 MiB | 1.09 MiB/s, done.
Resolving deltas: 100% (879/879), done.
[...]
==> Starting prepare()...
Cloning into '/tmp/makepkg/build/edl-git/src/edl/Loaders'...
[↑ this actually creates lots of network traffic again]
Submodule path 'Loaders': checked out 'a83850577f32faaf4694cda8f00666e0d9d34654'
[...]

Is it possible to make the download taking place only once, e.g. in prepare() using the stuff downloaded via the source array?

Regards!

SelfRef commented on 2023-09-23 16:28 (UTC) (edited on 2023-09-23 16:34 (UTC) by SelfRef)

OK guys, I've added the python-exscript as a required dependency. I hope this resolve these issues all together.

Also the strip errors come from stripping process by makepkg. I don't see any mention in documentation how to disable it for some files. So it is what it is.

nilz3000 commented on 2023-09-22 18:58 (UTC) (edited on 2023-09-22 19:01 (UTC) by nilz3000)

Hi @SelfRef, the issue is still present, and yes, I also tested with "makepkg -sC", after I ran into this with yay. The last two commits of this package are affected by this. But as I said, installing python-exscript and building again resolved it. The error message I got is the one @dreieck posted.

dreieck commented on 2023-09-22 17:49 (UTC) (edited on 2023-09-22 18:01 (UTC) by dreieck)

Ahoj,

I also get an error about missing python-exscript:

==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!

        ********************************************************************************
        The license_file parameter is deprecated, use license_files instead.

        By 2023-Oct-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
        ********************************************************************************

!!
  parsed = self.parsers.get(option_name, lambda x: x)(value)
running egg_info
writing edlclient.egg-info/PKG-INFO
writing dependency_links to edlclient.egg-info/dependency_links.txt
writing requirements to edlclient.egg-info/requires.txt
writing top-level names to edlclient.egg-info/top_level.txt
reading manifest file 'edlclient.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'edlclient.egg-info/SOURCES.txt'

ERROR Missing dependencies:
    Exscript
==> ERROR: A failure occurred in build().

I was using makepkg -sfi, non-chroot build, but clean build directory.

namcap shows an Exscript related message in the built package as

edl-git W: Referenced python module 'Exscript.protocols.telnetlib.Telnet' is an uninstalled dependency (needed in files ['usr/lib/python3.11/site-packages/edlclient/Tools/boottodwnload', 'usr/bin/sierrakeygen.py', 'usr/bin/enableadb', 'usr/lib/python3.11/site-packages/edlclient/Tools/enableadb', 'usr/lib/python3.11/site-packages/edlclient/Tools/sierrakeygen.py', 'usr/bin/boottodwnload'])

(together with some other python packages) -- interestingly also when python-exscript is installed.

Regards!

SelfRef commented on 2023-09-22 09:09 (UTC)

@nilz3000 That's odd. python-exscript isn't necessary for build process. I cannot reproduce this. Have you tried clean build and using makepkg -s? If you still has this error please post it here.