Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343071 - app-portage/eix-0.22.3 build problem on interix: no SA_SIGINFO
Summary: app-portage/eix-0.22.3 build problem on interix: no SA_SIGINFO
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Interix
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 13:21 UTC by Markus Duft (RETIRED)
Modified: 2010-11-08 13:52 UTC (History)
1 user (show)

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


Attachments
check if SA_SIGINFO is there. (eix-0.22.3-sa_siginfo.patch,1.05 KB, patch)
2010-10-28 13:21 UTC, Markus Duft (RETIRED)
Details | Diff
sample file for CONFIG_SITE to force configure variables (config.site,7.77 KB, text/plain)
2010-10-28 15:01 UTC, Sin Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Duft (RETIRED) gentoo-dev 2010-10-28 13:21:11 UTC
I have a problem building eix on interix: there is no SA_SIGINFO on interix. is there any other known platform lacking it? 

i have a patch to fix this (attached), ok to commit to the tree for the current 0.22.3?
Comment 1 Markus Duft (RETIRED) gentoo-dev 2010-10-28 13:21:41 UTC
Created attachment 252363 [details, diff]
check if SA_SIGINFO is there.
Comment 2 Sin Li 2010-10-28 15:01:33 UTC
Created attachment 252383 [details]
sample file for CONFIG_SITE to force configure variables
Comment 3 Sin Li 2010-10-28 15:04:02 UTC
Comment on attachment 252383 [details]
sample file for CONFIG_SITE to force configure variables


    I just put ac_cv_func_sigaction=${ac_cv_func_sigaction=no} in my CONFIG_SITE
    file so that configure knows my system doesn't have it.

    Since this is potentially a problem on other packages too, and some similar
    issues have come up such as missing poll.h which was in the wrong directory
    that was fixed by ac_cv_func_poll=${ac_cv_func_poll=no}, perhaps there could be
    a step during emerge to set up CONFIG_SITE to point to an uniform config file
    that deals with Interix issues?

    Uploaded the file I usually use, it's got some quirks e.g.
    ac_cv_func_poll=${ac_cv_func_poll=no} is commented out because I linked my
    poll.h to the expected location instead.
Comment 4 Markus Duft (RETIRED) gentoo-dev 2010-10-28 15:09:36 UTC
errmmm... sigaction *is* there... only SA_SIGINFO isn't we should not take out too much functionality. no plan if it'd matter in this single case, but generally speaking...

also, i think your config.site is not a good idea. i'm longing to fix packages as such that they behave correctly on interix without such quirks. it is never a good idea to have a seperate "hack-around database". also jerker (who wrote the file as i see it) put in a lot of stuff that is not relevant to prefix at all, since we don't use the same compilers, so some of the things (only skimmed through) may be plain wrong for us!
Comment 5 Martin Väth 2010-10-28 16:30:54 UTC
Thanks for the patch. This is fixed in eix' svn trunk (>=eix-0.22.4).
Comment 6 Markus Duft (RETIRED) gentoo-dev 2010-10-29 05:52:27 UTC
(In reply to comment #5)
> Thanks for the patch. This is fixed in eix' svn trunk (>=eix-0.22.4).
> 

thanks very much. i will see whether i can get the patch into the tree for the current revision then.
Comment 7 Markus Duft (RETIRED) gentoo-dev 2010-10-29 12:54:57 UTC
talking to darkside, as the patch is not that urgent, we agreed to wait for the next release ;)
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-11-08 13:52:55 UTC
(In reply to comment #7)
> talking to darkside, as the patch is not that urgent, we agreed to wait for the
> next release ;)
> 

in tree