Opened 10 years ago

Closed 9 years ago

#44108 closed defect (fixed)

simulavr @1.0.0_2: SWIG version >= 1.3.18 is required. You have 3.0.2.

Reported by: neilt (Neil Tiffin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: haspatch Cc: rsriprac@…, ryandesign (Ryan Carsten Schmidt)
Port: simulavr

Description

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/cmd'
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/cmd'
:info:build Making all in ui
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/ui'
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/ui'
:info:build Making all in python
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/python'
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src/python'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src'
:info:build echo "Error: SWIG version >= 1.3.18 is required.  You have 3.0.2.  You should look at http://www.swig.org" ; false -c++ -o simulavr_wrap.cxx ./simulavr.i
:info:build Error: SWIG version >= 1.3.18 is required.  You have 3.0.2.  You should look at http://www.swig.org
:info:build make[3]: *** [simulavr_wrap.cxx] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src'
:info:build make[1]: *** [all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/work/simulavr-1.0.0" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port simulavr returned: command execution failed
:debug:build Error code: CHILDSTATUS 7931 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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for simulavr: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port simulavr for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simulavr/simulavr/main.log

Change History (4)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to landonf@…
Port: simulavr added
Summary: simulavr @1.0.0_2 - command execution failed on swig dependencysimulavr @1.0.0_2: SWIG version >= 1.3.18 is required. You have 3.0.2.

Clearly, the method simulavr's configure script is using to evaluate the version of swig is faulty. I have filed a bug report with the developers of simulavr about this: https://savannah.nongnu.org/bugs/index.php?42595

comment:2 Changed 10 years ago by DanielO (Daniel O'Connor)

Can you fix the port for now? It's a 1 line change to update the SWIG version it's looking for to match what macports provides.

I modified the port and it runs fine with SWIG 3.0.5.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rsriprac@… added
Keywords: haspatch added
Owner: changed from landonf@… to macports-tickets@…

Duplicate #50302 offers a reinplace to fix this. The upstream ticket mentioned in comment:1 offers another solution.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Since we already use a reinplace in the portfile and it's a simple change, I'll just do that. r144548.

Note: See TracTickets for help on using tickets.