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#1436 - bonnie++ - ON the OpenWrt Snapshot is not compiling anymore (a few days ago it was working) #6391

Closed
openwrt-bot opened this issue Mar 16, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

p3x-robot:

Supply the following if possible:

  • Device problem occurs on

    • Linksys WRT (1900ACS, 3200ACM), D-Link DIR-860L B1, R-PI 3
  • Software versions of OpenWrt/LEDE release, packages, etc.

    • git rev-perse --verify HEAD
  • Steps to reproduce

    • make package/feeds/packages/bonnie++/{prepare,compile} package/index V=smake package/feeds/packages/bonnie++/{prepare,compile} package/index V=s

Given bonnie++/bonniexx is important for the ext-root, it is highly required.

Output on all 4 routers, the output is:

/build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:248:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected primary-expression before 'if' if (__comp(__a, __b)) ^~ /build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected '}' before 'if' /build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected ';' before 'if' /build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:270:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/include/c++/7.3.0/bits/stl_algobase.h:271:5: error: expected declaration before '}' token } ^ Makefile:66: recipe for target 'bon_time.o' failed make[3]: *** [bon_time.o] Error 1 make[3]: Leaving directory '/build/source/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/bonnie++-1.97.1' Makefile:53: recipe for target '/build/source/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/bonnie++-1.97.1/.built' failed make[2]: *** [/build/source/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/bonnie++-1.97.1/.built] Error 2 make[2]: Leaving directory '/build/source/feeds/packages/utils/bonnie++' package/Makefile:107: recipe for target 'package/feeds/packages/bonnie++/compile' failed make[1]: *** [package/feeds/packages/bonnie++/compile] Error 2 make[1]: Leaving directory '/build/source' /build/source/include/toplevel.mk:216: recipe for target 'package/feeds/packages/bonnie++/compile' failed make: *** [package/feeds/packages/bonnie++/compile] Error 2 248:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/mipsel-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected primary-expression before 'if' if (__comp(__a, __b)) ^~ /build/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/mipsel-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected '}' before 'if' /build/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/mipsel-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected ';' before 'if' /build/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/mipsel-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:270:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/mipsel-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:271:5: error: expected declaration before '}' token } ^ Makefile:66: recipe for target 'bon_time.o' failed make[3]: *** [bon_time.o] Error 1 make[3]: Leaving directory '/build/source/build_dir/target-mipsel_24kc_musl/bonnie++-1.97.1' Makefile:53: recipe for target '/build/source/build_dir/target-mipsel_24kc_musl/bonnie++-1.97.1/.built' failed make[2]: *** [/build/source/build_dir/target-mipsel_24kc_musl/bonnie++-1.97.1/.built] Error 2 make[2]: Leaving directory '/build/source/feeds/packages/utils/bonnie++' package/Makefile:107: recipe for target 'package/feeds/packages/bonnie++/compile' failed make[1]: *** [package/feeds/packages/bonnie++/compile] Error 2 make[1]: Leaving directory '/build/source' /build/source/include/toplevel.mk:216: recipe for target 'package/feeds/packages/bonnie++/compile' failed make: *** [package/feeds/packages/bonnie++/compile] Error 2 /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:248:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected primary-expression before 'if' if (__comp(__a, __b)) ^~ /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected '}' before 'if' /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:268:7: error: expected ';' before 'if' /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:270:7: error: expected unqualified-id before 'return' return __a; ^~~~~~ /build/source/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.3.0_musl/aarch64-openwrt-linux-musl/include/c++/7.3.0/bits/stl_algobase.h:271:5: error: expected declaration before '}' token } ^ Makefile:66: recipe for target 'bon_time.o' failed make[3]: *** [bon_time.o] Error 1 make[3]: Leaving directory '/build/source/build_dir/target-aarch64_cortex-a53_musl/bonnie++-1.97.1' Makefile:53: recipe for target '/build/source/build_dir/target-aarch64_cortex-a53_musl/bonnie++-1.97.1/.built' failed make[2]: *** [/build/source/build_dir/target-aarch64_cortex-a53_musl/bonnie++-1.97.1/.built] Error 2 make[2]: Leaving directory '/build/source/feeds/packages/utils/bonnie++' package/Makefile:107: recipe for target 'package/feeds/packages/bonnie++/compile' failed make[1]: *** [package/feeds/packages/bonnie++/compile] Error 2 make[1]: Leaving directory '/build/source' /build/source/include/toplevel.mk:216: recipe for target 'package/feeds/packages/bonnie++/compile' failed make: *** [package/feeds/packages/bonnie++/compile] Error 2
@openwrt-bot
Copy link
Author

mkresin:

bonnie++ is not part of the OpenWrt base system. It is maintained as part of the (external/additional) [[https://github.com/openwrt/packages/tree/master/utils/bonnie++|packages feed]] which has its own bugtracker.

Would you please open a bug report at https://github.com/openwrt/packages/issues to make sure that the appropriate people get aware of the issue.

A more recent compiler is used in OpenWrt since a few days. Most likely the bonnie++ package needs an update.

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