From: Andrea Venturoli on
Hello.

From UPDATING:

> 20100419:
> AFFECTS: users of math/libgmp4
> AUTHOR: ale(a)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(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: Ashish SHUKLA on
Andrea Venturoli writes:
> Hello.

> From UPDATING:

>> 20100419:
>> AFFECTS: users of math/libgmp4
>> AUTHOR: ale(a)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.

Yeah, this was a bit confusing. I'd to deinstall math/libgmp4 and then
installed math/gmp. And after that upgraded all ports.

Ashish
--
They who can give up essential liberty to obtain a little temporary safety,
deserve neither liberty nor safety.
-- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin
From: Luca Pizzamiglio on
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(a)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(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"

--
Mit herzlichen Grüßen,

Luca Pizzamiglio
Systementwicklung
_______________________________________________
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: Denny Lin on
On Thu, Apr 22, 2010 at 11:36:17AM +0200, Luca Pizzamiglio wrote:
> 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..

See if this works:
# env DISABLE_CONFLICTS=1 portmaster -o math/gmp math/libgmp4

--
Denny Lin
_______________________________________________
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: Luca Pizzamiglio on
Hi Denny,

your trick works! Thanks, but I think is not the best solution for all
cases... If there are more conflicting ports, disabling the check is not
a good idea...

Best regards

Luca

On 04/22/2010 12:10, Denny Lin wrote:
> On Thu, Apr 22, 2010 at 11:36:17AM +0200, Luca Pizzamiglio wrote:
>> 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..
>
> See if this works:
> # env DISABLE_CONFLICTS=1 portmaster -o math/gmp math/libgmp4
>

--
Mit herzlichen Grüßen,

Luca Pizzamiglio
Systementwicklung

BALLY WULFF Entertainment GmbH
Maybachufer 48-51
12045 Berlin
Phone: +49(30)62002 149
_______________________________________________
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"