HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #691 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

haikuporter fails trying to build 'lame'

Reported by: pete Owned by: scottmc
Priority: normal Milestone:
Component: media-sound/lame Version:
Severity: normal Keywords:
Cc:

Description

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.bepKeysBUILD?, 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.

Change History

comment:1 Changed 2 years ago by scottmc

try installing libiconv, it's looking for but not finding the iconv.m4 file I think. If so then we need to add it as a dependency here or add a command line option to ignore it and maybe just add the iconv.m4 to the patches directory as we did with the gtk.m4 file.

comment:2 Changed 23 months ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed

This will be fixed soon in the PM version of haiku.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/