Hi Willy, the sbopkg script is very complex, I was trying to find were the
options are parsed.
I don't have experience with large scripts like sbopkg, just $0.02 :)
It seems that the var $LDOPTIONS doesn't get set when there are
build options declared, since the value ' (Q)ueue,' isn't displayed.
Maybe declaring build options prevent sbopkg to search for queue files,
or if the search happens, it get lost at some point.

On 13-10-2016 07:14, Willy Sudiarto Raharjo wrote:
Hi Willy, thanks for reply.
Running sbopkg -R -k -i "aMule:WEBSERVER=yes" didn't work,
sbopkg still doesn't show the queue.

sbopkg -i "aMule:WEBSERVER=yes" didn't work too.
(without -k since the packages are already installed)


There are other quote combinations that 'sbopkg -h' shows,
but I don't know if they are working.
I would run something like
sbopkg '-i wxPython cryptopp aMule:WEBSERVER=yes'

to build aMule with some build option, but sbopkg returns
everything else after wxPython as build options to wxPython.

--------------
sbopkg '-i wxPython cryptopp aMule:WEBSERVER=yes'

One or more build option files for the wxPython
SlackBuild script were found:

Command line options: cryptopp aMule WEBSERVER="yes"

Use (N)one, (C)ommand line options, or (A)bort?: a

Hi

i finally found the problem
If you look at the code at these lines
https://github.com/sbopkg/sbopkg/blob/master/src/usr/sbin/sbopkg#L3710

sbopkg will only execute one of them, either build option, saved option,
or queue, but not all or two of them.

For now, i have raised an issue to prevent it to be forgotten
https://github.com/sbopkg/sbopkg/issues/22

any help is appreciated :)




_______________________________________________
sbopkg-users mailing list
sbopkg-users@sbopkg.org
http://sbopkg.org/mailman/listinfo/sbopkg-users

_______________________________________________
sbopkg-users mailing list
sbopkg-users@sbopkg.org
http://sbopkg.org/mailman/listinfo/sbopkg-users

Reply via email to