ports/117743: [patch] devel/libgtop fix libtool TAG problem with GCC 4.2

Michael Johnson ahze at ahze.net
Thu Nov 1 18:31:38 PDT 2007


On Nov 1, 2007, at 7:08 PM, Pietro Cerutti wrote:

> Pietro Cerutti wrote:
>> Joe Marcus Clarke wrote:
>>> On Thu, 2007-11-01 at 16:10 +0100, Pietro Cerutti wrote:
>>>> Joe Marcus Clarke wrote:
>>>>> Pietro Cerutti wrote:
>>>>>> The following reply was made to PR ports/117743; it has been  
>>>>>> noted by GNATS.
>>>>>> From: Pietro Cerutti <pietro.cerutti at bfh.ch>
>>>>>> To: bug-followup at FreeBSD.org, gahr at gahr.ch
>>>>>> Cc:
>>>>>> Subject: Re: ports/117743: [patch] devel/libgtop fix libtool  
>>>>>> TAG problem with
>>>>>>  GCC 4.2
>>>>>> Date: Thu, 01 Nov 2007 15:20:17 +0100
>>>>>>  This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
>>>>>>  --------------enig2C77DB3CF17B528CAE94639B
>>>>>>  Content-Type: text/plain; charset=UTF-8
>>>>>>  Content-Transfer-Encoding: quoted-printable
>>>>>>  If the patch is a mess:
>>>>>>  http://www.gahr.ch/FreeBSD/patches/117743_libgtop_Makefile
>>>>> Why is this a problem?  libgtop still builds.
>>>> Are you using GCC 4.2?
>>> Yes, on both 7.X and 8.X.  I don't see any build problems.
>>
>> Indeed. I tried on 7-CURRENT and it works.
>> I had this problem on 6.2-STABLE but after upgrading gnome it  
>> seems to
>> be solved.
>> Could you please close:
>> ports/117744
>> ports/117743
>> ports/117701
>> ?
>
> I'm terribly sorry. Forget about my last e-mail.
> The ports still don't build here.
>
> I'm on a 6.2-STABLE with GCC 4.2.3 20071024 (prerelease).
>
> The error is the following (similar for the other two ports
> textproc/scrollkeeper and multimedia/libfame).
>
> gmake[3]: Entering directory
> `/usr/ports/devel/libgtop/work/libgtop-2.20.0/src/daemon'
> /bin/sh /usr/ports/devel/libgtop/work/gnome-libtool --mode=link
> /usr/local/bin/gcc42 -Winline   -Wall   -std=gnu89
> -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> -Wnested-externs -Wpointer-arith        -Wcast-align -Wsign-compare
> -O2 -pipe -ggdb -march=pentiumpro -L/usr/local/lib -o libgtop_daemon2
> gnuserv.o slave.o main.o io.o version.o ../../lib/libgtop-2.0.la
> ../../sysdeps/common/libgtop_common-2.0.la
> ../../sysdeps/freebsd/libgtop_sysdeps-2.0.la
> ../../sysdeps/freebsd/libgtop_sysdeps_suid-2.0.la
> ../../sysdeps/freebsd/libgtop_sysdeps_suid-2.0.la
> ../../sysdeps/common/libgtop_suid_common-2.0.la -L/usr/local/lib
> -L/usr/local/lib -R/usr/local/lib -lXau
> gnome-libtool: link: unable to infer tagged configuration
> gnome-libtool: link: specify a tag with `--tag'
> gmake[3]: *** [libgtop_daemon2] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/devel/libgtop/work/libgtop-2.20.0/src/daemon'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/devel/libgtop/work/libgtop-2.20.0/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/libgtop/work/ 
> libgtop-2.20.0'
> gmake: *** [all] Error 2
> *** Error code 2

Reinstall devel/libtool and I bet everything will work. Libtool has a  
problem (maybe have been fixed now?)
if CC/CXX is changed from the original install of libtool.


>
>
>
>>
>> Thank you,
>> Regards,
>>
>>>>> Joe
>>>>>
>>
>>
>
>
> -- 
> Pietro Cerutti
>
> PGP Public Key:
> http://gahr.ch/pgp
>



More information about the freebsd-gnome mailing list