WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: submitqc4 returns "unknown operand"  (Read 6253 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
submitqc4 returns "unknown operand"
« on: January 25, 2013, 01:34:59 PM »
I think this is a bug. I don't see anything wrong in the extension files. Results from submitqc4:
Code: [Select]
The following errors are found in libnetfilter_conntrack.tcz.info. No news is good news:
libnetfilter_conntrack.tcz is a valid tcz file. Checking MD5 for libnetfilter_conntrack.tcz:
libnetfilter_conntrack.tcz: OK
 
##############################################
##############################################
 
 
libmnl.tcz is missing in the repo as a dependency of libnetfilter_conntrack.tcz.dep
libnfnetlink.tcz is missing in the repo as a dependency of libnetfilter_conntrack.tcz.dep
 
##############################################
##############################################
sh: libnetfilter_conntrack.tcz.dep: unknown operand

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #1 on: January 25, 2013, 02:04:24 PM »
I get the same error here:
Code: [Select]
conntrack-tools.tcz has proper startup script name conntrack-tools
 
The following errors are found in conntrack-tools.tcz.info. No news is good news:
conntrack-tools.tcz is a valid tcz file. Checking MD5 for conntrack-tools.tcz:
conntrack-tools.tcz: OK
 
##############################################
##############################################
 
 
netfilter-3.0.3-tinycore.tcz is missing in the repo as a dependency of conntrack-tools.tcz.dep
netfilter-3.0.3-tinycore.tcz Check to make sure the kernel version of the extension is either specifiedwith submitqc4 --kernel=3.0.21-tinycore64 or whatever applicable versionif it differs from the one running.
libmnl.tcz is missing in the repo as a dependency of conntrack-tools.tcz.dep
libnfnetlink.tcz is missing in the repo as a dependency of conntrack-tools.tcz.dep
libnetfilter_conntrack.tcz is missing in the repo as a dependency of conntrack-tools.tcz.dep
libnetfilter_cttimeout is missing in the repo as a dependency of conntrack-tools.tcz.dep
 
##############################################
##############################################
sh: conntrack-tools.tcz.dep: unknown operand
Could the dash and underscore in the previous post in the extension name be causing a problem?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #2 on: January 25, 2013, 05:53:59 PM »
I will look into it tonight.

aus9

  • Guest
Re: submitqc4 returns "unknown operand"
« Reply #3 on: January 25, 2013, 06:30:26 PM »
Rich

I gather you are not getting any temporary folders being created that then report thru submitqc4 they can not be removed?
http://forum.tinycorelinux.net/index.php/topic,14684.0.html

sorry for the slight hijack

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #4 on: January 25, 2013, 08:00:10 PM »
Hi Jason W
Thanks, I appreciate it.

@aus9: No, not seeing that happen.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #5 on: January 26, 2013, 11:43:34 AM »
Rich, I don't see this behavior with either dashes or underscore in extension names.  Maybe if I had those same extensions at hand I could see what is happening.  Thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #6 on: January 26, 2013, 12:02:28 PM »
Hi Jason W
libnetfilter_conntrack-1.0.2  depends on:
libmnl-1.0.3
libnfnetlink-1.0.1
available at:
http://www.netfilter.org/projects

I've attached the three build scripts I wrote in case it's of any relevance, since they actually package the extensions.
The script builds everything in a subdirectory where it is run.
« Last Edit: January 26, 2013, 01:06:15 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #7 on: January 26, 2013, 09:19:33 PM »
Hi Jason W
Or did you want me to upload/email them somewhere?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #8 on: January 26, 2013, 10:27:00 PM »
Hi Rich,
Yeah, uploading would help a lot.  You can send it to the scmsubmit@gmail.com account if you like, or elsewhere is ok too.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #9 on: January 26, 2013, 10:45:40 PM »
Hi Jason W
Thanks, scmsubmit is fine, I just sent the two extensions in question.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #10 on: January 27, 2013, 12:06:43 AM »
Thanks, with them I was able to locate the issue in a minute or so, though maybe the issue was not particular to those extension files.  Also fixed another bug while in there.  New version uploaded, hope it works.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #11 on: January 27, 2013, 12:12:33 AM »
Hi Jason W
Thanks, I'll try it as soon as it's visible in AppBrowser.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #12 on: January 27, 2013, 12:32:17 AM »
It should be seen in the updates function, I will amend the info file now as well though.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc4 returns "unknown operand"
« Reply #13 on: January 27, 2013, 01:43:44 AM »
Hi Jason W
Thanks, a few questions.
Code: [Select]
The following errors are found in libnetfilter_conntrack.tcz.info. No news is good news:
libnetfilter_conntrack.tcz is a valid tcz file. Checking MD5 for libnetfilter_conntrack.tcz:
libnetfilter_conntrack.tcz: OK
 
##############################################
##############################################
 
 
libmnl.tcz is missing in the repo as a dependency of libnetfilter_conntrack.tcz.dep
libnfnetlink.tcz is missing in the repo as a dependency of libnetfilter_conntrack.tcz.dep
 
##############################################
##############################################
 
THESE EXTENSIONS HAVE WRONG DEP FILE ENTRIES  : libnetfilter_conntrack.tcz.dep. PLEASE REVIEW THE CONTENTS OF /tmp/submitqc/missingdeps
The dep file contains:
Code: [Select]
libmnl.tcz
libnfnetlink.tcz
How are "WRONG DEP FILE ENTRIES" determined? Is that just because they are not in the repo?

For conntrack-tools.tcz, I'm curious as to why it returns:
Code: [Select]
netfilter-3.0.3-tinycore.tcz is missing in the repo as a dependency of conntrack-tools.tcz.dep
netfilter-3.0.3-tinycore.tcz Check to make sure the kernel version of the extension is either specifiedwith submitqc4 --kernel=3.0.21-tinycore64 or whatever applicable versionif it differs from the one running.
I see the extension in the repo and  uname -r  returns  3.0.3-tinycore

Thanks for the mention in the info file. That caught me off guard, but gave me a good chuckle.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: submitqc4 returns "unknown operand"
« Reply #14 on: January 27, 2013, 10:54:03 AM »
If an entry in the dep file is not in the repo, and also is not present in the current directory with the batch being checked with submitqc4, then it is listed as a wrong dep file entry.   If it is present in the current directory, it will be mentioned in green text. 

I don't see netfilter-3.0.21-tinycore.tcz listed as missing when I check conntrack-tools, as I run a 3.0.21 kernel now, and I don't know why it would not also work with 3.0.3, and I don't have a 3.0.3 to test with.