dwww: FTBFS with new make
Bug #28324 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dwww (Debian) |
Fix Released
|
Unknown
|
|||
dwww (Ubuntu) |
Fix Released
|
High
|
Adam Conrad |
Bug Description
Automatically imported from Debian bug report #347357 http://
Changed in dwww: | |
assignee: | nobody → adconrad |
To post a comment you must log in.
Message-ID: <email address hidden>
Date: Tue, 10 Jan 2006 11:09:11 +0100
From: Daniel Schepler <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: dwww: FTBFS with new make
--=-=-=
Package: dwww
Severity: serious
Version: 1.9.26
Tags: patch
From my pbuilder build log:
... :Dwww:: Initialize; \
$d=&DwwwIniti alize; \
$v="" ; \
foreach $k (sort keys %{$d}) { \
$v.= "\t$k=\ "$d->{$ k}\"\n" \
if $k ne "DWWW_TITLE"; \
while (<>) { \
s/#VERSION# /1.9.26/ g; \
s/^. *#DWWWVARS# .*$/$v/ g; \
print; \ dwww-1. 9.26'
perl -e ' \
use lib "."; \
use Debian:
} \
}' \
< Dwww/Version.pm.in > Dwww/Version.pm
"use" not allowed in expression at -e line 2, near ""
syntax error at -e line 2, near "use lib "
"use" not allowed in expression at -e line 3, near ""
syntax error at -e line 6, near "foreach "
Execution of -e aborted due to compilation errors.
make[1]: *** [Dwww/Version.pm] Error 255
make[1]: Leaving directory `/tmp/buildd/
make: *** [build-stamp] Error 2
I've attached a patch which fixes the build for me.
-- System Information: fr_FR.UTF- 8 (charmap=UTF-8)
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=
--=-=-= Disposition: attachment; filename=dwww.diff
Content-Type: text/x-patch
Content-
diff -urN dwww-1. 9.26.old/ Makefile dwww-1. 9.26/Makefile 9.26.old/ Makefile 2005-04-07 23:40:08.000000000 +0000 9.26/Makefile 2006-01-10 10:03:19.000000000 +0000
--- dwww-1.
+++ dwww-1.
@@ -70,20 +70,20 @@
%::%.in $(source_links) :Dwww:: Initialize; \ lize; \ t$$k=\" $$d->{$ $k}\"\n" \ /$(VERSION) /g; \ .*$$/$$ v/g; \ :Dwww:: Initialize; '\ lize; '\ t$$k=\" $$d->{$ $k}\"\n" '\ /$(VERSION) /g; '\ .*$$/$$ v/g; '\
- perl -e ' \
- use lib "."; \
- use Debian:
- $$d=&DwwwInitia
- $$v=""; \
- foreach $$k (sort keys %{$$d}) { \
- $$v.="\
- if $$k ne "DWWW_TITLE"; \
- } \
- while (<>) { \
- s/#VERSION#
- s/^.*#DWWWVARS#
- print; \
- }' \
+ perl -e ' '\
+' use lib "."; '\
+' use Debian:
+' $$d=&DwwwInitia
+' $$v=""; '\
+' foreach $$k (sort keys %{$$d}) { '\
+' $$v.="\
+' if $$k ne "DWWW_TITLE"; '\
+' } '\
+' while (<>) { '\
+' s/#VERSION#
+' s/^.*#DWWWVARS#
+' print; '\
+' }' \
< $< > $@
touch -r $< $@
--=-=-=--