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#2153 - 889b6423b7 tools: migrate from squashfs4 to squashfskit4 breaks building on macos #7009

Closed
openwrt-bot opened this issue Feb 28, 2019 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

ldir:

make[3]: Entering directory /Users/kevin/dev/tools/squashfskit4' CFLAGS="-O2 -I/Users/kevin/dev/staging_dir/host/include " CPPFLAGS="-I/Users/kevin/dev/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/Users/kevin/dev/staging_dir/host/lib " /Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/kevin/dev/build_dir/host/squashfskit-v4.14/squashfs-tools XZ_SUPPORT=1 LZMA_XZ_SUPPORT=1 XATTR_SUPPORT= LZMA_LIB="/Users/kevin/dev/staging_dir/host/lib/liblzma.a" EXTRA_CFLAGS="-I/Users/kevin/dev/staging_dir/host/include" mksquashfs unsquashfs ./version.sh Writing squashfs-tools/version.h date: 1550540823: No such file or directory make[4]: *** [version] Error 1 make[3]: *** [/Users/kevin/dev/build_dir/host/squashfskit-v4.14/.built] Error 2 make[3]: Leaving directory /Users/kevin/dev/tools/squashfskit4'
time: tools/squashfskit4/compile#0.05#0.05#0.13
make[2]: *** [tools/squashfskit4/compile] Error 2
make[2]: Leaving directory `/Users/kevin/dev'

kevin@Kevins-MBP ~/dev/logs/tools/squashfskit4 (mine<) $ vi compile.txt

make[3]: Entering directory /Users/kevin/dev/tools/squashfskit4' CFLAGS="-O2 -I/Users/kevin/dev/staging_dir/host/include " CPPFLAGS="-I/Users/kevin/dev/staging_dir/host/include " CXXFLAGS="" LDFLAGS="-L/Users/kevin/dev/staging_dir/host/lib " /Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/kevin/dev/build_dir/host/squashfskit-v4.14/squashfs-tools XZ_SUPPORT=1 LZMA_XZ_SUPPORT=1 XATTR_SUPPORT= LZMA_LIB="/Users/kevin/dev/staging_dir/host/lib/liblzma.a" EXTRA_CFLAGS="-I/Users/kevin/dev/staging_dir/host/include" mksquashfs unsquashfs ./version.sh Writing squashfs-tools/version.h date: 1550540823: No such file or directory make[4]: *** [version] Error 1 make[3]: *** [/Users/kevin/dev/build_dir/host/squashfskit-v4.14/.built] Error 2 make[3]: Leaving directory /Users/kevin/dev/tools/squashfskit4'
time: tools/squashfskit4/compile#0.05#0.05#0.13

make[1]: *** [/Users/kevin/dev/staging_dir/target-mips_74kc+dsp2_musl/stamp/.tools_compile_yynyyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynyyyynnyyy] Error 2
make[1]: Leaving directory `/Users/kevin/dev'
make: *** [world] Error 2

My mind is boggled.

@openwrt-bot
Copy link
Author

lynxis:

@ldir: can you go to /Users/kevin/dev/build_dir/host/squashfskit-v4.14/squashfs-tools and modify version.sh adding a set -x and run it afterwards manually?

I would guess, squashfskit can not find the "version" "version.date" files in the squashfskit-v4.14 directory.

@openwrt-bot
Copy link
Author

porroso:

as temporary fix you can create a file called 1550540823 on your build_dir/host/squashfskit-v4.14/ directory so you can get your compile going on

@openwrt-bot
Copy link
Author

lynxis:

waiting for the fix to be tested.

@openwrt-bot
Copy link
Author

porroso:

just compiled ok, your fix is working. great work!

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