2018-03-29

Next64 -- lzma-lzlib.u



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

2018-03-27

Next64 -- Dependencies loop


TazPkg administration and settings
Quick check - Dependencies loop

tux@slitaz:~$ tazpkg

SliTaz package manager - Version: 962
================================================================================
  Installed packages:    351
  Installed files:       7099
  Blocked packages:      0
  Upgradeable packages:  0

  Repository:            Main
  Last recharge:         Yesterday at 16:42.
  Database timestamp:    03/23/18 15:39
  Mirrored packages:     1501
================================================================================

tux@slitaz:~$ 


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

2018-03-22

Next64 -- cooker ncftp




 

Update:
Please take a look at this line:
http://hg.slitaz.org/cookutils/file/1040/cook#l985

985 find fs -newer $receipt -exec touch -hr $receipt '{}' \;
And it was introduced the first time here:
http://hg.slitaz.org/cookutils/rev/861
cook: normalize file time
Sun Jan 08 14:29:40 2017 +0100 (14 months ago)
Files in the package can't be newer than receipt.


ncftp: A File Transfer Protocol client.
http://cook.slitaz.org/next64/ncftp

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/

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/
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 


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/


Next64 -- The release checksum has changed.


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

Next64 -- recook does not update ??


recook do 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:/#
 
 

Next64 -- -D _GLIBCXX_USE_C99_MATH


-D _GLIBCXX_USE_C99_MATH

Update:
http://hg.slitaz.org/cookutils/rev/1037

New shiny Glibc-2.26 broke mathematics in the C++ programs and you will see something like this:

${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

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!
http://forum.slitaz.org/topic/technical-topic-current-state-of-slitaz-next-march-2018#post-45984 


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