ports/102893: editors/emacs-devel: broken plist and ".../site-lisp missing" when WITHOUT_GTK=YES is used

Boris Samorodov bsam at FreeBSD.org
Tue Sep 5 07:50:32 UTC 2006


>Number:         102893
>Category:       ports
>Synopsis:       editors/emacs-devel: broken plist and ".../site-lisp missing" when WITHOUT_GTK=YES is used
>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:   Tue Sep 05 07:50:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #1: Sat Sep 2 00:03:29 MSD 2006 bsam at srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386

>Description:
	I'm using misc/tinderbox to test package building. With the default
	options all is OK. But if I add options to portstree.env:
	-----
	export EMACS_PORT_NAME="emacs22"
	if [ ${DIRNAME}="/usr/ports/editors/emacs-devel" ]; then
	export WITHOUT_GTK="YES"
	fi
	-----

	the ports building have errors:
	-----
	...
	====================<phase 7: make package>====================
	===>  Building package for emacs-22.0.50.20060901
	Creating package /tmp/packages/All/emacs-22.0.50.20060901.tbz
	Registering depends: Xaw3d-1.5E_1 libungif-4.1.4_1 xorg-libraries-6.9.0 fontconfig-2.3.2_5,1 tiff-3.8.2 libdrm-2.0.2 expat-2.0.0_1 freetype2-2.1.10_5 png-1.2.12_1 jpeg-6b_4 pkg-config-0.20_3.
	Creating bzip'd tar ball in '/tmp/packages/All/emacs-22.0.50.20060901.tbz'
	Deleting emacs-22.0.50.20060901
	pkg_delete: unable to completely remove directory '/usr/local/share/emacs/22.0.50/etc'
	pkg_delete: couldn't entirely delete package (perhaps the packing list is
	incorrectly specified?)
	================================================================

	=== Checking filesystem state
	list of extra files and directories in / (not present before this port was installed but present after it was deinstalled)
	785014        4 drwxr-xr-x    3 root             wheel                 512 Sep  4 09:36 usr/local/share/emacs/22.0.50
	785015        8 drwxr-xr-x    2 root             wheel                3072 Sep  4 09:36 usr/local/share/emacs/22.0.50/etc
	785158     4192 -rw-r--r--    1 root             wheel             2116112 Sep  4 09:35 usr/local/share/emacs/22.0.50/etc/DOC-22.0.50.2
	list of files present before this port was installed but missing after it was deinstalled)
	./usr/local/share/emacs/site-lisp missing
	Deleting tiff-3.8.2
	Deleting png-1.2.12_1
	Deleting libungif-4.1.4_1
	Deleting autoconf-2.59_2
	Deleting Xaw3d-1.5E_1
	Deleting jpeg-6b_4
	Deleting m4-1.4.4
	Deleting perl-5.8.8
	Removing stale symlinks from /usr/bin...
	    Removing /usr/bin/perl
	    Removing /usr/bin/perl5
	Done.
	Cleaning up /etc/make.conf... Done.
	Cleaning up /etc/manpath.config... Done.
	Deleting xorg-libraries-6.9.0
	Deleting libdrm-2.0.2
	Deleting fontconfig-2.3.2_5,1
	Deleting expat-2.0.0_1
	Deleting freetype2-2.1.10_5
	Deleting pkg-config-0.20_3

	=== Checking filesystem state after all packages deleted
	================================================================
	list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
	785014        4 drwxr-xr-x    3 root             wheel                 512 Sep  4 09:36 usr/local/share/emacs/22.0.50
	785015        8 drwxr-xr-x    2 root             wheel                3072 Sep  4 09:36 usr/local/share/emacs/22.0.50/etc
	785158     4192 -rw-r--r--    1 root             wheel             2116112 Sep  4 09:35 usr/local/share/emacs/22.0.50/etc/DOC-22.0.50.2
	list of files present on clean system but missing after everything was deinstalled)
	./usr/local/share/emacs/site-lisp missing
	================================================================
	build of /usr/ports/editors/emacs-devel ended at Mon Sep  4 09:36:58 UTC 2006
	-----

	If I add a line to pkg-plist:
	-----
	%%DATADIR%%/%%EMACS_VER%%/etc/DOC-%%EMACS_VER%%.2
	-----

	...this error doesn't occure (until I try to build the port with
	default settings) but "./usr/local/share/emacs/site-lisp missing"
	stays.

>How-To-Repeat:
	Use misc/tinderbox and portstree.env as shown above and/or
	standard make procedure with make.conf:
	-----
	EMACS_PORT_NAME=emacs22
	.if ${.CURDIR:M*/editors/emacs-devel}
	WITHOUT_GTK=YES
	.endif
	-----

	But at the latter case you won't catch
	"./usr/local/share/emacs/site-lisp missing"

>Fix:
	Unknown.

WBR
-- 
bsam

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



More information about the freebsd-ports-bugs mailing list