[Bug 229562] [PATCH] lang/python37 build failure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 6 07:45:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229562

            Bug ID: 229562
           Summary: [PATCH] lang/python37 build failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: cy at FreeBSD.org
          Assignee: python at FreeBSD.org
             Flags: maintainer-feedback?(python at FreeBSD.org)

Created attachment 194911
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194911&action=edit
Patch to ignore ${LOCALBASE}/include/uuid/uuid.h

lang/python37 fails to build when misc/e2fsprogs-libuuid is installed.

n file included from /usr/include/uuid.h:36:
/usr/include/sys/uuid.h:80:21: error: typedef redefinition with different types
('struct uuid' vs 'unsigned char [16]')
typedef struct uuid uuid_t;
                    ^
/usr/local/include/uuid/uuid.h:44:23: note: previous definition is here
typedef unsigned char uuid_t[16];
                      ^
In file included from
/export/wrkdir/amd64/usr/ports/lang/python37/work/Python-3.7.0/Modules/_uuidmodule.c:8:
/usr/include/uuid.h:51:9: error: conflicting types for 'uuid_compare'
int32_t uuid_compare(const uuid_t *, const uuid_t *, uint32_t *);
        ^
/usr/local/include/uuid/uuid.h:73:5: note: previous declaration is here
int uuid_compare(const uuid_t uu1, const uuid_t uu2);
    ^
2 errors generated.

This is because uuid_t defined in ${LOCALBASE}/include/uuid/uuid.h conflicts
with uuid_t defined in /usr/include/sys/uuid.h.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list