Opened 11 years ago
Closed 11 years ago
#43236 closed defect (duplicate)
iulib @0.4-20120618_1: error: default arguments cannot be added to a function template that has already been declared
Reported by: | r01@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | iulib |
Description (last modified by mf2k (Frank Schima))
after i did
sudo port install ocropus
this came:
Error: org.macports.build for port iulib returned: command execution failed Error: Failed to install iulib Please see the log file for port iulib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/main.log Error: The following dependencies were not installed: iulib To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ocropus failed
This is the log file:
version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (iulib) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sat Apr 5 15:13:55 CEST 2014 :notice:build ---> Building iulib :debug:build Executing org.macports.build (iulib) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/work/iulib-0.4-20120618" && /opt/local/bin/scons -j4 test=yes' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/work/iulib-0.4-20120618" && /opt/local/bin/scons -j4 test=yes :info:build scons: Reading SConscript files ... :info:build compiling with high optimization :info:build Checking for png_byte in C library png... (cached) yes :info:build Checking for jpeg_std_error() in C library jpeg... (cached) yes :info:build Checking for inflate in C library z... (cached) yes :info:build Checking for TIFFOpen() in C library tiff... (cached) yes :info:build Checking for C++ header file SDL/SDL_gfxPrimitives.h... (cached) yes :info:build Checking for C++ header file SDL/SDL.h... (cached) yes :info:build scons: done reading SConscript files. :info:build scons: Building targets ... :info:build g++ -o imglib/imgops.os -c -g -fPIC -fPIC -I. -Icolib -Iimglib -Iimgio -Iimgbits -Iutils -Icomponents -Ividio -I/opt/local/include imglib/imgops.cc :info:build g++ -o imglib/imgtrace.os -c -g -fPIC -fPIC -I. -Icolib -Iimglib -Iimgio -Iimgbits -Iutils -Icomponents -Ividio -I/opt/local/include imglib/imgtrace.cc :info:build g++ -o imgbits/imgbits.os -c -g -fPIC -fPIC -I. -Icolib -Iimglib -Iimgio -Iimgbits -Iutils -Icomponents -Ividio -I/opt/local/include imgbits/imgbits.cc :info:build g++ -o imgbits/imgblit.os -c -g -fPIC -fPIC -I. -Icolib -Iimglib -Iimgio -Iimgbits -Iutils -Icomponents -Ividio -I/opt/local/include imgbits/imgblit.cc :info:build In file included from imglib/imgops.cc:35: :info:build In file included from ./colib/colib.h:37: :info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std' :info:build using namespace std; :info:build ^ :info:build In file included from imglib/imgtrace.cc:35: :info:build In file included from ./colib/colib.h:37: :info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std' :info:build using namespace std; :info:build ^ :info:build In file included from imgbits/imgbits.cc:29: :info:build In file included from ./colib/colib.h:37: :info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std' :info:build using namespace std; :info:build ^ :info:build In file included from imgbits/imgblit.cc:28: :info:build In file included from ./colib/colib.h:37: :info:build colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std' :info:build using namespace std; :info:build ^ :info:build imglib/imgops.cc:136:15: error: default arguments cannot be added to a function template that has already been declared :info:build V scale=1,int dx=0,int dy=0) { :info:build ^ ~ :info:build imglib/imgops.h:70:10: note: previous template declaration is here :info:build void addscaled(colib::narray<T> &, colib::narray<T> &, V, int, int); :info:build ^ :info:build imglib/imgops.cc:136:27: error: default arguments cannot be added to a function template that has already been declared :info:build V scale=1,int dx=0,int dy=0) { :info:build ^ ~ :info:build imglib/imgops.h:70:10: note: previous template declaration is here :info:build void addscaled(colib::narray<T> &, colib::narray<T> &, V, int, int); :info:build ^ :info:build imglib/imgops.cc:136:36: error: default arguments cannot be added to a function template that has already been declared :info:build V scale=1,int dx=0,int dy=0) { :info:build ^ ~ :info:build imglib/imgops.h:70:10: note: previous template declaration is here :info:build void addscaled(colib::narray<T> &, colib::narray<T> &, V, int, int); :info:build ^ :info:build imglib/imgtrace.cc:106:41: warning: assigning field to itself [-Wself-assign-field] :info:build if(bi(x+1,y)==ON) { x=x+1; y=y; return true; } :info:build ^ :info:build imglib/imgtrace.cc:108:34: warning: assigning field to itself [-Wself-assign-field] :info:build if(bi(x,y+1)==ON) { x=x; y=y+1; return true; } :info:build ^ :info:build imglib/imgtrace.cc:110:41: warning: assigning field to itself [-Wself-assign-field] :info:build if(bi(x-1,y)==ON) { x=x-1; y=y; return true; } :info:build ^ :info:build imglib/imgtrace.cc:112:34: warning: assigning field to itself [-Wself-assign-field] :info:build if(bi(x,y-1)==ON) { x=x; y=y-1; return true; } :info:build ^ :info:build 1 warning and 3 errors generated. :info:build scons: *** [imglib/imgops.os] Error 1 :info:build 5 warnings generated. :info:build 1 warning generated. :info:build In file included from imgbits/imgbits.cc:29: :info:build In file included from ./colib/colib.h:34: :info:build In file included from colib/classifier.h:36: :info:build colib/smartptr.h:131:25: warning: delete called on 'iulib::IOWrapper' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] :info:build if(pointer) delete pointer; :info:build ^ :info:build ./colib/narray.h:251:17: note: in instantiation of member function 'colib::autodel<iulib::IOWrapper>::~autodel' requested here :info:build delete [] data; :info:build ^ :info:build ./colib/narray.h:244:13: note: in instantiation of member function 'colib::narray<colib::autodel<iulib::IOWrapper> >::dealloc' requested here :info:build dealloc(); :info:build ^ :info:build components/components.h:190:9: note: in instantiation of member function 'colib::narray<colib::autodel<iulib::IOWrapper> >::~narray' requested here :info:build IComponent() { :info:build ^ :info:build In file included from imgbits/imgbits.cc:29: :info:build In file included from ./colib/colib.h:34: :info:build In file included from colib/classifier.h:36: :info:build colib/smartptr.h:145:17: warning: delete called on 'iulib::IOWrapper' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] :info:build delete pointer; :info:build ^ :info:build components/components.h:259:29: note: in instantiation of member function 'colib::autodel<iulib::IOWrapper>::operator=' requested here :info:build wrappers.push() = new ScalarIOWrapper<int>(data); :info:build ^ :info:build 3 warnings generated. :info:build scons: building terminated because of errors. :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/work/iulib-0.4-20120618" && /opt/local/bin/scons -j4 test=yes :info:build Exit code: 2 :error:build org.macports.build for port iulib returned: command execution failed :debug:build Error code: CHILDSTATUS 24709 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for iulib: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install iulib :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:build Please see the log file for port iulib for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_iulib/iulib/main.log
Attachments (1)
Change History (3)
Changed 11 years ago by r01@…
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | Error: org.macports.build for port iulib returned: command execution failed; Error: Failed to install iulib → iulib @0.4-20120618_1: error: default arguments cannot be added to a function template that has already been declared |
Duplicate of #42353.
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting.