Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518734 - dev-lang/ghc: build fails with pax enabled (in PAX_MARKINGS=XT mode)
Summary: dev-lang/ghc: build fails with pax enabled (in PAX_MARKINGS=XT mode)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-01 10:59 UTC by Jay Yang
Modified: 2014-08-01 20:45 UTC (History)
2 users (show)

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


Attachments
emerge --info (info.txt,5.68 KB, text/plain)
2014-08-01 10:59 UTC, Jay Yang
Details
build.log (build.log.bz2,103.42 KB, application/x-bzip2)
2014-08-01 11:03 UTC, Jay Yang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Yang 2014-08-01 10:59:20 UTC
Created attachment 381998 [details]
emerge --info

Specifically, I am working with dev-lang/ghc-7.6.3-r1, but it is unlikely that it is specific to this version. I've been talking to slyfox on #gentoo-haskell about this, and it appears the issue has to do with cp -p not copying xattrs.
Comment 1 Jay Yang 2014-08-01 11:03:28 UTC
Created attachment 382000 [details]
build.log

Note: I've built it from the gentoo-haskell overlay, but the version in the portage tree is identical.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-01 15:05:26 UTC
Pushed to overlay only:

https://github.com/gentoo-haskell/gentoo-haskell/commit/9988cd5085c3de84aa06098f5dba65df75d39e11

Please, try if that patch helps you. #gentoo-hardened folks say
portage's install should preserve that marking.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-01 15:14:54 UTC
Wrong link. This one is better:

https://github.com/gentoo-haskell/gentoo-haskell/commit/02e2f0f2e17dd965e1aeb2a998061ece2fc896c4
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-01 20:45:10 UTC
Pushed fix to the main tree as:

> 01 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
> +files/ghc-7.6.3-preserve-inplace-xattr.patch, ghc-7.6.3-r1.ebuild,
> ghc-7.8.3.ebuild:
> Fix hardened installation in PAX_MARKINGS=XT mode (bug #518734).

Proposed patch upstream as: https://phabricator.haskell.org/D108

Thanks!