Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-06-02 Thread Ruslan Mahmatkhanov

15.05.2010 22:49, Ruslan Mahmatkhanov пишет:

Good day!

Building of graphics/libchamplain stops on this one:

In file included from stdin:6:
/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/gtk-champlain-embed.h:20:2:
error: #error Only champlain/champlain.h can be included directly.
/libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by
libchamplain-0.4.so.1
Command
'['/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/GtkChamplain-0.4',
'--introspect-dump=/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/types.txt,/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/dump.xml']'
returned non-zero exit status 1
gmake[3]: *** [GtkChamplain-0.4.gir] Ошибка 1
gmake[3]: Leaving directory
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Leaving directory
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5'
gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/ports/graphics/libchamplain.

My system is 8-STABLE i386 (after successful png/xorg/gnome update). PNG
version is png-1.4.1_1. Library installed is libpng.so.6. Does anybody
have a clue why it tries to pick up old library?



So it seems to me that libchamplain somehow links itself while 
rebuilding. I started gettext upgrade (so it rebuilds all the 
low-level libraries and tools) and it stops on libchamplain.

Then i just pkg_delete libchamplain and it builds without any
problems. The message error: #error Only champlain/champlain.h can 
be included directly. is still there but it not stops the build.

Just FYI.

--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-16 Thread Ruslan Mahmatkhanov

16.05.2010 08:30, Doug Barton пишет:

On 5/15/2010 8:56 PM, Christer Edwards wrote:

On Sat, May 15, 2010 at 4:51 PM, Jasonjhelf...@e-e.com  wrote:

I ran into this as well, and after completely removing libchamplain, and
doing a rebuild on all libraries needing png, this port installed with no
issue and built against libpng.so.6, as expected.



I'm having a similar issue, although not with libchamplain. Can you
comment regarding how you rebuilt all libraries needing png? I've been
trying to force-rebuilds of ports, but I'm still getting complaints
for applications needing libpng.so


I posted the following already which should tell you what libs you're
missing, and what you need to rebuild, did you not see my message?


Thanks Doug!
Sorry for delay, we had a night time there.
The only library that depend on libpng.so.5 (apart from 
libchamplain-0.4.so, libchamplain-gtk-0.4.so and libempathy-gtk.so) was 
the libgirepo-Gdk-custom.so that expose a bunch of gir-repository-* 
ports that should be deinstalled in favor to other ports. F.e:

gir-repository-gtk20 - gtk20
gir-repository-pango - pango

etc.

So i deinstall them all and rebuilt all the libchamplain run and build 
dependecies (atk, gtk, pango, glib etc). After all of that libchamplain 
still doesn't builds with the same error. This is my old-lib-list after 
all the rebuilding work:


[...@smeshariki2 ~] cat old-lib-list
/usr/local/lib/libchamplain-0.4.so
libpng.so.5 = not found (0x0)

/usr/local/lib/libchamplain-0.4.so.1
libpng.so.5 = not found (0x0)

/usr/local/lib/libchamplain-gtk-0.4.so
libpng.so.5 = not found (0x0) libpng.so.5 = not found (0x0)

/usr/local/lib/libchamplain-gtk-0.4.so.1
libpng.so.5 = not found (0x0) libpng.so.5 = not found (0x0)

/usr/local/lib/libempathy-gtk.so
libpng.so.5 = not found (0x0) libpng.so.5 = not found (0x0) 
libpng.so.5 = not found (0x0)


/usr/local/lib/libempathy-gtk.so.28
libpng.so.5 = not found (0x0) libpng.so.5 = not found (0x0) 
libpng.so.5 = not found (0x0)




for file in /usr/local/lib/*; do
nf=`ldd $file 2/dev/null | grep 'not found'`
if [ -n $nf ]; then
echo $file
echo $nf
echo ''
fi
done  ~/old-lib-list





--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-16 Thread Ruslan Mahmatkhanov

16.05.2010 07:56, Christer Edwards пишет:

On Sat, May 15, 2010 at 4:51 PM, Jasonjhelf...@e-e.com  wrote:

I ran into this as well, and after completely removing libchamplain, and
doing a rebuild on all libraries needing png, this port installed with no
issue and built against libpng.so.6, as expected.



I'm having a similar issue, although not with libchamplain. Can you
comment regarding how you rebuilt all libraries needing png? I've been
trying to force-rebuilds of ports, but I'm still getting complaints
for applications needing libpng.so


I'm just followed gnome update procedure and then portmaster -af.

--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-16 Thread Doug Barton
On 5/15/2010 11:25 PM, Ruslan Mahmatkhanov wrote:

 I'm just followed gnome update procedure and then portmaster -af.

I seriously do not recommend that people do this. In very simple
situations it _can_ work, but the problems outweigh the benefits most of
the time. The situation you're describing (where old installed versions
of libraries you want to upgrade are linked against the wrong stuff) is
an excellent case of why it's a bad idea.

The preferred method is described in the man page, under the section for
major version upgrades.


hth,

Doug

-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-15 Thread Ruslan Mahmatkhanov

Good day!

Building of graphics/libchamplain stops on this one:

In file included from stdin:6:
/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/gtk-champlain-embed.h:20:2: 
error: #error Only champlain/champlain.h can be included directly.
/libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required by 
libchamplain-0.4.so.1
Command 
'['/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/GtkChamplain-0.4', 
'--introspect-dump=/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/types.txt,/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/dump.xml']' 
returned non-zero exit status 1

gmake[3]: *** [GtkChamplain-0.4.gir] Ошибка 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'

gmake[2]: *** [all] Ошибка 2
gmake[2]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'

gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5'

gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/ports/graphics/libchamplain.

My system is 8-STABLE i386 (after successful png/xorg/gnome update). PNG 
version is png-1.4.1_1. Library installed is libpng.so.6. Does anybody 
have a clue why it tries to pick up old library?


--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-15 Thread Doug Barton
On 05/15/10 11:49, Ruslan Mahmatkhanov wrote:

 My system is 8-STABLE i386 (after successful png/xorg/gnome update). PNG
 version is png-1.4.1_1. Library installed is libpng.so.6. Does anybody
 have a clue why it tries to pick up old library?

It's likely something else that it's trying to link in which is still
linked to the old png lib. Try this:

for file in /usr/local/lib/*; do
nf=`ldd $file 2/dev/null | grep 'not found'`
if [ -n $nf ]; then
echo $file
echo $nf
echo ''
fi
done  ~/old-lib-list


hth,

Doug

-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-15 Thread Jason

On Sat, May 15, 2010 at 10:49:17PM +0400, Ruslan Mahmatkhanov thus spake:

Good day!

Building of graphics/libchamplain stops on this one:

In file included from stdin:6:
/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/gtk-champlain-embed.h:20:2: 
error: #error Only champlain/champlain.h can be included 
directly.
/libexec/ld-elf.so.1: Shared object libpng.so.5 not found, required 
by libchamplain-0.4.so.1
Command '['/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/GtkChamplain-0.4', '--introspect-dump=/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/types.txt,/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk/tmp-introspectAHsQ4r/dump.xml']' 
returned non-zero exit status 1

gmake[3]: *** [GtkChamplain-0.4.gir] Ошибка 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5/champlain-gtk'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory 
`/usr/ports/graphics/libchamplain/work/libchamplain-0.4.5'

gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/ports/graphics/libchamplain.

My system is 8-STABLE i386 (after successful png/xorg/gnome update). 
PNG version is png-1.4.1_1. Library installed is libpng.so.6. Does 
anybody have a clue why it tries to pick up old library?


I ran into this as well, and after completely removing libchamplain, and
doing a rebuild on all libraries needing png, this port installed with no
issue and built against libpng.so.6, as expected.



--
Regards,
Ruslan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-15 Thread Christer Edwards
On Sat, May 15, 2010 at 4:51 PM, Jason jhelf...@e-e.com wrote:
 I ran into this as well, and after completely removing libchamplain, and
 doing a rebuild on all libraries needing png, this port installed with no
 issue and built against libpng.so.6, as expected.


I'm having a similar issue, although not with libchamplain. Can you
comment regarding how you rebuilt all libraries needing png? I've been
trying to force-rebuilds of ports, but I'm still getting complaints
for applications needing libpng.so

-- 
Christer Edwards
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: graphics/libchamplain build failure (libpng.so.5 not found)

2010-05-15 Thread Doug Barton
On 5/15/2010 8:56 PM, Christer Edwards wrote:
 On Sat, May 15, 2010 at 4:51 PM, Jason jhelf...@e-e.com wrote:
 I ran into this as well, and after completely removing libchamplain, and
 doing a rebuild on all libraries needing png, this port installed with no
 issue and built against libpng.so.6, as expected.

 
 I'm having a similar issue, although not with libchamplain. Can you
 comment regarding how you rebuilt all libraries needing png? I've been
 trying to force-rebuilds of ports, but I'm still getting complaints
 for applications needing libpng.so

I posted the following already which should tell you what libs you're
missing, and what you need to rebuild, did you not see my message?

for file in /usr/local/lib/*; do
nf=`ldd $file 2/dev/null | grep 'not found'`
if [ -n $nf ]; then
echo $file
echo $nf
echo ''
fi
done  ~/old-lib-list




-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org