Skip site navigation (1)Skip section navigation (2)
Date:      13 Jan 2003 17:20:38 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gstreamer-0.5.1 has been failed..
Message-ID:  <1042496438.312.80.camel@gyros>
In-Reply-To: <F3qdEcD9mlrTyeerT1m0000c670@hotmail.com>
References:  <F3qdEcD9mlrTyeerT1m0000c670@hotmail.com>

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

--=-Qk6z76RH6t9V/22gE3bh
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Mon, 2003-01-13 at 17:02, Mezz bsdforums.org wrote:
> > > On Mon, 2003-01-13 at 16:12, Mezz bsdforums.org wrote:
> > > Last night, I update ports tree and gnome2 from your CVS, then let
> > > portupgrade to take care of upgrade everything. Portupgrade shows 
> >gstreamer
> > > has been failed, which I have uploaded the config.log in my personal 
> >server.
> > > -> http://www.mezzweb.com:81/show/config.log
> >
> >The failure is not here.  Can you send all the config.log files under
> >gstreamer as well as the output of make configure?  Thanks.
> >
> >Joe
> 
> I did use portupgrade again, so I can catch everything. Last time, I wasn't 
> able to get the error messages in the CLI. However, the error messages in 
> the CLI is in the bottom and here is a bz2 file that has configure, 
> Makefile, config.log and etc. -> 
> http://www.mezzweb.com:81/download/gstreamer-errors.tar.bz2 (first time to 
> use file roller, it's nice) Hope, I get everything what you need.
> 
> BTW: I can open the port in the firewall to let you login, if you need. Your 
> account is still exist on my machine. ;-)

I don't think that will be necessary this time.  Looks like there is a
bug in gstreamer where they forget to include ucontext.h if they use
makecontext().  Can you try the attached patch, and let me know if it
fixes the problem?

Joe

> 
> Cheers,
> Mezz
> 
> ======================================
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -D_GNU_SOURCE 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include/libxml2 
> -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
> -I.. -Wall -DG_LOG_DOMAIN=g_log_domain_gstreamer 
> -DGST_CACHE_DIR=\"/usr/X11R6/share/gnome/cache/gstreamer-0.5\" -O -pipe 
> -march=pentium3 -c cothreads.c -MT libcothreads_la-cothreads.lo -MD -MP -MF 
> .deps/libcothreads_la-cothreads.TPlo  -fPIC -DPIC -o 
> .libs/libcothreads_la-cothreads.lo
> cothreads.c: In function `cothread_switch':
> cothreads.c:624: syntax error before "ucp"
> cothreads.c:630: warning: implicit declaration of function `getcontext'
> cothreads.c:630: `ucp' undeclared (first use in this function)
> cothreads.c:630: (Each undeclared identifier is reported only once
> cothreads.c:630: for each function it appears in.)
> cothreads.c:633: warning: implicit declaration of function `makecontext'
> cothreads.c:634: warning: implicit declaration of function `setcontext'
> gmake[4]: *** [libcothreads_la-cothreads.lo] Error 1
> gmake[4]: Leaving directory 
> `/usr/ports/multimedia/gstreamer/work/gstreamer-0.5
> .1/gst'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/multimedia/gstreamer/work/gstreamer-0.5
> .1/gst'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory 
> `/usr/ports/multimedia/gstreamer/work/gstreamer-0.5
> .1/gst'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/multimedia/gstreamer/work/gstreamer-0.5
> .1'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/multimedia/gstreamer.
> ** Command failed [exit code 1]: /usr/bin/script -qa 
> /tmp/portupgrade31444.19 m
> ake
> ** Fix the problem and try again.
> --->  Skipping 'multimedia/gstreamer-plugins' (gstreamer-plugins-0.5.0_2) 
> becau
> se 'multimedia/gstreamer' (gstreamer-0.5.0_1) failed
> 
> _________________________________________________________________
> MSN 8: advanced junk mail protection and 2 months FREE*. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



--=-Qk6z76RH6t9V/22gE3bh
Content-Disposition: attachment; filename=patch-gst_cothreads.c
Content-Type: text/x-c; name=patch-gst_cothreads.c; charset=ISO8859-1
Content-Transfer-Encoding: 7bit

--- gst/cothreads.c.orig	Tue Dec 31 23:28:32 2002
+++ gst/cothreads.c	Mon Jan 13 17:19:13 2003
@@ -29,6 +29,9 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sys/mman.h>
+#ifdef HAVE_MAKECONTEXT
+#include <ucontext.h>
+#endif
 
 #include "gst_private.h"
 
@@ -42,11 +45,11 @@
 #define MAP_ANONYMOUS MAP_ANON
 #endif
 
-#define STACK_SIZE 0x200000
+#define STACK_SIZE 0x100000
 
 #define COTHREAD_MAGIC_NUMBER 0xabcdef
 
-#define COTHREAD_MAXTHREADS 16
+#define COTHREAD_MAXTHREADS 8
 #define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS)
 
 static void 	cothread_destroy 	(cothread_state *cothread);

--=-Qk6z76RH6t9V/22gE3bh--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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