Bug 714138 - mksh can't be rebuild in mock
Summary: mksh can't be rebuild in mock
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: mksh
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Hlavinka
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-17 12:20 UTC by Levente Farkas
Modified: 2012-05-10 14:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-10 14:26:05 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Levente Farkas 2011-06-17 12:20:13 UTC
while try to rebuild in mock mksh-39-5.el6.src.rpm gives this error:
-----------------------------
==> nl_langinfo(CODESET)... yes
... setmode
$ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-all -
fwrapv -std=gnu99 -Wall -I.  -D_GNU_SOURCE -DHAVE_ATTRIBUTE=1 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_
LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_GRP_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_STDINT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1
 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_ARC4RANDOM=0 -DHAVE_ARC4RANDOM_PUSHB=0 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=1 -DHAVE_MKSTEMP=1 -DHAVE_NICE=1 -DHAVE_REALPATH=1
-DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1  -Wno-error scn.c  || rm -f ${tcfn}*
] scn.c: In function 'main':
] mirtoconf(8): warning: implicit declaration of function 'getmode'
] mirtoconf(8): warning: implicit declaration of function 'setmode'
] /tmp/ccyzDD2m.o: In function `main':
] /builddir/build/BUILD/mksh-39/scn.c:8: undefined reference to `setmode'
] /builddir/build/BUILD/mksh-39/scn.c:8: undefined reference to `getmode'
] collect2: ld returned 1 exit status
==> setmode... no
... setresugid
$ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fno-strict-aliasing -fstack-protector-all -
fwrapv -std=gnu99 -Wall -I.  -D_GNU_SOURCE -DHAVE_ATTRIBUTE=1 -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_USED=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_
LIBGEN_H=1 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_GRP_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_STDINT_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1
 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_STRSIGNAL=0 -DHAVE_ARC4RANDOM=0 -DHAVE_ARC4RANDOM_PUSHB=0 -DHAVE_GETRUSAGE=1 -DHAVE_KILLPG=1 -DHAVE_MKNOD=1 -DHAVE_MKSTEMP=1 -DHAVE_NICE=1 -DHAVE_REALPATH=1
-DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_SETMODE=0  -Wno-error scn.c  || rm -f ${tcfn}*
==> setresugid... yes
... setgroups
EXCEPTION:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/mock/util.py", line 297, in do
    logger, returnOutput, start, timeout)
  File "/usr/lib/python2.6/site-packages/mock/util.py", line 235, in logOutput
    i_rdy,o_rdy,e_rdy = select.select(fds,[],[],1)
KeyboardInterrupt
LEAVE do --> EXCEPTION RAISED
-----------------------------

Comment 2 RHEL Program Management 2011-07-06 01:35:50 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Michal Hlavinka 2012-05-10 14:26:05 UTC
this should work already. If you can still reproduce this, feel free to reopen and let me know the mock version and and mock configuration used.


Note You need to log in before you can comment on or make changes to this bug.