Martin,

Sorry for the delay in responding, I've been sick. I promise to stick around.

Some info on my configuration. I am using FinkCommander most of the time. I am configured to use unstable packages. I am running on a PM G4 800DP.

I couldn't reinstall the binary of cctools-extra because I already have the latest version of it and it tells me that. Can I remove it and then re-install the binary? Will removing it do anything bad?

I tried compiling the newer version and I get the same error message:

Writing dependencies...
Writing package script postinst...
dpkg-deb -b root-cctools-extra-495-1 /sw/fink/dists/unstable/main/binary-darwin-powerpc/base
### execution of dpkg-deb failed, exit code 10
Failed: can't create package cctools-extra_495-1_darwin-powerpc.deb

Ok, so now I checked the path and ran the command to fix the prebinding...

I tried compiling cctools-extra and bingo, it worked! Thanks.

I guess I don't have to stick around too long... :-)

Now I'm updating all the outdated base files...

Hmmm. Mayhap I spoke too soon. Maybe I shouldn't have selected like ten different packages to update at once. Anyways, it just bailed with the following error message:

/usr/include/gcc/darwin/3.3/c++/bits/basic_string.h:591: error: `__pos2'
undeclared (first use this function)
/usr/include/gcc/darwin/3.3/c++/bits/basic_string.h:591: confused by earlier errors, bailing out
make[2]: *** [/sw/src/apt-0.5.4-36/apt-0.5.4/obj/apt-pkg/acquire-worker.opic] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
### execution of failed, exit code 2
Failed: compiling apt-0.5.4-36 failed


I guess it's good that it's a different error message? :-)

Okay, I tried compiling just the update to tar and got this message at the end:

checking for dcgettext... *** malloc[13944]: Deallocation of a pointer not malloced: 0x803600; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
./configure: line 11094: cannot create temp file for here document: No such file or directory
no
checking for msgfmt... /sw/bin/msgfmt
checking for gmsgfmt... /sw/bin/msgfmt
checking for xgettext... /sw/bin/xgettext
checking for bison... bison
checking version of bison... 1.28, ok
checking for catalogs to be installed... cs da de es et fr id it ja ko nl no pl pt pt_BR ru sl sv tr
configure: creating ./config.status
./configure: line 11923: cannot create temp file for here document: File name too long
sed: /tmp/csHb0eMG/subs.sed: No such file or directory
./config.status: line 295: syntax error near unexpected token `fi'
./config.status: line 295: `fi # test -n "$CONFIG_FILES"'
### execution of ./configure failed, exit code 1
Failed: compiling tar-1.13.25-12 failed

Then to get another data point I tried updating dlcompat and it worked fine. Same thing for expat, expat-shlibs, curl and curl-shlibs. Although oddly when I compiled curl, my table only showed packages up to blt-shlibs. A little weird. This is in FinkCommander. I tried a few things, and finally 'Update Descriptions' in FinkCommander worked to restore them.

For good measure I decided to try to compile apt again (since it was the one that failed before) and it seemed to actually work. Go figure. Of course, murphy's law always being present, FinkCommander proceeded to crash while it was updating the table data. No big deal I guess. I re-loaded FinkCommander and everything seemed fine. Apt was updated.

I hope this e-mail has been helpful.

Thanks,

Philip

p.s. To the author of FinkCommander - maybe you should add a menu item that fixes the prebindings using the command below? And it would be really cool if FinkCommander could see the error message and suggest running the command as well - or perhaps Fink could detect this and fix itself?

On Jan 11, 2004, at 5:23 PM, Martin Costabel wrote:

Philip Trauring wrote:

dpkg-deb -b root-base-files-1.9.0-1 /sw/fink/dists/unstable/main/binary-darwin-powerpc/base
### execution of dpkg-deb failed, exit code 10
Failed: can't create package base-files_1.9.0-1_darwin-powerpc.deb

I'll try to help, but under one condition: You have to promise to stay with us until this is cleared up and to explain in detail how you got out of it (assuming you will get out of it, of course :-) ). There have been several reports about this, but in almost all cases, the people who complained about it either disappeared into thin air or did not tell what they did to solve the problem.

This forces us all to relive the same story over and over again. Reading the list archives will not help, either, because only the problem will be found but not its solution.

Let me begin with the latest case that has come up. Apparently there the problem was caused by an outdated or incomplete installation of the

cctools-extra

package. Rebuilding this solved the problem (although I don't know how he rebuilt it without dpkg-deb crashing again). Please try this first.

If this doesn't help, another idea was that it could be a problem with the prebinding system. This would be solved by rerunning the prebinding process via the command

sudo /sw/var/lib/fink/prebound/update-package-prebinding.pl -f

If this still does not work, it would be time to check the PATH variable, see whether "printenv PATH" or in tcsh additionally "echo $PATH" show that PATH contains /sw/sbin.

Finally, it would be important to know whether this happens when using FinkCommander or from the command line.

--
Martin

Reply via email to