Subject: pkg/23458: graphics/transcode fails to find symbol "sigwait"
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <Kai.Puolamaki@iki.fi>
List: netbsd-bugs
Date: 11/16/2003 12:13:43
>Number: 23458
>Category: pkg
>Synopsis: graphics/transcode fails to find symbol "sigwait"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 16 12:14:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Kai Puolamaki
>Release: NetBSD 1.6.1
>Organization:
-
>Environment:
NetBSD winnie.localdomain 1.6.1 NetBSD 1.6.1 (WINNIE) #0: Thu Oct 9 21:55:34 EEST 2003 root@winnie.localdomain:/usr/src/sys/arch/i386/compile/WINNIE i386
>Description:
graphics/transcode (transcode-0.6.9nb1) fails to import audio module.
As a result, programs that depend on transcode (e.g. dvdrip) fail
to work.
It appears that when transcode tries to import the module (e.g.
/usr/pkg/lib/transcode/import_dvd.so) there is undefined symbol
"sigwait". Exctract from transcode output (full output is attached
later):
loading audio import module /usr/pkg/lib/transcode/import_dvd.so
[transcode] warning : Undefined symbol "sigwait"
(decoder.c) loading audio import module failed
[transcode] failed to init import modules
[transcode] critical: plug-in initialization failed
The said module should however be able to find the sigwait from
libpthread (in which sigwait should be defined?):
% ldd /usr/pkg/lib/transcode/import_dvd.so
/usr/pkg/lib/transcode/import_dvd.so:
-ldvdread.3 => /usr/pkg/lib/libdvdread.so.3
-liconv.4 => /usr/pkg/lib/libiconv.so.4
-lm.0 => /usr/lib/libm387.so.0
-lm.0 => /usr/lib/libm.so.0
-lpthread.20 => /usr/pkg/lib/libpthread.so.20
-lintl.0 => /usr/lib/libintl.so.0
>How-To-Repeat:
1. Install graphics/transcode from pkgsrc.
2.
kaip@winnie nemesis % transcode -q 255 -i /usr/videot/STAR_TREK_NEMESIS -T 13 -V -o nemesis.avi -y divx4
T=1 title=13 ch1=1 ch2=-1 angle=1
transcode v0.6.9 (C) 2001-2003 Thomas Oestreich
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
[tcprobe] DVD image/device
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
(dvd_reader.c) DVD title 13/15: 24 chapter(s), 1 angle(s), title set 5
(dvd_reader.c) title playback time: 01:51:39.08 6700 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000
(dvd_reader.c) [Chapter 02] 00:04:02.880
(dvd_reader.c) [Chapter 03] 00:08:05.200
(dvd_reader.c) [Chapter 04] 00:11:28.360
(dvd_reader.c) [Chapter 05] 00:19:21.760
(dvd_reader.c) [Chapter 06] 00:22:21.640
(dvd_reader.c) [Chapter 07] 00:24:41.560
(dvd_reader.c) [Chapter 08] 00:27:02.280
(dvd_reader.c) [Chapter 09] 00:33:04.520
(dvd_reader.c) [Chapter 10] 00:37:04.600
(dvd_reader.c) [Chapter 11] 00:45:49.400
(dvd_reader.c) [Chapter 12] 00:49:44.360
(dvd_reader.c) [Chapter 13] 00:54:33.600
(dvd_reader.c) [Chapter 14] 00:59:43.760
(dvd_reader.c) [Chapter 15] 01:03:39.720
(dvd_reader.c) [Chapter 16] 01:06:55.040
(dvd_reader.c) [Chapter 17] 01:13:36.480
(dvd_reader.c) [Chapter 18] 01:17:16.680
(dvd_reader.c) [Chapter 19] 01:22:02.400
(dvd_reader.c) [Chapter 20] 01:27:47.040
(dvd_reader.c) [Chapter 21] 01:31:26.160
(dvd_reader.c) [Chapter 22] 01:36:20.160
(dvd_reader.c) [Chapter 23] 01:40:46.640
(dvd_reader.c) [Chapter 24] 01:44:51.280
(probe.c) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
(probe.c) V magic=0xf0f0f0f1, A magic=0xf0f0f0f1, V codec=0x10000, A codec=0x2000
(probe.c) V magic=DVD PAL, A magic=DVD PAL, V codec=MPEG-2, A codec=AC3
[transcode] auto-probing source /usr/videot/STAR_TREK_NEMESIS (ok)
[transcode] V: import format | MPEG-2 DVD PAL (V=dvd|A=dvd)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
[transcode] V: bits/pixel | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2001 AC3/A52 [48000,16,2]
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language | cs
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32 accel mode | 3dnow (3dnow mmxext mmx asm)
[transcode] encoder delay = decode=40000 encode=40000 usec
[transcode] V: video buffer | 10 @ 720x576
[transcode] allocating 10 framebuffer (static)
loading audio import module /usr/pkg/lib/transcode/import_dvd.so
[transcode] warning : Undefined symbol "sigwait"
(decoder.c) loading audio import module failed
[transcode] failed to init import modules
[transcode] critical: plug-in initialization failed
kaip@winnie nemesis % ldd /usr/pkg/lib/transcode/import_dvd.so
/usr/pkg/lib/transcode/import_dvd.so:
-ldvdread.3 => /usr/pkg/lib/libdvdread.so.3
-liconv.4 => /usr/pkg/lib/libiconv.so.4
-lm.0 => /usr/lib/libm387.so.0
-lm.0 => /usr/lib/libm.so.0
-lpthread.20 => /usr/pkg/lib/libpthread.so.20
-lintl.0 => /usr/lib/libintl.so.0
kaip@winnie nemesis % transcode -q 255 -i /usr/videot/STAR_TREK_NEMESIS -T 13 -V -o nemesis.avi -y divx4
T=1 title=13 ch1=1 ch2=-1 angle=1
transcode v0.6.9 (C) 2001-2003 Thomas Oestreich
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
[tcprobe] DVD image/device
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Couldn't find device name.
(dvd_reader.c) DVD title 13/15: 24 chapter(s), 1 angle(s), title set 5
(dvd_reader.c) title playback time: 01:51:39.08 6700 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000
(dvd_reader.c) [Chapter 02] 00:04:02.880
(dvd_reader.c) [Chapter 03] 00:08:05.200
(dvd_reader.c) [Chapter 04] 00:11:28.360
(dvd_reader.c) [Chapter 05] 00:19:21.760
(dvd_reader.c) [Chapter 06] 00:22:21.640
(dvd_reader.c) [Chapter 07] 00:24:41.560
(dvd_reader.c) [Chapter 08] 00:27:02.280
(dvd_reader.c) [Chapter 09] 00:33:04.520
(dvd_reader.c) [Chapter 10] 00:37:04.600
(dvd_reader.c) [Chapter 11] 00:45:49.400
(dvd_reader.c) [Chapter 12] 00:49:44.360
(dvd_reader.c) [Chapter 13] 00:54:33.600
(dvd_reader.c) [Chapter 14] 00:59:43.760
(dvd_reader.c) [Chapter 15] 01:03:39.720
(dvd_reader.c) [Chapter 16] 01:06:55.040
(dvd_reader.c) [Chapter 17] 01:13:36.480
(dvd_reader.c) [Chapter 18] 01:17:16.680
(dvd_reader.c) [Chapter 19] 01:22:02.400
(dvd_reader.c) [Chapter 20] 01:27:47.040
(dvd_reader.c) [Chapter 21] 01:31:26.160
(dvd_reader.c) [Chapter 22] 01:36:20.160
(dvd_reader.c) [Chapter 23] 01:40:46.640
(dvd_reader.c) [Chapter 24] 01:44:51.280
(probe.c) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
(probe.c) V magic=0xf0f0f0f1, A magic=0xf0f0f0f1, V codec=0x10000, A codec=0x2000
(probe.c) V magic=DVD PAL, A magic=DVD PAL, V codec=MPEG-2, A codec=AC3
[transcode] auto-probing source /usr/videot/STAR_TREK_NEMESIS (ok)
[transcode] V: import format | MPEG-2 DVD PAL (V=dvd|A=dvd)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
[transcode] V: bits/pixel | 0.174
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2001 AC3/A52 [48000,16,2]
[transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language | cs
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32 accel mode | 3dnow (3dnow mmxext mmx asm)
[transcode] encoder delay = decode=40000 encode=40000 usec
[transcode] V: video buffer | 10 @ 720x576
[transcode] allocating 10 framebuffer (static)
loading audio import module /usr/pkg/lib/transcode/import_dvd.so
[transcode] warning : Undefined symbol "sigwait"
(decoder.c) loading audio import module failed
[transcode] failed to init import modules
[transcode] critical: plug-in initialization failed
3. Transcoding DVDs using dvdrip fails because of the same error.
>Fix:
I am quite at loss here...
>Release-Note:
>Audit-Trail:
>Unformatted: