Sourcery unable to set command string

You have a problem with Salix? Post here and we'll do what we can to help.
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Sourcery unable to set command string

Post by mlmyers »

Hi everyone,

I updated my server to Slackware 14.1 this afternoon. Everything went very smoothly, but now Sourcery does not install the packages it builds. I can manually install them though, and they work well. The error in the log is "unable to set command string." Does anyone have any tips for what I might be doing wrong and how to change it please?
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Sourcery unable to set command string

Post by mimosa »

Have you tried in console with slapt-src?

If it also fails, the output might be informative or at least suggestive.

EDIT

When you say "update your server", what do you mean exactly? Are you running 14.0? Better leave Slackbuild repos accordingly, if so. If you're running Salix 14.1, be aware it's alpha: don't expect it to work! AFAIK, even in 14.1, Sourcery/slapt-src still points at the 14.0 Slackbuilds repo, anyway.
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: Sourcery unable to set command string

Post by mlmyers »

Thanks, Mimosa. I was running Slackware 14.0 with Salix and SBo enhancements on this server. Today I used Pat's instructions to upgrade to Slackware 14.1. Then I changed the Salix repositories in Gslapt and Sourcery to 14.1 to update those packages. The packages Sourcery/slapt-src are building work, but they have to be installed manually. Here is the command line output:

Code: Select all

slapt-src -i freefont   
The following packages will be installed:
 freefont 
Do you want to continue? [y/N] y
Fetching 35-freefont.conf...Done
Fetching README...Done
Fetching doinst.sh...Done
Fetching freefont.SlackBuild...Done
Fetching freefont.info...Done
Fetching slack-desc...Done
Fetching http://ftp.gnu.org/gnu/freefont/freefont-ttf-20120503.zip...Done
Archive:  /usr/src/slapt-src/system/freefont/freefont-ttf-20120503.zip
   creating: /usr/src/slapt-src/system/freefont/freefont-20120503/
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeMonoBold.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/INSTALL  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeMono.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/README  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSerif.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSansBold.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/USAGE  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSerifBold.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSerifItalic.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/ChangeLog  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/COPYING  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSansBoldOblique.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/CREDITS  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSerifBoldItalic.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/TROUBLESHOOTING  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/AUTHORS  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSansOblique.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeMonoBoldOblique.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeMonoOblique.ttf  
  inflating: /usr/src/slapt-src/system/freefont/freefont-20120503/FreeSans.ttf  

Slackware package maker, version 3.14159.

Searching for symbolic links:
etc/fonts/conf.d/35-freefont.conf -> ../conf.avail/35-freefont.conf

Making symbolic link creation script:
( cd etc/fonts/conf.d ; rm -rf 35-freefont.conf )
( cd etc/fonts/conf.d ; ln -sf ../conf.avail/35-freefont.conf 35-freefont.conf )

Unless your existing installation script already contains the code
to create these links, you should append these lines to your existing
install script. Now's your chance. :^)

Would you like to add this stuff to the existing install script and
remove the symbolic links ([y]es, [n]o)? y


Removing symbolic links:
removed './etc/fonts/conf.d/35-freefont.conf'

Updating your ./install/doinst.sh...

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /usr/src/slapt-src/system/freefont/freefont-20120503-noarch-1_SBo.txz

./
install/
install/doinst.sh
install/slack-desc
usr/
usr/share/
usr/share/fonts/
usr/share/fonts/TTF/
usr/share/fonts/TTF/FreeSerif.ttf
usr/share/fonts/TTF/FreeMono.ttf
usr/share/fonts/TTF/FreeSansOblique.ttf
usr/share/fonts/TTF/FreeSerifBoldItalic.ttf
usr/share/fonts/TTF/FreeSansBoldOblique.ttf
usr/share/fonts/TTF/FreeSerifBold.ttf
usr/share/fonts/TTF/FreeSansBold.ttf
usr/share/fonts/TTF/FreeMonoBoldOblique.ttf
usr/share/fonts/TTF/FreeSerifItalic.ttf
usr/share/fonts/TTF/FreeMonoBold.ttf
usr/share/fonts/TTF/FreeSans.ttf
usr/share/fonts/TTF/FreeMonoOblique.ttf
usr/doc/
usr/doc/freefont-20120503/
usr/doc/freefont-20120503/ChangeLog
usr/doc/freefont-20120503/COPYING
usr/doc/freefont-20120503/INSTALL
usr/doc/freefont-20120503/freefont.SlackBuild
usr/doc/freefont-20120503/CREDITS
usr/doc/freefont-20120503/README
usr/doc/freefont-20120503/AUTHORS
etc/
etc/fonts/
etc/fonts/conf.avail/
etc/fonts/conf.avail/35-freefont.conf
etc/fonts/conf.d/

Slackware package /usr/src/slapt-src/system/freefont/freefont-20120503-noarch-1_SBo.txz created.

Failed to construct command string
For what it's worth, I did a clean Slackware 14.1 install on a laptop a couple weeks back and installed the Salix tools on top of that. Sourcery works as expected there.
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Sourcery unable to set command string

Post by gapan »

Which slapt-src and slapt-get packages are you using?
Image
Image
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: Sourcery unable to set command string

Post by mlmyers »

I am using:
slapt-src version 0.3.2e
slapt-get version 0.10.2p
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Sourcery unable to set command string

Post by gapan »

Is it the salix packages or the jaos.org packages or your own?
Image
Image
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: Sourcery unable to set command string

Post by mlmyers »

I downloaded slapt-get and slapt-src from one of the Salix mirrors and I use them to try to build SBo and Salix packages from the Salix mirrors.
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Sourcery unable to set command string

Post by gapan »

And do you have spkg installed?
Image
Image
mlmyers
Posts: 23
Joined: 28. Apr 2012, 03:19
Location: Nashville, TN
Contact:

Re: Sourcery unable to set command string

Post by mlmyers »

Yes, I am using spkg 1.0. I just tried doing a fresh install of it in case that was the problem.
Running a mix of Slackware64 14.0 / Slackware 14.1 + Salix OS packages
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Sourcery unable to set command string

Post by gapan »

Again, which spkg package exactly? Is it the one from the salix repositories?
Image
Image
Post Reply