Opened 9 years ago

Closed 8 years ago

#29929 closed defect (fixed)

p5-devel-ppport @3.19 build problem

Reported by: steve@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: p5-devel-ppport

Description

Could not build p5-devel-ppport, which is required by p5-module-install.

Couldn't find any existing relevant tickets (save for perhaps 24025).

OS is 10.6.7. Xcode is 4.0.0.

Context:

I have been trying to upgrade to Perl 5.14 (cleanly - removing all MacPorts Perls, Perl modules and dependencies and re-installing them).

All went well, but then I came across the problem below, which I've since reproduced with MacPorts' Perls 5.14 and 5.12, and the system's 5.10.

Please let me know if I'm misunderstanding anything, or if more information would be helpful...

Best wishes, Steve

Build log:

--->  Building p5-devel-ppport
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install p5-devel-ppport
Log for p5-devel-ppport is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-devel-ppport/main.log


version:1
:debug:main Executing org.macports.main (p5-devel-ppport)
:debug:main Skipping completed org.macports.fetch (p5-devel-ppport)
:debug:main Skipping completed org.macports.checksum (p5-devel-ppport)
:debug:main Skipping completed org.macports.extract (p5-devel-ppport)
:debug:main Skipping completed org.macports.patch (p5-devel-ppport)
:debug:main Skipping completed org.macports.configure (p5-devel-ppport)
:msg:main --->  Building p5-devel-ppport
:debug:build build phase started at Sat Jun 25 09:47:43 BST 2011
:debug:build Executing org.macports.build (p5-devel-ppport)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-devel-ppport/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-devel-ppport/work/Devel-PPPort-3.19" && /usr/bin/make -j8 all'
:info:build /usr/bin/gcc-4.2 -c   -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3   -DVERSION=\"3.19\" -DXS_VERSION=\"3.19\"  "-I/opt/local/lib/perl5/5.14.0/darwin-thread-multi-2level/CORE"   RealPPPort.c
:info:build RealPPPort.xs: In function 'XS_Devel__PPPort_other_variables':
:info:build RealPPPort.xs:2019: error: lvalue required as unary '&' operand
:info:build make: *** [RealPPPort.o] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-devel-ppport/work/Devel-PPPort-3.19" && /usr/bin/make -j8 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for p5-devel-ppport): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install p5-devel-ppport
:notice:build Log for p5-devel-ppport is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-devel-ppport/main.log

Change History (3)

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

Owner: changed from macports-tickets@… to narf_tm@…

Please remember to cc the maintainer.

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

Owner: changed from narf_tm@… to macports-tickets@…

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.