public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] libpng update steps: How to do it without breaking things
@ 2002-04-16  1:09 Spider
  2002-04-16  5:05 ` skaar
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Spider @ 2002-04-16  1:09 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

Hello, I've written this out a few times in subthreads, so here's a
repost with step-by-step instructions on how to get the updated libpng
installed and actually working.


step-by-step guide for fixing libpng problems:
1)  emerge =libpng-1.2.1-r1
2) sh  /usr/portage/media-libs/libpng/files/libpng-update-libs.sh
2a) <get a listing of packages to rebuild>
3) emerge packages from 2a
4) sh /usr/portage/media-libs/libpng/files/libpng-update-bins.sh
4a) <get a listing of programs to rebuild>
5) emerge packages from 4a


Cumbersome steps I know, (also see my first post Thu, 4 Apr 2002 
"[gentoo-user] Libpng 1.2.1 / force rebuild" )

The main problem you are facing is that for some reason the system mixes
libraries. since the symlinks from libpng.so.2 and libpng.so.3 are
intact, I really don't understand -why- the dynamic linker loads the
wrong version of libpng. This is the core of the problem you and many
others are facing. 

The libraries generally affected are:
kdelibs  imlib  imlib2  gdk-pixbuf  imagemagick  mozilla  gnome-libs
cups gimp



//Spider
--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-16  1:09 [gentoo-dev] libpng update steps: How to do it without breaking things Spider
@ 2002-04-16  5:05 ` skaar
  2002-04-16  7:42 ` Milos Negovanovic
  2002-04-16 21:31 ` Aadi Deshpande
  2 siblings, 0 replies; 9+ messages in thread
From: skaar @ 2002-04-16  5:05 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-user

* Spider (spider@gentoo.org) [020415 21:33]:
> Hello, I've written this out a few times in subthreads, so here's a
> repost with step-by-step instructions on how to get the updated libpng
> installed and actually working.
> 
> 
> step-by-step guide for fixing libpng problems:
> 1)  emerge =libpng-1.2.1-r1
> 2) sh  /usr/portage/media-libs/libpng/files/libpng-update-libs.sh
> 2a) <get a listing of packages to rebuild>
> 3) emerge packages from 2a
> 4) sh /usr/portage/media-libs/libpng/files/libpng-update-bins.sh
> 4a) <get a listing of programs to rebuild>
> 5) emerge packages from 4a

the only thing that would need to be added here is the emerge order
of:

x11-libs/qt
kde-base/kdelibs

/skaar
> 
> 
> Cumbersome steps I know, (also see my first post Thu, 4 Apr 2002 
> "[gentoo-user] Libpng 1.2.1 / force rebuild" )
> 
> The main problem you are facing is that for some reason the system mixes
> libraries. since the symlinks from libpng.so.2 and libpng.so.3 are
> intact, I really don't understand -why- the dynamic linker loads the
> wrong version of libpng. This is the core of the problem you and many
> others are facing. 
> 
> The libraries generally affected are:
> kdelibs  imlib  imlib2  gdk-pixbuf  imagemagick  mozilla  gnome-libs
> cups gimp
> 
> 
> 
> //Spider
> --
> begin  .signature
> This is a .signature virus! Please copy me into your .signature!
> See Microsoft KB Article Q265230 for more information.
> end



-- 
/skaar

+-------------------------------------------------------------------+
+----- skaar@aol.net                     kent skaar ----------------+
+----- internet services: infrastructure & security ----------------+
+-------------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-16  1:09 [gentoo-dev] libpng update steps: How to do it without breaking things Spider
  2002-04-16  5:05 ` skaar
@ 2002-04-16  7:42 ` Milos Negovanovic
  2002-04-16  8:55   ` Spider
  2002-04-16 21:31 ` Aadi Deshpande
  2 siblings, 1 reply; 9+ messages in thread
From: Milos Negovanovic @ 2002-04-16  7:42 UTC (permalink / raw
  To: gentoo-dev

On Tue, 16 Apr 2002 03:09:18 +0200
Spider <spider@gentoo.org> wrote:

> Hello, I've written this out a few times in subthreads, so here's a
> repost with step-by-step instructions on how to get the updated libpng
> installed and actually working.
> 
> 
> step-by-step guide for fixing libpng problems:
> 1)  emerge =libpng-1.2.1-r1
> 2) sh  /usr/portage/media-libs/libpng/files/libpng-update-libs.sh
> 2a) <get a listing of packages to rebuild>
> 3) emerge packages from 2a
> 4) sh /usr/portage/media-libs/libpng/files/libpng-update-bins.sh
> 4a) <get a listing of programs to rebuild>
> 5) emerge packages from 4a
> 
> 
> Cumbersome steps I know, (also see my first post Thu, 4 Apr 2002 
> "[gentoo-user] Libpng 1.2.1 / force rebuild" )
> 
> The main problem you are facing is that for some reason the system
> mixes libraries. since the symlinks from libpng.so.2 and libpng.so.3
> are intact, I really don't understand -why- the dynamic linker loads
> the wrong version of libpng. This is the core of the problem you and
> many others are facing. 
> 
> The libraries generally affected are:
> kdelibs  imlib  imlib2  gdk-pixbuf  imagemagick  mozilla  gnome-libs
> cups gimp
> 
> 
> 
> //Spider
> --
> begin  .signature
> This is a .signature virus! Please copy me into your .signature!
> See Microsoft KB Article Q265230 for more information.
> end
> 
hello,
the path to 'qpkg' seems to be '/usr/bin/qpkg', and not '/usr/sbin/qpkg'
like stated in these 2 scripts. Milos


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-16  7:42 ` Milos Negovanovic
@ 2002-04-16  8:55   ` Spider
  0 siblings, 0 replies; 9+ messages in thread
From: Spider @ 2002-04-16  8:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

begin  quote
On Tue, 16 Apr 2002 19:42:08 +1200
Milos Negovanovic <milosn@slingshot.co.nz> wrote:

> > 
> hello,
> the path to 'qpkg' seems to be '/usr/bin/qpkg', and not
> '/usr/sbin/qpkg' like stated in these 2 scripts. Milos

Indeed, theese scripts reflect the old version of gentoolkit where it
was in /usr/sbin/qpkg.

I'll upload a changed version

//Spider


--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-16  1:09 [gentoo-dev] libpng update steps: How to do it without breaking things Spider
  2002-04-16  5:05 ` skaar
  2002-04-16  7:42 ` Milos Negovanovic
@ 2002-04-16 21:31 ` Aadi Deshpande
  2002-04-17  9:51   ` Spider
  2 siblings, 1 reply; 9+ messages in thread
From: Aadi Deshpande @ 2002-04-16 21:31 UTC (permalink / raw
  To: gentoo-dev, gentoo-user; +Cc: gentoo-dev

Sorry for the potentially silly question, but if I get the list of packages to remerge from
running the script and then build one of the packages, should it still print out that package if i
run the script again?

thanks,

-a


--- Spider <spider@gentoo.org> wrote:
> Hello, I've written this out a few times in subthreads, so here's a
> repost with step-by-step instructions on how to get the updated libpng
> installed and actually working.
> 
> 
> step-by-step guide for fixing libpng problems:
> 1)  emerge =libpng-1.2.1-r1
> 2) sh  /usr/portage/media-libs/libpng/files/libpng-update-libs.sh
> 2a) <get a listing of packages to rebuild>
> 3) emerge packages from 2a
> 4) sh /usr/portage/media-libs/libpng/files/libpng-update-bins.sh
> 4a) <get a listing of programs to rebuild>
> 5) emerge packages from 4a
> 
> 
> Cumbersome steps I know, (also see my first post Thu, 4 Apr 2002 
> "[gentoo-user] Libpng 1.2.1 / force rebuild" )
> 
> The main problem you are facing is that for some reason the system mixes
> libraries. since the symlinks from libpng.so.2 and libpng.so.3 are
> intact, I really don't understand -why- the dynamic linker loads the
> wrong version of libpng. This is the core of the problem you and many
> others are facing. 
> 
> The libraries generally affected are:
> kdelibs  imlib  imlib2  gdk-pixbuf  imagemagick  mozilla  gnome-libs
> cups gimp
> 
> 
> 
> //Spider
> --
> begin  .signature
> This is a .signature virus! Please copy me into your .signature!
> See Microsoft KB Article Q265230 for more information.
> end
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-16 21:31 ` Aadi Deshpande
@ 2002-04-17  9:51   ` Spider
  2002-04-17 14:23     ` Aadi Deshpande
  0 siblings, 1 reply; 9+ messages in thread
From: Spider @ 2002-04-17  9:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]


begin  quote
On Tue, 16 Apr 2002 14:31:00 -0700 (PDT)
Aadi Deshpande <cilqproj@yahoo.com> wrote:

> Sorry for the potentially silly question, but if I get the list of
> packages to remerge from running the script and then build one of the
> packages, should it still print out that package if i run the script
> again?
> 
> thanks,
> 
> -a


If it gets printed out again there's a problem that the package doesn't
link libpng originally, but gets it from another library it includes.
This is not good. OR, you could have emerged libpng 1.0.x after 1.2.x
and thus get a wrong version linking.

--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-17  9:51   ` Spider
@ 2002-04-17 14:23     ` Aadi Deshpande
  2002-04-17 18:01       ` Dan Armak
  2002-04-17 19:41       ` Spider
  0 siblings, 2 replies; 9+ messages in thread
From: Aadi Deshpande @ 2002-04-17 14:23 UTC (permalink / raw
  To: gentoo-dev

I tried it out again. The problem was that I had two versions of QT ( 2 and 3 ) and they both
linked against libpng.  

So when I ran the scripts, it was printing out x11-libs/qt as needing to be remerged, and me in my
infinite lack of wisdom didn't even bother looking into that.

i noticed something else, however, that the qt3 ebuilds don't respect the CXXFLAGS.  Is there a
reason for that?

--- Spider <spider@gentoo.org> wrote:
> 
> begin  quote
> On Tue, 16 Apr 2002 14:31:00 -0700 (PDT)
> Aadi Deshpande <cilqproj@yahoo.com> wrote:
> 
> > Sorry for the potentially silly question, but if I get the list of
> > packages to remerge from running the script and then build one of the
> > packages, should it still print out that package if i run the script
> > again?
> > 
> > thanks,
> > 
> > -a
> 
> 
> If it gets printed out again there's a problem that the package doesn't
> link libpng originally, but gets it from another library it includes.
> This is not good. OR, you could have emerged libpng 1.0.x after 1.2.x
> and thus get a wrong version linking.
> 
> --
> begin  .signature
> This is a .signature virus! Please copy me into your .signature!
> See Microsoft KB Article Q265230 for more information.
> end
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-17 14:23     ` Aadi Deshpande
@ 2002-04-17 18:01       ` Dan Armak
  2002-04-17 19:41       ` Spider
  1 sibling, 0 replies; 9+ messages in thread
From: Dan Armak @ 2002-04-17 18:01 UTC (permalink / raw
  To: gentoo-dev

On Wednesday 17 April 2002 17:23, Aadi Deshpande wrote:
> I tried it out again. The problem was that I had two versions of QT ( 2 and
> 3 ) and they both linked against libpng.
>
> So when I ran the scripts, it was printing out x11-libs/qt as needing to be
> remerged, and me in my infinite lack of wisdom didn't even bother looking
> into that.
>
> i noticed something else, however, that the qt3 ebuilds don't respect the
> CXXFLAGS.  Is there a reason for that?

No, there's an issue on bugzilla for that :-) Will be done at some point.

>
> --- Spider <spider@gentoo.org> wrote:
> > begin  quote
> > On Tue, 16 Apr 2002 14:31:00 -0700 (PDT)
> >
> > Aadi Deshpande <cilqproj@yahoo.com> wrote:
> > > Sorry for the potentially silly question, but if I get the list of
> > > packages to remerge from running the script and then build one of the
> > > packages, should it still print out that package if i run the script
> > > again?
> > >
> > > thanks,
> > >
> > > -a
> >
> > If it gets printed out again there's a problem that the package doesn't
> > link libpng originally, but gets it from another library it includes.
> > This is not good. OR, you could have emerged libpng 1.0.x after 1.2.x
> > and thus get a wrong version linking.
> >
> > --
> > begin  .signature
> > This is a .signature virus! Please copy me into your .signature!
> > See Microsoft KB Article Q265230 for more information.
> > end
> >
> >
> > ATTACHMENT part 2 application/pgp-signature
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Dan Armak
Gentoo Linux developer (KDE)
Matan, Israel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] libpng update steps: How to do it without breaking things
  2002-04-17 14:23     ` Aadi Deshpande
  2002-04-17 18:01       ` Dan Armak
@ 2002-04-17 19:41       ` Spider
  1 sibling, 0 replies; 9+ messages in thread
From: Spider @ 2002-04-17 19:41 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

begin  quote
On Wed, 17 Apr 2002 07:23:37 -0700 (PDT)
Aadi Deshpande <cilqproj@yahoo.com> wrote:

> 
> I tried it out again. The problem was that I had two versions of QT (
> 2 and 3 ) and they both linked against libpng.  
> 
> So when I ran the scripts, it was printing out x11-libs/qt as needing
> to be remerged, and me in my infinite lack of wisdom didn't even
> bother looking into that.

It seems I overoptimized the scripts a bit :)  Removing version numbers
seemed a good idea at the time, as I hadn't done any pkg-clean in a
while and got a looot of odd positives, and, this way it can be
automized to rebuild the select packages (See the commented out line,
its there in functionality).



> i noticed something else, however, that the qt3 ebuilds don't respect
> the CXXFLAGS.  Is there a reason for that?

That's something you should probably look inside the qt3 ebuild file and
changelog about.

Fex. people may well overoptimize their CXXFLAGS with -fno-signals and
other possibly breaking things, works well when you dont use them, but
when you do you break things horridly. 


//Spider


 



--
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-04-17 19:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16  1:09 [gentoo-dev] libpng update steps: How to do it without breaking things Spider
2002-04-16  5:05 ` skaar
2002-04-16  7:42 ` Milos Negovanovic
2002-04-16  8:55   ` Spider
2002-04-16 21:31 ` Aadi Deshpande
2002-04-17  9:51   ` Spider
2002-04-17 14:23     ` Aadi Deshpande
2002-04-17 18:01       ` Dan Armak
2002-04-17 19:41       ` Spider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox