NetBSD Problem Report #48556

From www@NetBSD.org  Tue Jan 28 16:18:08 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 08C28A646B
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 28 Jan 2014 16:18:08 +0000 (UTC)
Message-Id: <20140128161806.40C7BA6488@mollari.NetBSD.org>
Date: Tue, 28 Jan 2014 16:18:06 +0000 (UTC)
From: davshao@gmail.com
Reply-To: davshao@gmail.com
To: gnats-bugs@NetBSD.org
Subject: www/firefox nsJPEGDecoder.cpp:390:89: error: cannot convert 'bool' to 'boolean' in assignment
X-Send-Pr-Version: www-1.0

>Number:         48556
>Category:       pkg
>Synopsis:       www/firefox nsJPEGDecoder.cpp:390:89: error: cannot convert 'bool' to 'boolean' in assignment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 28 16:20:00 +0000 2014
>Closed-Date:    Wed Jan 29 07:51:02 +0000 2014
>Last-Modified:  Wed Jan 29 07:51:02 +0000 2014
>Originator:     David Shao
>Release:        NetBSD 6.99.30 GENERIC amd64
>Organization:
>Environment:
NetBSD  6.99.30 NetBSD 6.99.30 (GENERIC) #1: Thu Jan 23 06:04:55 PST 2014  example@:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
After the update

Module Name:    pkgsrc
Date:           Mon Jan 27 20:12:05 UTC 2014

Modified Files:
        pkgsrc/graphics/jpeg: Makefile distinfo
Removed Files:
        pkgsrc/graphics/jpeg/patches: patch-jmorecfg.h

Log Message:
Update to 9a:

www/firefox fails to build on NetBSD 6.99.30 amd64 and DragonFly 3.7-DEVELOPMENT x86_64:

c++ -o nsJPEGDecoder.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /usr/pkgsrc/www/firefox/work/mozilla-release/config/gcc_hidden.h -DMOZ_PNG_WRITE -DMOZ_PNG_READ  -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL  -DNO_NSPR_10_SUPPORT -I/usr/pkgsrc/www/firefox/work/mozilla-release/image/src/ -I/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders -I. -I../../dist/include  -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nss -I/usr/pkg/include/nspr       -fPIC -DPIC  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/nsJPEGDecoder.o.pp -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr
 /pkg/lib/dbus-1.0/include/dbus -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer   /usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp: In member function 'virtual void mozilla::image::nsJPEGDecoder::WriteInternal(const char*, __uint32_t)':
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:390:89: error: cannot convert 'bool' to 'boolean' in assignment
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp: In function 'boolean mozilla::image::fill_input_buffer(jpeg_decompress_struct*)':
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:827:14: error: cannot convert 'bool' to 'boolean' in return
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:840:16: error: cannot convert 'bool' to 'boolean' in return
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:850:12: error: cannot convert 'bool' to 'boolean' in return
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:892:10: error: cannot convert 'bool' to 'boolean' in return
/usr/pkgsrc/www/firefox/work/mozilla-release/image/decoders/nsJPEGDecoder.cpp:893:1: error: control reaches end of non-void function
/usr/pkgsrc/www/firefox/work/mozilla-release/config/rules.mk:1129: recipe for target 'nsJPEGDecoder.o' failed
gmake[4]: *** [nsJPEGDecoder.o] Error 1
gmake[4]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/image/decoders'
/usr/pkgsrc/www/firefox/work/mozilla-release/config/recurse.mk:44: recipe for target 'decoders_compile' failed
gmake[3]: *** [decoders_compile] Error 2
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/image'
/usr/pkgsrc/www/firefox/work/mozilla-release/config/recurse.mk:44: recipe for target 'compile' failed
gmake[2]: *** [compile] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build/image'
/usr/pkgsrc/www/firefox/work/mozilla-release/config/recurse.mk:16: recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
/usr/pkgsrc/www/firefox/work/mozilla-release/config/rules.mk:694: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 28 Jan 2014 16:26:20 +0000
State-Changed-Why:
I'm testing a fix locally.


State-Changed-From-To: analyzed->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 28 Jan 2014 21:19:22 +0000
State-Changed-Why:
Committed a fix, does it work for you?


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48556 CVS commit: pkgsrc/graphics/jpeg
Date: Tue, 28 Jan 2014 21:19:00 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Jan 28 21:19:00 UTC 2014

 Modified Files:
 	pkgsrc/graphics/jpeg: Makefile distinfo
 Added Files:
 	pkgsrc/graphics/jpeg/patches: patch-jmorecfg.h

 Log Message:
 Restore boolean workaround. Bump PKGREVISION.
 Addresses PR 48556.


 To generate a diff of this commit:
 cvs rdiff -u -r1.49 -r1.50 pkgsrc/graphics/jpeg/Makefile
 cvs rdiff -u -r1.18 -r1.19 pkgsrc/graphics/jpeg/distinfo
 cvs rdiff -u -r0 -r1.3 pkgsrc/graphics/jpeg/patches/patch-jmorecfg.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Shao <davshao@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48556: www/firefox nsJPEGDecoder.cpp:390:89: error: cannot
 convert 'bool' to 'boolean' in assignment
Date: Tue, 28 Jan 2014 20:33:58 -0800

 www/firefox now builds and is replaced successfully by
 # pkg_rolling-replace -uv
 on DragonFly 3.7-DEVELOPMENT x86_64 post cvs pkgsrc update

 Module Name:    pkgsrc
 Date:           Tue Jan 28 21:19:00 UTC 2014

 Modified Files:
         pkgsrc/graphics/jpeg: Makefile distinfo
 Added Files:
         pkgsrc/graphics/jpeg/patches: patch-jmorecfg.h

 Log Message:
 Restore boolean workaround. Bump PKGREVISION.
 Addresses PR 48556.

 Thanks!

State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 29 Jan 2014 07:51:02 +0000
State-Changed-Why:
Confirmed fixed.
Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.