[Bug 256272] www/py-graphite-web: Skipped w/py39 due to sysutils/py-scandir incompatibility

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 May 2021 21:45:43 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256272

            Bug ID: 256272
           Summary: www/py-graphite-web: Skipped w/py39 due to
                    sysutils/py-scandir incompatibility
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: john_at_saltant.com
                CC: sunpoet_at_FreeBSD.org
                CC: sunpoet_at_FreeBSD.org

www/py-graphite-web depends on sysutils/py-scandir. sysutils/py-scandir_at_py39
fails "stage" with the following error.

_scandir.c:663:7: error: redefinition of 'PyStructSequence_UnnamedField' with a
different type: 'char *' vs 'const char *const'
char *PyStructSequence_UnnamedField = "unnamed field";
      ^
/usr/local/include/python3.9/structseq.h:22:27: note: previous declaration is
here
extern const char * const PyStructSequence_UnnamedField;
                          ^
1 error generated.


The reason I am filing this bug against www/py-graphite-web instead of
sysutils/py-scandir is because the scandir module has been included in the
Python standard library since 3.5 [0], so I would hope that the dependency
could be dropped. If desired, I will file a bug against sysutils/py-scandir
instead.

[0] https://docs.python.org/3.8/whatsnew/3.5.html?highlight=scandir

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun May 30 2021 - 21:45:43 UTC

Original text of this message