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

Bug 263163

Summary: net-dialup/cutecom-0.20.0-r1 uses wrong build-system ("old-style" make instead of cmake)
Product: Gentoo Linux Reporter: Peter <farfargoth>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter 2009-03-20 19:43:14 UTC
Tried to emerge net-dialup/cutecom, but it exited with an error stating that the build system for the package had changed.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-dialup/cutecom-0.20.0-r1
2. ???
3. Error!

Actual Results:  
>>> Emerging (40 of 500) net-dialup/cutecom-0.20.0-r1
 * cutecom-0.20.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                    [ ok ]
>>> Unpacking source...                                                                                                                                         
>>> Unpacking cutecom-0.20.0.tar.gz to /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work                                                                       
 * Applying cutecom-0.20.0-manpath.patch ...                                                                                                               [ ok ]
>>> Source unpacked in /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work                                                                                        
>>> Compiling source in /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work/cutecom-0.20.0 ...                                                                    
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64                                                                                                            

CuteCom uses the CMake build system, at least version 2.4.3 is required.
If there is no package for your distribution, you can                   
get it from http://www.cmake.org/HTML/Download.html                     

So instead of running ./configure, you need to run cmake:
$ cmake .                                                

>>> Source compiled.
>>> Test phase [not enabled]: net-dialup/cutecom-0.20.0-r1

>>> Install cutecom-0.20.0-r1 into /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/image/ category net-dialup
make: *** No rule to make target `install'.  Stop.                                                         
 *                                                                                                         
 * ERROR: net-dialup/cutecom-0.20.0-r1 failed.                                                             
 * Call stack:                                                                                             
 *               ebuild.sh, line   48:  Called src_install                                                 
 *             environment, line 3261:  Called base_src_install                                            
 *             environment, line  517:  Called base_src_install 'all'                                      
 *             environment, line  527:  Called base_src_install 'make'                                     
 *             environment, line  523:  Called die                                                         
 * The specific snippet of code:                                                                           
 *                   make DESTDIR="${D}" install || die "died running make install, $FUNCNAME:make"        
 *  The die message:                                                                                       
 *   died running make install, base_src_install:make                                                      
 *                                                                                                         
 * If you need support, post the topmost build error, and the call stack if relevant.                      
 * A complete build log is located at '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/build.log'.      
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/environment'.
 *                                                                                                            

>>> Failed to emerge net-dialup/cutecom-0.20.0-r1, Log file:

>>>  '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/build.log'


Expected Results:  
Installation of the software.

Need to change to build system to CMake (i.e. substitute the call to "./configure" for "cmake .", or something like it).
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-20 19:49:30 UTC

*** This bug has been marked as a duplicate of bug 263159 ***