Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116122 - media-libs/libmovtar needs to depend on glib
Summary: media-libs/libmovtar needs to depend on glib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 22:01 UTC by Sebastian
Modified: 2005-12-30 00:37 UTC (History)
2 users (show)

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


Attachments
Reenables dep on glib-1.2.x (libmovtar-0.1.3-r2.ebuild,1.14 KB, text/plain)
2005-12-22 00:33 UTC, Sebastian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2005-12-19 22:01:31 UTC
Hi!

I saw this when installing a box with very few USE flags. glib wasn't installed by any prior ebuild dep. libmovtar complained that it couldn't find it.

Thanks!

Sebastian
Comment 1 Sebastian 2005-12-19 23:39:24 UTC
Hi!

There are more issues with this ebuild I think. I'm gonna try to fix them tonight and submit a new ebuild.

Cheers

S.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-20 00:41:35 UTC
Not needed according to Bug 98269, if you have issues with the ebuild, then post some error messages and emerge --info at least.
Comment 3 Sebastian 2005-12-20 02:39:49 UTC
section_eight ~ # emerge --oneshot libmovtar
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/libmovtar-0.1.3-r1 to /
>>> md5 files   ;-) libmovtar-0.1.3-r1.ebuild
>>> md5 files   ;-) files/digest-libmovtar-0.1.3-r1
>>> md5 files   ;-) files/libmovtar-0.1.3-asm.patch
>>> md5 files   ;-) files/jpegint.h
>>> md5 files   ;-) files/libmovtar-0.1.3-m4.patch
>>> md5 files   ;-) files/libmovtar-0.1.3-gcc4.patch
>>> md5 src_uri ;-) libmovtar-0.1.3.tar.gz
>>> Unpacking source...
>>> Unpacking libmovtar-0.1.3.tar.gz to /var/tmp/portage/libmovtar-0.1.3-r1/work
 * Applying libmovtar-0.1.3-gcc4.patch ...                                [ ok ]
 * Applying libmovtar-0.1.3-m4.patch ...                                  [ ok ]
 * Applying libmovtar-0.1.3-asm.patch ...                                 [ ok ]
>>> Source unpacked.
 * Running elibtoolize in: libmovtar-0.1.3
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.1.patch ...
 *   Applying sed-1.4.0.patch ...
 *   Applying test-1.4.1.patch ...
 * econf: updating libmovtar-0.1.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libmovtar-0.1.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i586-pc-linux-gnu --disable-dependency-tracking
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i586-pc-linux-gnu-gcc... i586-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether i586-pc-linux-gnu-gcc accepts -g... yes
checking dependency style of i586-pc-linux-gnu-gcc... none
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: "You need to install GLib - you can find it on http://www.gtk.org"

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/libmovtar-0.1.3-r1/work/libmovtar-0.1.3/config.log

!!! ERROR: media-libs/libmovtar-0.1.3-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

section_eight ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14.4 i686)
=================================================================
System uname: 2.6.14.4 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=i586 -m3dnow -mmmx -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=i586 -m3dnow -mmmx -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow ithreads logrotate mmx ncurses readline userlocales zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

section_eight ~ #

Comment 4 Sebastian 2005-12-22 00:33:42 UTC
Created attachment 75311 [details]
Reenables dep on glib-1.2.x

libmovtar depends on glib-1.2.x. At least it does here. Maybe you guys can unmerge your glib-1.2.x (if you have it installed anyway) and try to reemerge libmovtar

Cheers
Sebastian
Sebastian
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2005-12-29 16:28:53 UTC
configure says the _options_ are optional, not glib itself.

the source uses glib functions in more than a couple places.

movtar.c:#include <glib.h>
movtar.h:/* Depends on: stdio.h, tar.h, glib.h */
movtar.h:#include <glib.h>
movtar.h:  char *filepath;  /* the path of the movtar (Use the glib functions to extract the parts) */
movtar.h:  GArray *audio_table; /* pointing to the audio fragments in the file, GLib Array */
movtar.h:  GArray *video_table; /* pointing to the video frames in the file, GLib Array  */
movtar_index.c:#include <glib.h>
movtar_play.c:#include <glib.h>
movtar_play.c.orig:#include <glib.h>
movtar_setinfo.c:#include <glib.h>
movtar_split.c:#include <glib.h>
movtar_unify.c:#include <glib.h>
tar.c:#include <glib.h>
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2005-12-29 16:37:02 UTC
# ldd /usr/bin/movtar*
/usr/bin/movtar-config:
	not a dynamic executable
/usr/bin/movtar_index:
	linux-gate.so.1 =>  (0xffffe000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7f74000)
	libc.so.6 => /lib/libc.so.6 (0xb7e41000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7e3d000)
	/lib/ld-linux.so.2 (0xb7faf000)
/usr/bin/movtar_play:
	linux-gate.so.1 =>  (0xffffe000)
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x46e45000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7f22000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x468c8000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7efe000)
	libc.so.6 => /lib/libc.so.6 (0xb7dcb000)
	libm.so.6 => /lib/libm.so.6 (0xb7da7000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7da2000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x465c6000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x466b2000)
	/lib/ld-linux.so.2 (0xb7f4b000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x465c1000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x466ab000)
/usr/bin/movtar_setinfo:
	linux-gate.so.1 =>  (0xffffe000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7ed6000)
	libc.so.6 => /lib/libc.so.6 (0xb7da3000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7d9f000)
	/lib/ld-linux.so.2 (0xb7f11000)
/usr/bin/movtar_split:
	linux-gate.so.1 =>  (0xffffe000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7f34000)
	libc.so.6 => /lib/libc.so.6 (0xb7e01000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7dfd000)
	/lib/ld-linux.so.2 (0xb7f6f000)
/usr/bin/movtar_unify:
	linux-gate.so.1 =>  (0xffffe000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x468c8000)
	libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7f38000)
	libc.so.6 => /lib/libc.so.6 (0xb7e05000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7e01000)
	/lib/ld-linux.so.2 (0xb7f73000)
/usr/bin/movtar_yuv422:
	linux-gate.so.1 =>  (0xffffe000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x468c8000)
	libc.so.6 => /lib/libc.so.6 (0xb7e3e000)
	/lib/ld-linux.so.2 (0xb7f88000)
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-29 17:16:25 UTC
Sigh, seems like the quick checks I've tried that day were a bit off.. and I probably was a bit off, too.
Readded now.
Comment 8 Sebastian 2005-12-30 00:37:54 UTC
Thanks guys!