Bug 179708

Summary: net-mgmt/macroscope: Requires non-existent MySQL 5.0 by default, so broken by default
Product: Ports & Packages Reporter: John Marino <draco>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Marino 2013-06-19 09:40:00 UTC
This port has MySQL default selected by default.
It's MySQL version is specified to be 5.0.
MySQL 5.0 has been removed.
Ergo, this port is broken.

Fix: 

Options to fix:
1) Remove MySQL option
2) Update MySQL option to version 5.1 or later
3) Select another DB as the default option
4) Mark broken?
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-19 09:40:07 UTC
Maintainer of net-mgmt/macroscope,

Please note that PR ports/179708 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/179708

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-19 09:40:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 John Marino freebsd_committer freebsd_triage 2013-07-18 09:17:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marino

maintainer timeout ~ 4 weeks
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-07-21 22:43:12 UTC
Author: marino
Date: Sun Jul 21 21:42:59 2013
New Revision: 323417
URL: http://svnweb.freebsd.org/changeset/ports/323417

Log:
  net-mgmt/macroscope: unbreak
  
  The initial problem was that the default database support was MySQL 5.0
  which has been removed.  Upon inspection of the source, it appears that it
  could be hardcoded for MySQL 5.0.33.  At this point, I commented out the
  MySQL option and changed the default to Firebird version 2.0.
  
  According to Redports, the port built on i386 but was broken on amd64.
  The specified version of Firebird was changed to 2.5 and now the port builds
  on both i386 and amd64.
  
  The unnecessary inclusion of bsd.database.mk was also removed and the
  redundant option descriptions were also removed.  The maintainer should
  investigate Macroscope builds with current versions of MySQL and restore
  the option appropriately if it does.
  
  PR:		ports/179708
  Submitted by:	marino
  Approved by:	bapt (mentor), maintainer timeout (>4 weeks)

Modified:
  head/net-mgmt/macroscope/Makefile

Modified: head/net-mgmt/macroscope/Makefile
==============================================================================
--- head/net-mgmt/macroscope/Makefile	Sun Jul 21 21:33:40 2013	(r323416)
+++ head/net-mgmt/macroscope/Makefile	Sun Jul 21 21:42:59 2013	(r323417)
@@ -21,10 +21,8 @@ USE_BZIP2=		yes
 USE_DOS2UNIX=		yes
 USES=			cmake
 
-OPTIONS_DEFINE=	MYSQL FIREBIRD DOCS
-MYSQL_DESC=	With MySQL support
-FIREBIRD_DESC=	With Firebird support
-OPTIONS_DEFAULT=	MYSQL
+OPTIONS_DEFINE=	FIREBIRD DOCS #MYSQL
+OPTIONS_DEFAULT=	FIREBIRD
 
 .include <bsd.port.pre.mk>
 
@@ -32,18 +30,19 @@ OPTIONS_DEFAULT=	MYSQL
 CMAKE_ARGS+=		-DCMAKE_NOT_INSTALL_DOC:BOOL=ON
 .endif
 
-.if ${PORT_OPTIONS:MMYSQL}
-WANT_MYSQL_VER=		50
-USE_MYSQL=		yes
-.endif
+# ${WRKSRC}/include/adicpp/myapi appears to be hardcoded for MySQL 5.0
+# Disable option completely until support for later versions added
+# Firebird 2.0 support doesn't build on amd64, so version 2.5 is required
+#.if ${PORT_OPTIONS:MMYSQL}
+#WANT_MYSQL_VER=	50
+#USE_MYSQL=		yes
+#.endif
 
 .if ${PORT_OPTIONS:MFIREBIRD}
-WITH_FIREBIRD_VER=	2
+WITH_FIREBIRD_VER=	25
 USE_FIREBIRD=		yes
 .endif
 
-.include "${PORTSDIR}/Mk/bsd.database.mk"
-
 .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 BROKEN=	Does not compile on this architecture
 .endif
_______________________________________________
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 John Marino freebsd_committer freebsd_triage 2013-07-21 23:19:52 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!