Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277241 - [patch] net-misc/spread-4.0.0 does not cross compile
Summary: [patch] net-misc/spread-4.0.0 does not cross compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 241084
  Show dependency tree
 
Reported: 2009-07-09 19:27 UTC by Christopher Friedt
Modified: 2012-02-26 12:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix-cross-compile-snprintf-test.patch (fix-cross-compile-snprintf-test.patch,602 bytes, patch)
2009-07-09 19:28 UTC, Christopher Friedt
Details | Diff
spread-4.0.0.ebuild.patch (spread-4.0.0.ebuild.patch,1.06 KB, patch)
2009-07-09 19:30 UTC, Christopher Friedt
Details | Diff
spread-4.1.0.ebuild (spread-4.1.0.ebuild,1.10 KB, text/plain)
2009-07-09 19:31 UTC, Christopher Friedt
Details

Note You need to log in before you can comment on or make changes to this bug.
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?