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

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python mailing
list <python@FreeBSD.org> for maintainer-feedback:
Bug 229562: [PATCH] lang/python37 build failure
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229562



--- 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 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=
dmod
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.



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