Opened 3 years ago
#63365 new defect
p5.30-mac-systemdirectory @0.13 fails to build if libuuid @1.0.3 is active
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.99 |
Keywords: | Cc: | ||
Port: | p5-mac-systemdirectory libuuid |
Description
p5.30-mac-systemdirectory @0.13 fails to build if libuuid @1.0.3 is active:
:notice:build ---> Building p5.30-mac-systemdirectory :debug:build Executing org.macports.build (p5.30-mac-systemdirectory) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_perl_p5-mac-systemdirectory/p5.30-mac-systemdirectory/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='10.13' :info:build Executing: cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_perl_p5-mac-systemdirectory/p5.30-mac-systemdirectory/work/Mac-SystemDirectory-0.13" && /usr/bin/make -j8 -w all :debug:build system: cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_perl_p5-mac-systemdirectory/p5.30-mac-systemdirectory/work/Mac-SystemDirectory-0.13" && /usr/bin/make -j8 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_perl_p5-mac-systemdirectory/p5.30-mac-systemdirectory/work/Mac-SystemDirectory-0.13' :info:build "/opt/local/bin/perl5.30" "/opt/local/lib/perl5/5.30/ExtUtils/xsubpp" -typemap '/opt/local/lib/perl5/5.30/ExtUtils/typemap' SystemDirectory.xs > SystemDirectory.xsc :info:build Running Mkbootstrap for SystemDirectory () :info:build chmod 644 "SystemDirectory.bs" :info:build "/opt/local/bin/perl5.30" -MExtUtils::Command::MM -e 'cp_nonempty' -- SystemDirectory.bs blib/arch/auto/Mac/SystemDirectory/SystemDirectory.bs 644 :info:build cp lib/Mac/SystemDirectory.pm blib/lib/Mac/SystemDirectory.pm :info:build mv SystemDirectory.xsc SystemDirectory.c :info:build mv SystemDirectory.c SystemDirectory.m :info:build /usr/bin/clang -c -fno-common -DPERL_DARWIN -pipe -Os -Werror=implicit-function-declaration -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch x86_64 -arch i386 -isysroot/ -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" "-I/opt/local/lib/perl5/5.30/darwin-thread-multi-2level/CORE" -DHAS_BOOL SystemDirectory.m :info:build SystemDirectory.xs:8:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] :info:build #endif Move :info:build ^ :info:build // :info:build SystemDirectory.xs:12:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] :info:build #endif I_POLL :info:build ^ :info:build // :info:build In file included from SystemDirectory.xs:14: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25: :info:build /usr/include/hfs/hfs_format.h:794:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'? :info:build uuid_string_t ext_jnl_uuid; :info:build ^ :info:build /usr/include/device/device_types.h:89:16: note: 'io_string_t' declared here :info:build typedef char io_string_t[512]; :info:build ^ :info:build In file included from SystemDirectory.xs:14: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87: :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208: :info:build In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25: :info:build /usr/include/hfs/hfs_format.h:796:20: error: use of undeclared identifier 'uuid_string_t' :info:build char reserved[JIB_RESERVED_SIZE]; :info:build ^ :info:build /usr/include/hfs/hfs_format.h:787:61: note: expanded from macro 'JIB_RESERVED_SIZE' :info:build #define JIB_RESERVED_SIZE ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48) :info:build ^ :info:build SystemDirectory.xs:92:12: warning: enumeration values 'NSAutosavedInformationDirectory', 'NSApplicationScriptsDirectory', and 'NSTrashDirectory' not handled in switch [-Wswitch] :info:build switch(directory) { :info:build ^ :info:build SystemDirectory.xs:92:12: note: add missing switch cases :info:build switch(directory) { :info:build ^ :info:build 3 warnings and 2 errors generated. :info:build make: *** [SystemDirectory.o] Error 1
If libuuid is not active, the build succeeds.
Note: See
TracTickets for help on using
tickets.