LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2013, 12:49 PM   #1
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 248

Rep: Reputation: 139Reputation: 139
[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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
[ANN] compat32pkg 1.5.120822 is out ! phenixia2003 Slackware 1 09-01-2012 09:20 AM
[ANN] compat32pkg 1.4.110408 / multilibpkg 1.1.110412 phenixia2003 Slackware 3 05-22-2011 05:35 AM
[ANN] compat32pkg-1.3.110319 is out ! phenixia2003 Slackware 6 03-27-2011 01:02 PM
[ANN] compat32pkg 1.2.110112 phenixia2003 Slackware 6 02-25-2011 04:31 AM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration