Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 195813
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Allar Õunapuu <allarpuu@yahoo.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195813 depends on: Show dependency tree
Bug 195813 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-14 10:52 0000
I'm urged to add line
'>media-libs/libpng-1.2.18-r1'
to /etc/portage/package.mask
b'cause if I'm installing new version, libpng-1.2.21-r2, It'll break graphical
system.
'/etc/init.d/xdm restart' will generally do it. Easier testing is trying to
start some graphical program from console.

More explicit information is given after $realplayer -
/opt/RealPlayer/realplay.bin: relocation error:
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: symbol
png_create_read_struct_2, version PNG12_0 not defined in file libpng12.so.0
with link time reference

Revdep-rebuild does nothing for fixing It.

I tried to re-emerge gtk+, since
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so belongs to It, but this
process complains about missing pango (eix pango gives 'Installed versions: 
1.16.5(13:08:31 14.10.2007)(-debug -doc)'):
//
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12   -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
//

Re-Emergng Pango builds it w/o cairo support and there is no way to re-build
such file as pangocairo.so (ie pango with cairo support) without masking new
version of libpng and re-establishing old order of things.

------- Comment #1 From Allar Õunapuu 2007-10-14 10:54:32 0000 -------
PS Here is my emerge --info:
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r8-2 i686)
=================================================================
System uname: 2.6.22-gentoo-r8-2 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 13 Oct 2007 07:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="i686-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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/portage/distdir"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ "
LANG="et_EE.UTF-8"
LC_ALL="et_EE.UTF-8"
LINGUAS="et en"
MAKEOPTS="-j2"
PKGDIR="/portage/i686"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/portage/tmp"
PORTDIR="/portage/portage"
PORTDIR_OVERLAY="/portage/portage/local/layman/pro-audio
/portage/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dri dvd dvdr
encode fortran gdbm gpm gtk2 hal iconv ipv6 isdnlog jack kde ldap midi mp3
mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre
perl png pppd python qt3 qt4 readline reflection session spl ssl tcpd
truetype-fonts type1-fonts unicode v4l vorbis x86 xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
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 mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="et en" USERLAND="GNU" VIDEO_CARDS="nvidia nv mesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Carsten Lohrke 2007-10-14 12:17:10 0000 -------
$ nm /usr/lib/debug/usr/lib/libpng12.so.0.21.0.debug | grep
png_create_read_struct_2
00013280 T png_create_read_struct_2


It's there and realplayer works here, so you'll face some weird local problem.

You shouldn't use any version older than libpng-1.2.21-r3, because of security
issues.

------- Comment #3 From Jakub Moc (RETIRED) 2007-10-14 13:12:50 0000 -------
WFM as well.

------- Comment #4 From Allar Õunapuu 2007-10-14 14:45:15 0000 -------
(In reply to comment #2)
> $ nm /usr/lib/debug/usr/lib/libpng12.so.0.21.0.debug | grep
> png_create_read_struct_2
> 00013280 T png_create_read_struct_2
> 
> 
> It's there and realplayer works here, so you'll face some weird local problem.
> 
> You shouldn't use any version older than libpng-1.2.21-r3, because of security
> issues.
> 

This is local(e) problem, indeed. After '$export LC_ALL=POSIX' and emerging new
libpng-1.2.21-r3 problems vanished. Without locale change beforehand the new
-r3 version behaved like 1.2.21-r2, ie breaked down graphical programs.

btw, while
$nm /usr/lib/libpng12.so.0.21.0 gives
'nm: /usr/lib/libpng12.so.0.21.0: no symbols'
realplayer works neverthless.


So there is some locale-mess in libpng-packet. I have had trouble with it under
estonian UTF-8 locale periodically since the beginning of using Linux systems.

------- Comment #5 From Carsten Lohrke 2007-10-14 15:38:04 0000 -------
(In reply to comment #4)
> This is local(e) problem, indeed. After '$export LC_ALL=POSIX' and emerging new
> libpng-1.2.21-r3 problems vanished. Without locale change beforehand the new
> -r3 version behaved like 1.2.21-r2, ie breaked down graphical programs.

Right, can reproduce it here. Build test fails with lots of undefined
references as well, using et_EE.UTF-8.

> btw, while
> $nm /usr/lib/libpng12.so.0.21.0 gives
> 'nm: /usr/lib/libpng12.so.0.21.0: no symbols'

You'll have them in /usr/lib/debug/

------- Comment #6 From SpanKY 2007-10-14 21:46:20 0000 -------
added a fix to 1.2.22, thanks for the report

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug