Opened 4 years ago

Closed 4 years ago

#62343 closed defect (invalid)

python39 @3.9.2 fails to destroot on High Sierra 10.13

Reported by: kneutron Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: python39

Description

python39-3.9.2_0.darwin_17

--->  Building python39
--->  Staging python39 into destroot
Error: Failed to destroot python39: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/main.log for details


:info:destroot In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/
Headers/CarbonCore.h:208:
:info:destroot In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/
Headers/HFSVolumes.h:25:
:info:destroot /usr/include/hfs/hfs_format.h:796:20: error: use of undeclared identifier 'uuid_string_t'
:info:destroot         char            reserved[JIB_RESERVED_SIZE];
:info:destroot                                  ^
:info:destroot /usr/include/hfs/hfs_format.h:787:61: note: expanded from macro 'JIB_RESERVED_SIZE'
:info:destroot #define JIB_RESERVED_SIZE  ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
:info:destroot                                                             ^
:info:destroot ./FileSettings.m:128:17: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
:info:destroot     for (i=0; i < [interpreters count]; i++) {
:info:destroot               ~ ^ ~~~~~~~~~~~~~~~~~~~~
:info:destroot 1 warning and 2 errors generated.
:info:destroot make[2]: *** [FileSettings.o] Error 1
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Mac/PythonLauncher'
:info:destroot make[1]: *** [install_PythonLauncher] Error 2
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.2/Mac'
:info:destroot make: *** [frameworkinstallapps] Error 2

Looks like the same error is happening with python38 as well, I was upgrading outdated and got the initial error on python38-3.8.8_0.darwin_17 and decided to try python39; same error

Attachments (2)

main.log (2.2 MB) - added by kneutron 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/main.log
port-installed.txt.gz (4.0 KB) - added by kneutron 4 years ago.
list of installed ports on my high sierra

Change History (9)

Changed 4 years ago by kneutron

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/main.log

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Keywords: python39 build error removed
Owner: set to jmroot
Port: python39 added
Status: newaccepted
Summary: python39 fails to destroot on High Sierra 10.13python39 @3.9.2 fails to destroot on High Sierra 10.13

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Do you happen to have the libuuid port installed? Or anything else that installs a uuid/uuid.h?

comment:3 Changed 4 years ago by kneutron

running # ' port list installed ' no, I do not appear to have libuuid port installed

Changed 4 years ago by kneutron

Attachment: port-installed.txt.gz added

list of installed ports on my high sierra

comment:4 Changed 4 years ago by kneutron

# (port installed) >port-installed.txt

# grep uuid port-installed.txt

ossp-uuid @1.6.2_11+perl5_28 ossp-uuid @1.6.2_12+perl5_28 (active)

comment:5 Changed 4 years ago by jmroot (Joshua Root)

This looks the same as #21700. Do you have /usr/local/include/uuid/uuid.h on your system?

comment:6 Changed 4 years ago by kneutron

# ls -al /usr/local/include/uuid/uuid.h -rw-r--r-- 1 me staff 3992 Jul 23 2020 /usr/local/include/uuid/uuid.h

Yep

FIX: I moved /usr/local/include -> /usr/local/notinclude and python39 installed OK

comment:7 Changed 4 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: acceptedclosed

OK, glad you got it working. Nothing we can do on our end, as headers in /usr/local/include will always shadow the ones in /usr/include.

Note: See TracTickets for help on using tickets.