Bug 185574 - net/mosh fails to build when ncurses port is installed
Summary: net/mosh fails to build when ncurses port is installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 09:40 UTC by Jeroen van der Ham
Modified: 2014-01-14 17:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen van der Ham 2014-01-08 09:40:00 UTC
/usr/ports/net/mosh/ $ sudo make install
===>  License GPLv3 accepted by the user
===>   mosh-1.2.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by mosh-1.2.4 for building
===>  Extracting for mosh-1.2.4
=> SHA256 Checksum OK for mosh-1.2.4.tar.gz.
===>  Patching for mosh-1.2.4
===>   mosh-1.2.4 depends on file: /usr/local/lib/libcrypto.so.8 - found
===>   mosh-1.2.4 depends on executable: pkgconf - found
===>   mosh-1.2.4 depends on shared library: libprotobuf.so - found
===>  Configuring for mosh-1.2.4
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/mosh/work/mosh-1.2.4/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/mosh/work/mosh-1.2.4/aclocal.m4

[...]

--- terminal.o ---
CXX    terminal.o
--- terminaldispatcher.o ---
CXX    terminaldispatcher.o
--- terminaldisplay.o ---
CXX    terminaldisplay.o
--- terminaldisplayinit.o ---
CXX    terminaldisplayinit.o
In file included from terminaldisplayinit.cc:54:
In file included from /usr/include/curses.h:141:
/usr/local/include/ncurses/unctrl.h:54:10: fatal error: 'ncurses/ncurses.h' file not found
#include <ncurses/ncurses.h>
         ^
1 error generated.
*** [terminaldisplayinit.o] Error code 1

make[4]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4/src/terminal
1 error

make[4]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4/src/terminal
*** [all-recursive] Error code 1

make[3]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4/src
1 error

make[3]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4/src
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4
1 error

make[2]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4
*** [all] Error code 2

make[1]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4
1 error

make[1]: stopped in /usr/ports/net/mosh/work/mosh-1.2.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/mosh

How-To-Repeat: cd /usr/ports/net/mosh
make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-08 09:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-14 17:47:00 UTC
Author: zi
Date: Tue Jan 14 17:46:52 2014
New Revision: 339703
URL: http://svnweb.freebsd.org/changeset/ports/339703
QAT: https://qat.redports.org/buildarchive/r339703/

Log:
  - Fix build when devel/ncurses is installed
  - Do not bump PORTREVISION
  
  PR:		ports/185574

Modified:
  head/net/mosh/Makefile

Modified: head/net/mosh/Makefile
==============================================================================
--- head/net/mosh/Makefile	Tue Jan 14 17:29:21 2014	(r339702)
+++ head/net/mosh/Makefile	Tue Jan 14 17:46:52 2014	(r339703)
@@ -16,8 +16,9 @@ LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/
 
 USE_PERL5=	run
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-utempter
-CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
+CONFIGURE_ARGS=	--with-utempter --without-ncurses
+CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
+		TINFO_CFLAGS="-I/usr/include"
 INSTALL_TARGET=	install-strip
 USE_OPENSSL=	yes
 USES=		pkgconfig perl5
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2014-01-14 17:47:11 UTC
State Changed
From-To: open->closed

Makefile updated to deal with this scenario.