Opened 10 years ago

Closed 10 years ago

#46413 closed defect (worksforme)

p5-data-alias: fails to build

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: p5-data-alias

Description

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-data-alias/p5.16-data-alias/work/Data-Alias-1.11" && /usr/bin/make -j8 -w all'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-data-alias/p5.16-data-alias/work/Data-Alias-1.11" && /usr/bin/make -j8 -w all
make: Entering directory `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-data-alias/p5.16-data-alias/work/Data-Alias-1.11'
/opt/local/bin/perl5.16 "-Iinc" /opt/local/lib/perl5/5.16.3/ExtUtils/xsubpp  -typemap /opt/local/lib/perl5/5.16.3/ExtUtils/typemap  Alias.xs > Alias.xsc && mv Alias.xsc Alias.c
Running Mkbootstrap for Data::Alias ()
chmod 644 Alias.bs
cp Alias.bs blib/arch/auto/Data/Alias/Alias.bs
chmod 644 blib/arch/auto/Data/Alias/Alias.bs
cp lib/Data/Alias.pm blib/lib/Data/Alias.pm
/usr/bin/clang -c   -pipe -Os -fno-common -DPERL_DARWIN -I/opt/local/include -fno-strict-aliasing -fstack-protector -I/opt/local/include -arch x86_64 -O3   -DVERSION=\"1.11\" -DXS_VERSION=\"1.11\"  "-I/opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE"   Alias.c
Alias.xs:334:18: error: cannot take the address of an rvalue of type 'CV *' (aka 'struct cv *')
                        svp = (SV **) &GvCV(gv);
                                      ^
Alias.xs:339:14: error: expression is not assignable
                                GvCV(gv) = NULL;
                                         ^
Alias.xs:400:12: error: expression is not assignable
                GvGP(gv) = gp;
                         ^
Alias.xs:741:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        DIE(aTHX_ PL_no_localize_ref);
                                  ^
1 warning and 3 errors generated.
make: *** [Alias.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-data-alias/p5.16-data-alias/work/Data-Alias-1.11'
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-data-alias/p5.16-data-alias/work/Data-Alias-1.11" && /usr/bin/make -j8 -w all
Exit code: 2
Error: org.macports.build for port p5.16-data-alias returned: command execution failed
DEBUG: Error code: CHILDSTATUS 67418 2

(See also buildbot logs in #46322.)

Change History (2)

comment:1 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: devans@… added

I assume that r131057 fixed the problem? At least the buildbots didn't report any problems.

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

Yes, the updated port builds p5.16 through p5.20 from source for me without any problems.

Note: See TracTickets for help on using tickets.