[MacPorts] #24422: mono fails to build (bad patch?)
#24422: mono fails to build (bad patch?) ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: mono-2.6.3 | Port: mono ----------------------------------------+----------------------------------- {{{ sudo port install -d mono ---> Computing dependencies for mono ---> Applying patches to mono Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.6.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mono/files /patch-configure.diff'" returned error 1 Command output: patching file configure Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file configure.rej Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. }}} Contents of configure.rej: {{{ 1 ***************$ 2 *** 18146,18154 ****$ 3 main ()$ 4 {$ 5 $ 6 - void main () {$ 7 #if defined(ZLIB_VERNUM) && (ZLIB_VERNUM >= 0x1230)$ 8 - }$ 9 #else$ 10 #error No good zlib found$ 11 #endif$ 12 --- 18146,18152 ----$ 13 main ()$ 14 {$ 15 $ 16 #if defined(ZLIB_VERNUM) && (ZLIB_VERNUM >= 0x1230)$ 17 #else$ 18 #error No good zlib found$ 19 #endif$ }}} -- Ticket URL: <http://trac.macports.org/ticket/24422> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24422: mono-2.6.3 fails to build (bad patch?) ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mono ----------------------------------------+----------------------------------- Changes (by jmr@…): * keywords: mono-2.6.3 => * owner: macports-tickets@… => mww@… Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24422#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24422: mono-2.6.3 fails to build (bad patch?) ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mono ----------------------------------------+----------------------------------- Comment(by claes.mogren@…): Fails for me too. Looks like the patch isn't needed any more. -- Ticket URL: <http://trac.macports.org/ticket/24422#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24422: mono-2.6.3 fails to build (bad patch?) ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mono ----------------------------------------+----------------------------------- Comment(by richbwood@…): Fails for me too! -- Ticket URL: <http://trac.macports.org/ticket/24422#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24422: mono-2.6.3 patches fail on Leopard ----------------------------------------+----------------------------------- Reporter: matthewapeters@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mono ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: claes.mogren@…, richbwood@…, ryandesign@… (added) Comment: The configure patch is not the problem. You didn't clean before running with the debug switch, so you're seeing an irrelevant error. The problem is the other Leopard-specific patches, which might need to be adjusted or removed, per comments in #24371: {{{ ---> Applying /Volumes/data/macports/ports/devel/mono/files/patch-mono- mini-mini-x86.h.diff DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Volumes_data_macports_ports_devel_mono/work/mono-2.6.3" && /usr/bin/patch -p0' patching file mono/mini/mini-x86.h Hunk #1 FAILED at 152. Hunk #2 FAILED at 162. 2 out of 2 hunks FAILED -- saving rejects to file mono/mini/mini-x86.h.rej Error: Target org.macports.patch returned: shell command " cd "/mp/var/macports/build/_Volumes_data_macports_ports_devel_mono/work/mono-2.6.3" && /usr/bin/patch -p0 < '/Volumes/data/macports/ports/devel/mono/files /patch-mono-mini-mini-x86.h.diff'" returned error 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/24422#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24422: mono-2.6.3 patches fail on Leopard -----------------------------------------+---------------------------------- Reporter: matthewapeters@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: mono | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Jeremy H fixed the problems with the patches in #17996. -- Ticket URL: <http://trac.macports.org/ticket/24422#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts