Opened 12 years ago
Closed 11 years ago
#37376 closed defect (fixed)
Moving to tcltk 8.6 breaks other ports
Reported by: | ralph@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | mww@…, adfernandes (Andrew Fernandes), g5pw (Aljaž Srebrnič), nonstop.server@…, macports-trac@…, cooljeanius (Eric Gallager), sears3@…, dshean@…, manuel.deljesuspe@… | |
Port: | wordnet grass vtk5 tcl tk |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The following ports failed to rebuild after updating to tcltk 8.6.0
- wordnet
- grass
- vtk5
Attachments (3)
Change History (30)
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Cc: | mww@… adfernandes@… g5pw@… added |
---|---|
Port: | wordnet, grass, vtk5, tcl, tk → wordnet grass vtk5 tcl tk |
comment:2 Changed 12 years ago by nonstop.server@…
Cc: | nonstop.server@… added |
---|
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:6 Changed 12 years ago by g5pw (Aljaž Srebrnič)
The main problem seems to be here:
:info:configure checking for Tcl configuration... found /usr/lib/tclConfig.sh :info:configure checking for Tk configuration... found /usr/lib/tkConfig.sh :info:configure checking for existence of /usr/lib/tclConfig.sh... loading :info:configure checking for existence of /usr/lib/tkConfig.sh... loading
The configure script picks up the system tcl and not the macports one. I'll try to patch the configure script to get the macports one first!
comment:8 follow-up: 10 Changed 12 years ago by g5pw (Aljaž Srebrnič)
I can't seem to find an error for grass, although the build errors out. Can someone provide a failed build log?
comment:9 Changed 12 years ago by ralph@…
comment:10 Changed 12 years ago by ralph@…
Replying to g5pw@…:
I can't seem to find an error for grass, although the build errors out. Can someone provide a failed build log?
Here's the tail end of one:
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/gem' :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o at_exit_funcs.o -c at_exit_funcs.c :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o error.o -c error.c :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o tools.o -c tools.c :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o reg_deps.o -c reg_deps.c :info:build reg_deps.c: In function ‘register_extension’: :info:build reg_deps.c:184: warning: format not a string literal and no format arguments :info:build reg_deps.c:184: warning: format not a string literal and no format arguments :info:build reg_deps.c: In function ‘deregister_extension’: :info:build reg_deps.c:317: warning: format not a string literal and no format arguments :info:build reg_deps.c:317: warning: format not a string literal and no format arguments :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o reg_entries.o -c reg_entries.c :info:build tools.c: In function ‘dump_plain’: :info:build tools.c:585: warning: format not a string literal and no format arguments :info:build tools.c:585: warning: format not a string literal and no format arguments :info:build tools.c: In function ‘dump_html’: :info:build tools.c:627: warning: format not a string literal and no format arguments :info:build tools.c:627: warning: format not a string literal and no format arguments :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o reg_html.o -c reg_html.c :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o actions.o -c actions.c :info:build reg_entries.c: In function ‘register_entries_gisman’: :info:build reg_entries.c:376: warning: format not a string literal and no format arguments :info:build reg_entries.c:376: warning: format not a string literal and no format arguments :info:build reg_entries.c: In function ‘deregister_entries_gisman’: :info:build reg_entries.c:617: warning: format not a string literal and no format arguments :info:build reg_entries.c:617: warning: format not a string literal and no format arguments :info:build gcc -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -o main.o -c main.c :info:build reg_entries.c: In function ‘restore_entries_gisman’: :info:build reg_entries.c:857: warning: format not a string literal and no format arguments :info:build reg_entries.c:857: warning: format not a string literal and no format arguments :info:build reg_html.c: In function ‘register_html’: :info:build reg_html.c:254: warning: format not a string literal and no format arguments :info:build reg_html.c:254: warning: format not a string literal and no format arguments :info:build reg_html.c: In function ‘deregister_html’: :info:build reg_html.c:354: warning: format not a string literal and no format arguments :info:build reg_html.c:354: warning: format not a string literal and no format arguments :info:build reg_html.c: In function ‘restore_html’: :info:build reg_html.c:533: warning: format not a string literal and no format arguments :info:build reg_html.c:533: warning: format not a string literal and no format arguments :info:build gcc at_exit_funcs.o error.o tools.o reg_deps.o reg_entries.o reg_html.o actions.o main.o -o gem64 -g -Wall -pedantic -Werror-implicit-function-declaration -fno-common :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/gem' :info:build /usr/bin/make manifests :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2' :info:build make[1]: Nothing to be done for `manifests'. :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2' :info:build if [ 0 -eq 1 ] ; then /usr/bin/make -C locale; fi :info:build cp -f AUTHORS COPYING CHANGES REQUIREMENTS.html GPL.TXT contributors.csv contributors_extra.csv translators.csv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.3.0/ :info:build cp -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/bin.i386-apple-darwin12.3.0/grass64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.3.0/grass64.tmp :info:build /usr/bin/install -c tools/mkhtml.sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.3.0/tools/ 2>/dev/null :info:build /usr/bin/install -c tools/g.html2man/g.html2man /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.3.0/tools/g.html2man/ 2>/dev/null :info:build build_html_index.sh :info:build Generating HTML manual pages index (help system)... :info:build Generated HTML docs in ../dist.i386-apple-darwin12.3.0/docs/html/index.html :info:build ---------------------------------------------------------------------- :info:build Following modules are missing the 'description.html' file in src code: :info:build ---------------------------------------------------------------------- :info:build GRASS GIS compilation log :info:build ------------------------- :info:build Started compilation: Mon Dec 24 14:18:28 GMT 2012 :info:build -- :info:build Errors in: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/visualization/nviz :info:build -- :info:build In case of errors please change into the directory with error and run 'make'. :info:build If you get multiple errors, you need to deal with them in the order they :info:build appear in the error log. If you get an error building a library, you will :info:build also get errors from anything which uses the library. :info:build -- :info:build Finished compilation: Mon Dec 24 14:22:31 GMT 2012 :info:build make: *** [default] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2" && /usr/bin/make -j4 -w default :info:build Exit code: 2 :error:build org.macports.build for port grass returned: command execution failed :debug:build Error code: CHILDSTATUS 59698 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 grass: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port grass for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/main.log
comment:12 Changed 12 years ago by g5pw (Aljaž Srebrnič)
ok, the error for grass is this one:
Undefined symbols for architecture x86_64: "_TkCopyAndGlobalEval", referenced from: _CancelFunc_Hook in draw.o
comment:13 follow-up: 14 Changed 12 years ago by adfernandes (Andrew Fernandes)
comment:14 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Replying to adfernandes@…:
Replying to g5pw@…:
vtk5 fixed in r100787.
Wow - thanks for tracking this down; wasn't looking forward to it... :-)
You're very welcome! I always try to fix my mistakes... ;)
Changed 12 years ago by g5pw (Aljaž Srebrnič)
Attachment: | grass.patch added |
---|
comment:15 Changed 12 years ago by g5pw (Aljaž Srebrnič)
The attached patch attempts to fix the grass compilation by re-adding a private API function that was deleted in tk 8.6. I have still failures in two directories though, lib/python and gui/wxpython. The first is due to a space/tab mixed indent leading to an error, and the second one is a syntax error:
File "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/etc/wxpython/compat/subprocess.py", line 679 if (GetVersion() >= 0x80000000L or ^ SyntaxError: invalid syntax
I guess the port is not using a specified python version, but just the currently selected one (mine is python33)
comment:16 follow-up: 17 Changed 12 years ago by cooljeanius (Eric Gallager)
I think tcl-sqlite3 was broken by this version change...
DEBUG: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_tcl-sqlite3/tcl-sqlite3/work/destroot/opt/local/lib/tcl8.5/sqlite3/pkgIndex.tcl": no such file or directory while executing "exec /usr/bin/sed s|3.6|3.6.22|g < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_t..." ("eval" body line 1) invoked from within "eval exec $cmdline" Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_tcl-sqlite3/tcl-sqlite3/work/destroot/opt/local/lib/tcl8.5/sqlite3/pkgIndex.tcl": no such file or directory Error: org.macports.destroot for port tcl-sqlite3 returned: reinplace sed(1) failed DEBUG: Error code: NONE DEBUG: Backtrace: reinplace sed(1) failed while executing "$post $targetname" Warning: targets not executed for tcl-sqlite3: org.macports.activate org.macports.destroot org.macports.install
It's still trying to check the tcl8.5 lib directory...
comment:17 Changed 12 years ago by larryv (Lawrence Velázquez)
comment:18 follow-up: 22 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Fixed tcl-sqlite3 in r102708. Now, to recap, which ports still fail to build? Has anyone tried my patch for grass?
comment:19 Changed 12 years ago by ralph@…
Not too sure how to apply the patch, and you said other things were still broken, so I'm afraid I didn't try the grass patch yet.
comment:22 follow-up: 23 Changed 12 years ago by vaccari@…
Replying to g5pw@…:
Fixed tcl-sqlite3 in r102708. Now, to recap, which ports still fail to build? Has anyone tried my patch for grass?
I just tried the patch and succeeded building grass +postgresql91. Thanks for that!
When I launch grass though, I'm still getting an error that prevents me at using the GUI:
Starting GRASS ... ERROR: wxGUI requires wxPython. No module named wxversion Error in GUI startup. If necessary, please report this error to the GRASS developers. Switching to text mode now.
Is this a problem in the port, or should I really ask the grass developers? I see http://trac.macports.org/ticket/36904 is there already...
comment:23 follow-up: 24 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Replying to vaccari@…:
Is this a problem in the port, or should I really ask the grass developers? I see http://trac.macports.org/ticket/36904 is there already...
I really don't know, we should wait for the grass maintainer to respond to the ticket...
BTW: I see from your email address that you study/work at the Uni in Trieste, I'm a student there! Small world :)
comment:24 Changed 12 years ago by vaccari@…
Replying to g5pw@…:
Replying to vaccari@…:
Is this a problem in the port, or should I really ask the grass developers? I see http://trac.macports.org/ticket/36904 is there already...
I really don't know, we should wait for the grass maintainer to respond to the ticket...
Eh, nomaintainer there... I wish I could help...
BTW: I see from your email address that you study/work at the Uni in Trieste, I'm a student there! Small world :)
'ssai picio indeed... ;-)
comment:26 Changed 11 years ago by g5pw (Aljaž Srebrnič)
comment:27 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!