Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Rich 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:
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
-
I get the same error here:
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?
-
I will look into it tonight.
-
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
-
Hi Jason W
Thanks, I appreciate it.
@aus9: No, not seeing that happen.
-
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.
-
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.
-
Hi Jason W
Or did you want me to upload/email them somewhere?
-
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.
-
Hi Jason W
Thanks, scmsubmit is fine, I just sent the two extensions in question.
-
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.
-
Hi Jason W
Thanks, I'll try it as soon as it's visible in AppBrowser.
-
It should be seen in the updates function, I will amend the info file now as well though.
-
Hi Jason W
Thanks, a few questions.
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:
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:
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.
-
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.
-
Hi Jason W
Sorry, the reason for the "missing in the repo" message was my fault. When I updated my /opt/tcemirror file I
omitted the trailing slash in http://repo.tinycorelinux.net/ which caused your wget command to fail. I also noticed
that this gunzip message:
tc@box:~/conntrack/conntrack-tools-1.2.2/tmp/ext$ submitqc4
gunzip: short read
conntrack-tools.tcz has proper startup script name conntrack-tools
went away after fixing my /opt/tcemirror file, in case that info is of any use to you. I had been calling submitqc4
from my build script and did not initially realize that message occurred while submitqc4 was running.
Thanks again for your help with this.
-
Glad to hear it is working now.
Oh, and no need to chuckle at being mentioned in the info file. Testing, reporting, and providing the situation of failure is of great value. In this case, terminal output made it quick and easy, without which I would have been likely just scratching my head.
FWIW, here is the diff:
--- /home/tc/submitqc4
+++ /usr/local/bin/submitqc4
@@ -475,9 +475,9 @@
${YELLOW}/tmp/submitqc/wrongmd5${NORMAL}"
fi
-if [ -f /tmp/submitqc/missingdeps/list ] && [ ! -z `cat /tmp/submitqc/missingdeps/list` ]; then
+if [ -f /tmp/submitqc/missingdeps/list ] && [ -s "/tmp/submitqc/missingdeps/list" ]; then
echo " "
- echo "${RED}THESE EXTENSIONS HAVE WRONG DEP FILE ENTRIES : ${BLUE}`cat /tmp/submitqc/missingdeps/list`.${RED} PLEASE REVIEW THE CONTENTS OF \
+ echo "${RED}THESE EXTENSIONS HAVE WRONG DEP FILE ENTRIES : ${BLUE}`cat /tmp/submitqc/missingdeps/list | uniq`.${RED} PLEASE REVIEW THE CONTENTS OF \
${YELLOW}/tmp/submitqc/missingdeps${NORMAL}"
fi