Hi,

after reviewing the problem and some research, this seems to me to be an issue caused by problems inherent to those versions of dpkg and debconf, as the build problems occur with plain vanilla make 3.81, too; on the other hand, debian has been using make 3.81 for a long time now without any issues, but of course combined with newer versions of "dpkg" and "debconf".

As such, the best would be to just patch those two packages to always use /usr/bin/make. For dpkg this already happened. For debconf, I am attaching a patch which the maintainer hopefully will incorporate.

Cheers,
Max

Am 25.06.2007 um 19:51 schrieb Martin Costabel:

Alexander Hansen wrote:
[]
Backslash found where operator expected at -e line 2, near ""# This

I get the same error when running fink selfupdate, while the new dpkg tries to build:

expand /sw/src/fink.build/dpkg-1.10.21-1224/dpkg-1.10.21/archtable | \
         perl -ne 'print "  { \"$1\",$2\"$3\",$4\"$5\" },\n" \
                   if m/^(?!\s*#)\s*(\S+)(\s+)(\S+)(\s+)(\S+)\s*$/' \
                >archtable.h
Backslash found where operator expected at -e line 1, near "" { \"$1\",$2\"$3\",$4\"$5\" },\n" \"
        (Missing operator before  \?)
syntax error at -e line 1, near "" { \"$1\",$2\"$3\",$4\"$5\" }, \n" \"
Execution of -e aborted due to compilation errors.
[...]
Failed: phase compiling: dpkg-1.10.21-1224 failed

The culprit is Fink's new version of make (maintainer CCed). With make-3.79.1-3 or with /usr/bin/make, i.e. with Fink's make removed, there is no error. With make-3.81-1, the above failure occurs.

It appears that there has been an incompatible syntax change that breaks building debconf and dpkg.

--
Martin

Attachment: debconf.diff
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to