From nobody@FreeBSD.org  Sun Jun 28 13:06:49 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6239B1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 13:06:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 460DB8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 13:06:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5SD6nti085193
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 28 Jun 2009 13:06:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n5SD6nDM085192;
	Sun, 28 Jun 2009 13:06:49 GMT
	(envelope-from nobody)
Message-Id: <200906281306.n5SD6nDM085192@www.freebsd.org>
Date: Sun, 28 Jun 2009 13:06:49 GMT
From: Henrik Friedrichsen <hrkfdn@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: multimedia/kbtv won't build & install on 7.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: danny@ricin.com

>Number:         136129
>Category:       ports
>Synopsis:       multimedia/kbtv won't build & install on 7.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 13:10:01 UTC 2009
>Closed-Date:    Mon Sep 14 18:06:19 UTC 2009
>Last-Modified:  Mon Sep 14 18:06:19 UTC 2009
>Originator:     Henrik Friedrichsen
>Release:        7.2
>Organization:
>Environment:
FreeBSD sun.univer.se 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Sun May  3 18:25:22 CEST 2009     root@sun.univer.se:/usr/obj/usr/src/sys/KRAFTWERK  i386
>Description:
This is what happens:

Building saa driver...
/usr/bin/patch < ../patches/patch-kmod::saa713x_video.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- kmod/saa713x_video.c.orig	Wed Feb 14 01:07:17 2007
|+++ kmod/saa713x_video.c	Wed Feb 14 21:43:03 2007
--------------------------
Patching file kmod/saa713x_video.c using Plan A...
Hunk #1 succeeded at 713.
Hunk #2 succeeded at 749.
Hunk #3 succeeded at 1308.
Hunk #4 succeeded at 1431.
Hunk #5 succeeded at 1467.
done
/usr/bin/patch < ../patches/patch-kmod::saa713x_audio.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- kmod/saa713x_audio.c.orig	Wed Feb 14 01:04:47 2007
|+++ kmod/saa713x_audio.c	Wed Feb 14 01:07:06 2007
--------------------------
Patching file kmod/saa713x_audio.c using Plan A...
Hunk #1 succeeded at 634.
done
/usr/bin/patch < ../patches/patch-kmod::saa713x.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- kmod/saa713x.c.orig	Wed Feb 14 01:02:44 2007
|+++ kmod/saa713x.c	Wed Feb 14 01:02:57 2007
--------------------------
Patching file kmod/saa713x.c using Plan A...
Hunk #1 succeeded at 503.
done
/usr/bin/patch < ../patches/patch-kmod::Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- kmod/Makefile.orig	Tue Jun  6 21:17:58 2006
|+++ kmod/Makefile	Tue Jun  6 21:24:47 2006
--------------------------
Patching file kmod/Makefile using Plan A...
Hunk #1 succeeded at 1.
done
/usr/bin/patch < ../patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- Makefile.orig	Mon Apr 10 20:13:49 2006
|+++ Makefile	Mon Apr 10 20:13:57 2006
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 1.
done
/usr/bin/patch < ../patches/patch-kmod::saa713x_i2c.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- kmod/saa713x_i2c.h.orig	Fri Mar  9 11:16:01 2007
|+++ kmod/saa713x_i2c.h	Fri Mar  9 11:18:16 2007
--------------------------
Patching file kmod/saa713x_i2c.h using Plan A...
Hunk #1 succeeded at 25.
done
===> kmod (all)
Warning: Object directory not changed from original /usr/ports/multimedia/kbtv/work/kbtv-1.2.4/saa/saa/kmod
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbus_if.m -h
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
cc -O2 -fno-strict-aliasing -pipe -march=prescott -march=prescott   -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c saa713x.c
saa713x.c: In function 'saa_attach':
saa713x.c:311: warning: passing argument 4 of 'bus_setup_intr' from incompatible pointer type
saa713x.c:311: warning: passing argument 5 of 'bus_setup_intr' from incompatible pointer type
saa713x.c:311: error: too few arguments to function 'bus_setup_intr'
*** Error code 1

Stop in /usr/ports/multimedia/kbtv/work/kbtv-1.2.4/saa/saa/kmod.
*** Error code 1

Stop in /usr/ports/multimedia/kbtv/work/kbtv-1.2.4/saa/saa.
Building saa Python module...
/usr/local/bin/swig -python saa.h 
/usr/bin/cc -c -fPIC saa.c saa_wrap.c `/usr/local/bin/sdl-config --cflags` -I/usr/local/include/python2.5 In file included from saa.c:4:
saa.h:157:3: warning: missing terminating " character
saa.h:159:7: warning: missing terminating ' character
saa.h:161:42: warning: missing terminating " character
/usr/bin/cc -shared saa.o saa_wrap.o `/usr/local/bin/sdl-config --libs` -o _saa.so 
Generating UI modules from Designer forms...
/usr/local/bin/kdepyuic toolbar_widget.ui toolbar_widget.py written
/usr/local/bin/kdepyuic picture_settings.ui picture_settings.py written
/usr/local/bin/kdepyuic hardware_info.ui hardware_info.py written
/usr/local/bin/kdepyuic channel_process.ui channel_process.py written
/usr/local/bin/kdepyuic channel_editor.ui channel_editor.py written
/usr/local/bin/kdepyuic channel_add.ui channel_add.py written
Byte compiling all python modules...
Listing . ...
Compiling ./channel_add.py ...
Compiling ./channel_editor.py ...
Compiling ./channel_process.py ...
Compiling ./hardware_info.py ...
Compiling ./picture_settings.py ...
Compiling ./toolbar_widget.py ...
Listing . ...
Compiling ./bt848.py ...
Listing . ...
Listing ./patches ...
Listing ./saa ...
Listing ./saa/ROMS ...
Listing ./saa/kmod ...
Listing ./saa/support ...
Listing ./saa/support/FFMPEG ...
Listing ./saa/support/X11 ...
Listing ./saa/tvv ...
Listing ./saa/tvv/FLTK ...
Compiling ./saa.py ...
Listing . ...
Compiling ./btchannels.py ...
Compiling ./btcopyright.py ...
Compiling ./btdriver.py ...
Compiling ./bthardware.py ...
Compiling ./btsetup.py ...
Listing . ...
Compiling ./kbtv_application.py ...
Compiling ./kbtv_channels.py ...
Compiling ./kbtv_dcop.py ...
Compiling ./kbtv_hardware.py ...
Compiling ./kbtv_part.py ...
Compiling ./kbtv_picture.py ...
Compiling ./kbtv_toolbar.py ...
Compiling ./kbtv_version.py ...
Building kbtv handbook ...
en : /usr/local/bin/meinproc index.docbook 
en : /usr/local/bin/meinproc --cache index.cache.bz2 index.docbook 
===>  Installing for kbtv-1.2.4_4
===>   kbtv-1.2.4_4 depends on executable: kdepyuic - found
===>   kbtv-1.2.4_4 depends on file: /usr/local/bin/python2.5 - found
===>   kbtv-1.2.4_4 depends on file: /usr/local/bin/moc - found
===>   Generating temporary packing list
===>  Checking if multimedia/kbtv already installed
Installation prefix: /usr/local
Target directories: /boot/modules /usr/local/bin /usr/local/sbin /usr/local/share/apps/kbtv /usr/local/share/doc/HTML /usr/local/share/applications/kde /usr/local/share/icons/crystalsvg/64x64/apps
Checking write access to targets, creating directories...
Installing saa kernel module...
saa.ko -> /boot/modules
Traceback (most recent call last):
  File "do_install.py", line 52, in <module>
    shutil.copy(os.path.join("saa/saa/kmod", SAA_KO), KMODDIR)
  File "/usr/local/lib/python2.5/shutil.py", line 85, in copy
    copyfile(src, dst)
  File "/usr/local/lib/python2.5/shutil.py", line 51, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'saa/saa/kmod/saa.ko'
*** Error code 1

Stop in /usr/ports/multimedia/kbtv/work/kbtv-1.2.4.
*** Error code 1

Stop in /usr/ports/multimedia/kbtv.
*** Error code 1

Stop in /usr/ports/multimedia/kbtv.

>How-To-Repeat:
Build kbtv on FreeBSD 7.2 with SAA module enabled
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jun 28 13:10:11 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136129 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: danny@ricin.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/136129: multimedia/kbtv won't build & install on 7.2
Date: Sun, 28 Jun 2009 13:10:08 UT

 Maintainer of multimedia/kbtv,
 
 Please note that PR ports/136129 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136129
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136129: multimedia/kbtv won't build & install on 7.2
Date: Tue, 30 Jun 2009 01:13:20 -0500

 ----- Forwarded message from Danny Pansters <danny@sauna-joe.nl> -----
 
 From: Danny Pansters <danny@sauna-joe.nl>
 To: freebsd-ports-bugs@freebsd.org
 Subject: Re: ports/136129: multimedia/kbtv won't build & install on 7.2
 
 This is due to some api changes in FreeBSD 7+. It's fixed in kbtv2 which you 
 can find on my website http://freebsd.ricin.com/kbtv2 (uses Qt4 and there are 
 ports for all the parts/drivers). The fix is trivial, but kbtv1 was meant to 
 expire last year, unfortunately kbtv2 never made it into ports and currently I 
 have very little time and I'm not able to use a tv card in my new desktop box 
 (draws too much power which leads to parity problems with its RAM). I couldn't 
 even get it to run here (FBSD 7.2 with kde4). I'm really sorry about this.
 
 Edwin, can you please mark kbtv1 BROKEN for FreeBSD >= 7 and put an EXPIRE on 
 the port?
 
 Thanks,
 
 Dan
 
 ----- End forwarded message -----
State-Changed-From-To: feedback->closed 
State-Changed-By: makc 
State-Changed-When: Mon Sep 14 18:06:18 UTC 2009 
State-Changed-Why:  
Feedback received, port marked as broken. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136129 
>Unformatted:
