LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   [ANN] compat32pkg 1.5.130105 / mk-slack64-multilib 1.0.130105 have been released ! (http://www.linuxquestions.org/questions/slackware-14/%5Bann%5D-compat32pkg-1-5-130105-mk-slack64-multilib-1-0-130105-have-been-released-4175444384/)

phenixia2003 01-06-2013 12:49 PM

[ANN] compat32pkg 1.5.130105 / mk-slack64-multilib 1.0.130105 have been released !
 
Hello Slackers,

First, I wish you all a happy new year !

When I tested mk-slack64-multilib, I noticed a small issue in compat32pkg with compat32 packages from Eric repository, and more precisely those for Slackware64 14.0. Indeed, recently, Eric has added a tag (ie compat32) at the end of those compat32 packages to ease blacklisting of that kind of package in slackpkg. As a consequence when running earlier versions of compat32pkg (ie < 1.5.130105) in update mode (ie --check-update, --list-updates, --upgrade), all of the compat32 packages with that tag are mistakenly considered as out of date, like in the example below :

Code:

$ compat32pkg --mirror @France-14.0 --list-updates list:alsa-lib,alsa-oss,cxxlibs,mesa

compat32pkg ver. 1.5.120822 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--list-updates] Started on Sun 06 Jan 2013 12:31:14 PM CET                                                       
[--list-updates]  Using mirror ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-14.0
[--list-updates]  Local system is Slackware/x86_64 version 14.0
[--list-updates]  Mirrored system is Slackware/i486 version 14.0
[--list-updates]  Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--list-updates]  compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--list-updates]  Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.5.130103
                                                                           
[--list-updates]  4 update(s) were found (0,129 sec.)

[ package-basename                ] [ installed version                ]    [ update version                  ]
  cxxlibs                              6.0.17 build 1compat32            -->  6.0.17 build 1                 
  alsa-lib                            1.0.26 build 1compat32            -->  1.0.26 build 1                 
  alsa-oss                            1.0.25 build 1compat32            -->  1.0.25 build 1                 
  mesa                                8.0.4 build 1compat32              -->  8.0.4 build 1                 

[--list-updates] Ended on Sun 06 Jan 2013 12:31:14 PM CET

In mk-slack64-multilib (0.9) I workarounded this by removing, when required, the tag "compat32" during integration of the compat32 packages. But, this was only temporary.

So, this issue has been fixed in compat32pkg 1.5.130105 (and the workaround has been removed in mk-slack64-multilib 1.0.130105) as shown in the example below :

Code:

$ compat32pkg --mirror @France-14.0 --list-updates list:alsa-lib,alsa-oss,cxxlibs,mesa

compat32pkg ver. 1.5.130105 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
(WORKING) Loading data on available packages from ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware                                                                                                              [--list-updates] Started on Sun 06 Jan 2013 12:35:17 PM CET
[--list-updates]  Using mirror ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-14.0
[--list-updates]  Local system is Slackware/x86_64 version 14.0
[--list-updates]  Mirrored system is Slackware/i486 version 14.0
[--list-updates]  Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--list-updates]  compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--list-updates]  Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.5.130103
                                                                           
[--list-updates]  0 update(s) were found (0,121 sec.)

[--list-updates] Ended on Sun 06 Jan 2013 12:35:17 PM CET

However, only the packages installed/updated by this version will be correctly tagged. So, users who have installed (or updated) their multilib with an earlier version of compat32pkg will have some of their compat32 packages untagged. To fix this, those packages can be reinstalled using compat32pkg 1.5.130105. Alternatively, the files /var/log/packages/*-compat32-* may be updated using the script below (as root) :

Code:

#!/bin/sh
   
C32PKG_FILES=$(find /var/log/packages -name "*-compat32-*")
   
for FILE in $C32PKG_FILES ; do
    if ! echo "$FILE" | grep --quiet "compat32$" ; then
        mv "$FILE" "${FILE}compat32"
    fi
done

compat32pkg 1.5.130105 is also shipped with the latest version of the layer-32 descriptor which includes the latest changes made by Eric to the multilib (addition of packages l/gmp, n/nettle, and n/p11-kit).

Finally, but this is not the least (and I'm really sorry for that), as marrowsuck (thanks for him) has pointed out in this post, the /tmp directory in compat32pkg package (starting from version 1.5.120822 build 5) has its permission wrongly set to 755. As the creation of the directory /tmp/compat32pkg into the slackbuild was useless, it has been removed for compat32pkg 1.5.130105. However, users of compat32pkg from 1.5.120822 build 5 to 1.5.120822 build 7 might have to reset their /tmp directory permissions to the right one (1777) :
Code:

  $ chmod 1777 /tmp
Note that I backported this fix for the faulty versions (ie 1.5.120822 build 5,6,7) and I have re-uploaded the corrected packages at sourceforge.

As always you can get the latest compat32pkg package for slackware at compat32pkg's website, or by following this direct link.

Regarding mk-slack64-multilib, it is available here, and you can get the latest revision using this direct link.

Cheers !

--
SeB


All times are GMT -5. The time now is 07:22 AM.