[Bug 256141] lang/python38: Fails to install without LIBFFI

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 May 2021 07:19:15 +0000

            Bug ID: 256141
           Summary: lang/python38: Fails to install without LIBFFI
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python_at_FreeBSD.org
          Reporter: majo-bugs.freebsd.org_at_cerny.sk
             Flags: maintainer-feedback?(python_at_FreeBSD.org)
          Assignee: python_at_FreeBSD.org

When building lang/python38 without LIBFFI option (Use libffi from ports
instead of bundled version) it fails to install:

    ===>  Installing for python38-3.8.10
    ===>  Checking if python38 is already installed
    ===>   Registering installation for python38-3.8.10
    pkg-static: Unable to access file
such file or directory
    *** Error code 1

The error is probably a result of the previous build error (fatal error:
'ffi.h' file not found):

    building '_ctypes' extension
    cc -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2
-pipe -march=sandybridge -fstack-protector-strong -fno-strict-aliasing -std=c99
-Wextra -Wno-unused-result -Wno-unused-parameter
-Wno-missing-field-initializers -Wstrict-prototypes
-Werror=implicit-function-declaration -I./Include/internal -I./Include -I.
-I/tmp/portbuild/usr/ports/lang/python38/work/Python-3.8.10 -c
fatal error: 'ffi.h' file not found
    #include <ffi.h>
    1 error generated.

    Python build finished successfully!

I am using FreeBSD 12.2 on amd64:

    # uname -a
    FreeBSD portbuild 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC  amd64

You are receiving this mail because:
You are the assignee for the bug.
Received on Tue May 25 2021 - 07:19:15 UTC

Original text of this message