[Bug 579925] Review Request: tcl-tclreadline - GNU Readline extension for Tcl/Tk
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=579925
--- Comment #22 from Robert Scheck <redhat-bugzilla(a)linuxnetz.de> ---
Command tclsh is provided by package tcl which is a build requires.
The "build" in mock usually consists out of two steps (see "ENTER do") in the
build.log; it is usually there twice. The first one is to build the *.src.rpm
and the second one is for the binary package. The build requires are satisfied
at the second one while at the first there is only a minimal environment. In
that minimal environment there's usually no tclsh, thus the "echo '8.5'" from
above macro wins. If the binary package gets build the build requires of the
source rpm have been definately satisfied and building happens against exactly
that specified version that is returned by tclsh.
--
You are receiving this mail because:
You are always notified about changes to this product and component
9 years, 10 months
[Bug 579925] Review Request: tcl-tclreadline - GNU Readline extension for Tcl/Tk
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=579925
--- Comment #20 from Robert Scheck <redhat-bugzilla(a)linuxnetz.de> ---
(In reply to Robert Lightfoot from comment #19)
> tcl-tclreadline.src: E: specfile-error sh: tclsh: command not found
This is caused by tclsh(1) being not available on your system. Usually this
is also case on builders until the build environment has been set up. Caused
by this line:
%{!?tcl_version: %global tcl_version %((echo '8.5'; echo 'puts $tcl_version' |
tclsh) | tail -1)}
If it makes you more happy, we can silent it by using instead:
%{!?tcl_version: %global tcl_version %((echo '8.5'; echo 'puts $tcl_version' |
tclsh 2> /dev/null) | tail -1)}
However this is just hiding the error message from STDERR.
--
You are receiving this mail because:
You are always notified about changes to this product and component
9 years, 10 months
[Bug 579925] Review Request: tcl-tclreadline - GNU Readline extension for Tcl/Tk
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=579925
--- Comment #19 from Robert Lightfoot <BobLfoot(a)gmail.com> ---
RP Herrold - I still get an error on the src.rpm from rpmlint.
[mock@mythbox ~]$ rpmlint
/var/lib/mock/epel-7-x86_64/result/tcl-tclreadline-2.1.0-3.el7.centos.src.rpm
/var/lib/mock/epel-7-x86_64/result/tcl-tclreadline-2.1.0-3.el7.centos.x86_64.rpm
tcl-tclreadline.src: E: specfile-error sh: tclsh: command not found
tcl-tclreadline.x86_64: W: incoherent-version-in-changelog 2.1.0-3
['2.1.0-3.el7.centos', '2.1.0-3.centos']
2 packages and 0 specfiles checked; 1 errors, 1 warnings.
[mock@mythbox ~]$ rpm -qi rpmlint
Name : rpmlint
Version : 1.5
Release : 4.el7
Architecture: noarch
Install Date: Mon 04 Aug 2014 08:22:55 PM EDT
Group : Development/Tools
Size : 1225006
License : GPLv2
Signature : RSA/SHA256, Fri 04 Jul 2014 12:50:56 AM EDT, Key ID
24c6a8a7f4a80eb5
Source RPM : rpmlint-1.5-4.el7.src.rpm
Build Date : Mon 09 Jun 2014 11:28:19 PM EDT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://sourceforge.net/projects/rpmlint/
Summary : Tool for checking common errors in RPM packages
Description :
rpmlint is a tool for checking common errors in RPM packages. Binary
and source packages as well as spec files can be checked.
[mock@mythbox ~]$
--
You are receiving this mail because:
You are always notified about changes to this product and component
9 years, 10 months