Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2018 07:45:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229562] [PATCH] lang/python37 build failure
Message-ID:  <bug-229562-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229562

            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@FreeBSD.org
          Reporter: cy@FreeBSD.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 194911
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194911&action=
=3Dedit
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 t=
ypes
('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/_uui=
dmodule.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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229562-7788>