Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277037 - media-video/vlc-1.0.0 fails to build the pda interface
Summary: media-video/vlc-1.0.0 fails to build the pda interface
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 13:46 UTC by Chuck Wegrzyn
Modified: 2010-02-24 13:16 UTC (History)
3 users (show)

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


Attachments
build log (build.log,1.14 MB, text/plain)
2009-07-08 13:48 UTC, Chuck Wegrzyn
Details
ebuild environment (environment,156.20 KB, text/plain)
2009-07-08 13:48 UTC, Chuck Wegrzyn
Details
vlc-1.0.0-pda.patch (vlc-1.0.0-pda.patch,1.97 KB, text/plain)
2009-07-09 22:42 UTC, Angelo Arrifano (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Wegrzyn 2009-07-08 13:46:59 UTC
After unmerging VLC-0.9.9x I emerged VLC-1.0.0 and it failed to compile.

Reproducible: Always

Steps to Reproduce:
1.emerge =media-video/vlc-1.0.0
2.
3.

Actual Results:  
ake: *** [all] Error 2
 *
 * ERROR: media-video/vlc-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3866:  Called die
 * The specific snippet of code:
 *       emake || die "make of VLC failed"
 *  The die message:
 *   make of VLC failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/vlc-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-1.0.0/temp/environment'.
 *


Expected Results:  
For it to work...

Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 08 Jul 2009 12:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/nekoverlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl additions alsa berkdb bidi bluetooth bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cli connectionstatus consolekit contactnotes cracklib crypt cups dbus dga divx dmx doc dri dvd dvdread embedded encode examples expat firefox3 flac gdbm gif glib gnome gpm gtk hal htmlhandbook iconv ipv6 isdnlog jabber jadetex java java6 javacomm javamail javascript jce jde jdepend jpeg jpeg2k kde kde4 kdeenablefinal kdepim kdm lzo md5sum midi mng mp3 mp4 mpeg mpeg2 mplayer msn mudflap mysql ncurses nls nowlistening nptl nptlonly nsplugin ntfs ogg opengl openmp oscar otr pam parted pcre pda pdf perl pipes plasma png postgres ppds pppd pulseaudio python qt3 qt3support qt4 qtdesigner quicktime readline realmedia redland reflection reiserfs rss samba scanner sdk session slp sms soundex spl sqlite3 ssl subversion svg sysfs tcpd texteffect threads threadsafe thumbnail thunderbird tiff tk tools truetype unicode usb v4l v4l2 valgrind vboxwebsrv virtualbox vorbis webinterface webkit webpresence wifi win32codecs wireshark wmf wmp wxwidgets wxwindows x86 xine xinerama xorg xrandr yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="fbdev ati radeonhd vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chuck Wegrzyn 2009-07-08 13:48:10 UTC
Created attachment 197187 [details]
build log
Comment 2 Chuck Wegrzyn 2009-07-08 13:48:41 UTC
Created attachment 197188 [details]
ebuild environment
Comment 3 Alexis Ballier gentoo-dev 2009-07-09 11:05:19 UTC
It is due to the pda useflag, it doesn't build with -Werror-implicit-function-declaration and doesn't work even if you manage to build it without that flag.

Angelo, if I remember correctly from bug #254380 you did request the addition of the useflag, could you please retest it for 1.0.0 and send a patch to vlc upstream or file a bug on https://trac.videolan.org/vlc/ ? Otherwise I'll probably have to remove the useflag entirely because it's obviously unmaintained.
I did post one at rc times but apparently it hasn't been entirely fixed.
Comment 4 Chuck Wegrzyn 2009-07-09 12:25:12 UTC
Is this a problem with the ebuild? If so, is there a patch for it that will get the problem fixed (temporarily)?
Comment 5 Alexis Ballier gentoo-dev 2009-07-09 12:32:16 UTC
(In reply to comment #4)
> Is this a problem with the ebuild? If so, is there a patch for it that will get
> the problem fixed (temporarily)?

I've masked the useflag so it shouldn't be a problem anymore but still if someone wants it back it'll have to be fixed.
Comment 6 Chuck Wegrzyn 2009-07-09 13:17:32 UTC
I just ran 

USE="-pda" emerge vlc

and can attest to the fact it worked! Thanks so much. 
Comment 7 Angelo Arrifano (RETIRED) gentoo-dev 2009-07-09 22:42:59 UTC
Created attachment 197423 [details]
vlc-1.0.0-pda.patch

This patch fixes the compile error.
Comment 8 Angelo Arrifano (RETIRED) gentoo-dev 2009-07-09 22:46:24 UTC
(In reply to comment #3)
With the previous patch I still have a segmentation fault on pda_interface.c:315
(see #16). The line looks ok though, the problem must be from before.

Can you try to reproduce the segmentation fault? Thanks.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f33cd95d950 (LWP 656)]
0x00007f33e0826865 in pango_context_set_font_description () from /usr/lib/libpango-1.0.so.0
(gdb) bt
#0  0x00007f33e0826865 in pango_context_set_font_description () from /usr/lib/libpango-1.0.so.0
#1  0x00007f33e1c59fa7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x00007f33e1c5b6f4 in gtk_widget_create_pango_context () from /usr/lib/libgtk-x11-2.0.so.0
#3  0x00007f33e1c5b799 in gtk_widget_get_pango_context () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00007f33e1c5b81a in gtk_widget_create_pango_layout () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x00007f33e1bb16ca in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007f33e1bb259b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00007f33e1b9760b in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x00007f33e1b97ea1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007f33e1b985dd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007f33e1b99628 in gtk_range_set_adjustment () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007f33e0137d2c in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00007f33e0139c97 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00007f33e0138c49 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#14 0x00007f33e01390ea in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#15 0x00007f33e01391f3 in g_object_new () from /usr/lib/libgobject-2.0.so.0
--------------------------------------------------------------------------
#16 0x00007f33dc51acc8 in create_pda () at pda_interface.c:315
--------------------------------------------------------------------------
#17 0x00007f33dc519278 in Run (p_intf=0x141afa8) at pda.c:169
#18 0x00007f33ed9cd184 in ?? () from /usr/lib/libvlccore.so.2
#19 0x00007f33eda1c276 in ?? () from /usr/lib/libvlccore.so.2
#20 0x00007f33ed581007 in start_thread () from /lib/libpthread.so.0
#21 0x00007f33ece6e48d in clone () from /lib/libc.so.6
#22 0x0000000000000000 in ?? ()
Comment 9 Chuck Wegrzyn 2009-07-09 23:10:00 UTC
How do I test it out the feature? 
Comment 10 Christopher Hogan 2009-07-11 09:05:48 UTC
I hit this bug while compiling media-video/vlc-1.0.0. I found https://trac.videolan.org/vlc/ticket/2791 on VLC's site. From their bug report:
PDA is unmaintained old cruft. 

Looks like VLC is dropping this feature.
Comment 11 Alexis Ballier gentoo-dev 2009-09-01 08:57:26 UTC
note: the pda interface has been completely removed in upstream master repo, which means it'll be gone with vlc 1.1
Comment 12 Angelo Arrifano (RETIRED) gentoo-dev 2009-09-01 09:26:25 UTC
Ok, thanks for letting me know. I'll have to rely on something else to play music for -embedded then.
Comment 13 Alexis Ballier gentoo-dev 2010-02-24 13:16:12 UTC
(In reply to comment #11)
> note: the pda interface has been completely removed in upstream master repo,
> which means it'll be gone with vlc 1.1
> 

-> wontfix