pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53772: gtk2 fails to recognize png file during build



The following reply was made to PR pkg/53772; it has been noted by GNATS.

From: Alexander Garvin <alexwgarvin%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53772: gtk2 fails to recognize png file during build
Date: Mon, 10 Dec 2018 18:27:14 -0500

 Sure!
 
 $: cat work/gdk-pixbuf-2.36.12/config.log  | grep png
 configure:18942: checking for libpng16
 GDK_PIXBUF_DEP_CFLAGS='-I/usr/pkg/include/glib/glib-2.0 
 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread 
 -I/usr/pkg/include/libpng16  '
 GDK_PIXBUF_DEP_LIBS='-L/usr/pkg/lib -lgmodule-2.0 -pthread -lpthread 
 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpng16 -Wl,-R/usr/pkg/lib -lz -lm'
 LIBPNG='-L/usr/pkg/lib -lpng16 -Wl,-R/usr/pkg/lib -lz '
 PNG_DEP_CFLAGS_PACKAGES='libpng16'
 
 
 
 On 12/10/18 1:35 PM, Leonardo Taccari wrote:
 > The following reply was made to PR pkg/53772; it has been noted by GNATS.
 >
 > From: Leonardo Taccari <leot%NetBSD.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: pkg/53772: gtk2 fails to recognize png file during build
 > Date: Mon, 10 Dec 2018 19:32:29 +0100
 >
 >   Hello Alexander,
 >   
 >   alexwgarvin%gmail.com@localhost writes:
 >   > [...]
 >   > >Environment:
 >   > Linux -- 4.19.5-300.fc29.x86_64 #1 SMP Tue Nov 27 19:29:23 UTC 2018 x86_64 GNU/Linux
 >   > >Description:
 >   > gtk2 fails to recognize file format for apple-red.png. Possibly the same issue as:
 >   > http://mail-index.netbsd.org/pkgsrc-bugs/2009/08/28/msg033613.html
 >   > I tried updating/rebuilding libpng (graphics/png) but still ran into the same issue.
 >   >
 >   >
 >   > Making all in demos
 >   > make[2]: Entering directory '/usr/pkgsrc/x11/gtk2/work/gtk+-2.24.32/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Ã?â??
 >   > Makefile:1018: recipe for target 'test-inline-pixbufs.h' failed
 >   > make[2]: *** [test-inline-pixbufs.h] Error 1
 >   > make[2]: Leaving directory '/usr/pkgsrc/x11/gtk2/work/gtk+-2.24.32/demos'
 >   > Makefile:733: recipe for target 'all-recursive' failed
 >   > make[1]: *** [all-recursive] Error 1
 >   > make[1]: Leaving directory '/usr/pkgsrc/x11/gtk2/work/gtk+-2.24.32'
 >   > Makefile:625: recipe for target 'all' failed
 >   > make: *** [all] Error 2
 >   > *** Error code 2
 >   > [...]
 >   
 >   From a quick (and maybe incorrect!) grep-ing it seems that x11/gtk2
 >   does not directly need png... However, graphics/gdk-pixbuf2 needs
 >   it and from your error log it seems that the error comes from it.
 >   
 >   Can you please try a `bmake configure' of graphics/gdk-pixbuf2 and
 >   share config.log line regarding `png'?
 >   
 >   
 >   Thank you!
 >   
 


Home | Main Index | Thread Index | Old Index