Off-Topic > Release Candidate Testing

microcore_v2.10rc1

<< < (4/4)

Jason W:
At work on windows machine, test case will be supplied tonight.

Juanito:

--- Quote from: roberts on March 10, 2010, 10:59:51 AM ---I would need to see a tarball(s) in order to more fully understand what is being attempted.

--- End quote ---

Before getting that far, I started from the beginning again to make sure things weren't being influenced by an old extension or similar.

To reproduce - download rhythmbox.tcz/dep and all dependent tcz/dep from the repo into a folder.

1. "tce-load -i /path-to-folder/rhythmbox.tcz" will apparently succeed, but python.tcz is not loaded.

2. Reboot, delete avahi.tcz/dep, libdaemon.tcz/dep, nss-mdns.tcz/dep and delete all references to them in /path-to-folder/*dep. "tce-load -i /path-to-folder/rhythmbox.tcz" will apparently succeed, but python.tcz is not loaded.

3. Reboot, run this script to convert to recursive deps:
--- Code: ---#!/bin/bash


recursive_scan() {

  echo ${1} >> /tmp/deplist
  deps=""
  if [ -f /tmp/repodeplist/${1}.dep ]; then

    deps=`cat /tmp/repodeplist/${1}.dep`
    for d in $deps; do
      recursive_scan $d
    done
  fi
}

for F in `ls *.dep`; do
  for I in `cat "$F"`; do

recursive_scan "$I"

for E in `cat "$F"`; do

 if cat /tmp/deplist | grep -v "$I" | grep "$E" >/dev/null; then
   echo "$E"
  sed -i "/^"$E"/d" "$F"
 fi
 done
cat /tmp/deplist > /tmp/"$I".files
rm /tmp/deplist

  done

done

--- End code ---

"tce-load -i /path-to-folder/rhythmbox.tcz" will apparently succeed, but python.tcz is not loaded.

I find it hard to understand why python.tcz is not loaded (and I tried three times just to be sure) - very strange  ???

bmarkus:
Same is happening with wicd (thanks to Miller for reporting the issue).

Installing wicd.tcz all extensions are laoded except python.tcz Installing it manually wicd works fine. What is strange, that wicd.tcz.dep is loaded.

maro:
Regarding the issue of missing dependencies: I just noticed that in the case of 'wicd.tcz' the 'python.tcz' appears in 'wicd.tcz.dep' as well as 'dbus-python.tcz'. Since the latter got installed but not the former, I suspected the 'grep -q ${1} /tmp/deplist ...' statements.

I did a quick test and replaced the three grep -q ${1} /tmp/deplist statements with grep -q "^${1}" /tmp/deplist. That seem to have done the trick since 'python.tcz' now got loaded for 'wicd.tcz'.

More testing will need to confirm this finding, but I have now to leave here urgently.

roberts:
Yes, I have found a couple of bugs in tce-load.
I have rewritten and updated tce-load to use variables to implement a stack structure instead tmp files.
It is still in testing mode before I release rc2.

Navigation

[0] Message Index

[*] Previous page

Go to full version