﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
691	haikuporter fails trying to build 'lame'	pete	scottmc	"Trying to do ""haikuporter lame-3.99"", I got the following:

$ haikuporter lame-3.99
Matching License (GNU LGPL v2) found in /boot/system/data/licenses
No dependencies

Downloading: http://iweb.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.gz
--2013-01-25 14:31:10--  http://iweb.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.tar.gz
Resolving iweb.dl.sourceforge.net... 70.38.0.134
Connecting to iweb.dl.sourceforge.net|70.38.0.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1441166 (1.4M) [application/x-gzip]
Saving to: `lame-3.99.tar.gz'

100%[======================================>] 1,441,166    157K/s   in 10s     

2013-01-25 14:31:20 (138 KB/s) - `lame-3.99.tar.gz' saved [1441166/1441166]

Calculating checksum - OK
Unpacking lame-3.99.tar.gz
patching file lame-3.99/configure.in
Hunk #1 succeeded at 344 (offset 1 line).
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'.
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:377: warning: macro `AM_ICONV' not found in library
configure.in:377: error: possibly undefined macro: AM_ICONV
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Traceback (most recent call last):
  File ""/boot/common/bin/haikuporter"", line 1192, in <module>
    haikuporter = HaikuPorter(options, args)
  File ""/boot/common/bin/haikuporter"", line 293, in __init__
    self.buildPort()
  File ""/boot/common/bin/haikuporter"", line 754, in buildPort
    self.runCommandSequence(self.bepKeys['BUILD'], self.workDir)
  File ""/boot/common/bin/haikuporter"", line 987, in runCommandSequence
    check_call(commandString, shell=True, cwd=dir, env=shellEnv)
  File ""/boot/common/lib/python2.6/subprocess.py"", line 488, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'set -e
cd lame-3.99
mkdir -p m4
cp ../../patches/gtk.m4 m4 
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.in
libtoolize --force --copy --install
aclocal -I m4
autoconf --warnings=none
./configure --prefix=`finddir B_COMMON_DIRECTORY` --without-gtk
make
' returned non-zero exit status 1

-------------------------

Looking at the lame-3.99 folder, going by timestamps, it seems to have stopped after creating configure.  But I simply ran the above configure command line, and then make, and it seems to have gone all the way through without trouble. (It didn't recognize the ""--without-gtk"" option, though.)

I'm afraid I don't know enough about haikuporter to decode the error.
"	defect	closed	normal		media-sound/lame		normal	fixed		
