Opened 11 years ago

Closed 5 years ago

#40096 closed defect (fixed)

lsh @1.5.4_0: build failure

Reported by: cdmbulk@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: lsh

Description (last modified by larryv (Lawrence Velázquez))

bash-3.2# port clean lsh
--->  Cleaning lsh
bash-3.2# port install lsh
--->  Computing dependencies for lsh
--->  Fetching archive for lsh
--->  Attempting to fetch lsh-1.5.4_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/lsh
--->  Attempting to fetch lsh-1.5.4_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/lsh
--->  Attempting to fetch lsh-1.5.4_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/lsh
--->  Fetching distfiles for lsh
--->  Verifying checksums for lsh
--->  Extracting lsh
--->  Applying patches to lsh
--->  Configuring lsh
--->  Building lsh
Error: org.macports.build for port lsh returned: command execution failed
Please see the log file for port lsh for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_lsh/lsh/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port lsh failed

Attachments (1)

main.log (83.9 KB) - added by cdmbulk@… 11 years ago.
Build log

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by cdmbulk@…

Attachment: main.log added

Build log

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: lsh removed
Port: lsh added; lsh-1.5.4_0 removed
Summary: lsh install faillsh @1.5.4_0: build failure

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

The first error in the log is:

error: redefinition of a 'extern inline' function 'argp_fmtstream_write' is not supported in C99 mode

So the first thing I'd try is to have the portfile tell the build system to use C89 instead (since C89 was the default with older compilers but C99 is the default with clang).

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Well maybe the first thing I'd try is to update the port to version 2.1 since version 1.5.4 is from 2004.

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign
Status: newaccepted

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

Resolution: fixed
Status: acceptedclosed

In cb339d5d4478a293f96927848f199a31860257f7/macports-ports (master):

lsh: Update to 2.1 and fix build failures

Closes: #40096
Closes: #48809

Note: See TracTickets for help on using tickets.