Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342271 - dev-lang/ghc-6.12.3 - make[1]: *** [docs/users_guide/users_guide/index.html] Segmentation fault
Summary: dev-lang/ghc-6.12.3 - make[1]: *** [docs/users_guide/users_guide/index.html] ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-23 06:56 UTC by Pascal Bourguignon
Modified: 2010-10-26 09:06 UTC (History)
1 user (show)

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


Attachments
bug report documents. (dev-lang--ghc-6.12.3--20101023T085314.tar.bz2,82.70 KB, application/x-bzip2)
2010-10-23 06:56 UTC, Pascal Bourguignon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Bourguignon 2010-10-23 06:56:14 UTC
I've run haskell-updater successfully, nonetheless, 
 emerge --tree  --newuse  --update world
fails on ghc.

See attached tarball.
Comment 1 Pascal Bourguignon 2010-10-23 06:56:57 UTC
Created attachment 251657 [details]
bug report documents.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-23 10:08:35 UTC
Comment on attachment 251657 [details]
bug report documents.

It is preferable to post emerge --info and the relevant lines of the build log directly into the bug.
Comment 3 Pascal Bourguignon 2010-10-23 12:02:19 UTC
(In reply to comment #2)
> (From update of attachment 251657 [details])
> It is preferable to post emerge --info and the relevant lines of the build log
> directly into the bug.

Perhaps. But it's too much work. I've got a script that automatically gather the bug report informations.

By the way, why isn't it done automatically by emerge itself?

emerge: compilation failed: do you want me to send a bug report (y/n)?

Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-23 16:35:29 UTC
(In reply to comment #3)
> Perhaps. But it's too much work. I've got a script that automatically gather
> the bug report informations.

Then perhaps it's time to adapt your script to the preferences and standards of Gentoo's developers?

Please post separate attachments instead of one tarball next time.

Also, teach your script to use the entire atom, including the CATEGORY that is.

CFLAGS="-O2 -pipe -march=native -mno-tls-direct-seg-refs"

Weird CFLAGS. Try again without that last one.


> By the way, why isn't it done automatically by emerge itself?
> 
> emerge: compilation failed: do you want me to send a bug report (y/n)?

That's irrelevant here. Report a new bug about that, please.
Comment 5 Pascal Bourguignon 2010-10-23 17:05:31 UTC
> Also, teach your script to use the entire atom, including the CATEGORY that is.

I don't understand what you mean.  The tarball name contains the three parts of the atom, which I mentionned also in the summary.  Otherwise it contains all the files and command output required by emerge when it fails.
And the output of emerge --info which is conveniently stored in a file named emerge--info.txt contains the whole atom too.


> CFLAGS="-O2 -pipe -march=native -mno-tls-direct-seg-refs"
> 
> Weird CFLAGS. Try again without that last one.

It is needed for Xen, as indicated by the Gentoo Xen HowTo. 
http://en.gentoo-wiki.com/wiki/Xen
Comment 6 Pascal Bourguignon 2010-10-25 05:16:09 UTC
After the sync of this night, (and perhaps my remove of debug use flag, but it had no effect before the sync, only on swi-prolog and samba, see #342377), 

dev-lang/ghc-6.12.3 

emerged correctly along with darcs, and their dependencies.

Thanks.