Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 11:36:17 +0200
From:      Luca Pizzamiglio <l.pizzamiglio@bally-wulff.de>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: GMP change
Message-ID:  <4BD01891.7070804@bally-wulff.de>
In-Reply-To: <4BD01720.6020103@netfence.it>
References:  <4BD01720.6020103@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hallo Andrea,

I've had the same problem using portupgrade and no clean solution found.

This is the dirty trick I've used:

pkg_delete -f libgmp4\*
portupgrade -N math/gmp

BTW, portupgrade with -o doesn't work because now the conflicts is 
checked "before" the building process and gmp building fails..

Best regards!

Luca

On 04/22/2010 11:30, Andrea Venturoli wrote:
> Hello.
>
>  From UPDATING:
>
>> 20100419:
>> AFFECTS: users of math/libgmp4
>> AUTHOR: ale@FreeBSD.org
>>
>> The default gmp version in FreeBSD is now 5.0.x. The port directory
>> changed
>> from math/libgmp4 to math/gmp. An entry has been added in MOVED and all
>> depending ports have been bumped, so the update should be handled
>> correctly by common ports management tools, like portmaster and
>> portupgrade.
>
>
>
> However:
>
>> # portupgrade -R kdeutils
>> [Gathering depends for misc/kdeutils3
>> ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
>> done]
>> [Exclude up-to-date packages
>> ..............................................................................................................................................................................................................................
>> done]
>> ---> Upgrading 'kdeutils-3.5.10_4' to 'kdeutils-3.5.10_5'
>> (misc/kdeutils3)
>> ---> Building '/usr/ports/misc/kdeutils3'
>> ===> Cleaning for kdeutils-3.5.10_5
>> ===> Extracting for kdeutils-3.5.10_5
>> => MD5 Checksum OK for KDE/kdeutils-3.5.10.tar.bz2.
>> => SHA256 Checksum OK for KDE/kdeutils-3.5.10.tar.bz2.
>> ===> Patching for kdeutils-3.5.10_5
>> ===> Applying FreeBSD patches for kdeutils-3.5.10_5
>> /usr/bin/sed -i.bak -e 's|>tar<|>gtar<|g'
>> /usr/local/local/storage/alamartmp/usr/ports/misc/kdeutils3/work/kdeutils-3.5.10/ark/ark.kcfg
>>
>> /usr/bin/sed -i.bak -e 's|%%PYTHON_VER%%|2.6|g' -e
>> 's|%%LTMAIN%%|/usr/local/share/libtool/config/ltmain.sh|g' -e
>> 's|%%LIBTOOL%%|/usr/local/bin/libtool|g'
>> /usr/local/local/storage/alamartmp/usr/ports/misc/kdeutils3/work/kdeutils-3.5.10/configure
>>
>> ===> kdeutils-3.5.10_5 depends on file: /usr/local/bin/python2.6 - found
>> ===> kdeutils-3.5.10_5 depends on file: /usr/local/bin/moc - found
>> ===> kdeutils-3.5.10_5 depends on executable: gmake - found
>> ===> kdeutils-3.5.10_5 depends on package: libtool>=2.2 - found
>> ===> kdeutils-3.5.10_5 depends on shared library: gmp.10 - not found
>> ===> Verifying install for gmp.10 in /usr/ports/math/gmp
>>
>> ===> gmp-5.0.1 conflicts with installed package(s):
>> libgmp-4.3.2
>>
>> They install files into the same place.
>> Please remove them first with pkg_delete(1).
>> *** Error code 1
>>
>> Stop in /usr/ports/math/gmp.
>> *** Error code 1
>>
>> Stop in /usr/ports/math/gmp.
>> *** Error code 1
>>
>> Stop in /usr/ports/misc/kdeutils3.
>> ** Command failed [exit code 1]: /usr/bin/script -qa
>> /tmp/portupgrade20100422-49524-vco75w-0 env UPGRADE_TOOL=portupgrade
>> UPGRADE_PORT=kdeutils-3.5.10_4 UPGRADE_PORT_VER=3.5.10_4 make
>> ** Fix the problem and try again.
>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>> ! misc/kdeutils3 (kdeutils-3.5.10_4) (unknown build error)
>
>
>
> Since this machine is quite slow, I thought I'd ask for hints, before
> doing a days-long trial & error procedure :-)
>
> BTW:
>
>> # pkg_info -R libgmp\*
>> Information for libgmp-4.3.2:
>>
>> Required by:
>> gcc-4.3.5.20091227
>> kdemultimedia-3.5.10_4
>> kdeutils-3.5.10_4
>> libao-0.8.8_1
>> mpfr-2.4.2
>> superkaramba-lwp-15.0_5
>> vorbis-tools-1.2.0_6,3
>
>
>
>
> bye & Thanks
> av.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

-- 
Mit herzlichen Grüßen,

Luca Pizzamiglio
Systementwicklung



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD01891.7070804>