Package: ext4magic
Cook failed
Debug information ret1.
================================================================================
Cook date: 2026-07-14 16:06
Wasted time : 7s
166:collect2: error: ld returned 1 exit status
================================================================================
Post-check
Cook: ext4magic 0.3.2
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): e2fsprogs-1.45.5
Installing (pkg/local): e2fsprogs-dev-1.45.5
Installing (pkg/local): libcomerr-1.45.5
Installing (pkg/local): libcomerr-dev-1.45.5
Installing (pkg/local): file-5.45
Installing (pkg/local): libmagic-5.45
Installing (pkg/local): libmagic-dev-5.45
Installing (pkg/local): util-linux-blkid-dev-2.38
Installing (pkg/local): util-linux-uuid-dev-2.38
Extracting source archive "ext4magic-0.3.2.tar.gz"
Executing: compile_rules
CFLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CXXLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2
LDFLAGS : -Wl,--as-needed,-z,relro,-z,now
patching file src/inode.c
configure: loading site script /etc/slitaz/cook.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /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 gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i486-pc-linux-gnu file names to i486-pc-linux-gnu format... func_convert_file_noop
checking how to convert i486-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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... yes
checking ext2fs/ext2fs.h usability... yes
checking ext2fs/ext2fs.h presence... yes
checking for ext2fs/ext2fs.h... yes
checking blkid/blkid.h usability... yes
checking blkid/blkid.h presence... yes
checking for blkid/blkid.h... yes
checking e2p/e2p.h usability... yes
checking e2p/e2p.h presence... yes
checking for e2p/e2p.h... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for library containing ext2fs_test_inode_bitmap_range... none required
checking for library containing magic_getpath... -lmagic
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory '${src}'
Making all in src
make[2]: Entering directory '${src}/src'
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-block.o -MD -MP -MF .deps/ext4magic-block.Tpo -c -o ext4magic-block.o `test -f 'block.c' || echo './'`block.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-dir_list.o -MD -MP -MF .deps/ext4magic-dir_list.Tpo -c -o ext4magic-dir_list.o `test -f 'dir_list.c' || echo './'`dir_list.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-ext4magic.o -MD -MP -MF .deps/ext4magic-ext4magic.Tpo -c -o ext4magic-ext4magic.o `test -f 'ext4magic.c' || echo './'`ext4magic.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-extent_db.o -MD -MP -MF .deps/ext4magic-extent_db.Tpo -c -o ext4magic-extent_db.o `test -f 'extent_db.c' || echo './'`extent_db.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-file_type.o -MD -MP -MF .deps/ext4magic-file_type.Tpo -c -o ext4magic-file_type.o `test -f 'file_type.c' || echo './'`file_type.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-hard_link_stack.o -MD -MP -MF .deps/ext4magic-hard_link_stack.Tpo -c -o ext4magic-hard_link_stack.o `test -f 'hard_link_stack.c' || echo './'`hard_link_stack.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-imap_search.o -MD -MP -MF .deps/ext4magic-imap_search.Tpo -c -o ext4magic-imap_search.o `test -f 'imap_search.c' || echo './'`imap_search.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-inode.o -MD -MP -MF .deps/ext4magic-inode.Tpo -c -o ext4magic-inode.o `test -f 'inode.c' || echo './'`inode.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-journal.o -MD -MP -MF .deps/ext4magic-journal.Tpo -c -o ext4magic-journal.o `test -f 'journal.c' || echo './'`journal.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-lookup_local.o -MD -MP -MF .deps/ext4magic-lookup_local.Tpo -c -o ext4magic-lookup_local.o `test -f 'lookup_local.c' || echo './'`lookup_local.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-magic_block_scan.o -MD -MP -MF .deps/ext4magic-magic_block_scan.Tpo -c -o ext4magic-magic_block_scan.o `test -f 'magic_block_scan.c' || echo './'`magic_block_scan.c
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-recover.o -MD -MP -MF .deps/ext4magic-recover.Tpo -c -o ext4magic-recover.o `test -f 'recover.c' || echo './'`recover.c
mv -f .deps/ext4magic-hard_link_stack.Tpo .deps/ext4magic-hard_link_stack.Po
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-ring_buf.o -MD -MP -MF .deps/ext4magic-ring_buf.Tpo -c -o ext4magic-ring_buf.o `test -f 'ring_buf.c' || echo './'`ring_buf.c
mv -f .deps/ext4magic-dir_list.Tpo .deps/ext4magic-dir_list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2 -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -MT ext4magic-util.o -MD -MP -MF .deps/ext4magic-util.Tpo -c -o ext4magic-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/ext4magic-extent_db.Tpo .deps/ext4magic-extent_db.Po
mv -f .deps/ext4magic-ring_buf.Tpo .deps/ext4magic-ring_buf.Po
mv -f .deps/ext4magic-imap_search.Tpo .deps/ext4magic-imap_search.Po
mv -f .deps/ext4magic-recover.Tpo .deps/ext4magic-recover.Po
mv -f .deps/ext4magic-block.Tpo .deps/ext4magic-block.Po
mv -f .deps/ext4magic-lookup_local.Tpo .deps/ext4magic-lookup_local.Po
mv -f .deps/ext4magic-ext4magic.Tpo .deps/ext4magic-ext4magic.Po
mv -f .deps/ext4magic-inode.Tpo .deps/ext4magic-inode.Po
mv -f .deps/ext4magic-journal.Tpo .deps/ext4magic-journal.Po
mv -f .deps/ext4magic-util.Tpo .deps/ext4magic-util.Po
mv -f .deps/ext4magic-magic_block_scan.Tpo .deps/ext4magic-magic_block_scan.Po
mv -f .deps/ext4magic-file_type.Tpo .deps/ext4magic-file_type.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -lext2fs -le2p -luuid -lblkid -lmagic -lz -lbz2 -Wl,--as-needed,-z,relro,-z,now -o ext4magic ext4magic-block.o ext4magic-dir_list.o ext4magic-ext4magic.o ext4magic-extent_db.o ext4magic-file_type.o ext4magic-hard_link_stack.o ext4magic-imap_search.o ext4magic-inode.o ext4magic-journal.o ext4magic-lookup_local.o ext4magic-magic_block_scan.o ext4magic-recover.o ext4magic-ring_buf.o ext4magic-util.o -lmagic /usr/lib/libext2fs.so.2
mkdir .libs
gcc -O2 -g -D_FILE_OFFSET_BITS=64 -march=i486 -Os -pipe -fstack-protector-strong -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o ext4magic ext4magic-block.o ext4magic-dir_list.o ext4magic-ext4magic.o ext4magic-extent_db.o ext4magic-file_type.o ext4magic-hard_link_stack.o ext4magic-imap_search.o ext4magic-inode.o ext4magic-journal.o ext4magic-lookup_local.o ext4magic-magic_block_scan.o ext4magic-recover.o ext4magic-ring_buf.o ext4magic-util.o /usr/lib/libext2fs.so.2 -lext2fs -le2p -luuid -lblkid -lz -lbz2 -lmagic
/usr/bin/ld: cannot find -lext2fs
/usr/bin/ld: cannot find -le2p
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:348: ext4magic] Error 1
make[2]: Leaving directory '${src}/src'
make[1]: *** [Makefile:322: all-recursive] Error 1
make[1]: Leaving directory '${src}'
make: *** [Makefile:253: all] Error 2
Build dependencies to remove: 9
Removing: e2fsprogs e2fsprogs-dev file libcomerr libcomerr-dev libmagic libmagic-dev util-linux-blkid-dev util-linux-uuid-dev
Debug information ret1.
================================================================================
Cook date: 2026-07-14 16:06
Wasted time : 7s
166:collect2: error: ld returned 1 exit status
================================================================================
Post-check
================================================================================
Checking build... Failed
Updating activity log... Done
================================================================================