Bug 31248 - razor 2.12 ebuild fails compiling
Bug#: 31248 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: dizzy@roedu.net
Component: Ebuilds
URL: 
Summary: razor 2.12 ebuild fails compiling
Keywords:  
Status Whiteboard: 
Opened: 2003-10-16 01:05 0000
Description:   Opened: 2003-10-16 01:05 0000
Hi

The Makefile on razor-agents 2.12 has a bug or something as it seems:

# emerge razor
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/razor-2.12 to /
>>> md5 src_uri ;-) razor-agents-2.12.tar.gz
>>> Unpacking source...
>>> Unpacking razor-agents-2.12.tar.gz to /var/tmp/portage/razor-2.12/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for razor-agents
Makefile:476: *** missing separator.  Stop.

!!! ERROR: net-mail/razor-2.12 failed.
!!! Function perl-module_src_compile, Line 49, Exitcode 2
!!! compilation failed

Looking at line 476 of the generated "Makefile" it seems there is a backslash
character in the wrong place (moving it above at the end of the last target line
before line 476 solves the problem).


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Heinrich Wendel (RETIRED) 2003-10-19 09:46:25 0000 -------
emerge info

and

try a new razor version from portage

------- Comment #2 From Dizzy 2003-10-19 10:28:44 0000 -------
# emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-xfs)
=================================================================
System uname: 2.4.21-xfs i686 Intel(R) Pentium(R) III CPU family      1133MHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++
libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pdflib png qt quicktime
sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline mysql
tcpd pam ssl perl -X -gtk -gnome -alsa -oss -gpm -kde -gtk2 sse mmx -python
-java"

# emerge razor-2.20.ebuild 
Calculating dependencies ...done!
...
>>> Unpacking source...
>>> Unpacking razor-agents-2.20.tar.gz to /var/tmp/portage/razor-2.20/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Razor2::Preproc::deHTMLxs
Writing Makefile for razor-agents
Makefile:534: *** missing separator.  Stop.

!!! ERROR: net-mail/razor-2.20 failed.
!!! Function perl-module_src_compile, Line 49, Exitcode 2
!!! compilation failed

# emerge razor-2.14.ebuild 
Calculating dependencies ...done!
....
>>> Unpacking source...
>>> Unpacking razor-agents-2.14.tar.gz to /var/tmp/portage/razor-2.14/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
Writing Makefile for razor-agents
Makefile:476: *** missing separator.  Stop.

I cannot try razor 2.36 cause:

# emerge razor-2.36-r1.ebuild 
Calculating dependencies \
!!! all ebuilds that could satisfy "dev-perl/net-ping" have been masked.
!!!    (dependency required by "net-mail/razor-2.36-r1" [ebuild])

!!! Error calculating dependencies. Please correct.

------- Comment #3 From Stephen Ulmer 2003-10-20 17:38:47 0000 -------
I just discovered that this MakeMaker version dependent. That is,
dev-perl/Exturils-Makemaker
>= 6.11 causes this behavior.  The problem is solved by down-grading to ExtUtils-MakeMaker
6.06-r6.

------- Comment #4 From Dizzy 2003-10-21 08:20:27 0000 -------
After downgrading to MakeMaker 6.05-r6, razor 2.12 successfully merged. However
I wonder doesnt that (old) version of MakeMaker brake other things ?

------- Comment #5 From Dewet Diener 2003-10-23 13:49:05 0000 -------
*** Bug 31845 has been marked as a duplicate of this bug. ***

------- Comment #6 From SpanKY 2004-01-20 16:53:47 0000 -------
any reason not to push 2.36-r1 to stable ?

------- Comment #7 From Robin Johnson 2004-01-23 23:47:20 0000 -------
2.36-r1 bumped to stable.