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

Bug 277241

Summary: [patch] net-misc/spread-4.0.0 does not cross compile
Product: Gentoo Linux Reporter: Christopher Friedt <chrisfriedt>
Component: [OLD] UnspecifiedAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 241084    
Attachments: fix-cross-compile-snprintf-test.patch
spread-4.0.0.ebuild.patch
spread-4.1.0.ebuild

Description Christopher Friedt 2009-07-09 19:27:21 UTC
net-misc/spread-4.0.0 does not cross compile. The provided configure script fails with the following message:

checking whether snprintf correctly terminates long strings... configure: error: cannot run test program while cross compiling
See `config.log' for more details.



Reproducible: Always

Steps to Reproduce:
1.cross compile net-misc/spread-4.0.0
2.
3.

Actual Results:  
error (see above)

Expected Results:  
(fairly) clean, and successful build

see my attachments, which include 

a) a patch to configure.in
b) a patch to spread-4.0.0.ebuild
c) a new spread-4.1.0.ebuild

The ebuilds add ~arm to KEYWORDS
Comment 1 Christopher Friedt 2009-07-09 19:28:18 UTC
Created attachment 197388 [details, diff]
fix-cross-compile-snprintf-test.patch
Comment 2 Christopher Friedt 2009-07-09 19:30:00 UTC
Created attachment 197390 [details, diff]
spread-4.0.0.ebuild.patch
Comment 3 Christopher Friedt 2009-07-09 19:31:51 UTC
Created attachment 197391 [details]
spread-4.1.0.ebuild

This ebuild WILL fail because spread-src-4.1.0.tar.gz does not exist on gentoo mirrors, but rather than use a completely unofficial mirror, I left the SRC_URI as is.
Comment 4 Christopher Friedt 2009-07-09 19:35:17 UTC
Bug #241084 depends on spread-4.0.0.ebuild.patch . The patch fixes undetected CFLAGS and LDFLAGS.
Comment 5 Pacho Ramos gentoo-dev 2012-02-26 12:27:16 UTC
Is this still valid with 4.1.0 after resyncing?