Opened 20 years ago

Closed 18 years ago

#2787 closed defect (wontfix)

BUG: libsndfile

Reported by: IOOI-SqAR Owned by: sean@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

I get the following error when trying to install libsndfile on 10.2.8:

[Lars-Sonchocky-Helldorfs-Computer:Projekte/darwinports/base] lars% sudo port install libsndfile Password: ---> Building libsndfile with target all Error: Target com.apple.build returned: shell command "cd "/Volumes/Data/Projekte/darwinports/ dports/audio/libsndfile/work/libsndfile-1.0.9" && make all" returned error 2 Command output: Making all in man make[1]: Nothing to be done for `all'. Making all in doc make[1]: Nothing to be done for `all'. Making all in Win32 make[1]: Nothing to be done for `all'. Making all in MacOS9 make[1]: Nothing to be done for `all'. Making all in Octave make[1]: Nothing to be done for `all'. Making all in src make all-recursive Making all in GSM610 if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src -g -O2 -W -Wall - Wstrict-prototypes -Wmissing-prototypes -Wcast-align -Wcast-qual -Wnested-externs -Wbad- function-cast -Wwrite-strings -pipe -fpascal-strings -I/Developer/Headers/FlatCarbon -MT add.lo - MD -MP -MF ".deps/add.Tpo" \

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

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

gcc -DHAVE_CONFIG_H -I. -I. -I../../src -g -O2 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -

Wcast-align -Wcast-qual -Wnested-externs -Wbad-function-cast -Wwrite-strings -pipe -fpascal- strings -I/Developer/Headers/FlatCarbon -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -fno- common -DPIC -o .libs/add.o cc1: error: unrecognized option `-fpascal-strings' make[3]: * [add.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all] Error 2 make: * [all-recursive] Error 1

[Lars-Sonchocky-Helldorfs-Computer:Projekte/darwinports/base] lars%

the strange thing here is that:

[Lars-Sonchocky-Helldorfs-Computer:~] lars% echo "int main(){return 0;}" > test.c [Lars-Sonchocky-Helldorfs-Computer:~] lars% gcc -fpascal-strings -o test test.c

works, no Error so far.

Is this possibly a bug with gcc?

I have installed gcc freshly ("December 2002 Dev Tools" and "August 2003 gcc Updater" after that):

[Lars-Sonchocky-Helldorfs-Computer:~] lars% gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)

Regards, Lars

Change History (8)

comment:1 Changed 20 years ago by IOOI-SqAR

I tried installing libsndfile-1.0.11 manually which worked:

tar -xzvf libsndfile-1.0.11.tar.gz cd libsndfile-1.0.11 sh ./configure --prefix=/opt/local/ sudo make install

what was

configure.args --disable-static

in the port for?

comment:2 Changed 20 years ago by toby@…

Can't reproduce, as I obviously have no Jaguar box to test on. However, I updated the port to 1.0.11 and enabled the static lib.

comment:3 Changed 20 years ago by snu@…

Owner: changed from darwinports-bugs@… to sean@…
Summary: Problem when installing libsndfile port on OS X 10.2.8BUG: libsndfile

comment:4 Changed 20 years ago by sean@…

I'm in the same boat. No Jaguar setup to test on.

comment:5 Changed 19 years ago by toby@…

Resolution: worksforme
Status: newclosed

Closing, no comments from originator in several months.

comment:6 Changed 19 years ago by IOOI-SqAR

Resolution: worksforme
Status: closedreopened

(In reply to comment #4)

Closing, no comments from originator in several months.

What kind of additional comments did you expect? I think I said it all ...

Sadly I am lacking the skills to fix the bug. Otherwise I would have done it.

Thank you very much, Lars

comment:7 Changed 19 years ago by toby@…

AFAIK, darwinports doesn't even support Jaguar anymore, so I don't think this will ever get fixed.

comment:8 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: wontfix
Status: reopenedclosed

10.2 no longer supported.

Note: See TracTickets for help on using tickets.