Opened 16 years ago

Closed 15 years ago

#17740 closed defect (worksforme)

id3v2 - convert.cpp build error - functions not declared in scope

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

Description

Have tried to figure this one, but I've not been able to thus far. Build error for convert.o, here's the verbose output:

mus:id3v2-0.1.11 bxf4$ sudo port -v install id3v2Password:
--->  Building id3v2
g++ -I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o convert.o convert.cpp
In file included from /opt/local/include/id3/utils.h:37,
                 from /opt/local/include/id3/tag.h:34,
                 from convert.cpp:3:
/opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::move(unsigned char*, const unsigned char*, size_t)':
/opt/local/include/id3/id3lib_strings.h:87: error: 'memmove' was not declared in this scope
/opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::copy(unsigned char*, const unsigned char*, size_t)':
/opt/local/include/id3/id3lib_strings.h:91: error: 'memcpy' was not declared in this scope
make: *** [convert.o] 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: g++ -I/opt/local/include/ -DVERSION="\"0.1.11\""    -c -o convert.o convert.cpp
In file included from /opt/local/include/id3/utils.h:37,
                 from /opt/local/include/id3/tag.h:34,
                 from convert.cpp:3:
/opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::move(unsigned char*, const unsigned char*, size_t)':
/opt/local/include/id3/id3lib_strings.h:87: error: 'memmove' was not declared in this scope
/opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::copy(unsigned char*, const unsigned char*, size_t)':
/opt/local/include/id3/id3lib_strings.h:91: error: 'memcpy' was not declared in this scope
make: *** [convert.o] 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.

Not sure if this is important, but when I tried 'port selfupdate' to go to 1.7.0, I got an error as well. So, I downloaded the 1.7.0 dmg and installed that instead. It seemed to work fine and everything else has worked since too, but I thought I'd mention it.

Change History (4)

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

Owner: changed from macports-tickets@… to brent@…

Assigning to maintainer.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by brent@…

Sorry for the long delay in responding to id3v2 bugs. From the reporter's description (selfupdate, 1.7.0 DMG, etc.) of what solved it, this does not sound like an id3v2 problem. I certainly have never seen the above.

I think this bug can be closed.

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.