Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5935

Summary: dev-libs/gmp-4.1-r2
Product: Gentoo Linux Reporter: Daniel Mettler <mettlerd>
Component: New packagesAssignee: Stuart Bouyer (RETIRED) <stubear>
Status: RESOLVED FIXED    
Severity: normal CC: matth
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.numlock.ch
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gmp-4.1-r2.ebuild

Description Daniel Mettler 2002-08-02 17:43:15 UTC
this ebuild fixes the following build issue of gmp-4.1-r1 (and makes it pass 
lintool btw): 
  
# emerge gmp  
Calculating dependencies ...done!  
>>> emerge dev-libs/gmp-4.1-r1 to /  
>>> md5 ;-) gmp-4.1.tar.gz  
>>> Unpacking source...  
>>> Unpacking gmp-4.1.tar.gz  
patching file randraw.c  
>>> Source unpacked.  
configure: error: --target is not appropriate for GMP  
Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system  
explicitly.  Use --host if cross-compiling (see "Installing GMP" in the  
manual for more on this).  
  
!!! ERROR: The ebuild did not complete successfully.  
!!! Function src_compile, Line -131, Exitcode 1  
!!! configure failed  
  
!!! emerge aborting on  /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild . 
 
patch: 
--- gmp-4.1-r1.ebuild   Fri Aug  2 05:50:11 2002 
+++ gmp-4.1-r2.ebuild   Fri Aug  2 23:55:16 2002 
@@ -11,7 +11,7 @@ 
 LICENSE="LGPL-2" 
 
 DEPEND=">=sys-devel/m4-1.4p" 
- 
+RDEPEND=${DEPEND} 
 
 
 src_unpack() { 
@@ -23,7 +23,6 @@ 
 src_compile() { 
        econf \ 
                --build=${CHOST} \ 
-               --target=${CHOST} \ 
                --localstatedir=/var/state/gmp \ 
                --enable-cxx \ 
                --enable-mpbsd \
Comment 1 Daniel Mettler 2002-08-02 17:44:10 UTC
Created attachment 2762 [details]
gmp-4.1-r2.ebuild
Comment 2 SpanKY gentoo-dev 2002-08-02 22:23:27 UTC
*** Bug 5895 has been marked as a duplicate of this bug. ***
Comment 3 Stuart Bouyer (RETIRED) gentoo-dev 2002-08-04 04:12:31 UTC
Changed gmp-4.1-r1, no need to bump revision number for this fix.