Bug 40973 - Invalid behavior of emulators/rtc on -CURRENT, both build and run time.
Summary: Invalid behavior of emulators/rtc on -CURRENT, both build and run time.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 11:30 UTC by Vladimir B.Grebenschikov
Modified: 2003-04-04 23:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir B.Grebenschikov 2002-07-25 11:30:01 UTC
First problem: 

 Port simply don't duilds on -CURRENT due to invalid module
 depenance defines.

/usr/ports/emulators/rtc# make
I don't fetch anything...
===>  Extracting for rtc-2001.09.16.1

Fix: 1:

RCS file: /ext/ncvs/ports/emulators/rtc/files/Makefile,v
retrieving revision 1.2


2:

I have no--EFEfz5gmDNwPX4o7un7ttgfmGPHv7a5x89QK2TtlAv2OSCTT
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -u -r1.2 Makefile
--- files/Makefile      10 Sep 2000 15:06:55 -0000      1.2
+++ files/Makefile      21 May 2002 09:46:51 -0000
@@ -28,7 +28,7 @@
 SYS?=          /sys
 NOMAN=         YES
 KMOD=          rtc
-KMODDEPS=      linux
+MODULE_DEPEND= linux
 CDEV_MAJOR?=   202
 DEVNAME=       ${KMOD}
 SRCS=          rtc.c rtc_linux.c vnode_if.h
How-To-Repeat: 
on -CURRENT:

1:

# cd /usr/ports/emulators/rtc
# make
...
"/sys/conf/kmod.mk", line 66: "Do not use KMODDEPS on 5.0+, use
MODULE_VERSION/MODULE_DEPEND"
*** Error code 1


2:

# ls -l /dev/rtc
ls: /dev/rtc: No such file or directory
# kldstat | fgrep rtc
16    1 0xc3a87000 2000     rtc.ko
#
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-08-04 18:53:51 UTC
Responsible Changed
From-To: freebsd-ports->freebsd-emulation

Over to maintainers
Comment 2 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-03-19 17:14:22 UTC
State Changed
From-To: open->analyzed
Comment 3 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-03-21 12:22:31 UTC
On Thu, 20 Mar 2003 07:11:56 +0100
Mark Santcroos <marks@ripe.net> wrote:
> Don't know if you are aware but there is a patch posted on current@ that
> fixes this.

	Thanks, Mark.
	I didn't hear a problem of it until now:-).  So, I'll able to
	commit it.

> On Wed, Mar 19, 2003 at 09:15:17AM -0800, Norikatsu Shigemura wrote:
> > Synopsis: Invalid behavior of emulators/rtc on -CURRENT, both build and run time.
> > 
> > State-Changed-From-To: open->analyzed
> > State-Changed-By: nork
> > State-Changed-When: Wed Mar 19 09:14:22 PST 2003
> > State-Changed-Why: 
> > 
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=40973
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-emulation" in the body of the message
> 
> -- 
> Mark Santcroos                    RIPE Network Coordination Centre
> http://www.ripe.net/home/mark/    New Projects Group/TTM
Comment 4 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-04-04 23:05:40 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!