[Fedora-haskell-list] [Bug 753661] New: hsc2hs not found error due to update-alternatives not found (missing Requires: chkconfig)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: hsc2hs not found error due to update-alternatives not found (missing Requires: chkconfig)
https://bugzilla.redhat.com/show_bug.cgi?id=753661
Summary: hsc2hs not found error due to update-alternatives not
found (missing Requires: chkconfig)
Product: Fedora EPEL
Version: el6
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: ghc
AssignedTo: petersen(a)redhat.com
ReportedBy: giamteckchoon(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, fedora-haskell-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Description of problem:
When try to build other packages that require ghc in mock, a couple of them
can't be compile due to hsc2hs not found error. ghc-6.12.3-5.el6 and
ghc-6.12.3-6.el6 (I think) in %post and %preun sections in spec file as below:
%post
# Alas, GHC, Hugs, and nhc all come with different set of tools in
# addition to a runFOO:
#
# * GHC: hsc2hs
# * Hugs: hsc2hs, cpphs
# * nhc: cpphs
#
# Therefore it is currently not possible to use --slave below to form
# link groups under a single name 'runhaskell'. Either these tools
# should be disentangled from the Haskell implementations, or all
# implementations should have the same set of tools. *sigh*
update-alternatives --install %{_bindir}/runhaskell runhaskell \
%{_bindir}/runghc 500
update-alternatives --install %{_bindir}/hsc2hs hsc2hs \
%{_bindir}/hsc2hs-ghc 500
%preun
if [ "$1" = 0 ]; then
update-alternatives --remove runhaskell %{_bindir}/runghc
update-alternatives --remove hsc2hs %{_bindir}/hsc2hs-ghc
fi
So it needs update-alternatives to do the linking if I am right in fact the
spec file will need to add Requires: chkconfig or else when installing ghc will
have the errors as below:
Non-fatal POSTIN scriptlet failure in rpm package ghc-6.12.3-6.el6.i686
/var/tmp/rpm-tmp.E4LKqM: line 13: update-alternatives: command not found
/var/tmp/rpm-tmp.E4LKqM: line 15: update-alternatives: command not found
warning: %post(ghc-6.12.3-6.el6.i686) scriptlet failed, exit status 127
Version-Release number of selected component (if applicable):
ghc-6.12.3-5.el6
ghc-6.12.3-6.el6
In fact past versions/release can have the same problem if the %post and %preun
sections are the same and without chkconfig in Requires list.
How reproducible:
When build in mock environment where chkconfig package isn't install by default
will have this issue since update-alternatives is provided by chkconfig rpm
package.
Like when you try to compile/build any of the packages that need hsc2hs in ghc
package where ghc only has /usr/bin/hsc2hs-ghc and during %post section use
update-alternatives to do the linking of /usr/bin/hsc2hs-ghc to hsc2hs-ghc.
i.e Try to build any of the following without chkconfig rpm package install:
xmonad-0.9.1-6.1.el6
ghc-X11-1.5.0.0-5.el6
hscolour-1.16-1.el6
The list goes on... ...
Thanks.
Kindest regards,
Giam Teck Choon
--
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.
11 years, 11 months
[Fedora-haskell-list] [Bug 753833] New: hscolour is required but not found error
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: hscolour is required but not found error
https://bugzilla.redhat.com/show_bug.cgi?id=753833
Summary: hscolour is required but not found error
Product: Fedora EPEL
Version: el6
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: ghc-QuickCheck
AssignedTo: petersen(a)redhat.com
ReportedBy: giamteckchoon(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, fedora-haskell-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Description of problem:
When try to rebuild ghc-QuickCheck-2.1.1.1-1.el6 in mock, it will not compile
successfully if hscolour >= 1.8 package is not install.
Partial log as below:
[11 of 12] Compiling Test.QuickCheck.Monadic ( Test/QuickCheck/Monadic.hs,
dist/build/Test/QuickCheck/Monadic.dyn_o )
[12 of 12] Compiling Test.QuickCheck ( Test/QuickCheck.hs,
dist/build/Test/QuickCheck.dyn_o )
Registering QuickCheck-2.1.1.1...
+ '[' -x Setup ']'
+ ./Setup haddock --hyperlink-source
Running Haddock for QuickCheck-2.1.1.1...
Preprocessing library QuickCheck-2.1.1.1...
Setup: hscolour version >=1.8 is required but it could not be found.
error: Bad exit status from /var/tmp/rpm-tmp.42heGW (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.42heGW (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps
builddir/build/SPECS/ghc-QuickCheck-2.1.1.1-1.el6.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
Version-Release number of selected component (if applicable):
ghc-QuickCheck-2.1.1.1-1.el6
Additional info:
I will have to suggest that adding BuildRequires: hscolour >= 1.8 in the spec
file to resolve this issue.
Thanks.
Kindest regards,
Giam Teck Choon
--
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.
11 years, 11 months
[Bug 806624] New: not able to start xmonad, library missing (dependency missing)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: not able to start xmonad, library missing (dependency missing)
https://bugzilla.redhat.com/show_bug.cgi?id=806624
Summary: not able to start xmonad, library missing (dependency
missing)
Product: Fedora
Version: 16
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: high
Priority: unspecified
Component: xmonad
AssignedTo: mathstuf(a)gmail.com
ReportedBy: mail(a)erikstreb.de
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, mathstuf(a)gmail.com,
fedora-haskell-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
I can’t start xmonad since an update some weeks ago.
Version-Release number of selected component (if applicable):
xmonad-core-0.10-3.fc16.4.x86_64.rpm
How reproducible:
I enter “xmonad” in a terminal.
Actual results:
I get an error message:
/home/erik/.xmonad/xmonad-x86_64-linux: error while loading shared libraries:
libHSxmonad-contrib-0.9.2-ghc7.0.4.so: cannot open shared object file: No such
file or directory
Expected results:
No error, just start xmonad.
Additional info:
I don’t know how to workaround this problem, but I need my machine, so for me
it is urgent.
PS: I will try the Fedora 17 alpha live system, if it has the same problem. And
then report back.
--
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.
11 years, 11 months
[Fedora-haskell-list] [Bug 753918] New: external.sh test failed when build in mock
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: external.sh test failed when build in mock
https://bugzilla.redhat.com/show_bug.cgi?id=753918
Summary: external.sh test failed when build in mock
Product: Fedora EPEL
Version: el6
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: darcs
AssignedTo: petersen(a)redhat.com
ReportedBy: giamteckchoon(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, fedora-haskell-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Description of problem:
Reference:
http://us.generation-nt.com/answer/bug-596606-darcs-fails-build-without-n...
When trying to rebuild darcs in mock, it will fail with the following partial
log:
Running whatsnew-file.sh ... passed.
Running whatsnew.sh ... passed.
Running workingdir.sh ... passed.
Some tests failed:
external.sh
Setup: Tests failed
error: Bad exit status from /var/tmp/rpm-tmp.iKljMO (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.iKljMO (%check)
Version-Release number of selected component (if applicable):
darcs-2.4.4-3.el6
Patch attached to disable external.sh test which in result in successful build
of darcs-2.4.4-3.el6.
Thanks.
Kindest regards,
Giam Teck Choon
--
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.
12 years
[Bug 818102] Review Request: ghc-network-conduit - Stream socket data using conduits
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=818102
Lakshmi Narasimhan <lakshminaras2002(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|fedora-review? |fedora-review+
--- Comment #1 from Lakshmi Narasimhan <lakshminaras2002(a)gmail.com> ---
[+]MUST: rpmlint must be run on every package. The output should be posted in
the review.
rpmlint -i ghc-network-conduit-0.4.0-1.fc15.x86_64.rpm
ghc-network-conduit-devel-0.4.0-1.fc15.x86_64.rpm
ghc-network-conduit-0.4.0-1.fc15.src.rpm ../ghc-network-conduit.spec
3 packages and 1 specfiles checked; 0 errors, 0 warnings.
[+]MUST: The package must be named according to the Package Naming Guidelines.
[+]MUST: The spec file name must match the base package %{name}, in the format
%{name}.spec
[+]MUST: The package must meet the Packaging Guidelines.
Naming-Yes
Version-release - Matches
No prebuilt external bits - OK
Spec legibity - OK
Package template - OK
Arch support - OK
Libexecdir - OK
rpmlint - yes
changelogs - OK
Source url tag - OK, validated.
Build Requires list - OK
Summary and description - OK
API documentation - OK, in devel package
[+]MUST: The package must be licensed with a Fedora approved license and meet
the Licensing Guidelines.
License is BSD.
[+]MUST: The License field in the package spec file must match the actual
license.
[+]MUST: If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package must be included in %doc.
LICENSE file is included
[+]MUST: The spec file must be written in American English.
[+]MUST: The spec file for the package MUST be legible.
[+]MUST: The sources used to build the package must match the upstream
source,as provided in the spec URL. Reviewers should use md5sum for this task.
md5sum network-conduit-0.4.0.tar.gz
18f519a97fe073c491fb59996316dfa0 network-conduit-0.4.0.tar.gz
ghc-network-conduit-0.4.0-1.fc16.src/network-conduit-0.4.0.tar.gz
18f519a97fe073c491fb59996316dfa0
ghc-network-conduit-0.4.0-1.fc16.src/network-conduit-0.4.0.tar.gz
[+]MUST: The package MUST successfully compile and build into binary rpms on at
least one primary architecture.
Built on x86_64.
[+]MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.
[+]MUST: All build dependencies must be listed in BuildRequires.
[+]MUST: Packages must NOT bundle copies of system libraries.
Checked with rpmquery --list.
[+]MUST: A package must own all directories that it creates.
Checked with rpmquery --whatprovides.
[+]MUST: A Fedora package must not list a file more than once in the spec
file's %files listings.
[+]MUST: Permissions on files must be set properly.
Checked with ls -lR.
[+]MUST: Each package must consistently use macros.
[+]MUST: The package must contain code, or permissible content.
[+]MUST: Large documentation files must go in a -doc subpackage.
[+]MUST: If a package includes something as %doc, it must not affect the
runtime of the application.
[+]MUST: devel packages must require the base package using a fully versioned
dependency: Requires: {name} = %{version}-%{release}
rpm -e ghc-network-conduit-0.4.0-1.fc15.x86_64
error: Failed dependencies:
ghc(network-conduit-0.4.0) = b6232cae1af4a8da732fbb7771b81dc5 is needed
by (installed) ghc-network-conduit-devel-0.4.0-1.fc15.x86_64
ghc-network-conduit = 0.4.0-1.fc15 is needed by (installed)
ghc-network-conduit-devel-0.4.0-1.fc15.x86_64
[+]MUST: Packages must not own files or directories already owned by other
packages.
[+]MUST: All filenames in rpm packages must be valid UTF-8.
Should items
[+]SHOULD: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.
[+]SHOULD: The reviewer should test that the package functions as described.
Loaded Data.Conduit.Network into ghci.Loads fine.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.
cabal2spec-diff is OK.
--
You are receiving this mail because:
You are on the CC list for the bug.
12 years