From: Joey Mingrone on
Hi:

I'm having some trouble upgrading this port.

% uname -a
FreeBSD ... 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 12:48:08 ... i386

Here's the error in the build:
making gendoc.cc
g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include
-I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread
making DOCSTRINGS
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11
required by ./gendoc not found
gmake[2]: *** [DOCSTRINGS] Error 1
gmake[2]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/math/octave.

===>>> make failed for math/octave
===>>> Aborting update

This may also be relevant:

usr/local/lib % find ./ -iname "*libstdc++*"
../gcc44/libstdc++.so.6
../gcc44/libstdc++.so
../gcc44/libstdc++.a

/usr/local/lib % pkg_info -W ./gcc44/libstdc++.so.6
/usr/local/lib/gcc44/libstdc++.so.6 was installed by package gcc-4.4.2.20090908

/usr/lib % find ./ -iname "*libstdc++*"
../libstdc++.a
../libstdc++.so.6
../libstdc++.so
../libstdc++_p.a

If there's any other information I can provide, please let me know.

Cheers,

Joey
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Maho NAKATA on
From: Joey Mingrone <joey(a)mingrone.org>
Subject: FreeBSD Port: octave-3.2.2_5
Date: Sun, 13 Sep 2009 13:43:12 -0300

> Hi:
>
> I'm having some trouble upgrading this port.
>
> % uname -a
> FreeBSD ... 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 12:48:08 ... i386
>
> Here's the error in the build:
> making gendoc.cc
> g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include
> -I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread
> making DOCSTRINGS
> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11
> required by ./gendoc not found
> gmake[2]: *** [DOCSTRINGS] Error 1
> gmake[2]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2/src'
> gmake[1]: *** [src] Error 2
> gmake[1]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/math/octave.
>
> ===>>> make failed for math/octave
> ===>>> Aborting update
>
> This may also be relevant:
>
> usr/local/lib % find ./ -iname "*libstdc++*"
> ./gcc44/libstdc++.so.6
> ./gcc44/libstdc++.so
> ./gcc44/libstdc++.a
>
> /usr/local/lib % pkg_info -W ./gcc44/libstdc++.so.6
> /usr/local/lib/gcc44/libstdc++.so.6 was installed by package gcc-4.4.2.20090908
>
> /usr/lib % find ./ -iname "*libstdc++*"
> ./libstdc++.a
> ./libstdc++.so.6
> ./libstdc++.so
> ./libstdc++_p.a
>
> If there's any other information I can provide, please let me know.
>
> Cheers,
>
> Joey
>
Hi Joey,
I guess some other programs linked against use it. Whole ports rebuild
might fix.
thanks
-- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/
Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Maho NAKATA on
From: Joey Mingrone <joey(a)mingrone.org>
Subject: FreeBSD Port: octave-3.2.2_5
Date: Sun, 13 Sep 2009 13:43:12 -0300

> Hi:
>
> I'm having some trouble upgrading this port.
>
> % uname -a
> FreeBSD ... 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 12:48:08 ... i386
>
> Here's the error in the build:
> making gendoc.cc
> g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include
> -I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread
> making DOCSTRINGS
> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11
> required by ./gendoc not found
> gmake[2]: *** [DOCSTRINGS] Error 1
> gmake[2]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2/src'
> gmake[1]: *** [src] Error 2
> gmake[1]: Leaving directory `/usr/ports/math/octave/work/octave-3.2.2'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/math/octave.
>
> ===>>> make failed for math/octave
> ===>>> Aborting update
>
> This may also be relevant:
>
> usr/local/lib % find ./ -iname "*libstdc++*"
> ./gcc44/libstdc++.so.6
> ./gcc44/libstdc++.so
> ./gcc44/libstdc++.a
>
> /usr/local/lib % pkg_info -W ./gcc44/libstdc++.so.6
> /usr/local/lib/gcc44/libstdc++.so.6 was installed by package gcc-4.4.2.20090908
>
> /usr/lib % find ./ -iname "*libstdc++*"
> ./libstdc++.a
> ./libstdc++.so.6
> ./libstdc++.so
> ./libstdc++_p.a
>
> If there's any other information I can provide, please let me know.
>
> Cheers,
>
> Joey
>

Hi Joey, I also noticed that Gerald has updated GCC43 to GCC44.
you should recompile all ports...
thanks
-- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/
Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Joey Mingrone on
Hi Maho:

Thanks for your quick replies.

On Sun, Sep 13, 2009 at 22:55, Maho NAKATA <chat95(a)mac.com> wrote:
> Hi Joey, I also noticed that Gerald has updated GCC43 to GCC44.
> you should recompile all ports...
> thanks
> -- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/
> =C2=A0 Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.=
txt
>


I did have GCC44 before the build and I also did upgrade all ports.
This error was reproduced on a second box running 7.4. I'll try and
investigate a bit more and reply if I find a solution.

Cheers,

Joey
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Jan Henrik Sylvester on
Maho NAKATA wrote:
> From: Joey Mingrone <joey at mingrone.org>

>> I'm having some trouble upgrading this port.
>>
>> % uname -a
>> FreeBSD ... 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Wed May 6 12:48:08 ... i386
>>
>> Here's the error in the build:
>> making gendoc.cc
>> g++44 -O2 -fno-strict-aliasing -pipe -I/usr/local/include
>> -I/usr/local/include -o gendoc gendoc.cc -L/usr/local/lib -pthread
>> making DOCSTRINGS
>> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11
>> required by ./gendoc not found

> Hi Joey, I also noticed that Gerald has updated GCC43 to GCC44.
> you should recompile all ports...
> thanks

I hit the same error on 7.2-RELEASE. I did recompile all Fortran
dependencies with gcc44 and removed gcc43, still the error persists.

Having recompiled just gendoc.cc with gcc42 from base, I was able to
finish the build, but running octave does not work, either:

/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11
required by /usr/local/lib/octave-3.2.2/liboctinterp.so not found

Since liboctinterp.so was compiled with gcc44 and not with gcc from
base, I guess it should not try to load /usr/lib/libstdc++.so.6 but
/usr/local/lib/gcc44/libstdc++.so.6 -- or am I wrong?

Any idea besides recompiling "all ports"? I really do not see the point
in that, since nothing but the Fortran ports should use gcc44. Maybe, I
do not understand the dynamic linking with multiple gcc versions
involved after all.

Cheers,
Jan Henrik
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"