Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=460304
--- Comment #2 from Jens Petersen <petersen(a)redhat.com> 2008-09-04 07:05:01 EDT ---
Created an attachment (id=315737)
--> (https://bugzilla.redhat.com/attachment.cgi?id=315737)
macros.haskell
I would to propose these as a slightly revised and improved set of macros.
They have been tested with a ghc-X11.spec in bug 426751.
Please give them a try and see what you think. :)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
--- Comment #20 from Jens Petersen <petersen(a)redhat.com> 2008-09-04 07:00:28 EDT ---
Created an attachment (id=315734)
--> (https://bugzilla.redhat.com/attachment.cgi?id=315734)
ghc-X11.spec+macros-revised
I would really like to suggest that we do the macros and packaging in this way.
This is a lightly cleaned up and simplified set of packages, which I would be
happy to go ahead with. :)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
--- Comment #19 from Jens Petersen <petersen(a)redhat.com> 2008-09-04 05:05:08 EDT ---
Created an attachment (id=315727)
--> (https://bugzilla.redhat.com/attachment.cgi?id=315727)
ghc-X11.spec+macros
eg this spec file with embedded macros from
https://fedoraproject.org/wiki/PackagingDrafts/Haskell/GHCMacroDefs gives:
+ pushd /builddir/build/BUILDROOT/ghc-X11-1.4.2-1.fc10.i386
+ echo '%defattr(-,root,root,-)'
+ find ./usr/lib/ghc-6.8.3/X11-1.4.2 '(' -name '*_p.a' -o -name '*.p_hi' ')'
+ sed 's/^.//'
+ echo '%defattr(-,root,root,-)'
+ find ./usr/lib/ghc-6.8.3/X11-1.4.2 -type d
+ sed 's/^./%dir /'
+ find ./usr/lib/ghc-6.8.3/X11-1.4.2 '!' '(' -type d -o -name '*_p.a' -o -name
'*.p_hi' ')'
+ sed 's/^.//'
+ sed 's,^/,%exclude /,' '%{ghc_tar_dir}/ghc-X11-files.prof'
sed: can't read %{ghc_tar_dir}/ghc-X11-files.prof: No such file or directory
RPM build error:
Error: /var/tmp/rpm-tmp.zA1wEN の不正な終了ステータス (%install)
/var/tmp/rpm-tmp.zA1wEN の不正な終了ステータス (%install)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
--- Comment #18 from Jens Petersen <petersen(a)redhat.com> 2008-09-04 05:00:48 EDT ---
As I already mentioned in comment 14 and elsewhere, the ghc_gen_filelists macro
is broken
and needs to be fixed (even though the macros were already accepted by the
packaging committee;).
At the same time I think it might be worth doing some slight simplication of
the macros.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
--- Comment #17 from Michel Alexandre Salim <michel.sylvan(a)gmail.com> 2008-09-03 23:19:52 EDT ---
Will review tomorrow
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=460304
Bryan O'Sullivan <bos(a)serpentine.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=460304
Yaakov Nemoy <loupgaroublond(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |460974
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=460304
Yaakov Nemoy <loupgaroublond(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |426751
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
Yaakov Nemoy <loupgaroublond(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |460304
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=426751
--- Comment #16 from Yaakov Nemoy <loupgaroublond(a)gmail.com> 2008-09-02 23:13:40 EDT ---
SPEC http://ynemoy.fedorapeople.org/repo/ghc-X11.spec
SRPM http://ynemoy.fedorapeople.org/repo/ghc-X11-1.4.2-1.fc9.src.rpm
This is an example of a library only package with links to C libraries.
The macros needed are currently available on the wiki and need to be installed
manually for now. There is a bug to have them included in ghc directly. I
will add it to the blockers. Don't forget to --copyin them to mock, and then
use --no-clean to do the build.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.