[MacPorts] #37505: blt: build fails with tcl 8.6
#37505: blt: build fails with tcl 8.6 --------------------------+--------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: blt --------------------------+--------------------- https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/13450/steps/compile/logs/stdio {{{ /usr/bin/gcc-4.2 -c -Wall -pipe -O3 -fno-common -arch x86_64 -I. -I. -I/opt/local/include bltVecMath.c bltVecMath.c: In function ‘MathError’: bltVecMath.c:767: error: ‘Tcl_Interp’ has no member named ‘result’ bltVecMath.c:774: error: ‘Tcl_Interp’ has no member named ‘result’ bltVecMath.c:780: error: ‘Tcl_Interp’ has no member named ‘result’ bltVecMath.c:789: error: ‘Tcl_Interp’ has no member named ‘result’ make[1]: *** [bltVecMath.o] Error 1 }}} blt needs a revbump also once this is fixed, to rebuild with the 8.6 libs. -- Ticket URL: <https://trac.macports.org/ticket/37505> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+--------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: blt | ---------------------------+--------------------- Comment (by ryandesign@…): This patch gets past this error but then fails at: {{{ Undefined symbols for architecture x86_64: "_TkCopyAndGlobalEval", referenced from: _ButtonWidgetCmd in libBLT.a(tkButton.o) ld: symbol(s) not found for architecture x86_64 }}} -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+--------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: blt | ---------------------------+--------------------- Comment (by jmr@…): Duplicate #37532 has a patch for this second problem. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Changes (by ryandesign@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Changes (by ryandesign@…): * cc: howarth@… (added) Comment: With the patch from #37532 blt builds successfully, but staging fails. First, everything is recompiled during the destroot phase, which wastes time, and I'm not sure why it does that. Then, it installs everything in src into the destroot, but then tries to install everything in library directly, bypassing destroot, which of course fails with a permission error. {{{ make[1]: Leaving directory `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_x11_blt/blt/work/blt2.4z/src' (cd library; /usr/bin/make install) make[1]: Entering directory `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_x11_blt/blt/work/blt2.4z/library' rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.4/' ./pkgIndex.tcl.in | \ sed -e 's/%LIB_PREFIX%/lib/' | \ sed -e 's;%LIB_DIR%;/opt/local/lib;' > pkgIndex.tcl for i in dd-color.tcl dd-file.tcl dd-number.tcl dd-text.tcl tclIndex ; do \ /usr/bin/install -c -m 644 ./dd_protocols/$i \ /opt/local/lib/blt2.4/dd_protocols ; \ done install: /opt/local/lib/blt2.4/dd_protocols/dd-color.tcl: Operation not permitted install: /opt/local/lib/blt2.4/dd_protocols/dd-file.tcl: Operation not permitted install: /opt/local/lib/blt2.4/dd_protocols/dd-number.tcl: Operation not permitted install: /opt/local/lib/blt2.4/dd_protocols/dd-text.tcl: Operation not permitted install: /opt/local/lib/blt2.4/dd_protocols/tclIndex: Operation not permitted make[1]: *** [install] Error 71 }}} -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by ryandesign@…): Jack, does blt install successfully for you with the patch you added to #37532? If so, we need to figure out what's different between your machine and mine and why it won't install on mine. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by howarth@…): How are you building blt under MacPorts? I am only using 'sudo port -d install blt'. Are you using some additional options? -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by ryandesign@…): That's what I'm doing as well. Could you attach the main.log from your successful build? If you haven't already, you'll need to set "keeplogs yes" in macports.conf, or install with the -k flag. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by howarth@…): There are a couple additional errors in the current blt packaging...[[BR]] [[BR]] 1) the blt build isn't parallel safe (see fink packaging)[[BR]] 2) the library/Makefile.in and man/Makefile.in aren't patched to add __DESTROOT__ -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by howarth@…): The newly attached Portfile.diff, revised patch-library-Makefile.in patch, new patch-man-Makefile.in and patch-tk8.6 should solve the install issues.[[BR]] Note that if you have installed the previous blt, you will run into previously unpackaged man page files from blt that that have to be manually removed. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:9 howarth@…]:
The newly attached Portfile.diff, revised patch-library-Makefile.in patch, new patch-man-Makefile.in and patch-tk8.6 should solve the install issues.
Thanks, I'll check it out.
Note that if you have installed the previous blt, you will run into previously unpackaged man page files from blt that that have to be manually removed.
If so, we'll need to fix that in the port, by deleting the offending files in a pre-activate block. The lisaem port has an example of how this can be done. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: blt | ---------------------------+---------------------- Comment (by ryandesign@…): I have this almost ready. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37505: blt: build fails with tcl 8.6 ---------------------------+---------------------- Reporter: ryandesign@… | Owner: markd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: blt | ---------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Sorry, I didn't realize you had attached a revised patch. (Trac does not send email notifications for new attachments.) I had already fixed this a different way locally, with just a single loop that iterates over all files to remove, based on the list of files I found on my system. In addition, I fixed the location where the manpages were installed. In so doing, I realized that blt is trying to install two manpages that tk already installs. One of them—busy.n—appears to describe the same functionality, so I deleted blt's version of it since it's older. The other—bitmap.n—appears to describe different functionality, so I renamed blt's version to blt-bitmap.n. It's all committed in r101438. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/37505#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts