[issue32264] move pygetopt.h into internal/

David Bolen report at bugs.python.org
Sat Dec 16 20:13:48 EST 2017


David Bolen <db3l.net at gmail.com> added the comment:

This commit appears to have broken OSX installer builds using the build-installer.py script (as in the last two attempts on the bolen-dmg-3.x builder), confirmed with a bisection from the first failing worker build (covering the range 02a0a19..3327a2d)

It fails during the main python compilation with:

ld: multiple definitions of symbol __PyOS_optarg
libpython3.7m.a(getopt.o) definition of __PyOS_optarg in section (__DATA,__data)
libpython3.7m.a(main.o) definition of __PyOS_optarg in section (__DATA,__common)
ld: multiple definitions of symbol __PyOS_opterr

(repeated for the various __PyOS__opt* symbols.

It doesn't seem to be a problem with a simple manual configure/make build (probably why the regular OSX workers aren't failing).  

So best guess at the moment is it's related to one of the extra configure options used by the build-installer script.  I'm not sure which of the commit or build process needs correction, although reverting this at least temporarily would resolve the immediate issue.

----------
nosy: +db3l, ned.deily, ronaldoussoren

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32264>
_______________________________________


More information about the Python-bugs-list mailing list