Quantcast

GMP change

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

GMP change

Andrea Venturoli
Hello.

 From UPDATING:

> 20100419:
>   AFFECTS: users of math/libgmp4
>   AUTHOR: [hidden email]
>
>   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.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Ashish Shukla आशीष शुक्ल
Andrea Venturoli writes:
> Hello.

> From UPDATING:

>> 20100419:
>> AFFECTS: users of math/libgmp4
>> AUTHOR: [hidden email]
>>
>> 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

attachment0 (851 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Luca Pizzamiglio-3
In reply to this post by Andrea Venturoli
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: [hidden email]
>>
>> 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.
> _______________________________________________
> [hidden email] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[hidden email]"

--
Mit herzlichen Grüßen,

Luca Pizzamiglio
Systementwicklung
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Denny Lin-3
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
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Luca Pizzamiglio-3
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
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Andrea Venturoli
In reply to this post by Luca Pizzamiglio-3
On 04/22/10 11:36, 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..
>
> Best regards!

Thanks, I'm trying this.

However, after pkg_delete, I did:

# pkgdb -F
--->  Checking the package registry database
Stale dependency: gcc-4.3.5.20091227 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: kdemultimedia-3.5.10_4 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: kdeutils-3.5.10_4 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: libao-0.8.8_1 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: mpfr-2.4.2 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: superkaramba-lwp-15.0_5 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)
Stale dependency: vorbis-tools-1.2.0_6,3 -> libgmp-4.3.2 (math/libgmp4):
-> Deleted. (irrelevant)

Of course, when I later updated one of the above packages, gmp was found
missing and got installed, but what really makes me wonder is pkgdb
thinking all these dependencies are really irrelevant; this is some
behaviour I also recently noticed in other situations and found it
strange there too.
Any pointer on how pkgdb decides that?

  bye & Thanks
        av.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

dougb
In reply to this post by Denny Lin-3
On 4/22/2010 3:10 AM, Denny Lin wrote:
> See if this works:
> # env DISABLE_CONFLICTS=1 portmaster -o math/gmp math/libgmp4

As of portmaster version 2.22 the DISABLE_CONFLICTS is already in the
script for the -o option.


FYI,

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/

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

Jason Hellenthal
In reply to this post by Andrea Venturoli
On 04/22/2010 05:30, Andrea Venturoli wrote:

> Hello.
>
> From UPDATING:
>
>> 20100419:
>>   AFFECTS: users of math/libgmp4
>>   AUTHOR: [hidden email]
>>
>>   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.

1. Comment out the CONFLICTS line in math/gmp/Makefile
2. run ( make )
3. pkg_delete -d -f libgmp\*
4. run ( make install )
5. add "libgmp.so.8     libgmp.so.10" to /etc/libmap.conf
6. upgrade the rest of your packages.
7. Use sysutils/libchk or something similar to check for broken binaries
and upgrade them appropriately.
8. remove step [5] from /etc/libmap.conf
9. Uncomment the CONFLICTS line in math/gmp/Makefile from step [1]

Step 5 will at least leave some of your binaries in operable condition
until you get all of them upgraded. Of course you could skip that and
copy libgmp.so.8 to some other lib directory and skip step 5 but I
prefer personally not to do that because it effects the checks that
sysutils/libchk does for unreferenced libs.


Doug,

        You mentioned in your reply that portmaster already sets
DISABLE_CONFLICTS=1 for -o in version 2.22. Does it also do this while
the -r flag has been specified and thus enabling that while upgrading
recursively ? or does it drop the DISABLE_CONFLICTS variable after the
port that was specified after the -o flag has been upgraded ?

Regards,

--

 jhell
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: GMP change

dougb
On 04/23/10 07:14, jhell wrote:
> Doug,
>
> You mentioned in your reply that portmaster already sets
> DISABLE_CONFLICTS=1 for -o in version 2.22. Does it also do this while
> the -r flag has been specified and thus enabling that while upgrading
> recursively ? or does it drop the DISABLE_CONFLICTS variable after the
> port that was specified after the -o flag has been upgraded ?

It only does it for -o.


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/

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[hidden email]"
Loading...