NetBSD Problem Report #48300
From tron@zhadum.org.uk Fri Oct 11 12:42:51 2013
Return-Path: <tron@zhadum.org.uk>
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" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2229F72616
for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 Oct 2013 12:42:51 +0000 (UTC)
Message-Id: <20131011124244.9B0EEA3BA2E@mail.zhadum.org.uk>
Date: Fri, 11 Oct 2013 13:42:44 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: "gtk2+" package fails to build after "pango" update
X-Send-Pr-Version: 3.95
>Number: 48300
>Category: pkg
>Synopsis: "gtk2+" package fails to build after "pango" update
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 11 12:45:00 +0000 2013
>Closed-Date: Thu Oct 17 04:49:38 +0000 2013
>Last-Modified: Thu Oct 17 04:49:38 +0000 2013
>Originator: Matthias Scheler
>Release: NetBSD 6.1_STABLE pkgsrc HEAD as of 2013-10-11 10:00 UTC
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 6.1_STABLE NetBSD 6.1_STABLE (COLWYN.64) #0: Sat Aug 10 13:03:38 BST 2013 tron@colwyn.zhadum.org.uk:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
X11: native
>Description:
The "gtk2+" package doesn't build on my system with the updated "pango"
package. It fails because it cannot process a ".png" file:
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Checking for vulnerabilities in gtk2+-2.24.20nb2
=> Checksum SHA1 OK for gtk+-2.24.20.tar.xz
=> Checksum RMD160 OK for gtk+-2.24.20.tar.xz
===> Installing dependencies for gtk2+-2.24.20nb2
==========================================================================
The supported build options for gtk2+ are:
cups debug x11
The currently selected options are:
x11
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.gtk2 (not defined)
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
gtk2+-2.24.20nb2. Their current value is shown below:
* PYTHON_VERSION_DEFAULT = 27
Based on these variables, the following variables have been set:
* PYPACKAGE = python27
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb5
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency perl>=5.0: found perl-5.18.1nb1
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency x11-links>=0.78: found x11-links-0.79
=> Build dependency gobject-introspection>=1.34.0: found gobject-introspection-1.36.0nb3
=> Full dependency py27-expat-[0-9]*: found py27-expat-2.7.5
=> Full dependency shared-mime-info>=1.0nb1: found shared-mime-info-1.2nb1
=> Full dependency atk>=2.6.0: found atk-2.10.0
=> Full dependency glib2>=2.34.0: found glib2-2.36.4
=> Full dependency gdk-pixbuf2>=2.26.5nb2: found gdk-pixbuf2-2.28.2
=> Full dependency libXft>=2.3.1nb3: found libXft-2.3.1nb3
=> Full dependency fontconfig>=2.10.93nb2: found fontconfig-2.10.95
=> Full dependency pango>=1.36.0nb1: found pango-1.36.0nb1
=> Full dependency cairo>=1.12.14nb3: found cairo-1.12.16
=> Full dependency python27>=2.7.1nb2: found python27-2.7.5nb3
===> Overriding tools for gtk2+-2.24.20nb2
===> Extracting for gtk2+-2.24.20nb2
[...]
libtool: link: gcc -shared -fPIC -DPIC .libs/gtkprintbackendlpr.o -Wl,-rpath,/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/gtk/.libs -Wl,-rpath,/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/gdk/.libs -Wl,-rpath,/objdir/tron/x11/gtk2/work.colwyn/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/objdir/tron/x11/gtk2/work.colwyn/.buildlink/lib -L/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/gdk/.libs -L/objdir/tron/x11/gtk2/work.colwyn/.buildlink/lib -L/objdir/tron/x11/gtk2/work.colwyn/.x11-buildlink/lib -L../../../gtk/.libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -lXi -lXrandr -lXcursor -lpangocairo-1.0 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lpixman-1 -lxcb-shm -lxcb-render -lxcb -lXrender -lX11 -lXext -lrt -lgdk_pixbuf-2.0 -lpng16 -lgio-2.0 -lpangoft2-1.0 -lharfbuzz -lpango-1.0 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lpcre -lintl -lfontconfig -lexpat -lfreetype -lz -lm -O2 -pthread -Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib -Wl,-rp
ath -Wl,/usr/X11R7/lib -pthread -Wl,-soname -Wl,libprintbackend-lpr.so -o .libs/libprintbackend-lpr.so
libtool: link: ar cru .libs/libprintbackend-lpr.a gtkprintbackendlpr.o
libtool: link: ranlib .libs/libprintbackend-lpr.a
libtool: link: ( cd ".libs" && rm -f "libprintbackend-lpr.la" && ln -s "../libprintbackend-lpr.la" "libprintbackend-lpr.la" )
gmake[4]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules/printbackends/lpr'
gmake[4]: Entering directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules/printbackends'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules/printbackends'
gmake[3]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules/printbackends'
gmake[3]: Entering directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules'
gmake[2]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/modules'
Making all in demos
gmake[2]: Entering directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/demos'
/usr/pkg/bin/gdk-pixbuf-csource --raw --build-list \
apple_red ./apple-red.png \
gnome_foot ./gnome-foot.png \
> test-inline-pixbufs.h \
|| (rm -f test-inline-pixbufs.h && false)
failed to load "./apple-red.png": Couldn't recognize the image file format for file './apple-red.png'
gmake[2]: *** [test-inline-pixbufs.h] Error 1
gmake[2]: Leaving directory `/objdir/tron/x11/gtk2/work.colwyn/gtk+-2.24.20/demos'
The full build output is available here:
http://zhadum.org.uk/~tron/build.log.xz
>How-To-Repeat:
cd pkgsrc/x11/gtk2
make
>Fix:
Not known.
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Fri, 11 Oct 2013 14:48:08 +0200
On Fri, Oct 11, 2013 at 12:45:00PM +0000, Matthias Scheler wrote:
> >Synopsis: "gtk2+" package fails to build after "pango" update
Datapoint: built fine for me on 6.99.24/amd64 today.
Thomas
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Fri, 11 Oct 2013 14:58:39 +0100
On Fri, Oct 11, 2013 at 12:50:00PM +0000, Thomas Klausner wrote:
> The following reply was made to PR pkg/48300; it has been noted by GNATS.
>
> From: Thomas Klausner <wiz@NetBSD.org>
> To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> Cc:
> Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
> Date: Fri, 11 Oct 2013 14:48:08 +0200
>
> On Fri, Oct 11, 2013 at 12:45:00PM +0000, Matthias Scheler wrote:
> > >Synopsis: "gtk2+" package fails to build after "pango" update
>
> Datapoint: built fine for me on 6.99.24/amd64 today.
With native or modular X11?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Fri, 11 Oct 2013 18:19:18 +0200
On Fri, Oct 11, 2013 at 02:00:01PM +0000, Matthias Scheler wrote:
> With native or modular X11?
modular X
[though I wonder what that should change for png files :)]
Thomas
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Fri, 11 Oct 2013 20:16:47 +0200
On Fri, Oct 11, 2013 at 04:20:01PM +0000, Thomas Klausner wrote:
> [though I wonder what that should change for png files :)]
There was some very recent fallout, in the last round of my builds:
cross/avr-libc
graphics/blinkentools
graphics/digikam-kde3
graphics/gmngview
graphics/kdegraphics3
graphics/kphotoalbum
graphics/magicpoint
misc/koffice
print/scribus
www/fengoffice
www/netsurf
I was testing something else, so I haven't published the results. At
least some of those are side effects of the jpeg issue I fixed earlier.
Not sure about the rest.
Joerg
From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, tron@zhadum.org.uk
Cc:
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Sat, 12 Oct 2013 05:09:26 +0900 (JST)
From: Matthias Scheler <tron@zhadum.org.uk>, Date: Fri, 11 Oct 2013 14:00:01 +0000 (UTC)
> The following reply was made to PR pkg/48300; it has been noted by GNATS.
>
> From: Matthias Scheler <tron@zhadum.org.uk>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
> Date: Fri, 11 Oct 2013 14:58:39 +0100
>
> On Fri, Oct 11, 2013 at 12:50:00PM +0000, Thomas Klausner wrote:
> > The following reply was made to PR pkg/48300; it has been noted by GNATS.
> >
> > From: Thomas Klausner <wiz@NetBSD.org>
> > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> > Cc:
> > Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
> > Date: Fri, 11 Oct 2013 14:48:08 +0200
> >
> > On Fri, Oct 11, 2013 at 12:45:00PM +0000, Matthias Scheler wrote:
> > > >Synopsis: "gtk2+" package fails to build after "pango" update
> >
> > Datapoint: built fine for me on 6.99.24/amd64 today.
>
> With native or modular X11?
I can install gtk2+-2.24.20nb2 for NetBSD/amd64 6.1 with native X.
--
Ryo ONODERA // ryo_on@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
From: Matthias Scheler <tron@zhadum.org.uk>
To: Ryo ONODERA <ryo_on@yk.rim.or.jp>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
Date: Fri, 11 Oct 2013 22:25:20 +0100
On Sat, Oct 12, 2013 at 05:09:26AM +0900, Ryo ONODERA wrote:
> > > From: Thomas Klausner <wiz@NetBSD.org>
> > > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
> > > Cc:
> > > Subject: Re: pkg/48300: "gtk2+" package fails to build after "pango" update
> > > Date: Fri, 11 Oct 2013 14:48:08 +0200
> > >
> > > On Fri, Oct 11, 2013 at 12:45:00PM +0000, Matthias Scheler wrote:
> > > > >Synopsis: "gtk2+" package fails to build after "pango" update
> > >
> > > Datapoint: built fine for me on 6.99.24/amd64 today.
> >
> > With native or modular X11?
>
> I can install gtk2+-2.24.20nb2 for NetBSD/amd64 6.1 with native X.
The build under Mac OS X Lion works for me as well. I'll investigate.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Fri, 11 Oct 2013 22:22:21 +0000
State-Changed-Why:
Rebuilding the "gdk-pixbuf2" package fixed the problem. I'm not sure
why that was necessary.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Sat, 12 Oct 2013 21:46:19 +0900
On Sat, 12 Oct 2013 07:22:21 +0900, <tron@netbsd.org> wrote:
> Rebuilding the "gdk-pixbuf2" package fixed the problem. I'm not sure
> why that was necessary.
I cannot resolve the this issue with rebuilding gdk-pixbuf2.
(on NetBSD-5.2-i386 with X11_TYPE=modular)
My gdk-pixbuf2-2.28.2 was built with png-1.6.3, but even if I downgraded
png from 1.6.6 to 1.6.3, same error was happened.
--
OBATA Akio / obache@NetBSD.org
State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 12 Oct 2013 17:26:08 +0000
State-Changed-Why:
sounds like we'd better figure out what causes it
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Sat, 12 Oct 2013 17:27:06 +0000
On Sat, Oct 12, 2013 at 05:26:08PM +0000, dholland@NetBSD.org wrote:
> State-Changed-From-To: closed->open
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sat, 12 Oct 2013 17:26:08 +0000
> State-Changed-Why:
> sounds like we'd better figure out what causes it
for the record, it all built fine for me (with native X) two days ago
(Oct 10)
--
David A. Holland
dholland@netbsd.org
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Sun, 13 Oct 2013 00:48:36 +0200
On Sat, Oct 12, 2013 at 05:30:01PM +0000, David Holland wrote:
> The following reply was made to PR pkg/48300; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs@netbsd.org>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
> Date: Sat, 12 Oct 2013 17:27:06 +0000
>
> On Sat, Oct 12, 2013 at 05:26:08PM +0000, dholland@NetBSD.org wrote:
> > State-Changed-From-To: closed->open
> > State-Changed-By: dholland@NetBSD.org
> > State-Changed-When: Sat, 12 Oct 2013 17:26:08 +0000
> > State-Changed-Why:
> > sounds like we'd better figure out what causes it
>
> for the record, it all built fine for me (with native X) two days ago
> (Oct 10)
Please don't reopen it without assigning someone (yourself? not me) to
it.
It'll be hard to debug if it's not reproducible any longer...
Thomas
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Sun, 13 Oct 2013 06:07:30 +0000
On Sat, Oct 12, 2013 at 10:50:00PM +0000, Thomas Klausner wrote:
> > for the record, it all built fine for me (with native X) two days ago
> > (Oct 10)
>
> Please don't reopen it without assigning someone (yourself? not me) to
> it.
> It'll be hard to debug if it's not reproducible any longer...
?
Obache said it wasn't fixed for him.
--
David A. Holland
dholland@netbsd.org
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Mon, 14 Oct 2013 12:06:09 +0900
I found an issue with shared-mime-info-1.2nb1.
# /usr/pkg/bin/update-mime-database /usr/pkg/share/mime
Bad file descriptor
Then, mimedb is broken.
Downgrade update-mime-database to 1.1 and mimedb is fixed.
After that, gdk-pixbuf-csouce works and gdk2 is built fine.
--
OBATA Akio / obache@NetBSD.org
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Mon, 14 Oct 2013 10:00:29 +0200
On Mon, Oct 14, 2013 at 03:10:00AM +0000, OBATA Akio wrote:
> I found an issue with shared-mime-info-1.2nb1.
>
> # /usr/pkg/bin/update-mime-database /usr/pkg/share/mime
> Bad file descriptor
I think that's an fdatasync failing. I don't understand why though.
Can you check with ktrace if it's the same for you and if you see a
reason?
> Then, mimedb is broken.
How can I check if it's broken or not?
Thanks,
Thomas
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48300 ("gtk2+" package fails to build after "pango" update)
Date: Mon, 14 Oct 2013 17:59:08 +0900
On Mon, 14 Oct 2013 17:05:00 +0900, Thomas Klausner <wiz@netbsd.org> wrote:
> On Mon, Oct 14, 2013 at 03:10:00AM +0000, OBATA Akio wrote:
> > I found an issue with shared-mime-info-1.2nb1.
> >
> > # /usr/pkg/bin/update-mime-database /usr/pkg/share/mime
> > Bad file descriptor
> I think that's an fdatasync failing. I don't understand why though.
> Can you check with ktrace if it's the same for you and if you see a
> reason?
Yes, fdatasync failing.
(NetBSD-5.2 with ffs/wapbl)
> > Then, mimedb is broken.
> How can I check if it's broken or not?
/usr/pkg/share/mime is almost empty, and a */*.new file remain.
--
OBATA Akio / obache@NetBSD.org
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 17 Oct 2013 04:39:52 +0000
State-Changed-Why:
I've just modified shared-mime-info, please try again. (1.2nb2)
[should actually go to obache, but tron filed the report...]
State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 17 Oct 2013 04:49:38 +0000
State-Changed-Why:
Confirmed fixed. Thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.