Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 03:34:37 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53214: emulators/vmware3 tries to install emulators/rtc even when it is already installed
Message-ID:  <20030611183437.E91415D3A@sugar.home.utahime.org>
Resent-Message-ID: <200306111840.h5BIeCC5091376@freefall.freebsd.org>

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

>Number:         53214
>Category:       ports
>Synopsis:       emulators/vmware3 tries to install emulators/rtc even when it is already installed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 11:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sugar.home.utahime.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Jun 11 03:10:14 JST 2003 yasu@sugar.home.utahime.org:/usr/obj/am/eastasia/usr1/cvsup/releng_5_1/src/sys/SUGAR i386


	
>Description:

Installation of emulators/vmware3 fails when emulator/rtc is already installed.

sugar# pkg_info -I 'rtc*'
rtc-2002.03.05.2_2  Kernel module which provides /dev/rtc device support
sugar# cd /usr/ports/emulators/vmware3/
sugar# make
===>  Extracting for vmware3-3.2.1-2237_1
(snip)
ld -Bshareable  -d -warn-common -o vmnet.ko vmnet.kld
sugar# make install
===>  Installing for vmware3-3.2.1-2237_1
===>   vmware3-3.2.1-2237_1 depends on file: /compat/linux/dev/rtc - not found
===>    Verifying install for /compat/linux/dev/rtc in /usr/ports/emulators/rtc
I don't fetch anything...
===>  Extracting for rtc-2002.03.05.2_2
>How-To-Repeat:
1. install emulators/rtc
2. cd /usr/ports/emulators/vmware3
3. make
4. make install

>Fix:

Following is the workaround for this problem.

# mkdir /usr/compat/linux/dev
# ln -s /dev/rtc /usr/compat/linux/dev/rtc

But I'm not sure this is real solution.


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> No MD5 checksum file.
 ===>  Patching for rtc-2002.03.05.2_2
 ===>  Configuring for rtc-2002.03.05.2_2
 ===>  Building for rtc-2002.03.05.2_2
 "/sys/conf/kmod.mk", line 182: warning: duplicate script for target "@" ignored
 @ -> /sys
 awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
 Warning: Object directory not changed from original /usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files
 machine -> /am/eastasia/usr1/cvsup/releng_5_1/src/sys/i386/include
 cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files -I/sys -DCDEV_MAJOR_=202  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winl ine -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files -I/sys -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common  -mno-align-long-strings -mpreferred-stack-boun dary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c rtc.c
 cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files -I/sys -DCDEV_MAJOR_=202  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winl ine -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files -I/sys -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common  -mno-align-long-strings -mpreferred-stack-boun dary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c rtc_linux.c
 ld  -d -warn-common -r -d -o rtc.kld rtc.o rtc_linux.o
 touch /usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files/export_syms
 awk -f /sys/conf/kmod_syms.awk rtc.kld  /usr0/ports/am/eastasia/usr1/cvsup/ports/emulators/rtc/work/files/export_syms |  xargs -J% objcopy % rtc.kld
 ld -Bshareable  -d -warn-common -o rtc.ko rtc.kld
 ===>  Installing for rtc-2002.03.05.2_2
 ===>  rtc-2002.03.05.2_2 is already installed - perhaps an older version?
       If so, you may wish to ``make deinstall'' and install
       this port again by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of rtc-2002.03.05.2_2
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
 *** Error code 1
 
 Stop in /am/eastasia/usr1/cvsup/ports/emulators/rtc.
 *** Error code 1
 
 Stop in /am/eastasia/usr1/cvsup/ports/emulators/vmware3.
 *** Error code 1
 
 Stop in /am/eastasia/usr1/cvsup/ports/emulators/vmware3.
 sugar# 
 
 



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