Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2092 - Can't build current release #8436

Closed
openwrt-bot opened this issue Jan 29, 2019 · 1 comment
Closed

FS#2092 - Can't build current release #8436

openwrt-bot opened this issue Jan 29, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

ihitmani:

I can't build stable release from sources

  • Software versions of OpenWrt/LEDE release, packages, etc.
    18.06.1
  • Steps to reproduce
    do everything like at wiki, but 18.06.1 failed to build, but 18.06 fresh sources snapshot building successfully.

error:
...
mv -f $depbase.Tpo $depbase.Po
lib/fseterr.c: In function 'fseterr':
lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
#error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
^~~~~
make[6]: *** [Makefile:3461: lib/fseterr.o] Error 1
make[6]: *** Waiting for unfinished jobs....
....

aging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin:/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/bin:/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/android-sdk/tools/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/v/go/bin:~/.npm-global/bin:/sbin" ldconfig -n /run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/lib

Libraries have been installed in:
/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:

  • add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
    during execution
  • add LIBDIR to the 'LD_RUN_PATH' environment variable
    during linking
  • use the '-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

.....

ake[6]: Entering directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/build_dir/host/mpc-1.1.0'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/include'
/usr/bin/install -c -m 644 src/mpc.h '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/include'
make[6]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/build_dir/host/mpc-1.1.0'
make[5]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/build_dir/host/mpc-1.1.0'
make[4]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/build_dir/host/mpc-1.1.0'
mkdir -p /run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/stamp
touch /run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/build_dir/host/mpc-1.1.0/.built
touch /run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/host/stamp/.mpc_installed
make[3]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/tools/mpc'
time: tools/mpc/compile#18.28#3.65#16.10
make[2]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt'
make[1]: *** [tools/Makefile:150: /run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynyyyyynyyyyyyyyyyyyyyynyynynnyyynnyy] Error 2
make[1]: Leaving directory '/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt'
make: *** [/run/media/v/1390ab77-3888-441a-ac20-cb46d9511e27/openwrt/openwrt-stable/openwrt/include/toplevel.mk:218: world] Error 2

@openwrt-bot
Copy link
Author

xback:

Is this still the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant