Opened 15 years ago

Closed 14 years ago

#24562 closed defect (duplicate)

rtmpdump @2.2 install failure on Leopard

Reported by: mirimiri66@… Owned by: CaptSolo
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: rtmpdump

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I get the following output when I try to install rtmpdump. I have MacPorts 1.8.2, Xcode 3.1.4 and OS X 10.5.8.

Could be related to #23880 as pointed out by Joshua Root (by e-mail).

$ sudo port -d install rtmpdump 
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/www/rtmpdump 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/rtmpdump 
DEBUG: OS Platform: darwin 
DEBUG: OS Version: 9.8.0 
DEBUG: Mac OS X Version: 10.5 
DEBUG: System Arch: i386 
DEBUG: setting option os.universal_supported to yes 
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided 
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided 
DEBUG: not using configure, so not adding the default universal variant 
DEBUG: Requested variant darwin is not provided by port rtmpdump. 
DEBUG: Requested variant i386 is not provided by port rtmpdump. 
DEBUG: Requested variant macosx is not provided by port rtmpdump. 
DEBUG: Requested variant bash_completion is not provided by port rtmpdump. 
--->  Computing dependencies for rtmpdump 
DEBUG: Executing org.macports.main (rtmpdump) 
DEBUG: Skipping completed org.macports.fetch (rtmpdump) 
DEBUG: Skipping completed org.macports.checksum (rtmpdump) 
DEBUG: setting option extract.cmd to /usr/bin/bzip2 
DEBUG: Skipping completed org.macports.extract (rtmpdump) 
DEBUG: Skipping completed org.macports.patch (rtmpdump) 
DEBUG: Skipping completed org.macports.configure (rtmpdump) 
--->  Building rtmpdump 
DEBUG: Executing org.macports.build (rtmpdump) 
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_rtmpdump/work/rtmpdump-2.2" && /usr/bin/make -j1 osx' 
/usr/bin/gcc-4.0 -Wall   -DRTMPDUMP_VERSION=\"v2.2\" -O2   -c -o rtmp.o rtmp.c 
In file included from rtmp.c:2071: 
handshake.h: In function 'InitRC4Encryption': 
handshake.h:64: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function) 
handshake.h:64: error: (Each undeclared identifier is reported only once 

...
a bunch of handshake errors and warnings (output in full is in the file attached below)
...

make[2]: *** [rtmp.o] Error 1 
make[1]: *** [librtmp/librtmp.a] Error 2 
make: *** [osx] Error 2 
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_rtmpdump/work/rtmpdump-2.2" && /usr/bin/make -j1 osx " returned error 2 
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_rtmpdump/work/rtmpdump-2.2" && /usr/bin/make -j1 osx " returned error 2 
    while executing 
"command_exec build" 
    (procedure "portbuild::build_main" line 9) 
    invoked from within 
"$procedure $targetname" 
Warning: the following items did not execute (for rtmpdump): org.macports.activate org.macports.build org.macports.destroot org.macports.install 
Error: Status 1 encountered during processing. 
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

rtmpdump_output.txt (4.4 KB) - added by mirimiri66@… 15 years ago.

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by mirimiri66@…

Attachment: rtmpdump_output.txt added

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

Owner: changed from macports-tickets@… to captsolo@…
Port: rtmpdump added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to mirimiri66@…:

Could be related to #23880 as pointed out by Joshua Root (by e-mail).

Yes, it certainly is. Per #23880, rtmpdump is using the system's openssl instead of MacPorts'. Leopard has openssl 0.9.7, and this message says rtmpdump needs openssl 0.9.8 at least. I did not have any trouble compiling rtmpdump 2.2 on Snow Leopard, which comes with openssl 0.9.8.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: rtmpdump @2.2 install failurertmpdump @2.2 install failure on Leopard

comment:5 Changed 14 years ago by mirimiri66@…

I can confirm that compiling works on Snow Leopard and I don't have this problem any more.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

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