From araujobsdport@gmail.com Mon Nov 23 05:38:34 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7191106566B; Mon, 23 Nov 2009 05:38:34 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-px0-f196.google.com (mail-px0-f196.google.com [209.85.216.196]) by mx1.freebsd.org (Postfix) with ESMTP id B5AD78FC27; Mon, 23 Nov 2009 05:38:34 +0000 (UTC) Received: by pxi34 with SMTP id 34so3741396pxi.8 for ; Sun, 22 Nov 2009 21:38:34 -0800 (PST) Received: by 10.114.214.36 with SMTP id m36mr7878790wag.172.1258953395389; Sun, 22 Nov 2009 21:16:35 -0800 (PST) Message-Id: <3420333b0911222116ocbd049ej949ddc0fb9f88893@mail.gmail.com> Date: Mon, 23 Nov 2009 03:16:35 -0200 From: Marcelo To: Mario Sergio Fujikawa Ferreira Cc: FreeBSD-gnats-submit@freebsd.org, araujo@freebsd.org In-Reply-To: <20091122211412.32637.qmail@exxodus.fedaykin.here> Subject: Re: [BROKEN] graphics/mesa-demos: Broken build due to missing symbols References: <20091122211412.32637.qmail@exxodus.fedaykin.here> >Number: 140800 >Category: ports >Synopsis: Re: graphics/mesa-demos: Broken build due to missing symbols >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 23 05:40:03 UTC 2009 >Closed-Date: Mon Nov 23 07:51:53 UTC 2009 >Last-Modified: Mon Nov 23 07:51:53 UTC 2009 >Originator: >Release: >Organization: >Environment: >Description: --0016e64b0ab0ebc52e047902ed4d Content-Type: text/plain; charset=ISO-8859-1 Hi Mario, Currently I'm in a business trip around ASIA, I'll be back to Brazil only at 20th of December. Could you please commit this patch? Of course, first of all, make the properly tests, and aftern than you can go ahead. Thanks. 2009/11/22 Mario Sergio Fujikawa Ferreira > > >Submitter-Id: current-users > >Originator: Mario Sergio Fujikawa Ferreira > >Organization: > >Confidential: no > >Synopsis: [BROKEN] graphics/mesa-demos: Broken build due to missing > symbols > >Severity: non-critical > >Priority: low > >Category: ports > >Class: sw-bug > >Release: FreeBSD 8.0-PRERELEASE i386 > >Environment: > System: FreeBSD exxodus.fedaykin.here 8.0-PRERELEASE FreeBSD 8.0-PRERELEASE > #4: Sun Nov 15 10:14:26 BRST 2009 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX > i386 > >Description: > 1) The port build is broken > 2) It was missing a reference to 'pthread_create' > 2.1) I added a "hack" (needs a better fix) to fix this > 3) Then, it complained about a missing reference to > 'glXCreateGLXPixmapMESA' > 3.1) No fix yet > > >How-To-Repeat: > >Fix: > > --- Makefile.orig 2009-11-22 18:59:21.000000000 -0200 > +++ Makefile 2009-11-22 19:04:15.000000000 -0200 > @@ -41,6 +41,9 @@ > .include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk" > .include > > +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ > + LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" > + > .if defined(WITH_NVIDIA_GL) > CFLAGS+= -DWITH_NVIDIA_GL=1 > .endif > > -- Marcelo Araujo araujo@FreeBSD.org --0016e64b0ab0ebc52e047902ed4d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Mario,

Currently I'm in a business trip around ASIA, I'll= be back to Brazil only at 20th of December.
Could you please commit thi= s patch? Of course, first of all, make the properly tests, and aftern than = you can go ahead.

Thanks.

2009/11/22 Mario Sergio Fuji= kawa Ferreira <li= oux@freebsd.org>

>Submitter-Id: =A0current-users
>Originator: =A0 =A0Mario Sergio Fujikawa Ferreira
>Organization:
>Confidential: =A0no
>Synopsis: =A0 =A0 =A0[BROKEN] graphics/mesa-demos: Broken build due to = missing symbols
>Severity: =A0 =A0 =A0non-critical
>Priority: =A0 =A0 =A0low
>Category: =A0 =A0 =A0ports
>Class: =A0 =A0 =A0 =A0 sw-bug
>Release: =A0 =A0 =A0 FreeBSD 8.0-PRERELEASE i386
>Environment:
System: FreeBSD exxodus.fedaykin.here 8.0-PRERELEASE FreeBSD 8.0-PRERELEASE= #4: Sun Nov 15 10:14:26 BRST 2009 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX= i386
>Description:
1) The port build is broken
2) It was missing a reference to 'pthread_create'
=A02.1) I added a "hack" (needs a better fix) to fix this
3) Then, it complained about a missing reference to 'glXCreateGLXPixmap= MESA'
=A03.1) No fix yet

>How-To-Repeat:
>Fix:

--- Makefile.orig =A0 =A0 =A0 2009-11-22 18:59:21.000000000 -0200
+++ Makefile =A0 =A02009-11-22 19:04:15.000000000 -0200
@@ -41,6 +41,9 @@
=A0.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
=A0.include <bsd.po= rt.pre.mk>

+CONFIGURE_ENV=3D =A0CPPFLAGS=3D"${PTHREAD_CFLAGS} -I${LOCALBASE}/incl= ude" \
+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0LDFLAGS=3D"${PTHREAD_LIBS} -L${LOCALB= ASE}/lib"
+
=A0.if defined(WITH_NVIDIA_GL)
=A0CFLAGS+=3D =A0 =A0 =A0 -DWITH_NVIDIA_GL=3D1
=A0.endif




--
Marcelo Araujo
arauj= o@FreeBSD.org
--0016e64b0ab0ebc52e047902ed4d-- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon Nov 23 07:51:20 UTC 2009 State-Changed-Why: Misfiled followup to ports/140792; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Nov 23 07:51:20 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=140800 >Unformatted: