NetBSD Problem Report #44765

From hf@bounce.nt.e-technik.tu-darmstadt.de  Thu Mar 24 14:45:01 2011
Return-Path: <hf@bounce.nt.e-technik.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0A7F963B8E3
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 Mar 2011 14:45:01 +0000 (UTC)
Message-Id: <201103241444.p2OEis8S028370@bounce.nt.e-technik.tu-darmstadt.de>
Date: Thu, 24 Mar 2011 15:44:54 +0100 (CET)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: gnuplot build fails because netbsd-5 X11 not up to speed
X-Send-Pr-Version: 3.95

>Number:         44765
>Category:       pkg
>Synopsis:       gnuplot build fails because netbsd-5 X11 not up to speed
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 24 14:50:00 +0000 2011
>Closed-Date:    
>Last-Modified:  Tue Oct 18 18:25:01 +0000 2011
>Originator:     Hauke Fath
>Release:        NetBSD 5.1_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:


System: NetBSD bounce 5.1_STABLE NetBSD 5.1_STABLE (BOUNCE) #0: Wed Dec 22 14:53:22 CET 2010 hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:

	On a netbsd-5 server machine, building graphics/gnuplot fails
	with

[...]
cc  -O2 -mfpmath=sse -msse3 -march=prescott -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -mfpmath=sse -msse3 -march=prescott  -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -pthread -L/usr/X11R7/lib  -o gnuplot alloc.o axis.o  binary.o breaders.o bitmap.o  color.o command.o contour.o  datafile.o dynarray.o eval.o  fit.o gadgets.o getcolor.o  graph3d.o graphics.o help.o  hidden3d.o history.o internal.o  interpol.o matrix.o misc.o  mouse.o parse.o plot.o  plot2d.o plot3d.o pm3d.o  readline.o save.o scanner.o  set.o show.o specfun.o  standard.o stdfn.o tables.o  tabulate.o term.o time.o  unset.o util.o util3d.o  variable.o version.o   gp_cairo.o  gp_cairo_helpers.o -lplot -lcurses -ledit  -lz -lgd -ljpeg -lfontconfig -lfreetype -lpng15 -lz -lm -ljpeg -!
 lfreetype -lpng   -lm  -Wl,-R/usr/pkg/lib -pthread -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
/var/obj/pkgsrc/graphics/gnuplot/work/.buildlink/lib/libcairo.so: undefined reference to `XRenderCreateRadialGradient'
/var/obj/pkgsrc/graphics/gnuplot/work/.buildlink/lib/libcairo.so: undefined reference to `XRenderCreateLinearGradient'
*** Error code 1

	Every package in sight has been updated without effect. Most
	likely related to lacking support of X11 features in NetBSD
	releases.

	Build logs are at
<http://www.spg.tu-darmstadt.de/~hf/pkgsrc/gnuplot-nbsd5.tgz>.

>How-To-Repeat:

	Set up a netbsd-5 machine, build gnuplot.

>Fix:
	Yes, please.


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: adam@NetBSD.org
State-Changed-When: Fri, 25 Mar 2011 12:43:56 +0000
State-Changed-Why:
Can't reproduce on fresh NetBSD 5.1_STABLE.
Do you have the latest graphics/cairo installed?
What's your X11_TYPE? (make -V X11_TYPE)


From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, adam@NetBSD.org
Subject: Re: pkg/44765 (gnuplot build fails because netbsd-5 X11 not up to
 speed)
Date: Tue, 29 Mar 2011 21:47:37 +0200

 At 12:43 Uhr +0000 25.03.2011, adam@NetBSD.org wrote:
 >Do you have the latest graphics/cairo installed?

 Yes. As I mentioned, I have rebuilt everything remotely related, without
 effect.

 >What's your X11_TYPE? (make -V X11_TYPE)

 % pwd
 /usr/src/pkgsrc/graphics/gnuplot
 % make -V X11_TYPE
 native
 %

 HTH,
 	hauke

 -- 
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: adam@NetBSD.org, pkg-manager@NetBSD.org
Subject: Re: pkg/44765 (gnuplot build fails because netbsd-5 X11 not up to
 speed)
Date: Thu, 31 Mar 2011 11:13:12 +0200

 On 03/25/11 13:43, adam@NetBSD.org wrote:
 > Synopsis: gnuplot build fails because netbsd-5 X11 not up to speed
 >
 > Can't reproduce on fresh NetBSD 5.1_STABLE.
 > Do you have the latest graphics/cairo installed?
 > What's your X11_TYPE? (make -V X11_TYPE)

 After deleting a stale Xrender package (see 
 <http://mail-index.netbsd.org/pkgsrc-users/2010/09/26/msg012896.html> -- 
 maybe cairo should conflict with Xrender?), the error message has changed to

 [...]
 cc -DHAVE_CONFIG_H -I. -I..  -I../term -I../term 
 -DBINDIR=\"/usr/pkg/bin\" 
 -DX11_DRIVER_DIR=\"/usr/pkg/libexec/gnuplot/4.4\" 
 -DGNUPLOT_PS_DIR=\"/usr/pkg/share/gnuplot/4.4/PostScript\" 
 -DGNUPLOT_JS_DIR=\"/usr/pkg/share/gnuplot/4.4/js\" 
 -DGNUPLOT_LUA_DIR=\"/usr/pkg/share/gnuplot/4.4/lua\" 
 -DCONTACT=\"gnuplot-bugs@lists.sourceforge.net\" 
 -DHELPFILE=\"/usr/pkg/share/gnuplot/4.4/gnuplot.gih\" 
 -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" 
 -DXAPPLRESDIR=\"/etc/X11/app-defaults/\"  -I/usr/pkg/include 
 -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 
 -I/usr/X11R7/include -I/usr/pkg/include -I/usr/pkg/include -D_REENTRANT 
 -pthread -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 
 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 
 -I/usr/pkg/include/libpng15 -I/usr/pkg/include 
 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 
 -I/usr/pkg/lib/glib-2.0/include  -O2 -mfpmath=sse -msse3 -march=prescott 
 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
 -I/usr/X11R7/include/freetype2 -c -DGPLT_X11_MODE -o getcolor_x11.o 
 ./getcolor.c
 cc  -O2 -mfpmath=sse -msse3 -march=prescott -I/usr/pkg/include 
 -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 
 -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib 
 -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib 
 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R7/lib 
 -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -pthread -L/usr/X11R7/lib -o 
 gnuplot_x11 gplt_x11.o  gpexecute.o getcolor_x11.o -L/usr/X11R7/lib 
 -R/usr/X11R7/lib -lX11 -lm  -Wl,-R/usr/pkg/lib -pthread 
 -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lpangocairo-1.0 
 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig 
 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
 /var/obj/pkgsrc/graphics/gnuplot/work/.buildlink/lib/libcairo.so: 
 undefined reference to `pixman_image_set_destroy_function'
 /var/obj/pkgsrc/graphics/gnuplot/work/.buildlink/lib/libcairo.so: 
 undefined reference to `pixman_image_composite32'
 /var/obj/pkgsrc/graphics/gnuplot/work/.buildlink/lib/libcairo.so: 
 undefined reference to `pixman_image_fill_boxes'
 *** Error code 1

 -- again, I have de-installed and rebuilt anything remotely relevant 
 without changing the outcome. This is a server, so it doesn't have many 
 X11 related packages installed to begin with.

 	hauke

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, adam@NetBSD.org
Subject: Re: pkg/44765 (gnuplot build fails because netbsd-5 X11 not up to
 speed)
Date: Thu, 31 Mar 2011 15:24:55 +0200

 At 12:43 Uhr +0000 25.03.2011, adam@NetBSD.org wrote:
 >Can't reproduce on fresh NetBSD 5.1_STABLE.

 See also <http://mail-index.netbsd.org/pkgsrc-users/2011/03/23/msg014002.html>.

 	hauke

 -- 

From: =?iso-8859-2?Q?Adam_Ciarci=F1ski?= <adam@NetBSD.org>
To: Hauke Fath <hf@spg.tu-darmstadt.de>
Cc: gnats-bugs@NetBSD.org,
 pkg-manager@NetBSD.org
Subject: Re: pkg/44765 (gnuplot build fails because netbsd-5 X11 not up to speed)
Date: Thu, 31 Mar 2011 15:44:25 +0200

 > -- again, I have de-installed and rebuilt anything remotely relevant =
 without changing the outcome. This is a server, so it doesn't have many =
 X11 related packages installed to begin with.

 Have you got KG_DEFAULT_OPTIONS=3D-x11?

 Looks like -lpixman is missing, and it's not the problem with gnuplot, =
 but buildlink'ing cairo.

 Kind regards,
 Adam=

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: =?iso-8859-2?Q?Adam_Ciarci=F1ski?= <adam@NetBSD.org>
Cc: gnats-bugs@NetBSD.org, pkg-manager@NetBSD.org
Subject: Re: pkg/44765 (gnuplot build fails because netbsd-5 X11 not up to
 speed)
Date: Thu, 31 Mar 2011 16:11:10 +0200

 --============_-910541823==_============
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit

 At 15:44 Uhr +0200 31.03.2011, =?iso-8859-2?Q?Adam_Ciarci=F1ski?= wrote:
 >> -- again, I have de-installed and rebuilt anything remotely relevant
 >>without changing the outcome. This is a server, so it doesn't have many
 >>X11 related packages installed to begin with.
 >
 >Have you got KG_DEFAULT_OPTIONS=-x11?

 Not that I know.

 Attached is my mk.conf.

 	hauke


 -- 
      The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281
 --============_-910541823==_============
 Content-Id: <p06240803c9ba3ba5e637@[130.83.118.66].0.0>
 Content-Type: multipart/appledouble; boundary="============_-910541823==_D============"

 --============_-910541823==_D============
 Content-Transfer-Encoding: base64
 Content-Type: application/applefile; name="%bounce-mk.conf"
 Content-Disposition: attachment; filename="%bounce-mk.conf"
  ; modification-date="Thu, 31 Mar 2011 16:09:23 +0200"

 AAUWBwACAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAADAAAAPgAAAA4AAAAJAAAATAAAACAA
 AAAIAAAAbAAAABBib3VuY2UtbWsuY29uZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 AAAAAAAAFSdjsxUnY7NLbQwAFSdkIQ==
 --============_-910541823==_D============
 Content-Type: application/octet-stream; name="bounce-mk.conf"
 Content-Disposition: attachment; filename="bounce-mk.conf"
 Content-Transfer-Encoding: base64

 IyAkSWQ6IG1rLmNvbmYsdiAxLjE2IDIwMTAvMTIvMjIgMTU6NTk6MTAgaGYgRXhwIGhm
 ICQKIwojIG1ha2UoMSkgY29uZmlnIGZpbGUKCiMgUGFja2FnZXMKCi5pZmRlZiBCU0Rf
 UEtHX01LCgojIFNpbmNlIHVuaW9uZnMgYmVoYXZlcyBpbmNyZWFzaW5nbHkgZG9kZ3ks
 IHVzZSBhIHJlYWQtb25seSAKIyBzb3VyY2UgdHJlZSwgb3B0aW9uYWxseSBtb3VudGVk
 IG9uIC91c3Ivc3JjLiAKIyBLZWVwIGRpc3RmaWxlcyBsb2NhbGx5LCB0aG91Z2gsIHRv
 IGF2b2lkIHdyaXRpbmcgdG8gaW50ZXJuYWwgCiMgc2VydmVycyBzaGFyZS4KCkxPQ0FM
 QkFTRSA9CQkvdXNyL3BrZwoKUEtHU1JDRElSID0JCS91c3Ivc3JjL3BrZ3NyYwpXUktP
 QkpESVIgPQkJL3Zhci9vYmovcGtnc3JjCkRJU1RESVIgPQkJJHtXUktPQkpESVJ9L3Br
 Zy1kaXN0ZmlsZXMKUEFDS0FHRVMgPQkJJHtXUktPQkpESVJ9L3BhY2thZ2VzCgpQS0df
 U1lTQ09ORkJBU0UgPSAgICAgICAvZXRjL3BrZwojQ0xFQU5ERVBFTkRTID0gICAgICAg
 ICAgeWVzCgojIEZvciBwa2dfcm9sbGluZy1yZXBsYWNlICYgZnJpZW5kcwpBTExPV19W
 VUxORVJBQkxFX1BBQ0tBR0VTID0geWVzCgpBQ0NFUFRBQkxFX0xJQ0VOU0VTPSAgICBz
 aGFyZXdhcmUgbm8tY29tbWVyY2lhbC11c2Ugbm8tcHJvZml0CkFDQ0VQVEFCTEVfTElD
 RU5TRVMrPSAgIGpkay1saWNlbnNlCkFDQ0VQVEFCTEVfTElDRU5TRVMrPSAgIHNlbmRt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1VSRV9BUkdTICs9CS0td2l0aC1zeXNsb2ctZmFjaWxpdHk9TE9HX0xP
 Q0FMNQouZW5kaWYKCi5pZiBleGlzdHMoJHtMT0NBTEJBU0V9L2Jpbi9zdWRvKQpTVV9D
 TUQgPQkJJHtMT0NBTEJBU0V9L2Jpbi9zdWRvIC9iaW4vc2ggLWMKLmVuZGlmCgpQS0df
 REVWRUxPUEVSID0gMQoKLmVsc2UKCiMgcGtnc3JjIG5hbWVzcGFjZSBpbnRydXNpb24h
 CgouZW5kaWYKCiMgZGV2ZWwvY3B1ZmxhZ3MKLnNpbmNsdWRlICIvdXNyL3BrZy9zaGFy
 ZS9tay9jcHVmbGFncy5tayIK
 --============_-910541823==_D============--
 --============_-910541823==_============--

State-Changed-From-To: feedback->open
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Tue, 05 Apr 2011 08:33:58 +0000
State-Changed-Why:
I provided feedback.


From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44765
Date: Tue, 18 Oct 2011 22:17:49 +0400

 -lpixman-1 is missing from LIBS.  Maybe cairo's *.pc files are broken.

 -- 
 Sergey Svishchev

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.