Opened 20 years ago

Closed 19 years ago

#1429 closed defect (fixed)

bug in audiofile portfile

Reported by: hukl@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

i can't compile anything using audiofile / esound- no kde or anything i always get this:

computer:~/darwinports/dports/x11 hukl$ sudo /opt/local/bin/port install kdebase3 ---> Fetching libart_lgpl ---> Attempting to fetch libart_lgpl-2.3.11.tar.bz2 from ftp://ftp.gnome.org/pub/gnome/ sources/libart_lgpl/2.3/ ---> Verifying checksum for libart_lgpl ---> Extracting libart_lgpl ---> Configuring libart_lgpl ---> Building libart_lgpl with target all ---> Staging libart_lgpl into destroot ---> Installing libart_lgpl ---> Building esound with target all Error: Target com.apple.build returned: shell command "cd "/Users/hukl/darwinports/dports/ audio/esound/work/esound-0.2.29" && make all" returned error 2 Command output: make all-recursive Making all in docs make[2]: Nothing to be done for `all'. /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/ etc\" -DSERVERDIR=\"/opt/local/bin\" -g -O2 -c esdlib.c rm -f .libs/esdlib.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/etc\" -DSERVERDIR=\"/opt/local/ bin\" -g -O2 -c esdlib.c -fno-common -DPIC -o .libs/esdlib.lo In file included from esdlib.c:3: esd.h:3:23: audiofile.h: No such file or directory In file included from esdlib.c:3: esd.h:308: error: parse error before "AFfilehandle" make[2]: * [esdlib.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Error: The following dependencies failed to build: arts esound glib2 mad libogg libpng qt3 jpeg libvorbis kdelibs3 bzip2 pcre tiff libxslt lesstif poll-emulator

and i just updated everything !

Change History (6)

comment:1 Changed 20 years ago by hukl@…

op_sys: AllMac OS X
rep_platform: Allppc

comment:2 Changed 20 years ago by toby@…

John,

Do you have audiofile installed? Look for the include file and library, and check for a receipt in / opt/local/var/db/dports/receipts/

Could be that esound isn't finding the audiofile dependency.

comment:3 Changed 20 years ago by waqar@…

Owner: changed from darwinports-bugs@… to toby@…

comment:4 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

No response from bug submitter, closing for now.

comment:5 Changed 19 years ago by chort@…

Resolution: fixed
Status: closedreopened

I have the same problem and I just cvs up'd as of today (Jun 30, '05).

I do have audiofile installed: DEBUG: Found port in file:///src/darwinports/dports/audio/audiofile DEBUG: Changing to port directory: /src/darwinports/dports/audio/audiofile DEBUG: Searching for dependency: audiofile DEBUG: Found Dependency: receipt exists for audiofile

Here's the error: ---> Building esound with target all DEBUG: Executing com.apple.build (esound) DEBUG: Assembled command: 'cd "/src/darwinports/dports/audio/esound/work/esound-0.2.35" && make all' make all-recursive Making all in docs Makefile:388: warning: overriding commands for target `distclean' Makefile:327: warning: ignoring old commands for target `distclean' make[2]: Nothing to be done for `all'. if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/ etc\" -DSERVERDIR=\"/opt/local/bin\" -g -O2 -MT libesd_la-esdlib.lo -MD -MP -MF ".deps/ libesd_la-esdlib.Tpo" \

-c -o libesd_la-esdlib.lo test -f 'esdlib.c' || echo './'esdlib.c; \

then mv -f ".deps/libesd_la-esdlib.Tpo" ".deps/libesd_la-esdlib.Plo"; \ else rm -f ".deps/libesd_la-esdlib.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/etc\" -DSERVERDIR=\"/opt/local/bin\"

-g -O2 -MT libesd_la-esdlib.lo -MD -MP -MF .deps/libesd_la-esdlib.Tpo -c esdlib.c -fno-common -DPIC -o .libs/libesd_la-esdlib.o In file included from esdlib.c:3: esd.h:3:23: audiofile.h: No such file or directory In file included from esdlib.c:3: esd.h:308: error: parse error before "AFfilehandle" make[2]: * [libesd_la-esdlib.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/src/darwinports/dports/audio/esound/ work/esound-0.2.35" && make all" returned error 2 Command output: make all-recursive Making all in docs Makefile:388: warning: overriding commands for target `distclean' Makefile:327: warning: ignoring old commands for target `distclean' make[2]: Nothing to be done for `all'. if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/ etc\" -DSERVERDIR=\"/opt/local/bin\" -g -O2 -MT libesd_la-esdlib.lo -MD -MP -MF ".deps/ libesd_la-esdlib.Tpo" \

-c -o libesd_la-esdlib.lo test -f 'esdlib.c' || echo './'esdlib.c; \

then mv -f ".deps/libesd_la-esdlib.Tpo" ".deps/libesd_la-esdlib.Plo"; \ else rm -f ".deps/libesd_la-esdlib.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/opt/local/etc\" -DSERVERDIR=\"/opt/local/bin\"

-g -O2 -MT libesd_la-esdlib.lo -MD -MP -MF .deps/libesd_la-esdlib.Tpo -c esdlib.c -fno-common -DPIC -o .libs/libesd_la-esdlib.o In file included from esdlib.c:3: esd.h:3:23: audiofile.h: No such file or directory In file included from esdlib.c:3: esd.h:308: error: parse error before "AFfilehandle" make[2]: * [libesd_la-esdlib.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for esound): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: The following dependencies failed to build: esound gtk1

Cannot find audiofile.h anywhere in the tree: horus:~ chort$ find /src/darwinports/dports -name audiofile.h horus:~ chort$

It *is* installed in /opt/local... though. Shouldn't this be in the include path?: horus:~ chort$ find /opt/local/ -name audiofile.h /opt/localinclude/audiofile.h /opt/localvar/db/dports/software/audiofile/0.2.6_0/opt/local/include/audiofile.h

comment:6 Changed 19 years ago by toby@…

Resolution: fixed
Status: reopenedclosed

Looks fine to me; sounds like an issue with esd.

Note: See TracTickets for help on using tickets.