FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 10-13-2011, 10:01 PM
Samuli Suominen
 
Default rfc: news item for png15

small news item for stable users. lets keep it simple...

Title: Upgrade to libpng15
Author: Samuli Suominen <ssuominen@gentoo.org>
Content-Type: text/plain
Posted: 2011-10-14
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <media-libs/libpng-1.5

After upgrading from libpng14 to libpng15 it's important that you rebuild
cairo and gdk-pixbuf soon as possible if they are installed.

Then you can proceed with rebuilding rest of the software against the new
library:

# revdep-rebuild --library libpng14.so.14

In case of failure, try skipping the failing package and rebuilding it
later in the process.

If you find packages not building with message "ld: cannot find -lpng14",
they are likely caused by broken libtool archives (.la) in your system.

You can identify those files with following one-liner:

# find /usr/ -name '*.la' -exec grep png14 {} +

More information and help is available at following forums post:

http://forums.gentoo.org/viewtopic-t-894950.html
 
Old 10-14-2011, 12:30 AM
Peter Volkov
 
Default rfc: news item for png15

В Птн, 14/10/2011 в 01:01 +0300, Samuli Suominen пишет:
> small news item for stable users. lets keep it simple...

I think it's better to put all knowledge from forum post inside:
1. --keep-going option for revdep-rebuild.
2. better find:
find /usr -name "*.la" -o -name "*.pc" -o -name "*-config" -exec grep -H
png14 {} ;
or even better to provide one-liner for user's convenience.

--
Peter.
 
Old 10-14-2011, 01:59 AM
Ryan Hill
 
Default rfc: news item for png15

On Fri, 14 Oct 2011 01:01:50 +0300
Samuli Suominen <ssuominen@gentoo.org> wrote:

> Title: Upgrade to libpng15
> Author: Samuli Suominen <ssuominen@gentoo.org>
> Content-Type: text/plain
> Posted: 2011-10-14
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <media-libs/libpng-1.5
>
> After upgrading from libpng14 to libpng15 it's important that you rebuild
> cairo and gdk-pixbuf soon as possible if they are installed.
^ as
> Then you can proceed with rebuilding rest of the software against the new
^ the
> library:
>
> # revdep-rebuild --library libpng14.so.14
>
> In case of failure, try skipping the failing package and rebuilding it
> later in the process.

How?

> If you find packages not building with message "ld: cannot find -lpng14",
^ the
> they are likely caused by broken libtool archives (.la) in your system.
>
> You can identify those files with following one-liner:
>
> # find /usr/ -name '*.la' -exec grep png14 {} +
>
> More information and help is available at following forums post:
^ the ^-s?
>
> http://forums.gentoo.org/viewtopic-t-894950.html
>



--
fonts, gcc-porting, it makes no sense how it makes no sense
toolchain, wxwidgets but i'll take it free anytime
@ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
 
Old 10-14-2011, 02:48 AM
Ryan Hill
 
Default rfc: news item for png15

On Fri, 14 Oct 2011 01:01:50 +0300
Samuli Suominen <ssuominen@gentoo.org> wrote:

> Title: Upgrade to libpng15
> Author: Samuli Suominen <ssuominen@gentoo.org>
> Content-Type: text/plain
> Posted: 2011-10-14
> Revision: 1
> News-Item-Format: 1.0
> Display-If-Installed: <media-libs/libpng-1.5
>
> After upgrading from libpng14 to libpng15 it's important that you rebuild
> cairo and gdk-pixbuf soon as possible if they are installed.
^ as
>
> Then you can proceed with rebuilding rest of the software against the new
^ the
> library:
>
> # revdep-rebuild --library libpng14.so.14
>
> In case of failure, try skipping the failing package and rebuilding it
> later in the process.

How?

> If you find packages not building with message "ld: cannot find -lpng14",
^ the
> they are likely caused by broken libtool archives (.la) in your system.
>
> You can identify those files with following one-liner:
>
> # find /usr/ -name '*.la' -exec grep png14 {} +
>
> More information and help is available at following forums post:
^ the ^-s?
>
> http://forums.gentoo.org/viewtopic-t-894950.html
>



--
fonts, gcc-porting, it makes no sense how it makes no sense
toolchain, wxwidgets but i'll take it free anytime
@ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
 
Old 10-14-2011, 05:51 AM
Michał Górny
 
Default rfc: news item for png15

On Fri, 14 Oct 2011 04:30:56 +0400
Peter Volkov <pva@gentoo.org> wrote:

> 2. better find:
> find /usr -name "*.la" -o -name "*.pc" -o -name "*-config" -exec grep
> -H png14 {} ;

find /usr -name "*.la" -o -name "*.pc" -o -name "*-config"
-exec grep -H png14 {} +

This is going to take less grep calls, and it is easier to type too.

--
Best regards,
Michał Górny
 
Old 10-14-2011, 08:46 AM
Pacho Ramos
 
Default rfc: news item for png15

El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribi:
> On Fri, 14 Oct 2011 01:01:50 +0300
> Samuli Suominen <ssuominen@gentoo.org> wrote:
>
> > Title: Upgrade to libpng15
> > Author: Samuli Suominen <ssuominen@gentoo.org>
> > Content-Type: text/plain
> > Posted: 2011-10-14
> > Revision: 1
> > News-Item-Format: 1.0
> > Display-If-Installed: <media-libs/libpng-1.5
> >
> > After upgrading from libpng14 to libpng15 it's important that you rebuild
> > cairo and gdk-pixbuf soon as possible if they are installed.
> ^ as
> >
> > Then you can proceed with rebuilding rest of the software against the new
> ^ the
> > library:
> >
> > # revdep-rebuild --library libpng14.so.14
> >
> > In case of failure, try skipping the failing package and rebuilding it
> > later in the process.
>
> How?
>

Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
-- --keep-going" two times :-/

> > If you find packages not building with message "ld: cannot find -lpng14",
> ^ the
> > they are likely caused by broken libtool archives (.la) in your system.
> >
> > You can identify those files with following one-liner:
> >
> > # find /usr/ -name '*.la' -exec grep png14 {} +
> >
> > More information and help is available at following forums post:
> ^ the ^-s?
> >
> > http://forums.gentoo.org/viewtopic-t-894950.html
> >
>
>
>
 
Old 10-14-2011, 08:48 AM
Pacho Ramos
 
Default rfc: news item for png15

El vie, 14-10-2011 a las 01:01 +0300, Samuli Suominen escribi:
> small news item for stable users. lets keep it simple...
>

Is early rebuilding of gdk-pixbuf still needed now that fixed version
will be stabilized before libpng15?
 
Old 10-14-2011, 08:53 AM
Dale
 
Default rfc: news item for png15

Pacho Ramos wrote:

El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribi:

On Fri, 14 Oct 2011 01:01:50 +0300
Samuli Suominen<ssuominen@gentoo.org> wrote:


Title: Upgrade to libpng15
Author: Samuli Suominen<ssuominen@gentoo.org>
Content-Type: text/plain
Posted: 2011-10-14
Revision: 1
News-Item-Format: 1.0
Display-If-Installed:<media-libs/libpng-1.5

After upgrading from libpng14 to libpng15 it's important that you rebuild
cairo and gdk-pixbuf soon as possible if they are installed.

^ as

Then you can proceed with rebuilding rest of the software against the new

^ the

library:

# revdep-rebuild --library libpng14.so.14

In case of failure, try skipping the failing package and rebuilding it
later in the process.

How?


Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
-- --keep-going" two times :-/




I tested that and it just wanted to rebuild the same packages, twice.
On mine, libreoffice was one of them. Recompiling that twice on a older
system may annoy some. ;-)


Dale

:-) :-)
 
Old 10-14-2011, 09:03 PM
Pacho Ramos
 
Default rfc: news item for png15

El vie, 14-10-2011 a las 03:53 -0500, Dale escribi:
> Pacho Ramos wrote:
> > El jue, 13-10-2011 a las 20:48 -0600, Ryan Hill escribi:
> >> On Fri, 14 Oct 2011 01:01:50 +0300
> >> Samuli Suominen<ssuominen@gentoo.org> wrote:
> >>
> >>> Title: Upgrade to libpng15
> >>> Author: Samuli Suominen<ssuominen@gentoo.org>
> >>> Content-Type: text/plain
> >>> Posted: 2011-10-14
> >>> Revision: 1
> >>> News-Item-Format: 1.0
> >>> Display-If-Installed:<media-libs/libpng-1.5
> >>>
> >>> After upgrading from libpng14 to libpng15 it's important that you rebuild
> >>> cairo and gdk-pixbuf soon as possible if they are installed.
> >> ^ as
> >>> Then you can proceed with rebuilding rest of the software against the new
> >> ^ the
> >>> library:
> >>>
> >>> # revdep-rebuild --library libpng14.so.14
> >>>
> >>> In case of failure, try skipping the failing package and rebuilding it
> >>> later in the process.
> >> How?
> >>
> > Maybe we could suggest to run "revdep-rebuild --library libpng14.so.14
> > -- --keep-going" two times :-/
> >
> >
>
> I tested that and it just wanted to rebuild the same packages, twice.
> On mine, libreoffice was one of them. Recompiling that twice on a older
> system may annoy some. ;-)
>
> Dale
>
> :-) :-)
>
>

It shouldn't, I am sure I have used this some times before and it worked
as expected, but I don't know when revdep-rebuild cache files are
removed (and then, broken packages recalculated) :-/

Any revdep-rebuild maintainer here to clarify this please? Thanks
 
Old 10-14-2011, 09:48 PM
Dale
 
Default rfc: news item for png15

Pacho Ramos wrote:
It shouldn't, I am sure I have used this some times before and it
worked as expected, but I don't know when revdep-rebuild cache files
are removed (and then, broken packages recalculated) :-/ Any
revdep-rebuild maintainer here to clarify this please? Thanks


I always run revdep-rebuild with the -i option. It starts fresh each
time or is supposed to anyway. This is a snipped list of what was
rebuilt the first time and that it says it wants to rebuild again as I
just ran it again:


root@fireball / # revdep-rebuild -i --library libpng14.so.14 -- -a -j5
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries using libpng14.so.14
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Checking dynamic linking
[ 8% ] * found /usr/bin/enblend
<<<< SNIPPED >>>>
[ 100% ]
* Generated new 3_broken.rr
<<<< SNIPPED >>>>
* All prepared. Starting rebuild
emerge --complete-graph=y --oneshot --with-bdeps y --backtrack=30
--keep-going -v -D -a -j5 app-emulation/emul-linux-x86-baselibs:0
app-emulation/emul-linux-x86-gtklibs:0
app-emulation/emul-linux-x86-medialibs:0 app-office/libreoffice:0
app-text/ghostscript-gpl:0 app-text/podofo:0 app-text/poppler:0
dev-db/libiodbc:0 dev-lang/R:0 dev-python/notify-python:0
gnome-base/libglade:2.0 gnome-base/librsvg:2 gnome-extra/polkit-gnome:0
kde-base/kdelibs:4 kde-base/ksplash:4 media-gfx/enblend:0
media-gfx/gimp:2 media-gfx/hugin:0 media-gfx/imagemagick:0
media-libs/gd:2 media-libs/gegl:0 media-libs/imlib2:0
media-libs/libpano13:0 media-libs/libwmf:0 media-libs/netpbm:0
media-libs/openjpeg:0 media-libs/plotutils:0 media-libs/sdl-image:0
media-libs/vigra:0 media-video/dvdauthor:0 media-video/mplayer:0
net-libs/webkit-gtk:2 net-print/cups:0 sys-libs/slang:0
www-client/links:2 www-client/seamonkey:0 x11-libs/cairo:0
x11-libs/fltk:1 x11-libs/fox:1.6 x11-libs/gdk-pixbuf:2 x11-libs/qt-gui:4
x11-libs/wxGTK:2.8

..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] app-emulation/emul-linux-x86-baselibs-20110722
USE="-development" 0 kB
[ebuild R ] sys-libs/slang-2.2.2 USE="pcre png readline zlib -cjk"
0 kB

[ebuild R ] media-libs/libpano13-2.9.18 USE="java -static-libs" 0 kB
[ebuild R ] media-libs/gd-2.0.35-r1 USE="jpeg png truetype
-fontconfig -xpm" 0 kB
[ebuild R ] media-libs/imlib2-1.4.4 USE="X bzip2 gif jpeg mp3 nls
png tiff zlib -doc (-mmx)" 0 kB
[ebuild R ] www-client/links-2.3_pre1-r1 USE="X bzip2 gpm jpeg ssl
tiff unicode zlib -directfb -fbcon -livecd (-svga)" 0 kB

[ebuild R ] media-libs/plotutils-2.6 USE="X png -static-libs" 0 kB
[ebuild R ] x11-libs/fltk-1.1.10-r2 USE="opengl threads xinerama
-debug -doc -examples -games -xft" 0 kB
[ebuild R ] x11-libs/fox-1.6.40 USE="bzip2 jpeg opengl png tiff
truetype zlib -debug -doc -profile" 0 kB
[ebuild R ] media-gfx/enblend-4.0 USE="image-cache openexr openmp
-debug -doc -gpu" 0 kB
[ebuild R ] media-libs/sdl-image-1.2.10-r1 USE="gif jpeg png tiff
-static-libs" 0 kB
[ebuild R ] media-libs/netpbm-10.51.00-r1 USE="X jbig jpeg jpeg2k
png tiff xml zlib -rle (-svga)" 0 kB
[ebuild R ] x11-libs/cairo-1.10.2-r1 USE="X glib opengl svg xcb
(-aqua) -debug -directfb -doc (-drm) (-gallium) (-openvg) -qt4
-static-libs" 0 kB
[ebuild R ] x11-libs/gdk-pixbuf-2.22.1-r2 USE="X introspection
jpeg jpeg2k svg tiff -debug -doc -test" 0 kB
[ebuild R #] net-print/cups-1.5.0-r2 USE="X dbus java jpeg pam png
ssl threads tiff -acl -debug -gnutls -kerberos -ldap -perl -php -python
-samba -slp -static-libs -usb -xinetd" LINGUAS="-da -de -es -eu -fi -fr
-id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 0 kB

[ebuild R ] gnome-base/librsvg-2.34.1 USE="gtk -doc -tools" 0 kB
[ebuild R ] app-text/ghostscript-gpl-9.04-r3 USE="X cups dbus gtk
jpeg2k -bindist -djvu -idn -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW"
0 kB

[ebuild R ] dev-db/libiodbc-3.52.7 USE="gtk" 0 kB
[ebuild R ] gnome-base/libglade-2.6.4 USE="-doc -static-libs
-test" 0 kB
[ebuild R ] gnome-extra/polkit-gnome-0.101-r1 USE="introspection
-doc -examples" 0 kB
[ebuild R ] x11-libs/wxGTK-2.8.11.0 USE="X opengl sdl tiff -debug
-doc -gnome -gstreamer -odbc -pch" 0 kB
[ebuild R ] media-libs/libwmf-0.2.8.4-r4 USE="X xml -debug -doc
-expat" 0 kB
[ebuild R ] dev-lang/R-2.10.1 USE="X bash-completion cairo java
jpeg nls png readline threads tk -doc -lapack -minimal -perl" 0 kB
[ebuild R ] media-gfx/imagemagick-6.7.1.0 USE="X bzip2 corefonts
cxx jbig jpeg jpeg2k lcms openmp png svg tiff truetype wmf xml zlib
-autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -lqr -lzma
-opencl -openexr -perl -q32 -q64 -q8 -raw -static-libs -webp" 0 kB

[ebuild R ] media-video/dvdauthor-0.6.18 0 kB
[ebuild R ~] x11-libs/qt-gui-4.7.4 USE="accessibility cups dbus
exceptions glib mng qt3support tiff xinerama (-aqua) -debug -egl
-gtkstyle -nas -nis -pch -private-headers -raster -trace" 0 kB

[ebuild R ] media-libs/openjpeg-1.4-r1 USE="-doc -test" 0 kB
[ebuild R ] media-libs/vigra-1.7.1 USE="hdf5 jpeg png python tiff
-doc -fftw -test" 0 kB

[ebuild R ] app-text/podofo-0.9.1 USE="boost -debug -test" 0 kB
[ebuild R ~] media-gfx/hugin-2011.2.0 USE="sift -lapack -python"
LINGUAS="-bg -ca -cs -da -de -en_GB -es -fi -fr -hu -it -ja -ko -nl -pl
-pt_BR -ro -ru -sk -sl -sv -uk -zh_CN -zh_TW" 0 kB
[ebuild R ] app-text/poppler-0.16.7 USE="cairo curl cxx
introspection jpeg jpeg2k lcms png qt4 utils xpdf-headers -cjk -debug
-doc -exceptions" 0 kB
[ebuild R ] media-video/mplayer-1.0_rc4_p20110322-r1 USE="3dnow
3dnowext X a52 alsa ass cddb cdio dirac dv dvd dvdnav enca encode esd
faac faad gif iconv ipv6 jpeg jpeg2k live mad mmx mmxext mng mp3 network
opengl osdmenu png quicktime rar real rtc schroedinger sdl shm speex sse
sse2 toolame tremor truetype twolame unicode vorbis x264 xinerama
xscreensaver xv xvid -aalib (-altivec) -amr (-aqua) -bidi -bindist -bl
-bluray -bs2b -cdparanoia -cpudetection -custom-cpuopts -debug -dga
-directfb -doc -dts -dvb (-dxr3) -fbcon -ftp -ggi -gsm -jack -joystick
-ladspa -libcaca -libmpeg2 -lirc -lzo -md5sum -mpg123 -nas -nut -openal
-oss -pnm -pulseaudio -pvr -radio -rtmp -samba -ssse3 -tga -theora -v4l
-v4l2 -vdpau (-vidix) -vpx (-win32codecs) -xanim -xvmc -zoran"
VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB
[ebuild R ] media-libs/gegl-0.1.6 USE="cairo exif ffmpeg jpeg
jpeg2k mmx png sdl sse svg -debug -graphviz -lua -openexr -raw -umfpack
-v4l" 0 kB
[ebuild R ~] kde-base/kdelibs-4.7.2 USE="3dnow alsa bzip2 fam
handbook jpeg2k mmx nls opengl (policykit) semantic-desktop spell sse
sse2 ssl udev udisks upower zeroconf -acl (-altivec) (-aqua) -bindist
-debug -doc (-kdeenablefinal) -kerberos -lzma -openexr -test -upnp" 0 kB
[ebuild R ~] kde-base/ksplash-4.7.2 USE="3dnow mmx sse sse2
xinerama (-altivec) (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] net-libs/webkit-gtk-1.2.7 USE="gstreamer jit (-aqua)
-coverage -debug -doc (-introspection) -test" 0 kB

[ebuild R ] dev-python/notify-python-0.1.1-r2 USE="-examples" 0 kB
[ebuild R ~] www-client/seamonkey-2.4.1-r1 USE="alsa chatzilla dbus
ipc libnotify methodjit roaming startup-notification webm -crypt
-custom-cflags -custom-optimization -debug -system-sqlite -wifi"
LINGUAS="en en_US -be -ca -cs -de -en_GB -es -es_AR -es_ES -fi -fr -gl
-hu -it -ja -lt -nb -nb_NO -nl -pl -pt -pt_PT -ru -sk -sv -sv_SE -tr -zh
-zh_CN" 0 kB
[ebuild R ] app-office/libreoffice-3.3.4 USE="bash-completion cups
dbus gtk java kde nsplugin opengl (-aqua) -binfilter -custom-cflags
-debug -eds -gnome -gstreamer (-kdeenablefinal) -ldap -odk -templates"
LINGUAS="en en_US -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca
-ca_XV -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa
-fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn
-ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb
-ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru
-rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te
-tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
[ebuild R ] media-gfx/gimp-2.6.11-r5 USE="alsa curl dbus doc exif
jpeg lcms mmx mng pdf png smp sse svg tiff webkit wmf -aalib (-altivec)
-debug -gnome -python" 0 kB
[ebuild R ] app-emulation/emul-linux-x86-gtklibs-20110722
USE="-development" 0 kB
[ebuild R ] app-emulation/emul-linux-x86-medialibs-20110722
USE="-development" 0 kB


Total: 42 packages (42 reinstalls), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

That list is identical to the first time I ran it. I don't know what
you were expecting but this is what it does.


Dale

:-) :-)
 

Thread Tools




All times are GMT. The time now is 07:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org