Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15413 closed defect (worksforme)

id3v2 fails to build (bad pathing)

Reported by: silverdemon@… Owned by: brent@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: id3v2

Description (last modified by mf2k (Frank Schima))

--->  Fetching id3v2
--->  id3v2-0.1.11.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/id3v2
--->  Attempting to fetch id3v2-0.1.11.tar.gz from http://downloads.sourceforge.net/id3v2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52427  100 52427    0     0    503      0  0:01:44  0:01:44 --:--:--  156k
--->  Verifying checksum(s) for id3v2
--->  Checksumming id3v2-0.1.11.tar.gz
--->  Extracting id3v2
--->  Extracting id3v2-0.1.11.tar.gz
--->  Configuring id3v2
--->  Building id3v2 with target all
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o convert.o convert.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [convert.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o list.o list.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [list.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o id3v2.o id3v2.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [id3v2.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o genre.o genre.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [genre.o] Error 127 (ignored)
c++  -L/opt/local/lib/  -pedantic -Wall -lz -lid3 -g -o id3v2 convert.o list.o id3v2.o genre.o
powerpc-apple-darwin9-g++-4.0.1: convert.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: list.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: id3v2.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: genre.o: No such file or directory
make: *** [id3v2] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all " returned error 2
Command output: I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o convert.o convert.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [convert.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o list.o list.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [list.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o id3v2.o id3v2.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [id3v2.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o genre.o genre.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [genre.o] Error 127 (ignored)
c++  -L/opt/local/lib/  -pedantic -Wall -lz -lid3 -g -o id3v2 convert.o list.o id3v2.o genre.o
powerpc-apple-darwin9-g++-4.0.1: convert.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: list.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: id3v2.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: genre.o: No such file or directory
make: *** [id3v2] Error 1

Warning: the following items did not execute (for id3v2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

MacPorts 1.600, OS X 10.5.2 (PPC)

Haven't tried fixing manually yet.

Change History (8)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: brent@… added
Milestone: Port Bugs

Cc maintainer.

comment:2 Changed 16 years ago by silverdemon@…

Managed to build and install id3v2.

Original error during compile:

DEBUG: Executing org.macports.build (id3v2)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all'
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o convert.o convert.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [convert.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o list.o list.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [list.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o id3v2.o id3v2.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [id3v2.o] Error 127 (ignored)
I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o genre.o genre.cpp
/bin/sh: I/opt/local/include/: No such file or directory
make: [genre.o] Error 127 (ignored)
c++  -L/opt/local/lib/  -pedantic -Wall -lz -lid3 -g -o id3v2 convert.o list.o id3v2.o genre.o
powerpc-apple-darwin9-g++-4.0.1: convert.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: list.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: id3v2.o: No such file or directory
powerpc-apple-darwin9-g++-4.0.1: genre.o: No such file or directory
make: *** [id3v2] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all " returned error 2

Now, strangely enough, I copied this into the terminal :

cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all

It compiled. I then ran 'port install id3v2' again, and it skipped the make section and continued to install id3v2 with no further hiccups.

comment:3 Changed 16 years ago by jay-macports@…

That workaround (run it twice) worked for me too.

There seems to be a missing hyphen in there; it should be "-I/opt/local/include/", not just "I/opt/local/include". Come to think of it, the output looks like it's missing an actual command, too, like, say, gcc.

Maybe that helps someone who knows Makefiles better..

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Cc: brent@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to brent@…
Port: id3v2 added

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 15 years ago by brent@…

Sorry for the long delay in responding to id3v2 bugs. This one is quite old. In the past, there were several ports that didn't build, where the workaround was "run the install command twice". Lately I no longer have to do this.

As of this date, id3v2 is building fine for me, OS X v10.5.8 (i686) with XCode 3.1.3 (gcc 4.0.1). I no longer have access to a PPC machine on which I could test the build though.

I think this bug can be closed (and perhaps reopened if someone else does encounter this bug again).

comment:7 Changed 15 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

comment:8 Changed 15 years ago by mf2k (Frank Schima)

It builds fine for me on Snow Leopard.

Note: See TracTickets for help on using tickets.