9be7 libgmp4 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old April 20th, 2010, 01:21
lumiwa
Guest
 
Posts: n/a
Default libgmp4

In /usr/ports/UPDATING is:

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

Does it mean that we need first to pkg_delete the old port and than update with portmaster for example?
I did portmaster -ad and I got:

Code:
===>>> The following actions will be taken if you choose to proceed:
        Upgrade binutils-2.20.1 to binutils-2.20.1_1                
        Upgrade mpfr-2.4.2 to mpfr-2.4.2_1                          
        Upgrade cln-1.3.1 to cln-1.3.1_1                            
        Upgrade gcc-4.4.4.20100413 to gcc-4.4.4.20100413_1          
        Upgrade guile-1.8.6_2 to guile-1.8.6_3                      
        Upgrade subversion-1.6.9 to subversion-1.6.11               
        Upgrade kdenetwork-4.3.5_1 to kdenetwork-4.3.5_2            
        Upgrade kdeutils-4.3.5_1 to kdeutils-4.3.5_2                
        Upgrade ktorrent-3.3.4_1 to ktorrent-3.3.4_2                

===>>> Proceed? y/n [y] y

===>>> Starting build for for ports that need updating <<<===

===>>> Launching child to update binutils-2.20.1

===>>> Port directory: /usr/ports/devel/binutils
===>>> Starting check for build dependencies    
===>>> Gathering dependency list for devel/binutils from ports
===>>> Starting dependency check                              

===>>> The dependency for math/gmp
       seems to be handled by libgmp-4.3.2

===>>> Launching child to update mpfr-2.4.2 to mpfr-2.4.2_1
        binutils-2.20.1 >> mpfr-2.4.2                      

===>>> Port directory: /usr/ports/math/mpfr
===>>> Starting check for build dependencies
===>>> Gathering dependency list for math/mpfr from ports
===>>> Starting dependency check                         

===>>> The dependency for math/gmp
       seems to be handled by libgmp-4.3.2

===>>> Dependency check complete for math/mpfr
        binutils-2.20.1 >> mpfr-2.4.2         
===>  Cleaning for mpfr-2.4.2_1               

===>  Extracting for mpfr-2.4.2_1
=> MD5 Checksum OK for mpfr/mpfr-2.4.2.tar.bz2.
=> SHA256 Checksum OK for mpfr/mpfr-2.4.2.tar.bz2.
===>  Patching for mpfr-2.4.2_1
===>   mpfr-2.4.2_1 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/math/mpfr.

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

===>>> Update for mpfr-2.4.2 failed
===>>> Aborting update

===>>> Update for binutils-2.20.1 failed
===>>> Aborting update
Thanks.

Last edited by DutchDaemon; April 20th, 2010 at 13:23. Reason: use [code], not [quote]
Reply With Quote
  #2  
Old April 20th, 2010, 02:08
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,388
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Code:
pkg_delete -f /var/db/pkg/libgmp-[something]
that will "break" guile, gcc4N, many,
mpfr, binutils, mpfr, fftw, and several others
if you have them installed.
Code:
cd /usr/ports/math/gmp
make install && /bin/rm -rf work
# later...
cd /usr/ports/math/mpfr
/bin/rm -rf work
pkg_delete -f /var/db/pkg/mpfr-...
make install && /bin/rm -rf work
pkgdb -u && pkgdb -F
You may want to check the +REQUIRED_BY file in
/var/db/pkg/libgmp-* before the first operation to see
which ports to rebuild if you still need them.

Btw it is
gmp >> guile/mpfr >> binutils >> gcc44 in that
order, per my notes, but you'd want to double check it as you
go along...
Reply With Quote
The Following 3 Users Say Thank You to jb_fvwm2 For This Useful Post:
blahblah_1981 (April 21st, 2010), obscaenvs (April 24th, 2010)
  #3  
Old April 25th, 2010, 22:57
tobe's Avatar
tobe tobe is offline
Junior Member
 
Join Date: Jan 2009
Location: Europe.France.Lyon
Posts: 92
Thanks: 21
Thanked 8 Times in 8 Posts
Default

seems like xmonad is still looking for libgmp.so.8 after replacing /usr/ports/../libgmp by /usr/ports/../gmp and rebuilding all packages that depend on gmp (also had to rebuild all packages dependant on ghc) but a symlink seems enough to fix it.

edit:
well i just forgot to recompile my xmonad configuration file, now it's ok '^^
__________________
1: Introduce bug; 2: Fix bug; 3: Goto 1

Last edited by tobe; April 25th, 2010 at 23:06.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0