[MacPorts] #50310: p5-musicbrainz-discid: patch fails

MacPorts noreply at macports.org
Tue Jan 12 15:15:00 PST 2016


#50310: p5-musicbrainz-discid: patch fails
---------------------+-----------------------------------
 Reporter:  mojca@…  |      Owner:  khindenburg@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  p5-musicbrainz-discid
---------------------+-----------------------------------
 patching `p5-musicbrainz-discid` fails with:
 {{{
 --->  Extracting p5-musicbrainz-discid
 DEBUG: Executing org.macports.extract (p5-musicbrainz-discid)
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: patch phase started at Tue Jan 12 14:12:41 PST 2016
 DEBUG: Executing org.macports.patch (p5-musicbrainz-discid)
 --->  Applying patches to p5-musicbrainz-discid
 --->  Applying pod-encoding.patch
 DEBUG: Creating patch directory:
 /opt/local/var/macports/build/_opt_mports_dports_perl_p5-musicbrainz-
 discid/p5-musicbrainz-discid/work/MusicBrainz-DiscID-0.03
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_perl_p5
 -musicbrainz-discid/p5-musicbrainz-discid/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-musicbrainz-
 discid/p5-musicbrainz-discid/work/MusicBrainz-DiscID-0.03" &&
 /usr/bin/patch -p1'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-musicbrainz-
 discid/p5-musicbrainz-discid/work/MusicBrainz-DiscID-0.03" &&
 /usr/bin/patch -p1 < '/opt/mports/dports/perl/p5-musicbrainz-discid/files
 /pod-encoding.patch'
 can't find file to patch at input line 11
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Description: use plain ascii apostrophe
 |Origin: vendor
 |Bug: https://rt.cpan.org/Ticket/Display.html?id=85212
 |Bug-Debian: http://bugs.debian.org/708079
 |Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85212
 |Author: gregor herrmann <gregoa at debian.org>
 |Last-Update: 2013-05-13
 |
 |--- a/lib/MusicBrainz/DiscID.pm
 |+++ b/lib/MusicBrainz/DiscID.pm
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-musicbrainz-
 discid/p5-musicbrainz-discid/work/MusicBrainz-DiscID-0.03" &&
 /usr/bin/patch -p1 < '/opt/mports/dports/perl/p5-musicbrainz-discid/files
 /pod-encoding.patch'
 Exit code: 1
 Error: org.macports.patch for port p5-musicbrainz-discid returned: command
 execution failed
 DEBUG: Error code: CHILDSTATUS 66740 1
 DEBUG: Backtrace: command execution failed
     while executing
 "system $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec patch "" "< '$patch'""
     (procedure "portpatch::patch_main" line 35)
     invoked from within
 "portpatch::patch_main org.macports.patch"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 Warning: targets not executed for p5-musicbrainz-discid:
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port p5-musicbrainz-discid for details:
     /opt/local/var/macports/logs/_opt_mports_dports_perl_p5-musicbrainz-
 discid/p5-musicbrainz-discid/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port p5-musicbrainz-discid failed
 failure
 --->  Cleaning p5-musicbrainz-discid
 }}}

 I'm attaching the patch that could fix that (even though I'm not exactly
 sure why the failure).

-- 
Ticket URL: <https://trac.macports.org/ticket/50310>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list