#34421: bitcoin @0.3.22 build failure (related to miniupnpc) ----------------------------------------+----------------------------------- Reporter: arno+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: miniupnpc | Port: bitcoin ----------------------------------------+----------------------------------- Mac OS X 10.7.4, Core 2 Duo i386 Mac OS X 10.7.4, Core i5 x86_64 I have installed "miniupnpc @1.6_0+universal" as a dependency for bitcoin and am seeing the following at the end of the bitcoin build log (I'm attaching the full log as well): {{{ llvm-g++ -c -mmacosx-version-min=10.5 -arch x86_64 -O3 -Wno-invalid- offsetof -Wformat -g -DwxDEBUG_LEVEL=0 -I/opt/local/lib/wx/include /osx_cocoa-unicode-2.9 -I/opt/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -D__WXMAC_OSX__ -DNOPCH -DMSG_NOSIGNAL=0 -DUSE_SSL -DUSE_UPNP=0 -I/opt/local/include -I/opt/local/include/db48 -DGUI -o obj/net.o net.cpp /opt/local/include/miniupnpc/miniupnpc.h: In function ‘void ThreadMapPort2(void*)’: /opt/local/include/miniupnpc/miniupnpc.h:56: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)’ net.cpp:980: error: at this point in file /opt/local/include/miniupnpc/upnpcommands.h:124: error: too few arguments to function ‘int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)’ net.cpp:994: error: at this point in file make: *** [obj/net.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_bitcoin/bitcoin/work/bitcoin-0.3.22/src' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_bitcoin/bitcoin/work/bitcoin-0.3.22/src" && /usr/bin/make -j2 -w all bitcoind -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_bitcoin/bitcoin/work/bitcoin-0.3.22/src/makefile.osx " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) Warning: the following items did not execute (for bitcoin): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for bitcoin is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_finance_bitcoin/bitcoin/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/34421> MacPorts <http://www.macports.org/> Ports system for Mac OS