You are not logged in.
In few words: SliTaz Next still far from the usable state.
Although you may see long green bars that represent the completeness of the packages re-creation, it doesn't make many sense.
Sometimes there come such moments as now, when I do not know what to do next and when I just want to give up.
In order.
Toolchain issues.
New shiny Glibc-2.26 broke mathematics in the C++ programs and you will see something like this:
[c]${src}/mfbt/decimal/Decimal.cpp:689:14: error: '__builtin_isfinite' is not a member of 'std'
${src}/mfbt/decimal/Decimal.cpp:692:14: error: '__builtin_isinf_sign' is not a member of 'std'
ERROR: cook failed[/c]
I'm not "in topic" with all these changes in Glibc, but I clearly see the message. Well, I can just remove "std::" prefix. And know what? It works!
But not in the case of Qt5. It just broke in the very beginning...
Then I found the page describing the same problem, and yesterday I was tried to apply the patches... I'm not a programmer, and even I don't know C or C++: I have only very general idea about what that programs do. But this does not prevent me from repairing programs...
And then GCC failed to build when I applied these patches to Glibc! Looks like it out of my possibilities. I can only try Glibc-2.27 instead of current Glibc-2.26 without or with these patches.
Making usable toolchain is always hard process for me and it is still a half of magic...
Next.
Lesser problems.
RPC. Glibc obsolete RPC some years ago, but it was the possibility to use them using the option --enable-obsolete-rpc (like Archlinux use it, but LFS don't). I tried and it fails for unknown (for me) reason.
What Glibc maintainers to think, how to live without these RPC? Seems the solution is to use libtirpc package, but it is not the 100% substitution, and some programs can use it, while some other need to be tweaked/patched.
OpenSSL. I switched to the 1.1 branch (like LFS and Archlinux) by default, and have additional package for previous branch (openssl10). Newer programs will use OpenSSL-1.1 without any problem. Older programs should be updated or be tweaked to use openssl10 package (like alpine or tls).
Old software. It is sad, but some old software exists, released 8-10 and possible many years ago, unmaintained since then, that don't fit current environment and rejects to build. I found many strange (for me, of course) packages, but don't know what to do with them. I'm just putting them off to the very end.
----
Please keep yourself from posting here posts that are not suitable for this topic!
This will make me even more sad and irritable.
Offline
-D _GLIBCXX_USE_C99_MATH
Well, I can just remove "std::" prefix. And know what? It works!
Executing: compile_rules
CFLAGS : -march=nocona -Os -pipe -mindirect-branch=thunk -D _GLIBCXX_USE_C99_MATH
Applying patch js38-38.2.1-upstream_fixes-2.patch
patching file build/autoconf/icu.m4
patching file js/src/configure
patching file js/src/configure.in
patching file js/src/jit/RegisterSets.h
patching file js/src/Makefile.in
loading site script /etc/slitaz/cook.site
creating cache ./config.cache
Offline
You made my day :-D
http://hg.slitaz.org/cookutils/rev/1037
Thank you very much!
Offline
recook does not update ??
Summary for: glib 2.52.3-x86_64
================================================================================
Src file : glib-2.52.3.tar.xz
Src size : 7.3M
Source dir : 121.4M
Produced : 40.5M
Cook time : 164s ~ 3m
Cook date : 2018-03-22 14:59
Target arch : x86_64
--------------------------------------------------------------------------------
# : Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
1 : 2.9M : 858.9K : 25 : glib-2.52.3-x86_64.tazpkg
2 : 8.7M : 1.2M : 306 : glib-dev-2.52.3-x86_64.tazpkg
================================================================================
Leaving aufs chroot...
root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin
total 468
-rwxr-xr-x 1 root root 21104 Mar 22 14:58 gapplication
-rwxr-xr-x 1 root root 46184 Mar 22 14:58 gdbus
-rwxr-xr-x 1 root root 1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x 1 root root 83968 Mar 22 14:58 gio
-rwxr-xr-x 1 root root 15408 Mar 22 14:58 gio-querymodules
-rwxr-xr-x 1 root root 46240 Mar 22 14:58 glib-compile-resources
-rwxr-xr-x 1 root root 50800 Mar 22 14:58 glib-compile-schemas
-rwxr-xr-x 1 root root 37864 Mar 22 14:58 glib-genmarshal
-rwxr-xr-x 1 root root 5370 Mar 22 14:58 glib-gettextize
-rwxr-xr-x 1 root root 18833 Mar 22 14:58 glib-mkenums
-rwxr-xr-x 1 root root 15128 Mar 22 14:58 gobject-query
-rwxr-xr-x 1 root root 21336 Mar 22 14:58 gresource
-rwxr-xr-x 1 root root 31360 Mar 22 14:58 gsettings
-rwxr-xr-x 1 root root 31136 Mar 22 14:58 gtester
-rwxr-xr-x 1 root root 18757 Mar 22 14:58 gtester-report
root@slitaz:/# ls -l /home/slitaz/wok/glib/taz/glib-2.52.3/fs/usr/bin
total 288
-rwxr-xr-x 1 root root 14632 Feb 27 12:06 gapplication
-rwxr-xr-x 1 root root 35576 Feb 27 12:06 gdbus
-rwxr-xr-x 1 root root 65032 Feb 27 12:06 gio
-rwxr-xr-x 1 root root 10344 Feb 27 12:06 gio-querymodules
-rwxr-xr-x 1 root root 35736 Feb 27 12:06 glib-compile-resources
-rwxr-xr-x 1 root root 39800 Feb 27 12:06 glib-compile-schemas
-rwxr-xr-x 1 root root 31000 Feb 27 12:06 glib-genmarshal
-rwxr-xr-x 1 root root 10248 Feb 27 12:06 gobject-query
-rwxr-xr-x 1 root root 14608 Feb 27 12:06 gresource
-rwxr-xr-x 1 root root 23016 Feb 27 12:06 gsettings
root@slitaz:/#
Offline
Hi Alan,
Ignoring the dates in your listing I want to say: it is OK.
Please, examine the files list: http://cook.slitaz.org/next64/glib/files
The files from install/usr/bin/ are split to the glib and glib-dev packages.
Offline
Cook date 2018-03-21 22:11
-rwxr-xr-x 1 root root 228656 Oct 17 08:15 /usr/bin/ncftp
drwxr-xr-x 2 root root 4096 Mar 21 22:11 /etc/
ncftp: A File Transfer Protocol client.
http://cook.slitaz.org/next64/ncftp
Summary for: ncftp 3.2.5-x86_64
Src file ncftp-3.2.5-src.tar.bz2
Src size 448.0K
Source dir 5.9M
Produced 992.0K
Cook time 52s ~ 1m
Cook date 2018-03-21 22:11
Target arch x86_64
http://cook.slitaz.org/next64/ncftp/browse/install/usr/bin/
ncftp 2018-Mar-21 23:11:39 223.3K application/octet-stream
ncftpbatch 2018-Mar-21 23:11:39 159.1K application/octet-stream
ncftpbookmarks 2018-Mar-21 23:11:39 107.9K application/octet-stream
ncftpget 2018-Mar-21 23:11:39 155.1K application/octet-stream
ncftpls 2018-Mar-21 23:11:39 126.9K application/octet-stream
ncftpput 2018-Mar-21 23:11:39 151.1K application/octet-stream
ncftpspooler 2018-Mar-21 23:11:39 159.1K application/octet-stream
http://cook.slitaz.org/next64/ncftp/files
Contents of package “ncftp-3.2.5” (940K):
permissions·lnk·user ·group · size·date & time ·name
drwxr-xr-x 3 root root 4096 Oct 17 08:15 /
drwxr-xr-x 3 root root 4096 Oct 17 08:15 /usr/
drwxr-xr-x 2 root root 4096 Oct 17 08:15 /usr/bin/
-rwxr-xr-x 1 root root 228656 Oct 17 08:15 /usr/bin/ncftp
-rwxr-xr-x 2 root root 162992 Oct 17 08:15 /usr/bin/ncftpbatch
-rwxr-xr-x 1 root root 110544 Oct 17 08:15 /usr/bin/ncftpbookmarks
-rwxr-xr-x 1 root root 158864 Oct 17 08:15 /usr/bin/ncftpget
-rwxr-xr-x 1 root root 130032 Oct 17 08:15 /usr/bin/ncftpls
-rwxr-xr-x 1 root root 154768 Oct 17 08:15 /usr/bin/ncftpput
-rwxr-xr-x 2 root root 162992 Oct 17 08:15 /usr/bin/ncftpspooler
Unpackaged empty folders:
permissions·lnk·user ·group · size·date & time ·name
drwxr-xr-x 2 root root 4096 Mar 21 22:11 /etc/
Offline
The release checksum has changed.
Pack: glib 2.52.3-x86_64
================================================================================
Executing: genpkg_rules
Copying folders and files... Done
Copying "receipt"... Done
Executing strip on all files... Done
Time: 0.14s. Size: 3751512 B -> 2979256 B. Save: 754 KB.
Creating the list of files... Done
Creating md5sum of files... Done
Compressing the FS... Done
Updating receipt sizes... Done
Creating full cpio archive... Done
QA: checking for empty package... Done
The release checksum has changed.
================================================================================
Package "glib-2.52.3-x86_64.tazpkg" created
root@slitaz:/# ls -l /home/slitaz/wok/glib/install/usr/bin
total 468
-rwxr-xr-x 1 root root 21104 Mar 22 14:58 gapplication
-rwxr-xr-x 1 root root 46184 Mar 22 14:58 gdbus
-rwxr-xr-x 1 root root 1278 Mar 22 14:58 gdbus-codegen
-rwxr-xr-x 1 root root 83968 Mar 22 14:58 gio
[..]
extract glib
1-glib-2.52.3-x86_64.tazpkg #old
glib-2.52.3-x86_64.tazpkg #recook
tux@slitaz:/tmp$ ls -l *glib-2.52.3-x86_64/fs/usr/bin
1-glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x 1 root root 14632 Feb 27 20:06 gapplication
-rwxr-xr-x 1 root root 35576 Feb 27 20:06 gdbus
-rwxr-xr-x 1 root root 65032 Feb 27 20:06 gio
-rwxr-xr-x 1 root root 10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x 1 root root 35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x 1 root root 39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x 1 root root 31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x 1 root root 10248 Feb 27 20:06 gobject-query
-rwxr-xr-x 1 root root 14608 Feb 27 20:06 gresource
-rwxr-xr-x 1 root root 23016 Feb 27 20:06 gsettings
glib-2.52.3-x86_64/fs/usr/bin:
total 288
-rwxr-xr-x 1 root root 14632 Feb 27 20:06 gapplication
-rwxr-xr-x 1 root root 35576 Feb 27 20:06 gdbus
-rwxr-xr-x 1 root root 65032 Feb 27 20:06 gio
-rwxr-xr-x 1 root root 10344 Feb 27 20:06 gio-querymodules
-rwxr-xr-x 1 root root 35736 Feb 27 20:06 glib-compile-resources
-rwxr-xr-x 1 root root 39800 Feb 27 20:06 glib-compile-schemas
-rwxr-xr-x 1 root root 31000 Feb 27 20:06 glib-genmarshal
-rwxr-xr-x 1 root root 10248 Feb 27 20:06 gobject-query
-rwxr-xr-x 1 root root 14608 Feb 27 20:06 gresource
-rwxr-xr-x 1 root root 23016 Feb 27 20:06 gsettings
Offline
Hi,
I have solved your puzzle. And wanted to say it's OK one more time.
Thank you anyway for your interest and time!
Please take a look at this line:
http://hg.slitaz.org/cookutils/file/1040/cook#l985
[c]985 find fs -newer $receipt -exec touch -hr $receipt '{}' \;[/c]
And it was introduced the first time here:
http://hg.slitaz.org/cookutils/rev/861
Sun Jan 08 14:29:40 2017 +0100 (14 months ago)
Files in the package can't be newer than receipt.
Receipt's date is: http://cook.slitaz.org/next64/ncftp/browse/
2017-Oct-17 10:15:08
Files dates are: http://cook.slitaz.org/next64/ncftp/browse/taz/ncftp-3.2.5/fs/usr/bin/
2017-Oct-17 10:15:08
Offline
I think I should return back to http://forum.slitaz.org/topic/technical-topic-current-state-of-slitaz-next-march-2018#post-46031
> recook does not update ??
After recooking the glib receipt it was produced two packages: glib and glib-dev.
Then system found that package glib-dev was not changed:
[*]no single bit in the it's files was changed,
[*]and files wasn't added or removed,
[*]package's description wasn't changed,
[*]package's metadata (stored in the small receipt) was not changed too.
=> System ignored this new package.
=> It keep the previous package in the /home/slitaz/packages.
=> It will NOT pushed to the mirror1.slitaz.org.
=> Users will NOT download and install such USELESS updated package.
=> ...
=> Profit! :-)
Offline
Thankx.
Quick check - Dependencies loop
Package cairo-1.14.8
Dependencies loop between package and:
harfbuzz
Package fontconfig-2.12.4
Dependencies loop between package and:
cairo
Package freetype-2.8
Dependencies loop between package and:
libharfbuzz
cairo
Package harfbuzz-1.4.8
Dependencies loop between package and:
freetype
cairo
Package jpeg-9b
The package has been modified by:
jpeg-turbo
Dependencies loop between package and:
libjpeg
Package libharfbuzz-1.4.8
Dependencies loop between package and:
harfbuzz
Package libjpeg-9b
Dependencies loop between package and:
jpeg
Package slitaz-boot-scripts-444
Dependencies loop between package and:
slitaz-tools
Package slitaz-tools-1024
Dependencies loop between package and:
slitaz-boot-scripts
Package util-linux-blkid-2.30.1
The package has been modified by:
busybox
Dependencies loop between package and:
util-linux-mount
Offline
lzma - lzlib.u
/usr/bin/ld: BranchX86.o: relocation R_X86_64_32S against symbol `kMaskToBitNumber' can not be used when making a shared object; recompile with -fPIC
lzma - stuff/lzlib.u
http://cook.slitaz.org/next64/lzma/stuff/lzlib.u
--- CPP/7zip/Compress/LZMA_Alone/makefile.gcc
+++ CPP/7zip/Compress/LZMA_Alone/makefile.gcc
@@ -1,6 +1,6 @@
PROG = lzma
-CXX = g++ -O2 -Wall
-CXX_C = gcc -O2 -Wall
+CXX = g++ -s -O2 -Wall -fPIC
+CXX_C = gcc -s -O2 -Wall -fPIC
LIB = -lm
RM = rm -f
CFLAGS = -c
Offline
[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]