From nobody@FreeBSD.org  Tue Mar  5 14:40:25 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 58266157
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  5 Mar 2013 14:40:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 49D4D357
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  5 Mar 2013 14:40:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r25EeONX091450
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 5 Mar 2013 14:40:24 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r25EeOoh091449;
	Tue, 5 Mar 2013 14:40:24 GMT
	(envelope-from nobody)
Message-Id: <201303051440.r25EeOoh091449@red.freebsd.org>
Date: Tue, 5 Mar 2013 14:40:24 GMT
From: Sean Bruno <sbruno@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11/fireflies buildfailure
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176666
>Category:       ports
>Synopsis:       x11/fireflies buildfailure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 05 14:50:01 UTC 2013
>Closed-Date:    Tue May 14 11:15:43 UTC 2013
>Last-Modified:  Tue May 14 11:15:43 UTC 2013
>Originator:     Sean Bruno
>Release:        10-current
>Organization:
FreeBSD
>Environment:
FreeBSD powernoodle 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r247637M: Sat Mar  2 11:44:39 UTC 2013     root@powernoodle:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
x11/fireflies appears to not build any longer.

===>  Cleaning for fireflies-2.07_4
===>   fireflies-2.07_4 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for fireflies-2.07_4
=> SHA256 Checksum OK for fireflies-2.07.tar.gz.
===>  Patching for fireflies-2.07_4
===>  Applying FreeBSD patches for fireflies-2.07_4
===>   fireflies-2.07_4 depends on executable: gmake - found
===>   fireflies-2.07_4 depends on shared library: GLU.1 - found
===>  Configuring for fireflies-2.07_4
===>   FreeBSD 10 autotools fix applied to /usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/x11/fireflies/work/fireflies-2.07/configure
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for sdl-config... no
checking for glXSwapBuffers in -lGL... yes
checking for glBegin in -lGL... yes
configure: creating ./config.status
config.status: creating Make.include
config.status: creating installit
config.status: creating fireflies.spec
config.status: creating config.h
===>  Building for fireflies-2.07_4
cd libgfx && TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake lt_cv_sys_max_cmd_len=262144 ./configure --with-bindir=/usr/local/bin/xscreensaver-hacks  --with-confdir=/usr/local/share/xscreensaver/config --prefix=/usr/local  && cd src && gmake
checking for gcc... cc
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 cc accepts -g... yes
checking how to run the C preprocessor... cpp
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for ranlib... ranlib
checking for rm... /bin/rm
checking for ignored-fltk-config... :
checking for sqrt in -lm... yes
checking for zlibVersion in -lz... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for TIFFOpen in -ltiff... yes
checking for png_read_image in -lpng... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glBegin in -lGL... yes
checking for glPolygonOffset... yes
checking for glPolygonOffsetEXT... no
checking for FLTK library... no
checking for FLTK GL support... no
checking for ANSI C header files... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for GL/glext.h... yes
checking for GL/glxext.h... yes
checking for GL/wglext.h... yes
checking for hash_map... no
checking for valarray... yes
checking for sstream... yes
checking for strstream... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for type bool... yes
checking for working alloca.h... no
checking for alloca... yes
checking for rint... yes
checking for getrusage... yes
checking for times... yes
checking for random... no
checking for getopt... yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating gfx-config
config.status: creating include/gfx/config.h
gmake[1]: Entering directory `/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/src'
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  mat2.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  mat3.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  mat4.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  quat.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  symmat3.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  geom3d.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  raster.cxx
raster.cxx:48:29: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_names[] = {"PPM", "PNG", "TIFF", "JPEG"};
                            ^
raster.cxx:48:36: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_names[] = {"PPM", "PNG", "TIFF", "JPEG"};
                                   ^
raster.cxx:48:43: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_names[] = {"PPM", "PNG", "TIFF", "JPEG"};
                                          ^
raster.cxx:48:51: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_names[] = {"PPM", "PNG", "TIFF", "JPEG"};
                                                  ^
raster.cxx:49:27: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_ext[] = {"ppm", "png", "tif", "jpg"};
                          ^
raster.cxx:49:34: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_ext[] = {"ppm", "png", "tif", "jpg"};
                                 ^
raster.cxx:49:41: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_ext[] = {"ppm", "png", "tif", "jpg"};
                                        ^
raster.cxx:49:48: warning: conversion from string literal to 'char *' is
      deprecated [-Wdeprecated-writable-strings]
static char *img_ext[] = {"ppm", "png", "tif", "jpg"};
                                               ^
8 warnings generated.
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  raster-pnm.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  raster-tiff.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  raster-jpeg.cxx
c++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  raster-png.cxx
raster-png.cxx:42:22: error: member access into incomplete type 'png_struct'
      (aka 'png_struct_def')
   if( setjmp(png_ptr->jmpbuf) )
                     ^
/usr/local/include/png.h:879:16: note: forward declaration of 'png_struct_def'
typedef struct png_struct_def png_struct;
               ^
raster-png.cxx:132:22: error: member access into incomplete type 'png_struct'
      (aka 'png_struct_def')
   if( setjmp(png_ptr->jmpbuf) )
                     ^
/usr/local/include/png.h:879:16: note: forward declaration of 'png_struct_def'
typedef struct png_struct_def png_struct;
               ^
2 errors generated.
gmake[1]: *** [raster-png.o] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/src'
gmake: *** [libgfx/src/libgfx.a] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/x11/fireflies.

===>>> make failed for x11/fireflies
===>>> Aborting update

===>>> Update for x11/fireflies failed
===>>> Aborting update

Terminated
>How-To-Repeat:
attempt to build/install x11/fireflies
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Tue Mar 5 14:51:13 UTC 2013 
Responsible-Changed-Why:  
Ports PR 


http://www.freebsd.org/cgi/query-pr.cgi?pr=176666 

From: Stefan Walter <stefan@freebsd.org>
To: umeno@rr.iij4u.or.jp
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/176666: x11/fireflies buildfailure
Date: Sat, 27 Apr 2013 11:37:34 +0200

 Dear maintainer of x11/fireflies,
 
 a problem report has been submitted for your port for which your 
 feedback might be required; its contents can be found at [1]. If it 
 contains a patch or suggestions for a change, please send a followup to 
 the PR explaining whether or not you approve it and want it to be 
 committed.
 
 Regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176666

From: Stefan Walter <stefan@freebsd.org>
To: Sean Bruno <sbruno@FreeBSD.org>, umeno@rr.iij4u.or.jp
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/176666: x11/fireflies buildfailure
Date: Mon, 29 Apr 2013 15:35:10 +0200

 Hi,
 
 I tried to build x11/fireflies on my desktop machine here, and it failed
 just like with Sean. Building it in a tinderbox on redports.org finished
 without problems, though. It looks like it pulls in headers installed by
 some other port - probably graphics/png.
 
 The fix for this will have to be provided by someone else, though...
 
 Best regards,
 Stefan
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Mon Apr 29 13:44:07 UTC 2013 
State-Changed-Why:  
Awaiting maintainer's feedback. 


Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Mon Apr 29 13:44:07 UTC 2013 
Responsible-Changed-Why:  
Track this while waiting for maintainer's feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176666 

From: Stefan Walter <stefan@FreeBSD.org>
To: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/176666: x11/fireflies buildfailure
Date: Thu, 2 May 2013 12:45:44 +0200

 Adding "LIB_DEPENDS=png15:${PORTSDIR}/graphics/png" to the Makefile and
 testing it on redports.org led to the compile time error, so I've marked
 the port as BROKEN for now.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176666: commit references a PR
Date: Thu,  2 May 2013 10:44:01 +0000 (UTC)

 Author: stefan
 Date: Thu May  2 10:43:53 2013
 New Revision: 317093
 URL: http://svnweb.freebsd.org/changeset/ports/317093
 
 Log:
   Mark as BROKEN: does not compile when graphics/png is installed.
   
   PR:		176666
   Submitted by:	sbruno
 
 Modified:
   head/x11/fireflies/Makefile
 
 Modified: head/x11/fireflies/Makefile
 ==============================================================================
 --- head/x11/fireflies/Makefile	Thu May  2 10:08:24 2013	(r317092)
 +++ head/x11/fireflies/Makefile	Thu May  2 10:43:53 2013	(r317093)
 @@ -14,6 +14,8 @@ MASTER_SITES=	http://somewhere.fscked.or
  MAINTAINER=	umeno@rr.iij4u.or.jp
  COMMENT=	Extension of xscreensaver
  
 +BROKEN=		does not compile when graphics/png is installed (see ports/176666)
 +
  GNU_CONFIGURE=	yes
  USE_GMAKE=	yes
  USE_GL=		yes
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176666: commit references a PR
Date: Sun,  5 May 2013 16:36:45 +0000 (UTC)

 Author: stefan
 Date: Sun May  5 16:36:32 2013
 New Revision: 317421
 URL: http://svnweb.freebsd.org/changeset/ports/317421
 
 Log:
   - Use CONFLICTS instead of BROKEN. [1]
   - While here, convert to new style Makefile header.
   
   PR:		176666 [1]
   Submitted by:	sbruno [1]
   Suggested by:	eadler [1]
 
 Modified:
   head/x11/fireflies/Makefile
 
 Modified: head/x11/fireflies/Makefile
 ==============================================================================
 --- head/x11/fireflies/Makefile	Sun May  5 16:12:13 2013	(r317420)
 +++ head/x11/fireflies/Makefile	Sun May  5 16:36:32 2013	(r317421)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	fireflies
 -# Date created:				11 Feb 2006
 -# Whom:					UMENO Takashi <umeno@rr.iij4u.or.jp>
 -#
 +# Created by: UMENO Takashi <umeno@rr.iij4u.or.jp>
  # $FreeBSD$
 -#
  
  PORTNAME=	fireflies
  PORTVERSION=	2.07
 @@ -14,7 +10,7 @@ MASTER_SITES=	http://somewhere.fscked.or
  MAINTAINER=	umeno@rr.iij4u.or.jp
  COMMENT=	Extension of xscreensaver
  
 -BROKEN=		does not compile when graphics/png is installed (see ports/176666)
 +CONFLICTS=	png-[0-9]*
  
  GNU_CONFIGURE=	yes
  USE_GMAKE=	yes
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: Stefan Walter <stefan@FreeBSD.org>
To: Sean Bruno <sbruno@FreeBSD.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/176666: x11/fireflies buildfailure
Date: Mon, 13 May 2013 23:34:44 +0200

 Hi Sean,
 
 the patch in ports/178600 fixes the build for me. Can you verify that the
 port builds and works with it for you as expected, too?
 
 Best regards,
 Stefan

From: Sean Bruno <sean_bruno@yahoo.com>
To: Stefan Walter <stefan@FreeBSD.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/176666: x11/fireflies buildfailure
Date: Mon, 13 May 2013 20:50:49 -0700

 --=-zrWanbHh6PWlLaOuNi4i
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, 2013-05-13 at 23:34 +0200, Stefan Walter wrote:
 > ports/178600
 
 Yup, perfect compile.  PATCH away!  :-)
 
 Sean
 
 --=-zrWanbHh6PWlLaOuNi4i
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.13 (FreeBSD)
 
 iQEcBAABAgAGBQJRkbSPAAoJEBkJRdwI6BaHjfQH/AzfwvCQrYhuz6wOqcaqpu9s
 NAmIuepCw3KRDFOdLVVRnucX1LR/xP4zI4te1brAsu/JNujaeSXSYoIetuzYmBTq
 YhOcEp47Ns51x5H0a2mnV7Nwq9FegmDf3e32Jla5nHwCNImkIUxWKd8ryRChdNEU
 uFvKHt+ShlMxnSlKwNoUcMemDJXFMKIceUgVbVClqrwSOItd3LwgTMM95jvirMGj
 WUNI5Hbm29JCLjppvO+pdrapAaSnN+SqZVIRXoBdYuaHkk/GpSnYQhZIgTJ3n0jZ
 4vNDrRasXmrSBVd5fN11vWg1IeGVqMtRB4oJA0UC4SnYhW/8N2MIjCI+aK1ET0k=
 =l+hF
 -----END PGP SIGNATURE-----
 
 --=-zrWanbHh6PWlLaOuNi4i--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: sbruno 
State-Changed-When: Tue May 14 11:14:59 UTC 2013 
State-Changed-Why:  
Since ports/178600 has a patch that solves this issue, close my ticket as a duplicate. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176666 
>Unformatted:
