NetBSD Problem Report #53276
From www@NetBSD.org Fri May 11 12:55:41 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5EDF17A221
for <gnats-bugs@gnats.NetBSD.org>; Fri, 11 May 2018 12:55:41 +0000 (UTC)
Message-Id: <20180511125540.5095A7A26F@mollari.NetBSD.org>
Date: Fri, 11 May 2018 12:55:40 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: graphics/gimp build error with base X11 (on a fresh installation only)
X-Send-Pr-Version: www-1.0
>Number: 53276
>Category: pkg
>Synopsis: graphics/gimp build error with base X11 (on a fresh installation only)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 11 13:00:00 +0000 2018
>Closed-Date:
>Last-Modified: Sun May 20 06:48:49 +0000 2018
>Originator: Mayuresh
>Release: pkgsrc-current last updated Thu May 10 14:03:01 2018 +0000
>Organization:
>Environment:
NetBSD localhost 8.0_RC1 NetBSD 8.0_RC1 (GENERIC.201804191727Z) amd64
>Description:
Detailed description here:
http://mail-index.netbsd.org/pkgsrc-users/2018/05/02/msg026587.html
>How-To-Repeat:
Try to build gimp with base X11 before installing any other packages. The problem is seen going away on its own after some "activity" on pkgsrc, exact nature of which is not clear.
>Fix:
Ian has written what he guesses on above mail thread (link not available at the time of filing this). But he says that's only a guesswork.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 11 May 2018 13:21:18 +0000
State-Changed-Why:
I've updated the fontconfig requirement in gimp's Makefile, like Ian suggested. Did this fix the problem?
From: Mayuresh <mayuresh@acm.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
wiz@NetBSD.org
Subject: Re: pkg/53276 (graphics/gimp build error with base X11 (on a fresh
installation only))
Date: Fri, 11 May 2018 20:02:07 +0530
The error changed:
Error: GIMP configuration failed.
- Error: missing dependency gtk+-2.0 >= 2.24.10
*** Test for GTK+ failed.
- Error: missing dependency cairo >= 1.12.2
- Error: missing dependency pangocairo >= 1.29.4 and pangoft2
*** We require Pango with the optional support for Cairo compiled
in.
- Error: missing dependency fontconfig >= 2.12.4
- Error: missing dependency rsvg >= 2.40.6
- Error: missing dependency poppler-glib >= 0.44.0
On Fri, May 11, 2018 at 01:21:18PM +0000, wiz@NetBSD.org wrote:
> Synopsis: graphics/gimp build error with base X11 (on a fresh installation only)
>
> State-Changed-From-To: open->feedback
> State-Changed-By: wiz@NetBSD.org
> State-Changed-When: Fri, 11 May 2018 13:21:18 +0000
> State-Changed-Why:
> I've updated the fontconfig requirement in gimp's Makefile, like Ian suggested. Did this fix the problem?
>
>
>
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/53276 (graphics/gimp build error with base X11 (on a fresh
installation only))
Date: Fri, 11 May 2018 16:50:10 +0200
On Fri, May 11, 2018 at 08:02:07PM +0530, Mayuresh wrote:
> The error changed:
>
> Error: GIMP configuration failed.
>
> - Error: missing dependency gtk+-2.0 >= 2.24.10
> *** Test for GTK+ failed.
> - Error: missing dependency cairo >= 1.12.2
> - Error: missing dependency pangocairo >= 1.29.4 and pangoft2
> *** We require Pango with the optional support for Cairo compiled
> in.
> - Error: missing dependency fontconfig >= 2.12.4
> - Error: missing dependency rsvg >= 2.40.6
> - Error: missing dependency poppler-glib >= 0.44.0
Sorry, I don't understand this error, fontconfig >= 2.12.4 should now
be pulled in by pkgsrc.
Please look in config.log (or the configure output) and try to find
out more relevant information.
Thanks,
Thomas
From: Mayuresh <mayuresh@acm.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53276 (graphics/gimp build error with base X11 (on a fresh
installation only))
Date: Sat, 12 May 2018 19:23:55 +0530
On Fri, May 11, 2018 at 02:55:01PM +0000, Thomas Klausner wrote:
As a sample I am picking up gtk error and trying to provide as much
information. Please let me know if more information would help.
> > - Error: missing dependency gtk+-2.0 >= 2.24.10
> > *** Test for GTK+ failed.
gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include/freetype2 -I/usr/X11R7/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/incl
ude/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/X11R7/include/libdrm -Wall -Wdeclaration-after-statement
-Wmissing-prototypes -Werror=missing-prototypes -Wmissing-declarations -
Winit-self -Wpointer-arith -Wmissing-format-attribute -Wformat-security
-Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option
-Wreturn-type -I/usr/pkg/include -I/usr/include -I
/usr/X11R7/include/freetype2 -I/usr/X11R7/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include/libdrm -Wl,-E -L/u
sr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib conftest.c -lexecinfo >&5
conftest.c:49:21: fatal error: gtk/gtk.h: No such file or directory
# pkg_info | grep gtk.\+
gtk2+-2.24.32nb4 GIMP Toolkit v2 - libraries for building X11 user
interfaces
gtk3+-3.22.30 GIMP Toolkit v3 - libraries for building X11 user
interfaces
# find ../ -name gtk.h
../.buildlink/include/gtk-2.0/gtk/gtk.h
# ls -ld ../.x11-buildlink/include/gtk-*
drwxr-xr-x 4 root wheel 512 May 12 19:11
../.x11-buildlink/include/gtk-2.0
drwxr-xr-x 3 root wheel 512 May 12 19:11
../.x11-buildlink/include/gtk-unix-print-2.0
X11_TYPE is not set in /etc/mk.conf (was never set).
Mayuresh
State-Changed-From-To: feedback->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 20 May 2018 06:48:49 +0000
State-Changed-Why:
feedback provided.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.