Bug 187309 - databases/memcached: install error
Summary: databases/memcached: install error
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-06 04:30 UTC by basarevych
Modified: 2014-03-07 11:00 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 basarevych 2014-03-06 04:30:00 UTC
today's update give the following error (during install phase):

--->  Installing the new version via the port
===>  Staging for memcached-1.4.17_1
===>   memcached-1.4.17_1 depends on shared library: libevent-2.0.so - found
===>   Generating temporary packing list
/usr/bin/make  install-recursive
Making install in doc
/usr/bin/make  install-am
test -z "/usr/local/man/man1" || /bin/mkdir -p "/usr/ports/databases/memcached/work/stage/usr/local/man/man1"
 install  -o root -g wheel -m 444 memcached.1 '/usr/ports/databases/memcached/work/stage/usr/local/man/man1'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/ports/databases/memcached/work/stage/usr/local/bin"
  install  -s -o root -g wheel -m 555 memcached '/usr/ports/databases/memcached/work/stage/usr/local/bin'
test -z "/usr/local/include/memcached" || /bin/mkdir -p "/usr/ports/databases/memcached/work/stage/usr/local/include/memcached"
 install  -o root -g wheel -m 444 protocol_binary.h '/usr/ports/databases/memcached/work/stage/usr/local/include/memcached'
install  -o root -g wheel -m 555 /usr/ports/databases/memcached/work/memcached-1.4.17/scripts/memcached-tool /usr/ports/databases/memcached/work/stage/usr/local/bin
install  -o root -g wheel -m 444 /usr/ports/databases/memcached/work/memcached-1.4.17/doc/ /usr/ports/databases/memcached/work/stage/usr/local/man/man1
install: /usr/ports/databases/memcached/work/memcached-1.4.17/doc/: Inappropriate file type or format
*** Error code 71

Stop.
make[2]: stopped in /usr/ports/databases/memcached
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/memcached
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/memcached
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-03-06 06:43:43 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer 2014-03-06 06:43:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 info 2014-03-06 20:30:31 UTC
The quick fix is to restore this line in Makefile
MAN1=           memcached.1
Comment 4 dfilter service freebsd_committer 2014-03-07 10:56:41 UTC
Author: bapt
Date: Fri Mar  7 10:56:32 2014
New Revision: 347359
URL: http://svnweb.freebsd.org/changeset/ports/347359
QAT: https://qat.redports.org/buildarchive/r347359/

Log:
  Fix installing manpage
  Fix build with and without docs
  Fix memcached eating 100% of memory when built with both libevent2 and libevent 1.4
  installed at the same time by making sure to always find the event.h from libevent2 first
  
  PR:		ports/187337 ports/187340 ports/187309
  Reported by:	Lawrence "The Dreamer" Chen <beastie@tardisi.com>, Volodymyr Kostyrko <arcade@b1t.name>, Ross <basarevych@gmail.com>

Modified:
  head/databases/memcached/Makefile

Modified: head/databases/memcached/Makefile
==============================================================================
--- head/databases/memcached/Makefile	Fri Mar  7 10:49:36 2014	(r347358)
+++ head/databases/memcached/Makefile	Fri Mar  7 10:56:32 2014	(r347359)
@@ -3,7 +3,7 @@
 
 PORTNAME=	memcached
 PORTVERSION=	1.4.17
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
 		${MASTER_SITE_GENTOO}
@@ -41,8 +41,8 @@ PLIST_DIRS=	include/memcached
 PORTDOCS=	protocol.txt readme.txt
 
 CFLAGS+=	-fstack-protector \
-		-I${LOCALBASE}/include \
-		-I${LOCALBASE}/include/event2/compat
+		-I${LOCALBASE}/include/event2/compat \
+		-I${LOCALBASE}/include
 
 DTRACE_COFNIGURE_ENABLE=	dtrace
 
@@ -65,17 +65,14 @@ BROKEN=			DTRACE broken with gcc/clang -
 post-patch:
 	@${REINPLACE_CMD} -e "s,-levent,-levent-2.0,g" ${WRKSRC}/configure
 
-post-configure:
-	@${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile
-
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/memcached-tool ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 
+
 regression-test: test
 test: build
 	${MAKE} -C ${WRKSRC} test
_______________________________________________
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 5 Baptiste Daroussin freebsd_committer 2014-03-07 10:56:55 UTC
State Changed
From-To: open->closed

Fixed. Thanks!