Bug 220333 - [PATCH] lang/python33: "cc: error: unsupported option '-print-multi-os-directory'"
Summary: [PATCH] lang/python33: "cc: error: unsupported option '-print-multi-os-direct...
Status: Closed DUPLICATE of bug 220332
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-python (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-06-28 12:24 UTC by Ivan Rozhuk
Modified: 2017-08-28 04:26 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
fix "cc: error: unsupported option '-print-multi-os-directory'" (790 bytes, patch)
2017-06-28 12:24 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2017-06-28 12:24:07 UTC
Created attachment 183884 [details]
fix "cc: error: unsupported option '-print-multi-os-directory'"

If option UNSET: LIBFFI    Use libffi from ports instead of bundled version
...
cc -lpthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -Wl,--export-dynamic -o python Modules/python.o -L. -lpython3.3m -lintl -L/usr/local/lib -lintl -lutil   -lm  
LD_LIBRARY_PATH=/tmp/ports/usr/ports/lang/python33/work/Python-3.3.6 ./python -E -S -m sysconfig --generate-posix-vars ; if test $? -ne 0 ; then  echo "generate-posix-vars failed" ;  rm -f ./pybuilddir.txt ;  exit 1 ;  fi
/tmp/ports/usr/ports/lang/python33/work/Python-3.3.6/Modules/socketmodule.c:1951:74: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (cmsgh == NULL || msg->msg_control == NULL || msg->msg_controllen < 0)
                                                     ~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
cc: error: unsupported option '-print-multi-os-directory'
cc: error: no input files

Python build finished, but the necessary bits to build these modules were not found:
_gdbm              spwd                               
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
...
Comment 1 Ivan Rozhuk 2017-08-20 23:11:52 UTC
ping
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-28 04:26:00 UTC

*** This bug has been marked as a duplicate of bug 220332 ***