Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 23:48:55 -0700 (PDT)
From:      Dima Dorfman <dima@unixfreak.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28222: New port of error: analyze compiler error messages
Message-ID:  <200106170648.f5H6mtZ71313@hornet.unixfreak.org>

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

>Number:         28222
>Category:       ports
>Synopsis:       New port of error: analyze compiler error messages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 16 23:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dima Dorfman
>Release:        FreeBSD 4.3-20010602-STABLE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD hornet.unixfreak.org 4.3-20010602-STABLE FreeBSD 4.3-20010602-STABLE #6: Wed Jun 6 18:55:33 PDT 2001 dima@hornet.unixfreak.org:/a/home/dima/w/f/4/sys/compile/HORNET i386


	
>Description:

Error analyzes and optionally disperses the diagnostic error messages
produced by a number of compilers and language processors to the
source file and line where the errors occurred.  It can replace the
painful, traditional methods of scribbling abbreviations of errors on
paper, and permits error messages and source code to be viewed
simultaneously without machinations of multiple windows in a screen
editor.

Error knows about the error messages produced by: make(1), cc(1),
cpp(1), ccom(1), as(1), ld(1), lint(1), pi(1), pc(1), f77(1), and DEC
Western Research Modula-2.  However, please note that error hasn't
been taught about the toolchain currently in use on FreeBSD, so the
aforementioned programs may not necessarily be the ones installed on
your system!

>How-To-Repeat:
	
>Fix:

	

--- error.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	error
#	error/files
#	error/files/tarignore
#	error/distinfo
#	error/pkg-descr
#	error/pkg-plist
#	error/pkg-comment
#	error/Makefile
#
echo c - error
mkdir -p error > /dev/null 2>&1
echo c - error/files
mkdir -p error/files > /dev/null 2>&1
echo x - error/files/tarignore
sed 's/^X//' >error/files/tarignore << 'END-of-error/files/tarignore'
XCVS
END-of-error/files/tarignore
echo x - error/distinfo
sed 's/^X//' >error/distinfo << 'END-of-error/distinfo'
XMD5 (error-20010616.tar.gz) = 13ba524981d469fd85593b8d61702c52
END-of-error/distinfo
echo x - error/pkg-descr
sed 's/^X//' >error/pkg-descr << 'END-of-error/pkg-descr'
XError analyzes and optionally disperses the diagnostic error messages
Xproduced by a number of compilers and language processors to the
Xsource file and line where the errors occurred.  It can replace the
Xpainful, traditional methods of scribbling abbreviations of errors on
Xpaper, and permits error messages and source code to be viewed
Xsimultaneously without machinations of multiple windows in a screen
Xeditor.
X
XError knows about the error messages produced by: make(1), cc(1),
Xcpp(1), ccom(1), as(1), ld(1), lint(1), pi(1), pc(1), f77(1), and DEC
XWestern Research Modula-2.  However, please note that error hasn't
Xbeen taught about the toolchain currently in use on FreeBSD, so the
Xaforementioned programs may not necessarily be the ones installed on
Xyour system!
END-of-error/pkg-descr
echo x - error/pkg-plist
sed 's/^X//' >error/pkg-plist << 'END-of-error/pkg-plist'
Xbin/error
END-of-error/pkg-plist
echo x - error/pkg-comment
sed 's/^X//' >error/pkg-comment << 'END-of-error/pkg-comment'
XAnalyze diagnostic error output from compilers and other processors
END-of-error/pkg-comment
echo x - error/Makefile
sed 's/^X//' >error/Makefile << 'END-of-error/Makefile'
X# New ports collection makefile for:	error
X# Date created:			16 June 2001
X# Whom:				dd
X#
X# $FreeBSD$
X#
X
XPORTNAME=	error
XPORTVERSION=	20010616
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_LOCAL} \
X		http://www.unixfreak.org/~dima/distfiles/
XMASTER_SITE_SUBDIR=	dd
X
XMAINTAINER=	dd@FreeBSD.org
X
XMAN1=		error.1
XMANCOMPRESSED=	maybe
X
X# This isn't very scalable, but I'm lazy..
X.if defined(NOMANCOMPRESS)
XMANNAME=	error.1
X.else
XMANNAME=	error.1.gz
X.endif
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/error ${PREFIX}/bin/error
X	@${INSTALL_MAN} ${WRKSRC}/${MANNAME} ${PREFIX}/man/man1
X
X#
X# Ports build/install stuff stops here.  Tarball creation stuff begins here.
X#
X.include <bsd.port.pre.mk>
XCVS_CMD?=	cvs -z3
XCVS_DATE=	Sun Jun  16 15:58:14 PDT 2001
XCVS_SITES?=	anoncvs@anoncvs.openbsd.org:/cvs
XCVS_MODULE=	src/usr.bin/error
X
X#
X# CVS checkout stuff mostly stolen from security/openssh-askpass port by
X# kris@freebsd.org
X#
Xtarball:
X	@${MKDIR} ${DISTDIR}/${PKGNAME} && \
X	cd ${DISTDIR}/${PKGNAME}; \
X	for CVS_SITE in ${CVS_SITES}; do \
X		${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
X		if ${CVS_CMD} -d $${CVS_SITE} co -D "${CVS_DATE}" \
X		    ${CVS_MODULE}; then \
X			cd ${DISTDIR}; \
X			${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
X			${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \
X			${MV} ${PKGNAME}/${CVS_MODULE} \
X				${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
X			${TAR} -cz \
X				-X ${FILESDIR}/tarignore \
X				-f ${PKGNAME}.tar.gz \
X				-C ${PKGNAME}/${CVS_MODULE:H} \
X				${PKGNAME}; \
X			exit; \
X		fi \
X	done; \
X	${RMDIR} ${DISTDIR}/${PKGNAME}; \
X	${ECHO_MSG} ">> CVS checkout failed."; \
X	exit 1;
X
X.include <bsd.port.post.mk>
END-of-error/Makefile
exit
--- error.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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