Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 13:06:49 GMT
From:      Henrik Friedrichsen <hrkfdn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136129: multimedia/kbtv won't build & install on 7.2
Message-ID:  <200906281306.n5SD6nDM085192@www.freebsd.org>
Resent-Message-ID: <200906281310.n5SDA11N064878@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 28 13:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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