Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 23:25:25 +0100 (CET)
From:      Jens Schweikhardt <schweikh@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122096: editors/openoffice.org-3-devel fails to install; cd ${WRKDIR}/tmp/opt/openoffice* not unique
Message-ID:  <200803252225.m2PMPPtZ039324@hal9000.schweikhardt.net>
Resent-Message-ID: <200803252300.m2PN0137001256@freefall.freebsd.org>

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

>Number:         122096
>Category:       ports
>Synopsis:       editors/openoffice.org-3-devel fails to install; cd ${WRKDIR}/tmp/opt/openoffice* not unique
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 23:00:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jens Schweikhardt
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
Digital Details
>Environment:
System: FreeBSD hal9000.schweikhardt.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Mar 24 13:29:27 CET 2008 toor@hal9000.schweikhardt.net:/share/HEAD/obj/share/HEAD/src/sys/HAL9000 i386


>Description:

editors/openoffice.org-3-devel fails to install as follows:
root@hal9000:/usr/ports/editors/openoffice.org-3-devel # make install
===>  Installing for openoffice.org-3.0.20080321
===>   openoffice.org-3.0.20080321 depends on file: /usr/local/share/icons/hicolor/index.theme - found
===>   openoffice.org-3.0.20080321 depends on file: /usr/local/bin/perl5.8.8 - found
===>   openoffice.org-3.0.20080321 depends on file: /usr/local/libdata/xorg/libraries - found
===>   openoffice.org-3.0.20080321 depends on shared library: art_lgpl_2 - found
===>   Generating temporary packing list
===>  Checking if editors/openoffice.org-3-devel already installed
extracting openoffice.org-base-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-base-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-calc-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-draw-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-impress-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-math-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-brand-writer-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-calc-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core01-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core02-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core03-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core04-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core05-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core06-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core07-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-core08-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-draw-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-emailmerge-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-base-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-brand-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-calc-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-draw-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-help-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-impress-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-math-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-res-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-en-US-writer-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-gnome-integration-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-graphicfilter-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-headless-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-impress-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-javafilter-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-math-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-ooofonts-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-pyuno-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-testtool-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-ure-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-writer-3.0.0-4-freebsd-8.0-intel.tbz
extracting openoffice.org-xsltfilter-3.0.0-4-freebsd-8.0-intel.tbz
cd: too many arguments
*** Error code 2

Stop in /usr/ports/editors/openoffice.org-3-devel.

>How-To-Repeat:
	make install

>Fix:

fix the do-install target in the port Makefile. The lines with
@cd ${WRKDIR}/tmp/opt/openoffice*
cause the problem. They expand like this on my system:

root@hal9000:/usr/ports/editors/openoffice.org-3-devel/work # echo tmp/opt/openoffice*
tmp/opt/openoffice.org tmp/opt/openoffice.org3.0

I don't know which one of the two dirs is the right one. Maybe both?

-- Makefile snippet with target do-install follows --
# $FreeBSD: ports/editors/openoffice.org-3-devel/Makefile,v 1.358 2008/03/21 11:11:32 maho Exp $

...

do-install:
.if ${LOCALIZED_LANG} == "all"
    @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
    @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/ ; ${LS} */freebsd*/*.t?z > ${WRKDIR}/LANGPACKFILES
    @${RM} -Rf ${WRKDIR}/tmp
    @${MKDIR} ${WRKDIR}/tmp
    @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
        ${ECHO_CMD} "extracting $$i" ; \
        cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/en-US/freebsd-*/$$i ; \
    done
    @for i in `${CAT} ${WRKDIR}/LANGPACKFILES`; do \
        ${ECHO_CMD} "extracting $$i" ; \
        cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice_languagepack/bsd/install/$$i ;\
    done
    @${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
    @cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
.else
    @cd ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.t?z > ${WRKDIR}/INSTALLFILES
    @${RM} -Rf ${WRKDIR}/tmp
    @${MKDIR} ${WRKDIR}/tmp
    @for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
        ${ECHO_CMD} "extracting $$i" ; \
        cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd?.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ; \
    done
    @${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
    @cd ${WRKDIR}/tmp/opt/openoffice* ; ${TAR} cf - -C . . | ${TAR} xf - -C ${PREFIX}/${INSTALLATION_BASEDIR}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:



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