[MacPorts] #59827: python38 @3.8.0: build fails on Tiger: missing copyfile.h

MacPorts noreply at macports.org
Thu Feb 27 14:16:09 UTC 2020


#59827: python38 @3.8.0: build fails on Tiger: missing copyfile.h
---------------------------+--------------------
  Reporter:  SerpentChris  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  python38      |
---------------------------+--------------------

Comment (by ballapete):

 I a have an a bit different error report WRT copyfile:

 {{{
 /opt/local/bin/gcc-apple-4.2 -c -fno-strict-aliasing -Wsign-compare -fno-
 common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc
 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
 -Werror=implicit-function-declaration  -I./Include/internal  -I.
 -I./Include -I/opt/local/include   -DPy_BUILD_CORE \
       -DGITVERSION="\"`LC_ALL=C `\"" \
       -DGITTAG="\"`LC_ALL=C `\"" \
       -DGITBRANCH="\"`LC_ALL=C `\"" \
       -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
 /opt/local/bin/gcc-apple-4.2 -c -fno-strict-aliasing -Wsign-compare -fno-
 common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc
 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
 -Werror=implicit-function-declaration  -I./Include/internal  -I.
 -I./Include -I/opt/local/include   -DPy_BUILD_CORE -o Python/frozen.o
 Python/frozen.c
 rm -f libpython3.8.a
 ar rcs libpython3.8.a Modules/getbuildinfo.o Parser/acceler.o
 Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o
 Parser/token.o  Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o
 Objects/abstract.o Objects/accu.o Objects/boolobject.o
 Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o
 Objects/call.o Objects/capsule.o Objects/cellobject.o
 Objects/classobject.o Objects/codeobject.o Objects/complexobject.o
 Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o
 Objects/genobject.o Objects/fileobject.o Objects/floatobject.o
 Objects/frameobject.o Objects/funcobject.o Objects/interpreteridobject.o
 Objects/iterobject.o Objects/listobject.o Objects/longobject.o
 Objects/dictobject.o Objects/odictobject.o Objects/memoryobject.o
 Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o
 Objects/object.o Objects/obmalloc.o Objects/picklebufobject.o
 Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o
 Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o
 Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o
 Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o
 Python/ast_opt.o Python/ast_unparse.o Python/bltinmodule.o Python/ceval.o
 Python/codecs.o Python/compile.o Python/context.o
 Python/dynamic_annotations.o Python/errors.o Python/frozenmain.o
 Python/future.o Python/getargs.o Python/getcompiler.o
 Python/getcopyright.o Python/getplatform.o Python/getversion.o
 Python/graminit.o Python/hamt.o Python/import.o Python/importdl.o
 Python/initconfig.o Python/marshal.o Python/modsupport.o
 Python/mysnprintf.o Python/mystrtoul.o Python/pathconfig.o
 Python/peephole.o Python/preconfig.o Python/pyarena.o Python/pyctype.o
 Python/pyfpe.o Python/pyhash.o Python/pylifecycle.o Python/pymath.o
 Python/pystate.o Python/pythonrun.o Python/pytime.o
 Python/bootstrap_hash.o Python/structmember.o Python/symtable.o
 Python/sysmodule.o Python/thread.o Python/traceback.o Python/getopt.o
 Python/pystrcmp.o Python/pystrtod.o Python/pystrhex.o Python/dtoa.o
 Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o
 Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o
 Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o
 Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o
 Modules/_functoolsmodule.o  Modules/_operator.o
 Modules/_collectionsmodule.o  Modules/_abc.o  Modules/itertoolsmodule.o
 Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o
 Modules/timemodule.o  Modules/_threadmodule.o  Modules/_localemodule.o
 Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o
 Modules/bufferedio.o Modules/textio.o Modules/stringio.o
 Modules/faulthandler.o  Modules/_tracemalloc.o Modules/hashtable.o
 Modules/symtablemodule.o  Modules/xxsubtype.o Python/frozen.o
 /opt/local/bin/ranlib: file: libpython3.8.a(dynamic_annotations.o) has no
 symbols
 /opt/local/bin/ranlib: file: libpython3.8.a(pymath.o) has no symbols
 /usr/bin/install -c -d -m 755 Python.framework/Versions/3.8
 /opt/local/bin/gcc-apple-4.2 -o Python.framework/Versions/3.8/Python
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc    -dynamiclib
 \
 -all_load libpython3.8.a -Wl,-single_module \
 -install_name
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python \
 -compatibility_version 3.8 \
 -current_version 3.8 \
 -framework CoreFoundation -lintl -ldl   -framework CoreFoundation;
 Undefined symbols:
   "_fcopyfile", referenced from:
       _os__fcopyfile in libpython3.8.a(posixmodule.o)
      (maybe you meant: cstring=_fcopyfile)
   "_pthread_threadid_np", referenced from:
       _PyThread_get_thread_native_id in libpython3.8.a(thread.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [Python.framework/Versions/3.8/Python] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_python38/python38/work/Python-3.8.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_python38/python38/work/Python-3.8.1"
 && /usr/bin/make -w all
 Exit code: 2
 }}}

 PPC Tiger, Mac OS X 10.4.11.

-- 
Ticket URL: <https://trac.macports.org/ticket/59827#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list