dwww: FTBFS with new make

Bug #28324 reported by Debian Bug Importer
6
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://bugs.debian.org/347357

Revision history for this message
Debian Bug Importer (debzilla) wrote :

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:

...
perl -e ' \
                use lib "."; \
                use Debian::Dwww::Initialize; \
                $d=&DwwwInitialize; \
                $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/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/dwww-1.9.26'
make: *** [build-stamp] Error 2

I've attached a patch which fixes the build for me.

-- System Information:
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=fr_FR.UTF-8 (charmap=UTF-8)

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=dwww.diff

diff -urN dwww-1.9.26.old/Makefile dwww-1.9.26/Makefile
--- dwww-1.9.26.old/Makefile 2005-04-07 23:40:08.000000000 +0000
+++ dwww-1.9.26/Makefile 2006-01-10 10:03:19.000000000 +0000
@@ -70,20 +70,20 @@

 %::%.in $(source_links)
- perl -e ' \
- use lib "."; \
- use Debian::Dwww::Initialize; \
- $$d=&DwwwInitialize; \
- $$v=""; \
- foreach $$k (sort keys %{$$d}) { \
- $$v.="\t$$k=\"$$d->{$$k}\"\n" \
- if $$k ne "DWWW_TITLE"; \
- } \
- while (<>) { \
- s/#VERSION#/$(VERSION)/g; \
- s/^.*#DWWWVARS#.*$$/$$v/g; \
- print; \
- }' \
+ perl -e ' '\
+' use lib "."; '\
+' use Debian::Dwww::Initialize; '\
+' $$d=&DwwwInitialize; '\
+' $$v=""; '\
+' foreach $$k (sort keys %{$$d}) { '\
+' $$v.="\t$$k=\"$$d->{$$k}\"\n" '\
+' if $$k ne "DWWW_TITLE"; '\
+' } '\
+' while (<>) { '\
+' s/#VERSION#/$(VERSION)/g; '\
+' s/^.*#DWWWVARS#.*$$/$$v/g; '\
+' print; '\
+' }' \
    < $< > $@
  touch -r $< $@

--=-=-=--

Matt Zimmerman (mdz)
Changed in dwww:
assignee: nobody → adconrad
Revision history for this message
Carthik Sharma (carthik) wrote :

Fixed in version dwww/1.9.27 by Robert Luberda <email address hidden>.

This version is in Dapper. Closing.

Changed in dwww:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.