Python problem

punit vara punitvara at gmail.com
Thu Feb 11 18:44:24 UTC 2016


On Wed, Feb 10, 2016 at 11:45 PM, Joel Sherrill <joel at rtems.org> wrote:
> We need the config.log from the subdirectory where the failure occurred.
> This looks like one from the top directory,
>
> Look at the build log to see what directory the build failed in and grab
> that one.
>
> FWIW a quick google for this issue on Ubuntu showed someone suggested:
>
> sudo apt-get install python-dev
>
> Have you done that?
>
> --joel
>
> On Wed, Feb 10, 2016 at 11:50 AM, punit vara <punitvara at gmail.com> wrote:
>>
>> On Tue, Feb 9, 2016 at 8:21 PM, Joel Sherrill <joel at rtems.org> wrote:
>> >
>> >
>> > On Tue, Feb 9, 2016 at 8:15 AM, punit vara <punitvara at gmail.com> wrote:
>> >>
>> >> On Tue, Feb 9, 2016 at 6:56 PM, Aun-Ali Zaidi <admin at kodeit.net> wrote:
>> >> > Hi,
>> >> >
>> >> > I was having the same problem yesterday and managed to find a fix by
>> >> > installing libpython2.7-dev:
>> >> >
>> >> > sudo apt-get install libpython2.7-dev
>> >> >
>> >> > Aun-Ali Zaidi
>> >> >
>> >>
>> >> Thanks Aun-Ali. I have tried but again I am getting same error.
>> >> Because this package would get installed when you install
>> >> python2.7-dev
>> >
>> >
>> > Can you look in the config.log for gdb where the failure occurred? Or
>> > even
>> > at the configure.in/ac script in its source. It is looking for a very
>> > specific
>> > file to link against and failing.
>> >
>> > yum have a "provides" subcommand to search for which package provides
>> > a specific file. Apt must have a similar capability.
>> >
>> > So you can figure out the file gdb needs to link and the corresponding
>> > package which includes it.
>> >
>> > --joel
>> >
>> >>
>> >> _______________________________________________
>> >> devel mailing list
>> >> devel at rtems.org
>> >> http://lists.rtems.org/mailman/listinfo/devel
>> >
>> >
>>
>> Yes I agree with you Joel. From line 129 I found errors if you can
>> help me out. Perhaps somebody can help me I am attaching config.log
>> file from
>>
>>
>> /home/punit/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1/build
>
>
Yes I tried that before but same error.  I am attaching log file I
have sent config.log from failure subdirectory. I have provided
location in previous mail which is the same as shown in this log file.
If I am wrong let me.

Thanks for support.
-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report
 Build: error: building arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1
 Command Line: ../source-builder/sb-set-builder --log=l-arm.txt --prefix=/home/punit/development/rtems/4.12 4.12/rtems-arm
 Python: 2.7.10 (default, Aug  9 2015, 10:57:15) [GCC 4.9.2]
 https://github.com/RTEMS/rtems-source-builder.git/origin/b87138ad01bac7e7c651585251118c28c9290b2e-modified
 Linux punit-Compaq-420 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64
Tail of the build log:
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether initstate is declared without a macro... yes
checking whether initstate_r is declared without a macro... yes
checking whether mkdtemp is declared without a macro... yes
checking whether mkostemp is declared without a macro... yes
checking whether mkostemps is declared without a macro... yes
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... yes
checking whether posix_openpt is declared without a macro... yes
checking whether ptsname is declared without a macro... yes
checking whether ptsname_r is declared without a macro... yes
checking whether random is declared without a macro... yes
checking whether random_r is declared without a macro... yes
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... yes
checking whether setenv is declared without a macro... yes
checking whether setstate is declared without a macro... yes
checking whether setstate_r is declared without a macro... yes
checking whether srandom is declared without a macro... yes
checking whether srandom_r is declared without a macro... yes
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... yes
checking whether fstat is declared without a macro... yes
checking whether fstatat is declared without a macro... yes
checking whether futimens is declared without a macro... yes
checking whether lchmod is declared without a macro... yes
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... yes
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... yes
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... yes
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... yes
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... yes
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... yes
checking whether environ is declared without a macro... yes
checking whether euidaccess is declared without a macro... yes
checking whether faccessat is declared without a macro... yes
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... yes
checking whether fdatasync is declared without a macro... yes
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... yes
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether group_member is declared without a macro... yes
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... yes
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... yes
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... yes
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... yes
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... yes
checking whether usleep is declared without a macro... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... yes
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... yes
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... yes
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... yes
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... yes
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... yes
checking whether wcsncasecmp is declared without a macro... yes
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... yes
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc -O2 -pipe -I/home/punit/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-root/4.12/rtems-arm/home/punit/development/rtems/4.12/include... gcc3
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
checking whether NLS is requested... no
checking whether makeinfo --split-size=5000000 supports @click... yes
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking for bison... bison -y
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
checking for x86_64-linux-gnu-dlltool... dlltool
checking for x86_64-linux-gnu-windres... windres
checking for main in -lm... yes
checking for wctype... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for library containing dlgetmodinfo... no
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... -lncurses
checking for library containing tgetent... none required
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned __int128... 16
checking for library containing dlopen... (cached) -ldl
checking whether to use expat... yes
checking for ld used by GCC... x86_64-linux-gnu-ld
checking if the linker (x86_64-linux-gnu-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for libexpat... yes
checking how to link with libexpat... /home/punit/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-root/4.12/rtems-arm/home/punit/development/rtems/4.12/lib/libexpat.so -Wl,-rpath -Wl,/home/punit/development/rtems/src/rtems-source-builder/rtems/build/tmp/sb-root/4.12/rtems-arm/home/punit/development/rtems/4.12/lib
checking for XML_StopParser... yes
checking whether to use python... yes
checking for python... /usr/local/bin/python
checking for python2.7... no
configure: error: python is missing or unusable
Makefile:8643: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory '/home/punit/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
Makefile:836: recipe for target 'all' failed
shell cmd failed: /bin/sh -ex  /home/punit/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1/doit
error: building arm-rtems4.12-gdb-7.9-x86_64-linux-gnu-1


More information about the devel mailing list