LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-19-2021, 10:25 PM   #1
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
src2pkg Error


Hi,


I'm getting this error when trying to setup src2pkg - anyone have a fix for this:


bash-5.1# src2pkg --setup
Notice - Creating src2pkg-helpers:
src2pkg uses a shared library and a few programs
when creating packages. For best compatibility,
these binaries will be compiled on your system.
They are then installed in a private directory.
When done, src2pkg is ready for use.

TEMP_DIR=/usr/src/src2pkg/builds/src2pkg-helpers
Starting build in 5 seconds
Unpacking sources - OK
Creating libsentry - Ooops! Can't live without it...

Thanks
 
Old 11-20-2021, 06:20 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I haven't seen gnashley, creator of src2pkg, on this forum for ages.
 
Old 11-20-2021, 10:26 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I think Gilbert is actually active

https://www.linuxquestions.org/quest...rchid=12065366

BTW the error is because of the newer glibc: from glibc >= 2.23 onward some definitions had been removed from the public headers

https://www.mail-archive.com/openemb...msg144864.html

I just recycled the patch in the above link and produced another that you might apply like this on an slackware current with src2pkg already installed
Code:
cd /tmp
wget https://ponce.cc/slackware/testing/src2pkg.patch
cd /usr/src/src2pkg/src2pkg-helpers
patch -p1 < /tmp/src2pkg.patch
then you should be able to succesfully run "src2pkg --setup".
 
7 members found this post helpful.
Old 11-20-2021, 11:05 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by ponce View Post
I think Gilbert is actually active

https://www.linuxquestions.org/quest...rchid=12065366

BTW the error is because of the newer glibc: from glibc >= 2.23 onward some definitions had been removed from the public headers

https://www.mail-archive.com/openemb...msg144864.html

I just recycled the patch in the above link and produced another that you might apply like this on an slackware current with src2pkg already installed
Code:
cd /tmp
wget https://ponce.cc/slackware/testing/src2pkg.patch
cd /usr/src/src2pkg/src2pkg-helpers
patch -p1 < /tmp/src2pkg.patch
then you should be able to succesfully run "src2pkg --setup".
THANK YOU Ponce! I still love to use src2pkg before I make SlackBuidls just to see what problems may arise. It's nice to have it working again.
 
Old 11-20-2021, 12:44 PM   #5
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by ponce View Post
I think Gilbert is actually active

https://www.linuxquestions.org/quest...rchid=12065366

BTW the error is because of the newer glibc: from glibc >= 2.23 onward some definitions had been removed from the public headers

https://www.mail-archive.com/openemb...msg144864.html

I just recycled the patch in the above link and produced another that you might apply like this on an slackware current with src2pkg already installed
Code:
cd /tmp
wget https://ponce.cc/slackware/testing/src2pkg.patch
cd /usr/src/src2pkg/src2pkg-helpers
patch -p1 < /tmp/src2pkg.patch
then you should be able to succesfully run "src2pkg --setup".

Thank you very much, the first link is broken by the way, but the link to the patch script worked.


Take care,
 
  


Reply



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
[SOLVED] [src2pkg] how can one add a tag to src2pkg pkg name - like slackbuilds do (Sbo) harryhaller Slackware 5 02-13-2013 09:55 AM
[SOLVED] src2pkg Running make install has failed with error: 1 matters Slackware 14 03-13-2010 03:27 PM
[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 gnashley Slackware 11 12-21-2009 11:41 AM
src2pkg install error wit Slackware64 Daedra Slackware 1 05-21-2009 11:29 PM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 11:09 AM

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

All times are GMT -5. The time now is 05: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