Opened 13 years ago
Closed 13 years ago
#30462 closed defect (fixed)
Valgrind 3.6.1 fails to build on Lion
Reported by: | jamesfmarshall@… | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.0 |
Keywords: | lion | Cc: | evandrix (Lee Wei Yeong), erkinbah@…, cdeil (Christoph Deil), nils.hjelte@…, tbonfort (Thomas Bonfort), axeljaeger@…, maehne (Torsten Maehne) |
Port: | valgrind |
Description
I received the "Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)."
The main.log is attached.
Attachments (4)
Change History (23)
Changed 13 years ago by jamesfmarshall@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | raimue@… jamesfmarshall@… removed |
---|---|
Keywords: | lion added; Lion Valgrind removed |
Owner: | changed from macports-tickets@… to raimue@… |
Port: | valgrind added; Valgrind 3.6.1 removed |
Yup, the log says:
error: Valgrind works on Darwin 9.x and 10.x (Mac OS X 10.5 and 10.6)
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Valgrind 3.6.1 fails to build on Lion with MacPorts 2.0.0 → Valgrind 3.6.1 fails to build on Lion |
---|
comment:4 Changed 13 years ago by raimue (Rainer Müller)
Status: | new → assigned |
---|
I added a check to the Portfile to reflect this fact in r81374.
See also the upstream bug report.
comment:5 Changed 13 years ago by dean.povey@…
I put together a patch to work around this based on this snippet:
https://gist.github.com/1117049/28aec833558f4a680d336522f5e2d1493a59e003
See attached Portfile and configure.in patch. It seems to work fine.
Changed 13 years ago by dean.povey@…
Attachment: | patch-lion-configure.diff added |
---|
Patch to configure.in for Lion support
Changed 13 years ago by dean.povey@…
Attachment: | patch-valgrind-portfile.diff added |
---|
Patch to valgrind portfile to support lion
comment:6 Changed 13 years ago by raimue (Rainer Müller)
Of course you can patch the configure script, but that will not magically implement support for Lion. You will not get any usable result from valgrind with this patch due to unhandled syscalls. I am not going to apply this patch as it would imply the valgrind port supports Lion.
comment:15 follow-up: 16 Changed 13 years ago by barry.allard@…
I encountered this exact issue on MP 2.0.3 latest port tree on 10.7.2. It seems something needs to be tried before blessed as production, but that's a bit of a catch-22. Could this be placed in a topical dev branch or something?
Changed 13 years ago by barry.allard@…
Attachment: | upstream_58577.diff added |
---|
Upstream "proposed patch (21.05 KB, patch)" http://bugsfiles.kde.org/attachment.cgi?id=58577
comment:16 Changed 13 years ago by barry.allard@…
Replying to barry.allard@…:
I encountered this exact issue on MP 2.0.3 latest port tree on 10.7.2. It seems something needs to be tried before blessed as production, but that's a bit of a catch-22. Could this be placed in a topical dev branch or something?
I hear ./autogen.sh, ./configure ..., make install may appear to work as well as snow leopard with another upstream patch <<just attached to ticket>> from https://bugs.kde.org/show_bug.cgi?id=267997
comment:18 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
#32028 provides a patch to update valgrind to 3.7.0 which is apparently Lion-compatible.
comment:19 Changed 13 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by the update to valgrind @3.7.0 in r87183.
main.log for failed build of Valgrind 3.6.1 on Lion