Modify

Opened 3 years ago

Closed 3 years ago

#18225 closed defect (fixed)

compile error during 'make tools/install' in findutils - parallelbuild related - r43063

Reported by: bittorf@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

when having a fresh checkout it fails early with:

git clone git://nbd.name/openwrt.git
cd openwrt
echo "CONFIG_TARGET_x86=y" >'.config'
make defconfig
make -j25 tools/compile
[...]

bison: cannot open file `/home/user/openwrt/staging_dir/host/share/bison/m4sugar/m4sugar.m4': No such file or directory

when building with '-j1' it works.
it does not happen with r43059 - so it seems the cause is r43060

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by nbd

Please repeat the same experiment, but use BUILD_LOG=1. I need some context that shows which tools subdirectory is failing to build.

comment:2 Changed 3 years ago by bittorf@…

strange, now it even happens with -j1 in logs/tools/findutils/compile.txt

is this enough context?

[...]
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make[3]: Entering directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2'
make  all-recursive
make[4]: Entering directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2'
Making all in gnulib
make[5]: Entering directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2/gnulib'
Making all in lib
make[6]: Entering directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2/gnulib/lib'
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat ./alloca.in.h; \
        } > alloca.h-t
mv -f alloca.h-t alloca.h
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#define PREFIX "/home/bastian/bastian/openwrt-test/staging_dir/host"'; \
          echo '#define EXEC_PREFIX "/home/bastian/bastian/openwrt-test/staging_dir/host"'; \
          echo '#define BINDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/bin"'; \
          echo '#define SBINDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/bin"'; \
          echo '#define LIBEXECDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/libexec"'; \
          echo '#define DATAROOTDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share"'; \
          echo '#define DATADIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share"'; \
          echo '#define SYSCONFDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/etc"'; \
          echo '#define SHAREDSTATEDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/com"'; \
          echo '#define LOCALSTATEDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/var"'; \
          echo '#define INCLUDEDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/include"'; \
          echo '#define OLDINCLUDEDIR "/usr/include"'; \
          echo '#define DOCDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/doc/findutils"'; \
          echo '#define INFODIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/info"'; \
          echo '#define HTMLDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/doc/findutils"'; \
          echo '#define DVIDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/doc/findutils"'; \
          echo '#define PDFDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/doc/findutils"'; \
          echo '#define PSDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/doc/findutils"'; \
          echo '#define LIBDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/lib"'; \
          echo '#define LISPDIR ""'; \
          echo '#define LOCALEDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/locale"'; \
          echo '#define MANDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/man"'; \
          echo '#define MANEXT ""'; \
          echo '#define PKGDATADIR "/home/bastian/bastian/openwrt-test/staging_dir/host/share/findutils"'; \
          echo '#define PKGINCLUDEDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/include/findutils"'; \
          echo '#define PKGLIBDIR "/home/bastian/bastian/openwrt-test/staging_dir/host/lib/findutils"'; \
          echo '#define PKGLIBEXECDIR ""'; \
        } | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
rm -f fcntl.h-t fcntl.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \
              -e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \
              -e 's|@''GNULIB_OPEN''@|0|g' \
              -e 's|@''REPLACE_OPEN''@|0|g' \
              < ./fcntl.in.h; \
        } > fcntl.h-t
mv fcntl.h-t fcntl.h
/bin/bash ../../build-aux/ylwrap getdate.y y.tab.c getdate.c y.tab.h getdate.h y.output getdate.output -- bison -y
bison: cannot open file `/home/bastian/bastian/openwrt-test/staging_dir/host/share/bison/m4sugar/m4sugar.m4': No such file or directory
make[6]: *** [getdate.c] Error 1
make[6]: Leaving directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2/gnulib/lib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2/gnulib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2'
make[2]: *** [/home/bastian/bastian/openwrt-test/build_dir/host/findutils-4.4.2/.built] Error 2

comment:3 Changed 3 years ago by nbd

please try r43064

comment:4 Changed 3 years ago by bittorf@…

thank you - works!

comment:5 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.