maintainer-feedback requested: [Bug 229562] [PATCH] lang/python37 build failure

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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-python mailing
list <python at FreeBSD.org> for maintainer-feedback:
Bug 229562: [PATCH] lang/python37 build failure
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229562



--- Description ---
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/_uuidmod
ule.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.


More information about the freebsd-python mailing list