Opened 13 years ago

Last modified 7 months ago

#31384 new defect

pike: build fails with segmentation fault

Reported by: peymandelshad@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: rchl2k@…, bill@…, cooljeanius (Eric Gallager)
Port: pike

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Macports fail to install pike. Here's the log:

--->  Computing dependencies for pike
--->  Fetching archive for pike
--->  Attempting to fetch pike-7.6.112_3.darwin_10.x86_64.tbz2 from http://packages.macports.org/pike
--->  Fetching pike
--->  Verifying checksum(s) for pike
--->  Extracting pike
--->  Applying patches to pike
--->  Configuring pike
--->  Building pike
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for pike is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pike/pike/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (2)

main.log (359.0 KB) - added by peymandelshad@… 13 years ago.
pike_Portfile.diff (2.5 KB) - added by michaelld (Michael Dickens) 10 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: pike added

Please actually attach the main.log file indicated.

Changed 13 years ago by peymandelshad@…

Attachment: main.log added

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: exodusd@… added
Summary: Cannot install pike using macportspike: build fails with segmentation fault

Ok, I see the same thing on my Snow Leopard system.

The first thing we should probably try is to update pike to the latest version, 7.8.352.

comment:3 Changed 12 years ago by rchl2k@…

Cc: rchl2k@… added

Cc Me!

comment:4 Changed 12 years ago by rchl2k@…

Can we get this sorted out, please?

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Cc: exodusd@… removed
Owner: changed from macports-tickets@… to exodusd@…

comment:6 Changed 12 years ago by bill@…

I'm the "release manager" for the Pike project; hopefully the following information will be helpful:

There's a problem with Pike compiled against newer versions of GCC/Xcode that have machine-code enabled. This problem causes segfaults very much like this. The problem is resolved in the newest development versions of pike, but the solution for 7.8 is to build with the --without-machine-code configure flag:

make CONFIGUREARGS="--without-machine-code"

Also, a new 7.8 release (7.8.696) should be out within the week.

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 12 years ago by bill@…

Cc: bill@… added

Cc Me!

comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 10 years ago by michaelld (Michael Dickens)

Attaching a patch that works (without variants) for me on 10.8, Xcode 5.1.1 (Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)).

Changed 10 years ago by michaelld (Michael Dickens)

Attachment: pike_Portfile.diff added

comment:10 Changed 10 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:11 Changed 9 years ago by mf2k (Frank Schima)

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

This port no longer has a maintainer. See #47918.

comment:12 Changed 9 years ago by michaelld (Michael Dickens)

Cc: michaelld@… removed

Cc Me!

comment:13 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

In c59105654b036ca9ae42bedde88560b0fd70c6fa/macports-ports (master):

pike: Doesn't build anywhere; set known_fail yes

See: #31384
See: #68011

Note: See TracTickets for help on using tickets.