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
  Search this Thread
Old 01-17-2011, 12:07 PM   #1
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
[ANNOUNCE] src2pkg-2.4 released


A new version of src2pkg has been released and is available here:
src2pkg for slackware
The new version fixes a couple of obscure bugs and contains a new version of the sources for src2pkg-helpers. So, whether you are upgrading or installing fresh, you'll need to run 'src2pkg --setup' after installing the new package with: 'upgradepkg src2pkg-2.4-noarch-1.tgz'

Most of the changes for this new version are fixes for the creation of rpm and debian packages. These both seem to be working rather well now and have been tested on Debian Lenny and openSuSE-11.1.
If you want to try src2pkg on some other distro, look for the appropriate package of src2pkg-2.4 here:
src2pkg for other distros

Thanks to everyone -even though nobody reported any bugs. Been a long time since anyone found anything... Boring, but nice since I also have other projects.

Still, if anyone finds a bug, please let me know so it can be fixed as soon as possible.

Gilbert
 
Old 01-17-2011, 05:28 PM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,615

Rep: Reputation: 299Reputation: 299Reputation: 299
Thanks gnashley! Src2pkg has been a big help to me at times.
 
Old 01-17-2011, 10:19 PM   #3
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Rep: Reputation: 28
Me too, thanks!
 
Old 01-17-2011, 11:04 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-14.2
Posts: 908

Rep: Reputation: 89
Me too, Thanks gnashley!
 
Old 01-18-2011, 06:30 AM   #5
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,282

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
A great piece of software. Thanks!
 
Old 01-18-2011, 07:56 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD, Debian
Posts: 6,344

Rep: Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582
Greetings Gilbert,

I just upgraded to 2.4. Thank you for your continued efforts! Excellent software.
 
Old 01-18-2011, 10:45 AM   #7
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,163
Blog Entries: 29

Rep: Reputation: 131Reputation: 131
Excellent, Gilbert! I look forward to using it and testing it in other distros.
 
Old 01-18-2011, 12:01 PM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Original Poster
Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
I've had a report that the core-utils component is not building under slackware64. I've not got a 64-bit slackware setup yet, but it all built okay on openSuSE 64-bit.
Still, if that part doesn't build for you, src2pkg should still work flawlessly. Originally, parts of the old core-utils were included to make sure that the libsentry libc wrappers worked correctly even with newer versions of glibc. Newer core-utils were using some new glibc functions which were pretty unstable for awhile. Using the older core-utils avoided any chance of having problems since they don't use those funtions.

Anyway,the only thing that src2pkg requires is libsentry. Actually, even that could be dispensed with if you always used the -UNION option, in which case you'd only need the unionfs-fuse component. And the tar-1.13 included is not essential since slackware provides it already. For Slackware, including 'private' copies of tar-1.13 and core-utils in src2pkg makes it reliable for building the tar and core-utils packages, which most people will not do anyway. I still include them mostly for use with other distros which may have patched versions or use busybox versions which may not have the required functionality.

I'll do my best to get around to installing slack64 so I can always check and fix any errors before releasing. Thanks to ponce for reporting the error on Slackware64.
 
Old 01-18-2011, 01:09 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,591

Rep: Reputation: Disabled
I tested it firstly on 64-current multilib but it seems that the same behaviour manifests also on 64-13.1 and 32bit current: I'll try it soon on a 32bit 13.1.

for the coreutils to build on those I just commented out line 129 in /usr/src/src2pkg/src2pkg-helpers/src2pkg.setup
Code:
             #patch -p1 < "$SRC_DIR"/coreutils-5.2.1a-mktime.diff &> /dev/null

Last edited by ponce; 01-18-2011 at 01:11 PM.
 
Old 01-18-2011, 01:12 PM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD, Debian
Posts: 6,344

Rep: Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582Reputation: 2582
Quote:
Originally Posted by gnashley View Post
I've had a report that the core-utils component is not building under slackware64.

Yes. That fails for me on Slackware64-current. However, the install completes and src2pkg functions without issue for me.
 
Old 01-25-2011, 12:12 PM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
BTW the two links I tried on http://www.src2pkg.net/install gave 404 errors -- presumably the page needs updating for src2pkg-2.4
 
Old 01-25-2011, 02:47 PM   #12
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Original Poster
Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
Thanks, catkin. I've fixed that and will try to remember to keep that updated. I'm going to be be releasing a quick follow-up version in a few days and hopefully I'll remember to update the wiki also. {:->
 
Old 01-26-2011, 03:42 AM   #13
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by ponce View Post
for the coreutils to build on those I just commented out line 129 in /usr/src/src2pkg/src2pkg-helpers/src2pkg.setup
Code:
             #patch -p1 < "$SRC_DIR"/coreutils-5.2.1a-mktime.diff &> /dev/null
Thanks ponce

@gnashley: is ponce's fix recommended for those of us who don't want to wait for the official fix?
 
Old 01-26-2011, 05:45 AM   #14
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,899

Original Poster
Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
Yeah, that's fine. What I've done to definitively fix it is to simply stop compiling mktime.c at all and the two programs which depend on it: 'stat' and 'touch'. They are not essential at all to the functionality of src2pkg. It's funny, on old glib-2.3.6, coreutils will compile fine with or without the patch. With newer versions of glibc it goes all crazy and variably compiles or not according to the exact version and architecture. If it were anywhere near essential I'd have to fix it so itt would continue to compile everywhere, but since it's not I just removed it.

The main tools which src2pkg 'cares' about are those which are used to create or modify files, links and dirs -what is ordinarily used by Makefiles, like mkdir, cat, cp, install, ln, etc. And as I said before if some installaion actually calls some other utility which is not included in src2pkg-helpers, the standard installed version will be used. This is absolutely no problem on Slackware and could only cause problems on some system where the tools are not present, are linked statically, or use some limited version like busybox instead of GNU versions.

Early versions of src2pkg did not build and use copies of these coreutils components. But when the newer 'openat' and other *at functions were first being implemented in glibc, these were not reall stable and the syntax was in flux for a while. In order to avoid any problems I started including a few of the older coreutils which don't use those functions at all. But, at the same time I was working to get support for the new *at functions into libsentry and upstream in installwatch. I got the ball rolling for the first couple of *at calls with the help of LQ's 'osor', pushed them upstream to installwatch and then Felipe implemented some more of them which I then incorporated into libsentry. By now all is stable and working quite well -no problems with 'fstrans', chmod, chown or even mknod which plagued installwatch for a few years.

libsentry is able to track quite a few system calls (like 'atime') which are not really interesting for the purposes of src2pkg, so it still makes a good general purpose tracker for other purposes. The tracklist script which I include in libsentry and src2pkg is a good way to track lots of system calls and get a nicely parsed output -src2pkg uses it itself to easily track your packaging which uses DESTDIR (or similar) -it will warn you when something has been installed outside the DESTDIR, which happens fairly often. For the most complete listing of intercepted system calls you still need to use the 'sentry' script and peruse the log manually.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANNOUNCE] src2pkg-2.1 released gnashley Slackware 43 01-19-2010 06:08 AM
[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 gnashley Slackware 11 12-21-2009 11:41 AM
[ANNOUNCE] src2pkg-1.9.9 is released gnashley Slackware 16 09-07-2009 02:35 PM
[Announce] src2pkg-1.9.7 release gnashley Slackware 11 01-31-2009 01:57 AM
src2pkg-1.7 released gnashley Slackware 23 12-25-2007 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration