Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267361 - dev-scheme/plt-scheme-4.1: configure fails when USE flag "profile" is enabled
Summary: dev-scheme/plt-scheme-4.1: configure fails when USE flag "profile" is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 17:25 UTC by Ivan Filgueiras
Modified: 2009-04-24 18:01 UTC (History)
1 user (show)

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


Attachments
config.log file that was asked for me to submit by portage (config.log,25.08 KB, text/plain)
2009-04-24 17:28 UTC, Ivan Filgueiras
Details
environment file that was asked for me to submit by portage (environment,88.42 KB, text/plain)
2009-04-24 17:31 UTC, Ivan Filgueiras
Details
patch ebuild to filter -fomit-frame-pointer for USE=profile (plt-scheme-4.1-filter-fomit-frame-pointer-when-profiling.patch,706 bytes, patch)
2009-04-24 18:01 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Filgueiras 2009-04-24 17:25:01 UTC
If I try to compile the package with the USE flag "profile" enabled, it fails. However, the emerge works with any other combination of USE flags.

Reproducible: Always

Steps to Reproduce:
1.set the "profile" USE flag for the package dev-scheme/plt-scheme-4.1
2.do "emerge plt-scheme"
3.

Actual Results:  
I got this error message:

checking size of char... configure: error: cannot compute sizeof (char)
See `config.log' for more details.

Expected Results:  
Emerging the package with "profile" USE flag.
Comment 1 Ivan Filgueiras 2009-04-24 17:28:10 UTC
Created attachment 189332 [details]
config.log file that was asked for me to submit by portage
Comment 2 Ivan Filgueiras 2009-04-24 17:31:18 UTC
Created attachment 189333 [details]
environment file that was asked for me to submit by portage
Comment 3 Sebastian Luther (few) 2009-04-24 17:37:10 UTC
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible

Remove -fomit-frame-pointer from from your CFLAGS and try again.
Comment 4 Ivan Filgueiras 2009-04-24 17:56:47 UTC
It worked. Maybe the ebuild should warn me about this.
Comment 5 Sebastian Luther (few) 2009-04-24 18:01:31 UTC
Created attachment 189336 [details, diff]
patch ebuild to filter -fomit-frame-pointer for USE=profile

Patch for plt-scheme-4.1.ebuild to filter -fomit-frame-pointer for USE=profile. All versions of plt-scheme in the tree need to be patched.