mmaker option -s
The /var/lib/apt/lists/ are deleted before they are
needed to be used to create the source tar-ball.
See below. I have the full 500K log output should you
need it.
Hope you enjoyed your holiday!
Brendan
morph@AutoTesting:~$ dpkg -l | grep mmaker
ii morphix-mmaker 0.4-35
Module Maker, builds morphix modules
morph@AutoTesting:~$ sudo mmaker -s foobar.tar.gz
/home/morph/morphix/trunk/mmaker/templates/morphing-morphix.xml
./morphing-morphix.mod >/home/morph/log/mmaker.log
2>/home/morph/log/mmaker.log
morph@AutoTesting:~$ cat /home/morph/log/mmaker.log |
grep "/var/lib/apt/lists/" -A 5 -B 5 | head -n 25
Setting up morphing-tools (0.2-30) ...
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe sh -c
"COLUMNS=160 dpkg -l | gzip > /morphix/packages.gz"
Exec: rm -f /tmp/libmorphix-DbooLe/var/lib/dpkg/*.old
/tmp/libmorphix-DbooLe/var/lib/dpkg/available
Exec: touch /tmp/libmorphix-DbooLe/var/lib/dpkg/available
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe
/usr/bin/apt-get -qq -y --force-yes clean
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe sh -c "rm
-f /var/lib/apt/lists/*"
rm: cannot remove `/var/lib/apt/lists/partial': Is a
directory
Exec: mv
/tmp/libmorphix-DbooLe/sbin/start-stop-daemon.REAL
/tmp/libmorphix-DbooLe/sbin/start-stop-daemon
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe /bin/sh
-c "head -n 12 /etc/debconf.conf >> /tmp/tempdebconf"
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe /bin/sh
-c "tail -n 67 /etc/debconf.conf >> /tmp/tempdebconf"
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe /bin/sh
-c "mv /etc/debconf.conf/tempdebconf /tmp"
mv: cannot stat `/etc/debconf.conf/tempdebconf': Not a
directory
--
ii xutils-dev 7.1.ds-2
X Window System utility programs for
development
ii zlib1g 1.2.3-13
compression library - runtime
Info: Parsing dpkg -l
Info: Downloading sources for package adduser
Exec: /usr/sbin/chroot /tmp/libmorphix-DbooLe sh -c "cd
/sources && apt-get -f -m --download-only source adduser"
W: Couldn't stat source package list
ftp://ftp.debian.org sid/main Packages
(/var/lib/apt/lists/ftp.debian.org_debian_dists_sid_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://www.morphix.org ./ Packages
(/var/lib/apt/lists/www.morphix.org_debian_._Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
ftp://ftp.debian.org sid/main Packages
(/var/lib/apt/lists/ftp.debian.org_debian_dists_sid_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://www.morphix.org ./ Packages
(/var/lib/apt/lists/www.morphix.org_debian_._Packages)
- stat (2 No such file or directory)
W: You may want to run apt-get update to correct these
problems
E: Could not open file
/var/lib/apt/lists/ftp.debian.org_debian_dists_sid_main_source_Sources
- open (2 No such file or directory)
Reading package lists...
Logged In: YES
user_id=97489
Thanks for the bugreport :)
Have committed a fix into svn. Give it a spin to see if it
works (or wait till I upload new mmaker packages)
Logged In: YES
user_id=804659
Ran mmaker again using a .deb paul_c ccompiled from svn.
It gives an empty foobar.tar.gz file
-rw-r--r-- 1 root root 134 Aug 31 22:36 foobar.tar.gz
-rw-r--r-- 1 root root 172M Aug 31 22:38 morphing-morphix.mod
Full log:-
http://www.barwap.com/morphix/mmaker.log
Log does not show package listing or attempts at apt-get
source.
NB: Using template:-
http://svn.sourceforge.net/viewvc/morphix/trunk/mmaker/templates/morphing-morphix.xml?revision=2402&view=markup
Which does not have source repositories lists - Is this
important ?
Regards,
Brendan
Logged In: YES
user_id=97489
> Which does not have source repositories lists - Is this
important ?
You do need source repositories in order to download
sources, so yes.
Thanks for testing :)
Logged In: YES
user_id=804659
Sorry just extracted mainmodule - does contain deb-src :-
deb ftp://ftp.debian.org/debian sid main
deb-src ftp://ftp.debian.org/debian sid main
deb http://www.morphix.org/debian ./
deb-src http://www.morphix.org/debian .
Can not get the testers these days :)