Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319397 - paraview-3.6.2 does not build with libpng-1.4.2
Summary: paraview-3.6.2 does not build with libpng-1.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Dittrich (RETIRED)
URL: sci@gentoo.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 11:26 UTC by Helmut Jarausch
Modified: 2010-05-14 19:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2010-05-12 11:26:16 UTC
Re-emerging sci-visualization/paraview-3.6.2 after emerging media-libs/libpng-1.4.2 fails
/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/VTK/IO/vtkPNGReader.cxx:119: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope

and many more such errors. (it had built just fine with libpng-1.2.43)


Reproducible: Always




emerge --info sci-visualization/paraview
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-ck-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-ck-r1-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 12 May 2010 06:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/java-overlay /usr/local/portage/layman/kde-sunset"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 hal iconv ipv6 jpeg kde lapack lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 readline reflection sdl session smp spell spl sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-visualization/paraview-3.6.2 was built with the following:
USE="examples gui mpi (multilib) python -boost -cg -doc -mysql -odbc -overview -plugins -postgres -streaming" 
CFLAGS="-mtune=native -O2 -msse3 -pipe -DH5_USE_16_API"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe -DH5_USE_16_API"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-12 12:59:15 UTC
+  12 May 2010; Samuli Suominen <ssuominen@gentoo.org> paraview-3.6.2.ebuild,
+  +files/paraview-3.6.2-libpng14.patch:
+  Fix building with libpng14 wrt #319397 by Helmut Jarausch.

@sci: psst, you might want to clean up old versions from tree...
Comment 2 Juergen Rose 2010-05-12 14:50:47 UTC
I have the same issue. Where can I find the patch?
Comment 3 Helmut Jarausch 2010-05-12 15:32:05 UTC
(In reply to comment #2)
> I have the same issue. Where can I find the patch?
> 

Just resync.

Thanks Samuli!
Comment 4 Juergen Rose 2010-05-14 19:36:16 UTC
Now 'emerge paraview' fails for me with:
...
cd /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3_build/VTK/Infovis && /usr/bin/x86_64-pc-linux-gnu-g++  -DvtkInfovis_EXPORTS -DVTK_PYTHON_BUILD -DVTK_IN_VTK  -DNDEBUG -DNDEBUG -march=nocona -O2 -pipe -fomit-frame-pointer -DH5_USE_16_API  -Wno-deprecated  -Wno-deprecated -fPIC 
...
 -c /var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/VTK/Infovis/vtkBoostBiconnectedComponents.cxx
/var/tmp/portage/sci-visualization/paraview-3.6.2/work/ParaView3/VTK/Infovis/vtkBoostBiconnectedComponents.cxx:35:41: error: boost/vector_property_map.hpp: No such file or directory
make[2]: *** [VTK/Infovis/CMakeFiles/vtkInfovis.dir/vtkBoostBiconnectedComponents.o] Error 1

If I try to emerge vtk-5.4.2-r1, I get a similar error. Which disappeares, if I use the vtk-5.4.2-boost-vector_property_map.patch.