#21755: yafc 1.1.1 build fails in OS X 10.6 Snow Lopard ---------------------------------------+------------------------------------ Reporter: ismisunderstood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: snowleopard | Port: yafc ---------------------------------------+------------------------------------ Comment(by lagrave+bugs+macosforge.org@…): I get the same error but some different output: {{{ % sudo port -d install yafc Password: DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/yafc DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/yafc DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port yafc. DEBUG: Requested variant i386 is not provided by port yafc. DEBUG: Requested variant macosx is not provided by port yafc. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: epoch: in tree: 0 installed: 0 DEBUG: readline 6.1.000_1 exists in the ports tree DEBUG: readline 6.1.000_1 +darwin is the latest installed DEBUG: readline 6.1.000_1 +darwin is active DEBUG: Merging existing variants darwin into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant i386 is not provided by port readline. DEBUG: Requested variant macosx is not provided by port readline. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.7_0 exists in the ports tree DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed DEBUG: ncurses 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant i386 is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncursesw 5.7_0 exists in the ports tree DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed DEBUG: ncursesw 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncursesw. DEBUG: Requested variant i386 is not provided by port ncursesw. DEBUG: Requested variant macosx is not provided by port ncursesw. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0 DEBUG: No need to upgrade! readline 6.1.000_1 >= readline 6.1.000_1 ---> Computing dependencies for yafc DEBUG: Searching for dependency: readline DEBUG: Found Dependency: receipt exists for readline DEBUG: Executing org.macports.main (yafc) DEBUG: Skipping completed org.macports.fetch (yafc) DEBUG: Skipping completed org.macports.checksum (yafc) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (yafc) DEBUG: Skipping completed org.macports.patch (yafc) DEBUG: Skipping completed org.macports.configure (yafc) ---> Building yafc DEBUG: Executing org.macports.build (yafc) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all' /usr/bin/make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in lib if /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../src -I../src/ftp -I../src/libmhe -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -MT gssapi.o -MD -MP -MF ".deps/gssapi.Tpo" -c -o gssapi.o gssapi.c; \ then mv -f ".deps/gssapi.Tpo" ".deps/gssapi.Po"; else rm -f ".deps/gssapi.Tpo"; exit 1; fi gssapi.c:44:23: error: krb5_err.h: No such file or directory gssapi.c:75: error: static declaration of 'GSS_C_NT_HOSTBASED_SERVICE' follows non-static declaration /usr/include/gssapi/gssapi.h:400: error: previous declaration of 'GSS_C_NT_HOSTBASED_SERVICE' was here gssapi.c: In function 'gss_auth': gssapi.c:288: error: 'KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN' undeclared (first use in this function) gssapi.c:288: error: (Each undeclared identifier is reported only once gssapi.c:288: error: for each function it appears in.) make[2]: *** [gssapi.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for yafc): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21755#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS