Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 05:36:30 -0500 (CDT)
From:      none <noone@siu.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53248: mysql-qui port make aborts with inadequate prereq verification
Message-ID:  <200306121036.h5CAaU3R001284@freebsd2.localnet10>
Resent-Message-ID: <200306121040.h5CAe12s098087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53248
>Category:       ports
>Synopsis:       mysql-qui port make aborts with inadequate prereq verification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 12 03:40:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     none
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD freebsd2.localnet10 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Wed Jun 11 05:07:40 CDT 2003 x@freebsd2.localnet10:/usr/src/sys/i386/compile/5.1-RC1 i386

================== mysql-gui Makefile (partial) ================
PORTNAME=       mysql-gui
PORTVERSION=    1.7.5
PORTREVISION=   1
CATEGORIES=     databases
MASTER_SITES=   http://www.mysql.com/Downloads/%SUBDIR%/ \
                ftp://mysql.nixc.net/pub/mysql/Downloads/%SUBDIR%/ \
		ftp://sunsite.dk/ftp/mirrors/mysql/Downloads/%SUBDIR%/ \
		ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
		MASTER_SITE_SUBDIR=     mysqlgui
DISTNAME=       ${PORTNAME:S/-//}-${PORTVERSION}
 
MAINTAINER=     cyrille.lefevre@laposte.net
COMMENT=        A graphical SQL client for MySQL

# Global variables
#
 
LIB_DEPENDS=    sqlplus.1:${PORTSDIR}/databases/mysql++ \
	 intl.4:${PORTSDIR}/devel/gettext \
	 glut.3:${PORTSDIR}/graphics/Mesa3 \
         fleditor.1:${PORTSDIR}/x11-toolkits/fl_editor \
         flvw.1:${PORTSDIR}/x11-toolkits/flvw
======================================================================

	
>Description:
	Attempt to make mysql-qui port fails after port patch when it cannot find
	a prerequisite include file from a "known" dependancy:

Receiving mysqlgui-1.7.5.tar.gz (316460 bytes): 100%
316460 bytes transferred in 4.4 seconds (70.87 kBps)
===>  Extracting for mysql-gui-1.7.5_1
>How-To-Repeat:
	Attempt re-compile
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for mysqlgui-1.7.5.tar.gz.
 ===>  Patching for mysql-gui-1.7.5_1
 cp: /usr/X11R6/include/FL/Fl_Editor.H: No such file or directory
 *** Error code 1
  
 Stop in /usr/ports/databases/mysql-gui.
 
 
 	 After installing prerequisite applications and re-making the
 	 mysql-gui application, a new error abounds singing about a
 	 failed file patch:
 
 ===>  Extracting for mysql-gui-1.7.5_1
 >> Checksum OK for mysqlgui-1.7.5.tar.gz.
 ===>  Patching for mysql-gui-1.7.5_1
 ===>  Applying FreeBSD patches for mysql-gui-1.7.5_1
 1 out of 1 hunks failed--saving rejects to FL/Fl_Editor.H.rej
 >> Patch patch-FL-Fl_Editor.H failed to apply cleanly.
 *** Error code 1
  
 Stop in /usr/ports/databases/mysql-gui.
 
 
 	And the words to the song are (work/mysqlgui-src-1.7.5/FL/Fl_Editor.H.rej):
 
 ***************
 *** 186,191 ****
         Fl_Color textcolor() const { return(Fl_Color)textcolor_; }
 	void textcolor(uchar n) { textcolor_ = n; }
 	void LoadFrom(FILE *file) { engine->LoadFrom(file); ShowCursor(CURSOR_UNHIDE);
 SyncDisplay(); }
 	void SaveTo(FILE *file) { engine->SaveTo(file); }
 	void LoadFrom(const char *buffer) { engine->LoadFrom(buffer); ShowCursor(CURSOR_UNHIDE); SyncDisplay(); }
 	void SaveTo(char *buffer) { engine->SaveTo(buffer); }
 --- 186,192 ----
 	Fl_Color textcolor() const { return(Fl_Color)textcolor_; }
 	void textcolor(uchar n) { textcolor_ = n; }
 	void LoadFrom(FILE *file) { engine->LoadFrom(file); ShowCursor(CURSOR_UNHIDE);
 SyncDisplay(); }
 +       void LoadSQL (const char *query) { engine->LoadSQL(query); ShowCursor(CURSOR_UNHIDE); SyncDisplay(); }
 	void SaveTo(FILE *file) { engine->SaveTo(file); }
 	void LoadFrom(const char *buffer) { engine->LoadFrom(buffer); ShowCursor(CURSOR_UNHIDE); SyncDisplay(); }
 	void SaveTo(char *buffer) { engine->SaveTo(buffer); }
 
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306121036.h5CAaU3R001284>