Bug 136129 - multimedia/kbtv won't build & install on 7.2
Summary: multimedia/kbtv won't build & install on 7.2
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-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-28 14:10 UTC by Henrik Friedrichsen
Modified: 2009-09-14 19:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Friedrichsen 2009-06-28 14:10:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-28 14:10:08 UTC
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
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-28 14:10:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mark Linimon 2009-06-30 07:13:20 UTC
----- 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 -----
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2009-09-14 19:06:18 UTC
State Changed
From-To: feedback->closed

Feedback received, port marked as broken.