Ok, I figure3d this one out,

kmod in stage 0 wants zlib, but zlib is not in the stage 0 build:

attached patch fixes this.


Jan

On 2/19/20 11:56 AM, Jan Rovins wrote:
Ok, I pulled the latest to day from svn, and started a fresh build. At revision 49417.

Got this error for kmod:

checking for linux/module.h... no
checking whether _Static_assert() is supported... yes
checking whether _Noreturn is supported... yes
checking for liblzma... yes
checking for zlib... no
configure: error: Package requirements (zlib) were not met:
^0-kmod
No package 'zlib' found
^0-kmod
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
^0-kmod
Alternatively, you may set the environment variables zlib_CFLAGS
and zlib_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Due to previous errors, no 0-kmod.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---

But there is zlin on the iso chroot.

/lib64/libz.so.1.2.11
/lib64/libz.so
/lib64/libz.a
/lib64/libz.so.1
/usr/lib/libzstd.a
/usr/lib/libzstd.so.1.4.4
/usr/lib/pkgconfig/libzstd.pc
/usr/lib/libzstd.so.1
/usr/lib/libzstd.so

I won't have time to look at this further maybe until the weekend.


Also, it seems like the build system is not saving the source dir for a failed build, even though my config file says to do it.

Has anyone else seen this?, makes it hard to debug.


Jan

Index: package/archiver/zlib/zlib.conf
===================================================================
--- package/archiver/zlib/zlib.conf	(revision 49417)
+++ package/archiver/zlib/zlib.conf	(working copy)
@@ -20,4 +20,4 @@
 	var_insert confopt " " "--shared"
 fi
 
-var_append makeinstopt ' ' 'mandir=$mandir'
+ atstage toolchain || var_append makeinstopt ' ' 'mandir=$mandir'
Index: package/archiver/zlib/zlib.desc
===================================================================
--- package/archiver/zlib/zlib.desc	(revision 49417)
+++ package/archiver/zlib/zlib.desc	(working copy)
@@ -36,6 +36,6 @@
 [L] OpenSource
 [S] Stable
 [V] 1.2.11
-[P] X -1-3-5---9 105.900
+[P] X 01-3-5---9 105.900
 
 [D] 3384315072 zlib-1.2.11.tar.gz http://www.zlib.net/

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to