Coder Social home page Coder Social logo

package-grokker's People

Contributors

jeremyd2019 avatar lazka avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

package-grokker's Issues

increase pefile max_symbol_exports

The default is 0x2000, but this is exceeded by openblas at least (discovered in msys2/MINGW-packages#16467). This limit is accepted as a parameter to the PE constructor, so should probably be set to 0x10000 (since there's a 16-bit limit inherent to the PE format)

Consider first level of makedepends also

In some cases packages build for example Python modules but don't define Python as a runtime dependency because it's only reachable when installing Python (some systems call this peer dependencies).

So, to catch all potential DLL users we should also look at the makedepends of the given package. And then follow normal transitive dependencies from there on as before.

output pefile warnings

the pefile module has a concept of 'warnings', which are not fatal and are not output by default. it provides get_warnings and show_warnings methods on the PE class.

One such warning is "Export directory contains more than {} symbol entries. Assuming corrupt.", which is triggered on msys2/MINGW-packages#16467

should use files db, and only check packages with potential PE images

If used to check python packages, a good number of them would not have any EXE/DLL/PYD files, and would be a waste of time and bandwidth to download them to find that out. The script could load the .files db, and see if the files list contain any potentially matching files to only download those that might match.

investigate MAX_IMPORT_SYMBOLS

We currently get this a lot:

Warnings for ucrt64/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.pyd:
> Excessive number of imports 8193 (>8192)
Warnings for ucrt64/bin/libqgis_app.dll:
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)
> Damaged Import Table information. ILT and/or IAT appear to be broken. OriginalFirstThunk: 0xbe86b8 FirstThunk: 0xbf80c0
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)
> Damaged Import Table information. ILT and/or IAT appear to be broken. OriginalFirstThunk: 0xbebd88 FirstThunk: 0xbfb790
Warnings for ucrt64/bin/liboctinterp-11.dll:
> Excessive number of imports 8193 (>8192)
Warnings for ucrt64/bin/libqgis_gui.dll:
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)
> Excessive number of imports 8193 (>8192)

I wonder if that " Damaged Import Table information" part is just there because it stops parsing when it reaches the limit.

And what is the real limit of import symbols, and can we set pefile.MAX_IMPORT_SYMBOLS to that, to avoid those warnings.

improve PR update check if more than one package is updated

If more than one package is updated in a PR, the downloading and checking of packages should be combined somehow, to avoid downloading the same packages multiple times, once for each changed package it depends on.

Also, take the updated packages into account instead of downloading and checking the published versions of them, in case the PR already rebuilt dependencies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.