Opened 2 months ago

Last modified 8 weeks ago

#70736 new defect

p5-mac-fsevents broken on 10.6: error: ‘kFSEventStreamCreateFlagFileEvents’ undeclared (first use in this function)

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: p5.34-mac-fsevents, p5-mac-fsevents

Description

--->  Building p5.34-mac-fsevents
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mac-fsevents/p5.34-mac-fsevents/work/Mac-FSEvents-0.22" && /usr/bin/make -j6 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mac-fsevents/p5.34-mac-fsevents/work/Mac-FSEvents-0.22'
"/opt/local/bin/perl5.34" "/opt/local/lib/perl5/5.34/ExtUtils/xsubpp"  -typemap '/opt/local/lib/perl5/5.34/ExtUtils/typemap' -typemap '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mac-fsevents/p5.34-mac-fsevents/work/Mac-FSEvents-0.22/typemap'  FSEvents.xs > FSEvents.xsc
Running Mkbootstrap for FSEvents ()
cp lib/Mac/FSEvents/Event.pm blib/lib/Mac/FSEvents/Event.pm
cp lib/Mac/FSEvents.pm blib/lib/Mac/FSEvents.pm
chmod 644 "FSEvents.bs"
"/opt/local/bin/perl5.34" -MExtUtils::Command::MM -e 'cp_nonempty' -- FSEvents.bs blib/arch/auto/Mac/FSEvents/FSEvents.bs 644
mv FSEvents.xsc FSEvents.c
/usr/bin/gcc-4.2 -c   -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -fstack-protector -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch ppc -isysroot/ -O3   -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\"  "-I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE"   FSEvents.c
In file included from FSEvents.xs:242:
const-c.inc: In function ‘constant’:
const-c.inc:83: error: ‘kFSEventStreamCreateFlagFileEvents’ undeclared (first use in this function)
const-c.inc:83: error: (Each undeclared identifier is reported only once
const-c.inc:83: error: for each function it appears in.)
make: *** [FSEvents.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mac-fsevents/p5.34-mac-fsevents/work/Mac-FSEvents-0.22'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5-mac-fsevents/p5.34-mac-fsevents/work/Mac-FSEvents-0.22" && /usr/bin/make -j6 -w all 
Exit code: 2
Error: Failed to build p5.34-mac-fsevents: command execution failed

Also on buildbots.

kFSEventStreamCreateFlagFileEvents was introduced in 10.7.

Change History (3)

comment:1 Changed 2 months ago by barracuda156

Summary: p5-mac-fsevents broken on 10.6p5-mac-fsevents broken on 10.6: error: ‘kFSEventStreamCreateFlagFileEvents’ undeclared (first use in this function)

comment:2 Changed 2 months ago by barracuda156

Opened an issue with upstream: https://github.com/skaji/Mac-FSEvents/issues/6

comment:3 Changed 8 weeks ago by Sergey Fedorov <barracuda@…>

In c8af8f56d650a01b28d05cb73f60cb6c4f2a9c31/macports-ports (master):

p5-mac-fsevents: provide version for < 10.7

See: #70736

Note: See TracTickets for help on using tickets.