Opened 12 years ago

Closed 12 years ago

#36709 closed defect (fixed)

mosh: add missing dependency on openssl

Reported by: neverpanic (Clemens Lang) Owned by: quentinmit (Quentin Smith)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: mosh

Description

Mosh failed to build on our buildbots (http://build.macports.org/builders/buildports-lion-x86_64/builds/5369).

checking for OPENSSL... no
configure: error: Package requirements (openssl) were not met:

No package 'openssl' found 

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables OPENSSL_CFLAGS
and OPENSSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

It seems the mosh port is missing a dependency on openssl. I'm attaching a patch that fixes this.

Attachments (1)

mosh-add-openssl-dep.patch (509 bytes) - added by neverpanic (Clemens Lang) 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by neverpanic (Clemens Lang)

Attachment: mosh-add-openssl-dep.patch added

comment:1 Changed 12 years ago by quentinmit (Quentin Smith)

Sorry about that - the latest version added the dependency, but I didn't notice because my system already had openssl installed. This patch LGTM.

Is there a way I can test building packages in a clean environment without waiting for the buildbots?

comment:2 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Commited in r99015.

Unfortunately, there's no good way to test in a clean env at the moment. You could try a separate installation of MacPorts with a different prefix, though. Section 2.3.2 of the guide has more on that.

The best way to do this is trace mode (-t), which provides a poor man's sandbox hiding all files that were not installed by a dependency. Unfortunately, it is currently broken (but I am working on fixing it).

Note: See TracTickets for help on using tickets.