Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159212 - media-video/dvbcut-0.5.3-r1 fails to compile: undefined reference to `ac3_decoder'
Summary: media-video/dvbcut-0.5.3-r1 fails to compile: undefined reference to `ac3_dec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 159373
  Show dependency tree
 
Reported: 2006-12-27 07:53 UTC by Niels Laukens
Modified: 2007-03-12 08:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dvbcut-0.5.3-r1.ebuild (dvbcut-0.5.3-r1.ebuild,1.23 KB, text/plain)
2007-03-01 10:07 UTC, Roberto Castagnola
Details
dvbcut-0.5.3-sconstruct.patch (dvbcut-0.5.3-sconstruct.patch,1.04 KB, patch)
2007-03-01 10:09 UTC, Roberto Castagnola
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Laukens 2006-12-27 07:53:54 UTC
Trying to emerge the ~x86 version of dvbcut (I know, unstable) fails with the a compile error. I suppose it has something to do with a missing dependency.

--- compile error ---
g++ -o bin/dvbcut src/avframe.o src/buffer.o src/differenceimageprovider.o src/dvbcut.o src/eventlistitem.o src/exportdialog.o src/imageprovider.o src/index.o src/lavfmuxer.o src/logoutput.o src/main.o src/mpegmuxer.o src/mpgfile.o src/playaudio.o src/progressstatusbar.o src/progresswindow.o src/psfile.o src/pts.o src/streamdata.o src/tsfile.o src/uic_dvbcutbase.o src/moc_dvbcutbase.o src/uic_mplayererrorbase.o src/moc_mplayererrorbase.o src/uic_progresswindowbase.o src/moc_progresswindowbase.o src/uic_exportdialogbase.o src/moc_exportdialogbase.o src/moc_dvbcut.o src/moc_exportdialog.o src/moc_progressstatusbar.o src/moc_progresswindow.o -L/usr/qt/3/lib -lao -lqt-mt -lavformat -lavcodec -lavutil
src/psfile.o: In function `psfile::psfile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, inbuffer&, int)':
psfile.cpp:(.text+0x1ee): undefined reference to `ac3_decoder'
psfile.cpp:(.text+0x39d): undefined reference to `ac3_decoder'
psfile.cpp:(.text+0x3e7): undefined reference to `ac3_decoder'
psfile.cpp:(.text+0x431): undefined reference to `ac3_decoder'
psfile.cpp:(.text+0x47b): undefined reference to `ac3_decoder'
src/psfile.o:psfile.cpp:(.text+0x4c5): more undefined references to `ac3_decoder' follow
collect2: ld returned 1 exit status


---- EMERGE info ----
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2-bigbrother-025 i686)
=================================================================
System uname: 2.6.18-gentoo-r2-bigbrother-025 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 24 Dec 2006 14:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="nl_BE.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac aalib acpi aim alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm asf avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx4linux dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode ffmpeg flac gd gdbm gif gimpprint gpm gtk gtk2 iconv icq imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber java jpeg jpeg2k kde kernel_linux ldap libg++ lm_sensors lzo maildir matroska mmx mp3 mpeg msn musicbrainz nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly nsplugin offensive oggvorbis opengl oss pam pcre pda pdf pdflib perl png ppds pppd python qt quicktime readline realmedia reflection rrdtool rtc samba sasl session snmp spell spl sse sse2 ssl subversion tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vorbis win32codecs wireshark wmf wmp x264 xft xinerama xorg xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roberto Castagnola 2007-03-01 10:07:55 UTC
Created attachment 111656 [details]
dvbcut-0.5.3-r1.ebuild

media-video/ffmpeg is required to be built with A/52 (a.k.a. AC-3) support (USE="a52").
This ebuild checks for it.
It includes next attached patch.
Comment 2 Roberto Castagnola 2007-03-01 10:09:40 UTC
Created attachment 111658 [details, diff]
dvbcut-0.5.3-sconstruct.patch

This patch is from svn upstream.
It fixes a bug with >=dev-util/scons-0.96.93 (see Bug 159373)
It works with dev-util/scons-0.96.1 too.
Comment 3 Alexis Ballier gentoo-dev 2007-03-12 08:00:44 UTC
die statement added, here again : use depends +++++