mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Problems building libnl3
@ 2015-01-21 19:22 Jon Ringle
  2015-01-26 13:44 ` Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2015-01-21 19:22 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3888 bytes --]

After updating to ptxdist-2015-01.0, I am having a problem build libnl3. I
tried rebuilding host-flex, hoping this might do the trick, but it did not
help.
Any ideas?

Jon

----------------------
target: libnl3.compile
----------------------

make[1]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
Making all in include
make[2]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
Making all in lib
make[2]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
make  all-am
make[3]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
  CC       route/route_utils.lo
  CC       route/route.lo
  CC       route/rtnl.lo
  CC       version.lo
  CC       route/tc.lo
  CC       route/route_obj.lo
  CC       route/rule.lo
  CC       route/classid.lo
  CC       route/cls/fw.lo
  CC       route/cls/basic.lo
  CC       route/cls/cgroup.lo
  CC       route/act/mirred.lo
  CC       route/cls/ematch/container.lo
  CC       route/cls/police.lo
  CC       route/cls/u32.lo
  CC       route/cls/ematch.lo
  CC       route/cls/ematch/cmp.lo
  CC       route/cls/ematch/nbyte.lo
  CC       route/cls/ematch/meta.lo
  CC       route/link/api.lo
  CC       route/cls/ematch/text.lo
route/cls/ematch.c: In function 'rtnl_ematch_parse_expr':
route/cls/ematch.c:635:2: error: unknown type name 'YY_BUFFER_STATE'
  YY_BUFFER_STATE buf = NULL;
  ^
route/cls/ematch.c:635:24: warning: initialization makes integer from
pointer without a cast [enabled by default]
  YY_BUFFER_STATE buf = NULL;
                        ^
route/cls/ematch.c:636:2: error: unknown type name 'yyscan_t'
  yyscan_t scanner = NULL;
  ^
route/cls/ematch.c:636:21: warning: initialization makes integer from
pointer without a cast [enabled by default]
  yyscan_t scanner = NULL;
                     ^
route/cls/ematch.c:644:2: warning: implicit declaration of function
'ematch_lex_init' [-Wimplicit-function-declaration]
  if ((err = ematch_lex_init(&scanner)) < 0) {
  ^
route/cls/ematch.c:649:2: warning: implicit declaration of function
'ematch__scan_string' [-Wimplicit-function-declaration]
  buf = ematch__scan_string(expr, scanner);
  ^
route/cls/ematch.c:651:2: warning: passing argument 1 of 'ematch_parse'
makes pointer from integer without a cast [enabled by default]
  if ((err = ematch_parse(scanner, errp, &tree->et_list)) != 0) {
  ^
route/cls/ematch.c:629:12: note: expected 'void *' but argument is of type
'int'
 extern int ematch_parse(void *, char **, struct nl_list_head *);
            ^
route/cls/ematch.c:652:3: warning: implicit declaration of function
'ematch__delete_buffer' [-Wimplicit-function-declaration]
   ematch__delete_buffer(buf, scanner);
   ^
route/cls/ematch.c:657:2: warning: implicit declaration of function
'ematch_lex_destroy' [-Wimplicit-function-declaration]
  ematch_lex_destroy(scanner);
  ^
make[3]: *** [route/cls/ematch.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC       route/link/vlan.lo
make[3]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
make: ***
[/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.compile]
Error 2

[-- Attachment #1.2: Type: text/html, Size: 4999 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-01-21 19:22 [ptxdist] Problems building libnl3 Jon Ringle
@ 2015-01-26 13:44 ` Michael Olbrich
  2015-01-28  4:22   ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Olbrich @ 2015-01-26 13:44 UTC (permalink / raw)
  To: ptxdist

Hi,

On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
> After updating to ptxdist-2015-01.0, I am having a problem build libnl3. I
> tried rebuilding host-flex, hoping this might do the trick, but it did not
> help.
> Any ideas?
> 
> Jon
> 
> ----------------------
> target: libnl3.compile
> ----------------------
> 
> make[1]: Entering directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
> Making all in include
> make[2]: Entering directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> Making all in lib
> make[2]: Entering directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'

Is this from a clean build? I see some more stuff here:

  GEN      route/cls/ematch_grammar.c
  GEN      route/cls/ematch_syntax.c
  GEN      route/pktloc_grammar.c
  GEN      route/pktloc_syntax.c

Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
libnl3"? Maybe we can see some more stuff there.

Michael

> make  all-am
> make[3]: Entering directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>   CC       route/route_utils.lo
>   CC       route/route.lo
>   CC       route/rtnl.lo
>   CC       version.lo
>   CC       route/tc.lo
>   CC       route/route_obj.lo
>   CC       route/rule.lo
>   CC       route/classid.lo
>   CC       route/cls/fw.lo
>   CC       route/cls/basic.lo
>   CC       route/cls/cgroup.lo
>   CC       route/act/mirred.lo
>   CC       route/cls/ematch/container.lo
>   CC       route/cls/police.lo
>   CC       route/cls/u32.lo
>   CC       route/cls/ematch.lo
>   CC       route/cls/ematch/cmp.lo
>   CC       route/cls/ematch/nbyte.lo
>   CC       route/cls/ematch/meta.lo
>   CC       route/link/api.lo
>   CC       route/cls/ematch/text.lo
> route/cls/ematch.c: In function 'rtnl_ematch_parse_expr':
> route/cls/ematch.c:635:2: error: unknown type name 'YY_BUFFER_STATE'
>   YY_BUFFER_STATE buf = NULL;
>   ^


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-01-26 13:44 ` Michael Olbrich
@ 2015-01-28  4:22   ` Jon Ringle
  2015-03-25 13:21     ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2015-01-28  4:22 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1830 bytes --]

On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich <m.olbrich@pengutronix.de>
wrote:

> Hi,
>
> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3.
> I
> > tried rebuilding host-flex, hoping this might do the trick, but it did
> not
> > help.
> > Any ideas?
> >
> > Jon
> >
> > ----------------------
> > target: libnl3.compile
> > ----------------------
> >
> > make[1]: Entering directory
> >
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
> > Making all in include
> > make[2]: Entering directory
> >
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory
> >
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> > Making all in lib
> > make[2]: Entering directory
> >
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>
> Is this from a clean build? I see some more stuff here:
>
>   GEN      route/cls/ematch_grammar.c
>   GEN      route/cls/ematch_syntax.c
>   GEN      route/pktloc_grammar.c
>   GEN      route/pktloc_syntax.c
>
> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
> libnl3"? Maybe we can see some more stuff there.
>
>
Well... When I was reproducing this before, I had tried doing a 'ptxdist
clean' and also removed all the *-dev.tar.gz packages as well and it
produced the error. Since then I had to go back to the ptxdist-14.10 that I
was using before for other work. Now I can't seem to be able to reproduce
the problem when I go to ptxdist-15.01.0. If I do get the problem again,
I'll post the info you've asked for.

Jon

[-- Attachment #1.2: Type: text/html, Size: 2427 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-01-28  4:22   ` Jon Ringle
@ 2015-03-25 13:21     ` Jon Ringle
  2015-03-26  9:23       ` Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2015-03-25 13:21 UTC (permalink / raw)
  To: ptxdist

On Tue, Jan 27, 2015 at 11:22 PM, Jon Ringle <jon@ringle.org> wrote:
> On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich <m.olbrich@pengutronix.de>
> wrote:
>>
>> Hi,
>>
>> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
>> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3.
>> > I
>> > tried rebuilding host-flex, hoping this might do the trick, but it did
>> > not
>> > help.
>> > Any ideas?
>> >
>> > Jon
>> >
>> > ----------------------
>> > target: libnl3.compile
>> > ----------------------
>> >
>> > make[1]: Entering directory
>> >
>> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
>> > Making all in include
>> > make[2]: Entering directory
>> >
>> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>> > make[2]: Nothing to be done for `all'.
>> > make[2]: Leaving directory
>> >
>> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>> > Making all in lib
>> > make[2]: Entering directory
>> >
>> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>>
>> Is this from a clean build? I see some more stuff here:
>>
>>   GEN      route/cls/ematch_grammar.c
>>   GEN      route/cls/ematch_syntax.c
>>   GEN      route/pktloc_grammar.c
>>   GEN      route/pktloc_syntax.c
>>
>> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
>> libnl3"? Maybe we can see some more stuff there.

$ ptxdist clean libnl3 ; ptxdist -v compile libnl3

--------------------
target: libnl3.clean
--------------------

Deleting stage files:
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.extract
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.extract.post
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.get
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.libnl-3.2.25.tar.gz.stamp
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.prepare

Deleting src dir:
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25


------------------
target: libnl3.get
------------------

finished target libnl3.get

----------------------
target: libnl3.extract
----------------------

extract: pkg_src=/home/local/GRIDPOINT/jringle/ptxdist-src/libnl-3.2.25.tar.gz
extract: pkg_extract_dir=ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25
patchin: no patches found
finished target libnl3.extract

---------------------------
target: libnl3.extract.post
---------------------------

patchin: fixup:
ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/configure
ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/build-aux/ltmain.sh
ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/build-aux/config.sub
patchin: fixup: done

finished target libnl3.extract.post

----------------------
target: libnl3.prepare
----------------------

ptxdist: executing:
PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin
PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/share/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/share/pkgconfig'
SYSROOT='/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target'
V=1 VERBOSE=1 AR=arm-v5te-linux-gnueabi-ar
AS=arm-v5te-linux-gnueabi-as LD=arm-v5te-linux-gnueabi-ld
NM=arm-v5te-linux-gnueabi-nm CC=arm-v5te-linux-gnueabi-gcc
CXX=arm-v5te-linux-gnueabi-g++ CPP=arm-v5te-linux-gnueabi-cpp
RANLIB=arm-v5te-linux-gnueabi-ranlib
READELF=arm-v5te-linux-gnueabi-readelf
OBJCOPY=arm-v5te-linux-gnueabi-objcopy
OBJDUMP=arm-v5te-linux-gnueabi-objdump
STRIP=arm-v5te-linux-gnueabi-strip
DLLTOOL=arm-v5te-linux-gnueabi-dlltool
GNAT=arm-v5te-linux-gnueabi-gnat
GNATBIND=arm-v5te-linux-gnueabi-gnatbind
GNATCHOP=arm-v5te-linux-gnueabi-gnatchop
GNATCLEAN=arm-v5te-linux-gnueabi-gnatclean
GNATFIND=arm-v5te-linux-gnueabi-gnatfind
GNATKR=arm-v5te-linux-gnueabi-gnatkr
GNATLINK=arm-v5te-linux-gnueabi-gnatlink
GNATLS=arm-v5te-linux-gnueabi-gnatls
GNATMAKE=arm-v5te-linux-gnueabi-gnatmake
GNATNAME=arm-v5te-linux-gnueabi-gnatname
GNATPREP=arm-v5te-linux-gnueabi-gnatprep
GNATXREF=arm-v5te-linux-gnueabi-gnatxref CC_FOR_BUILD=gcc
CPP_FOR_BUILD=gcc LINK_FOR_BUILD=gcc
SYSROOT="/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target"
PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/share/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/share/pkgconfig'
PKG_CONFIG="/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin/arm-v5te-linux-gnueabi-pkg-config"
enable_option_checking=fatal enable_maintainer_mode=no
enable_static=no ac_cv_file__dev_random=yes
ac_cv_file__proc_self_exe=yes ac_cv_file__proc_self_fd=yes
ac_cv_file__proc_self_maps=yes ac_cv_func_dcgettext=yes
ac_cv_func_getpgrp_void=yes ac_cv_func_getrlimit=yes
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes ac_cv_func_nonposix_getgrgid_r=no
ac_cv_func_nonposix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwnam_r=yes ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_printf_unix98=yes ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setgrent_void=yes ac_cv_func_setpgrp_void=yes
ac_cv_func_setvbuf_reversed=no ac_cv_func_strstr=yes
ac_cv_func_strtod=yes ac_cv_func_strtoul=yes
ac_cv_func_vsnprintf_c99=yes ac_cv_func_wait3_rusage=yes
ac_cv_have_abstract_sockets=yes ac_cv_lib_c_inet_aton=yes
ac_cv_sizeof_long_double="8" ac_cv_sizeof_long_long=8
ac_cv_sysv_ipc=yes ac_cv_type_uintptr_t=yes
bash_cv_func_ctype_nonascii=yes bash_cv_func_sigsetjmp=present
bash_cv_func_strcoll_broken=no bash_cv_must_reinstall_sighandlers=no
glib_cv_long_long_format="ll" gt_cv_func_gettext_libintl=yes
ac_cv_func_fork=yes ac_cv_func_fork_works=yes
ac_cv_func_iconv_open=yes ./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --libdir=/usr/lib --host=arm-v5te-linux-gnueabi
--build=x86_64-host-linux-gnu --disable-manpages --enable-shared
--disable-static --disable-cli --enable-pthreads

checking for a BSD-compatible install...
/usr/local/lib/ptxdist-2015.03.0_GP/bin/install -c
checking whether build environment is sane... yes
checking for arm-v5te-linux-gnueabi-strip... arm-v5te-linux-gnueabi-strip
checking for a thread-safe mkdir -p...
/usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v5te-linux-gnueabi-gcc accepts -g... yes
checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89... none needed
checking dependency style of arm-v5te-linux-gnueabi-gcc... gcc3
checking for arm-v5te-linux-gnueabi-ar... arm-v5te-linux-gnueabi-ar
checking the archiver (arm-v5te-linux-gnueabi-ar) interface... ar
checking for arm-v5te-linux-gnueabi-gcc... (cached) arm-v5te-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether arm-v5te-linux-gnueabi-gcc accepts -g... (cached) yes
checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89...
(cached) none needed
checking dependency style of arm-v5te-linux-gnueabi-gcc... (cached) gcc3
checking whether arm-v5te-linux-gnueabi-gcc and cc understand -c and
-o together... yes
checking build system type... x86_64-host-linux-gnu
checking host system type... arm-v5te-linux-gnueabi
checking how to print strings... printf
checking for a sed that does not truncate output...
/usr/local/lib/ptxdist-2015.03.0_GP/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-ld
checking if the linker (arm-v5te-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-v5te-linux-gnueabi-nm
checking the name lister (arm-v5te-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-host-linux-gnu file names to
arm-v5te-linux-gnueabi format... func_convert_file_noop
checking how to convert x86_64-host-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for arm-v5te-linux-gnueabi-ld option to reload object files... -r
checking for arm-v5te-linux-gnueabi-objdump... arm-v5te-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-v5te-linux-gnueabi-dlltool... arm-v5te-linux-gnueabi-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for arm-v5te-linux-gnueabi-ar... (cached) arm-v5te-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-v5te-linux-gnueabi-strip... (cached)
arm-v5te-linux-gnueabi-strip
checking for arm-v5te-linux-gnueabi-ranlib... arm-v5te-linux-gnueabi-ranlib
checking command to parse arm-v5te-linux-gnueabi-nm output from
arm-v5te-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for arm-v5te-linux-gnueabi-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-v5te-linux-gnueabi-cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-v5te-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-v5te-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-v5te-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-v5te-linux-gnueabi-gcc static flag -static works... yes
checking if arm-v5te-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-v5te-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-v5te-linux-gnueabi-gcc linker
(arm-v5te-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for flex... flex
checking for bison... bison -y
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
configure: WARNING: *** Disabling building of unit tests
checking for pow in -lm... yes
checking for pthread_mutex_lock in -lpthread... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libnl.sym
config.status: creating libnl-3.0.pc
config.status: creating libnl-route-3.0.pc
config.status: creating libnl-genl-3.0.pc
config.status: creating libnl-nf-3.0.pc
config.status: creating libnl-cli-3.0.pc
config.status: creating lib/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating tests/Makefile
config.status: creating man/Makefile
config.status: creating python/Makefile
config.status: creating python/setup.py
config.status: creating python/doc/Makefile
config.status: creating python/examples/Makefile
config.status: creating python/netlink/Makefile
config.status: creating python/netlink/genl/Makefile
config.status: creating python/netlink/route/Makefile
config.status: creating python/tests/Makefile
config.status: creating include/netlink/version.h
config.status: creating lib/defs.h
config.status: executing depfiles commands
config.status: executing libtool commands
-------------------------------------------------------------------------------
                                  NOTE

 There have been some changes starting with 3.2 regarding where and how libnl
 is being installed on the system in order to allow multiple libnl versions
 to be installed in parallel:

    - Headers will be installed in ${prefix}/include/libnl3, therefore
      you will need to add "-I/usr/include/libnl3" to CFLAGS

    - The library basename was renamed to libnl-3, i.e. the SO names become
      libnl-3.so., libnl-route-3.so, etc.

    - libtool versioning was assumed, to ease detection of compatible library
      versions.

 If you are using pkg-config for detecting and linking against the library
 things will continue magically as if nothing every happened. If you are
 linking manually you need to adapt your Makefiles or switch to using
 pkg-config files.

-------------------------------------------------------------------------------
finished target libnl3.prepare

----------------------
target: libnl3.compile
----------------------

ptxdist: executing:
PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin
PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/lib/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/share/pkgconfig:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target/usr/share/pkgconfig'
SYSROOT='/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-target'
V=1 VERBOSE=1  make -C
/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25
 -j16

make[1]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
Making all in include
make[2]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
Making all in lib
make[2]: Entering directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
/usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; flex
--header-file=route/cls/ematch_grammar.h  -o
route/cls/ematch_grammar.c route/cls/ematch_grammar.l
/usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; bison -y
-d  -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y
/usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; flex
--header-file=route/pktloc_grammar.h  -o route/pktloc_grammar.c
route/pktloc_grammar.l
/usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; bison -y -d
-o route/pktloc_syntax.c route/pktloc_syntax.y
flex: fatal internal error, exec failed
flex: fatal internal error, exec failed
make[2]: *** [route/pktloc_grammar.c] Error 141
make[2]: *** Waiting for unfinished jobs....
flex: fatal internal error, exec failed
flex: fatal internal error, exec failed
make[2]: *** [route/cls/ematch_grammar.c] Error 141
make[2]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
make: *** [/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.compile]
Error 2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-03-25 13:21     ` Jon Ringle
@ 2015-03-26  9:23       ` Michael Olbrich
  2015-03-26 10:53         ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Olbrich @ 2015-03-26  9:23 UTC (permalink / raw)
  To: ptxdist

On Wed, Mar 25, 2015 at 09:21:32AM -0400, Jon Ringle wrote:
> On Tue, Jan 27, 2015 at 11:22 PM, Jon Ringle <jon@ringle.org> wrote:
> > On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich <m.olbrich@pengutronix.de>
> > wrote:
> >> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
> >> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3.
> >> > I
> >> > tried rebuilding host-flex, hoping this might do the trick, but it did
> >> > not
> >> > help.
> >> > Any ideas?
> >> >
> >> > Jon
> >> >
> >> > ----------------------
> >> > target: libnl3.compile
> >> > ----------------------
> >> >
> >> > make[1]: Entering directory
> >> >
> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
> >> > Making all in include
> >> > make[2]: Entering directory
> >> >
> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> >> > make[2]: Nothing to be done for `all'.
> >> > make[2]: Leaving directory
> >> >
> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
> >> > Making all in lib
> >> > make[2]: Entering directory
> >> >
> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
> >>
> >> Is this from a clean build? I see some more stuff here:
> >>
> >>   GEN      route/cls/ematch_grammar.c
> >>   GEN      route/cls/ematch_syntax.c
> >>   GEN      route/pktloc_grammar.c
> >>   GEN      route/pktloc_syntax.c
> >>
> >> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
> >> libnl3"? Maybe we can see some more stuff there.
> 
> $ ptxdist clean libnl3 ; ptxdist -v compile libnl3
[...]
> ptxdist: executing:
> PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin
[...]
> make[2]: Entering directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; flex
> --header-file=route/cls/ematch_grammar.h  -o
> route/cls/ematch_grammar.c route/cls/ematch_grammar.l
> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; bison -y
> -d  -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y
> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; flex
> --header-file=route/pktloc_grammar.h  -o route/pktloc_grammar.c
> route/pktloc_grammar.l
> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; bison -y -d
> -o route/pktloc_syntax.c route/pktloc_syntax.y
> flex: fatal internal error, exec failed
> flex: fatal internal error, exec failed

If I read the code correctly, then flex is trying to execute 'm4' here.
Maybe that's missing?

Michael

> make[2]: *** [route/pktloc_grammar.c] Error 141
> make[2]: *** Waiting for unfinished jobs....
> flex: fatal internal error, exec failed
> flex: fatal internal error, exec failed
> make[2]: *** [route/cls/ematch_grammar.c] Error 141
> make[2]: Leaving directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
> make: *** [/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.compile]
> Error 2

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-03-26  9:23       ` Michael Olbrich
@ 2015-03-26 10:53         ` Jon Ringle
  2015-03-26 11:59           ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2015-03-26 10:53 UTC (permalink / raw)
  To: ptxdist

On Thu, Mar 26, 2015 at 5:23 AM, Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
> On Wed, Mar 25, 2015 at 09:21:32AM -0400, Jon Ringle wrote:
>> On Tue, Jan 27, 2015 at 11:22 PM, Jon Ringle <jon@ringle.org> wrote:
>> > On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich <m.olbrich@pengutronix.de>
>> > wrote:
>> >> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
>> >> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3.
>> >> > I
>> >> > tried rebuilding host-flex, hoping this might do the trick, but it did
>> >> > not
>> >> > help.
>> >> > Any ideas?
>> >> >
>> >> > Jon
>> >> >
>> >> > ----------------------
>> >> > target: libnl3.compile
>> >> > ----------------------
>> >> >
>> >> > make[1]: Entering directory
>> >> >
>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
>> >> > Making all in include
>> >> > make[2]: Entering directory
>> >> >
>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>> >> > make[2]: Nothing to be done for `all'.
>> >> > make[2]: Leaving directory
>> >> >
>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>> >> > Making all in lib
>> >> > make[2]: Entering directory
>> >> >
>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>> >>
>> >> Is this from a clean build? I see some more stuff here:
>> >>
>> >>   GEN      route/cls/ematch_grammar.c
>> >>   GEN      route/cls/ematch_syntax.c
>> >>   GEN      route/pktloc_grammar.c
>> >>   GEN      route/pktloc_syntax.c
>> >>
>> >> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
>> >> libnl3"? Maybe we can see some more stuff there.
>>
>> $ ptxdist clean libnl3 ; ptxdist -v compile libnl3
> [...]
>> ptxdist: executing:
>> PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin
> [...]
>> make[2]: Entering directory
>> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; flex
>> --header-file=route/cls/ematch_grammar.h  -o
>> route/cls/ematch_grammar.c route/cls/ematch_grammar.l
>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; bison -y
>> -d  -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y
>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; flex
>> --header-file=route/pktloc_grammar.h  -o route/pktloc_grammar.c
>> route/pktloc_grammar.l
>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; bison -y -d
>> -o route/pktloc_syntax.c route/pktloc_syntax.y
>> flex: fatal internal error, exec failed
>> flex: fatal internal error, exec failed
>
> If I read the code correctly, then flex is trying to execute 'm4' here.
> Maybe that's missing?

Last night as an experiment, I deleted the host-*-dev.tar.gz and did a
clean build. This worked. I will try again later today keeping all the
original *-dev.tar.gz and just removing the host-m4-*-dev.tar.gz file.

Jon

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-03-26 10:53         ` Jon Ringle
@ 2015-03-26 11:59           ` Jon Ringle
  2015-03-27 21:52             ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2015-03-26 11:59 UTC (permalink / raw)
  To: ptxdist

On Thu, Mar 26, 2015 at 6:53 AM, Jon Ringle <jon@ringle.org> wrote:
> On Thu, Mar 26, 2015 at 5:23 AM, Michael Olbrich
> <m.olbrich@pengutronix.de> wrote:
>> On Wed, Mar 25, 2015 at 09:21:32AM -0400, Jon Ringle wrote:
>>> On Tue, Jan 27, 2015 at 11:22 PM, Jon Ringle <jon@ringle.org> wrote:
>>> > On Mon, Jan 26, 2015 at 8:44 AM, Michael Olbrich <m.olbrich@pengutronix.de>
>>> > wrote:
>>> >> On Wed, Jan 21, 2015 at 02:22:26PM -0500, Jon Ringle wrote:
>>> >> > After updating to ptxdist-2015-01.0, I am having a problem build libnl3.
>>> >> > I
>>> >> > tried rebuilding host-flex, hoping this might do the trick, but it did
>>> >> > not
>>> >> > help.
>>> >> > Any ideas?
>>> >> >
>>> >> > Jon
>>> >> >
>>> >> > ----------------------
>>> >> > target: libnl3.compile
>>> >> > ----------------------
>>> >> >
>>> >> > make[1]: Entering directory
>>> >> >
>>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25'
>>> >> > Making all in include
>>> >> > make[2]: Entering directory
>>> >> >
>>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>>> >> > make[2]: Nothing to be done for `all'.
>>> >> > make[2]: Leaving directory
>>> >> >
>>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
>>> >> > Making all in lib
>>> >> > make[2]: Entering directory
>>> >> >
>>> >> > `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>>> >>
>>> >> Is this from a clean build? I see some more stuff here:
>>> >>
>>> >>   GEN      route/cls/ematch_grammar.c
>>> >>   GEN      route/cls/ematch_syntax.c
>>> >>   GEN      route/pktloc_grammar.c
>>> >>   GEN      route/pktloc_syntax.c
>>> >>
>>> >> Can you send the output from "ptxdist clean libnl3 ; ptxdist -v compile
>>> >> libnl3"? Maybe we can see some more stuff there.
>>>
>>> $ ptxdist clean libnl3 ; ptxdist -v compile libnl3
>> [...]
>>> ptxdist: executing:
>>> PATH=/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-cross/sbin:\/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/lib/wrapper:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/bin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/sysroot-host/sbin:/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/selected_toolchain:/usr/local/lib/ptxdist-2015.03.0_GP/bin:/home/local/GRIDPOINT/jringle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/OSELAS.Toolchain-2013.12.1/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin:/opt/arm-2009q1/bin
>> [...]
>>> make[2]: Entering directory
>>> `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
>>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; flex
>>> --header-file=route/cls/ematch_grammar.h  -o
>>> route/cls/ematch_grammar.c route/cls/ematch_grammar.l
>>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route/cls; bison -y
>>> -d  -o route/cls/ematch_syntax.c route/cls/ematch_syntax.y
>>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; flex
>>> --header-file=route/pktloc_grammar.h  -o route/pktloc_grammar.c
>>> route/pktloc_grammar.l
>>> /usr/local/lib/ptxdist-2015.03.0_GP/bin/mkdir -p route; bison -y -d
>>> -o route/pktloc_syntax.c route/pktloc_syntax.y
>>> flex: fatal internal error, exec failed
>>> flex: fatal internal error, exec failed
>>
>> If I read the code correctly, then flex is trying to execute 'm4' here.
>> Maybe that's missing?
>
> Last night as an experiment, I deleted the host-*-dev.tar.gz and did a
> clean build. This worked. I will try again later today keeping all the
> original *-dev.tar.gz and just removing the host-m4-*-dev.tar.gz file.

Removing both host-{m4,flex}-*-dev.tar.gz seemed to do the trick...

Jon

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] Problems building libnl3
  2015-03-26 11:59           ` Jon Ringle
@ 2015-03-27 21:52             ` Jon Ringle
  0 siblings, 0 replies; 8+ messages in thread
From: Jon Ringle @ 2015-03-27 21:52 UTC (permalink / raw)
  To: ptxdist

On Thu, Mar 26, 2015 at 7:59 AM, Jon Ringle <jon@ringle.org> wrote:
> Removing both host-{m4,flex}-*-dev.tar.gz seemed to do the trick...

I believe that I found the crux of the issue. We have a bamboo build
server running Ubuntu-10.04 that generated the *-dev.tar.gz files. We
are in the process of retiring that server for a new one that is
running Ubuntu-14.04. Some of the host-*-dev.tar.gz files built with
Ubuntu-10.04 don't work with Ubuntu-14.04 due to glibc version
changes.

I am solving this problem by changing our internal devmirror to
account for this:
PTXCONF_PROJECT_DEVMIRROR="http://opensource.gridpoint.com/bsp/ptxdist/$$(source
/etc/lsb-release; echo $${DISTRIB_ID}-$${DISTRIB_RELEASE})/$$(uname
-m)"

Jon

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-03-27 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 19:22 [ptxdist] Problems building libnl3 Jon Ringle
2015-01-26 13:44 ` Michael Olbrich
2015-01-28  4:22   ` Jon Ringle
2015-03-25 13:21     ` Jon Ringle
2015-03-26  9:23       ` Michael Olbrich
2015-03-26 10:53         ` Jon Ringle
2015-03-26 11:59           ` Jon Ringle
2015-03-27 21:52             ` Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox