Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331623 - Please keyword dev-haskell/hscolour
Summary: Please keyword dev-haskell/hscolour
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2010-08-08 09:09 UTC by Lennart Kolmodin (RETIRED)
Modified: 2011-11-20 08:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lennart Kolmodin (RETIRED) gentoo-dev 2010-08-08 09:09:18 UTC
hscolour is an application to add color to haskell source code, generating html files.
It can work together with the documentation tool dev-haskell/haddock, to color any code haddock generates documentation for.

The updated eclass haskell-cabal allows to colour any source code if we in the ebuild have defined CABAL_FEATURES="hscolour" and the user has enabled USE="hscolour".

So far no ebuilds in portage has this definition, but we plan is to add it for all new ebuilds.

So, dev-haskell/hscolour will be a dependency to many packages. Luckily it's well tested, and the change to the eclass has already been used close to one year in the haskell overlay.

From the following arches we need to mark dev-haskell/hscolour stable:

* alpha
* amd64
* ia64
* sparc
* x86

And from these arches we need ~keywording:

* ppc
* x86-fbsd
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-08 18:53:06 UTC
x86 stable

you probably want prefix or gentoo/freebsd team for x86-fbsd
Comment 2 Lennart Kolmodin (RETIRED) gentoo-dev 2010-08-08 19:01:38 UTC
Thanks Paweł!
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-08-09 14:28:23 UTC
Sorry

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/HsColour
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2010-08-10 04:29:04 UTC
(In reply to comment #3)
> Sorry
> 
>  * QA Notice: Files built without respecting LDFLAGS have been detected
>  *  Please include the following list of files in your report:
>  * /usr/bin/HsColour

I presume it's an amd64.

How did you detect it? With '-Wl,--hash-style=gnu' one? I'd also like to hear from you how you did install ghc (as it's he who generates binary pieces and calls ld to link them).

Thanks!
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-08-10 21:43:30 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Sorry
> > 
> >  * QA Notice: Files built without respecting LDFLAGS have been detected
> >  *  Please include the following list of files in your report:
> >  * /usr/bin/HsColour
> 
> I presume it's an amd64.
> 
> How did you detect it? With '-Wl,--hash-style=gnu' one? I'd also like to hear
> from you how you did install ghc (as it's he who generates binary pieces and
> calls ld to link them).
> 
> Thanks!
> 
Yes on amd64 using -Wl,--hash-style=gnu. 

here is the output of emerge -pv ghc

Calculating dependencies                          ... done!   
[ebuild   R   ] dev-lang/ghc-6.8.2-r1  USE="-bash-completion -doc -ghcbootstrap" 38,953 kB
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2010-08-15 20:45:59 UTC
> Yes on amd64 using -Wl,--hash-style=gnu. 
> 
> here is the output of emerge -pv ghc
> 
> Calculating dependencies                          ... done!   
> [ebuild   R   ] dev-lang/ghc-6.8.2-r1  USE="-bash-completion -doc
> -ghcbootstrap" 38,953 kB
> 

May I ask you and others to disregard this issue and keyword it stable?

LDFLAGS ignorance is not personal hscolour's fault, but rather Cabal's-the-library (which is used when building most of haskell packages, thus they have the same disease, but *shh*).

Similar upstream bug: http://hackage.haskell.org/trac/hackage/ticket/458
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-08-17 17:58:48 UTC
Yeah fair enough

At least upstream is aware of that

amd64 done

Could you please open a bug and make it block bug #331933 so we know which packages don't respect LDFLAGS
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2010-08-17 19:31:33 UTC
> amd64 done
Thanks!

> Could you please open a bug and make it block bug #331933 so we know which
> packages don't respect LDFLAGS

done: bug #333217
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2010-09-18 18:29:01 UTC
alpha stable
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2010-09-18 19:39:05 UTC
ia64 stable

sparc removed. Current stable ghc on sparc requires gcc:4.1 to work. I propose to stabilize hscolour later right after ghc-6.10+ stabilization (not tied to gcc).
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2010-11-06 08:28:24 UTC
Adding sparc back for stable request queue (it has stable ghc-6.12.3 now).
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2010-11-21 19:33:28 UTC
sparc stable
Comment 13 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-02-25 12:33:47 UTC
ppc/ppc64 stable
Comment 14 Sergei Trofimovich (RETIRED) gentoo-dev 2011-11-20 08:18:57 UTC
x86-fbsd done by naota:

>  13 Oct 2011; Naohiro Aota <naota@gentoo.org> hscolour-1.17.ebuild:
>  Add ~x86-fbsd

Closing. Thanks guys!