[MacPorts] #20856: webhttrack error
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.7.1 Keywords: httrack | Port: --------------------------------+------------------------------------------- When launch webhttrack I get the following error: /opt/local/bin/webhttrack(23720): could not find httrack directory A quick online reading suggests that this is something addressed during the build process, e.g. <http://bbs.archlinux.org/viewtopic.php?id=35348> -- Ticket URL: <http://trac.macports.org/ticket/20856> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Changes (by toby@…): * keywords: httrack => * priority: High => Normal * version: 1.7.1 => * port: => httrack -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Changes (by blb@…): * owner: macports-tickets@… => ross@… -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by ross@…): Problem in the linked forum post isn't what's causing our issue with MacPorts, I've included the required httrack directory containing the webhttrack html files. The problem with MacPorts is: 1. webhttrack is a bash script 1. the script uses a limited set of directories to try and locate the httrack directory 1. /opt/local, the default install location for MacPorts, is not among the prefixes it tries I'm going to work on rolling a patch into the Portfile that will fix this, but in the meantime, you can add /opt/local/share/httrack to the SRCHPATH variable on line 12 of /opt/local/bin/webhttrack. -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by ross@…): Slight correction: * Add /opt/local/bin to SRCHPATH on line 12 * Add /opt/local/share to SRCHDISTPATH on line 14 -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by ross@…): Submitted patch to upstream maintainer of httrack. Next release of httrack should have better support for browser launching on Darwin/OS X. Final patch to webhttrack as submitted to roche@httrack.com attached here. -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by blb@…): So {{{webhttrack-macports-2.diff}}} just needs to be added to patchfiles right? -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by ross@…): `webhttrack-macports-2.diff` has been submitted to the upstream maintainer of httrack, who says that it will be included in the next release. I didn't add it to patchfiles because my understanding was that, if it's been accepted as an upstream patch, we wait until the next release rather than modifying the port. Is that right? Also, in testing the webhttrack patch, I found a segfault problem in the http server it starts (htsserver), so there needs to be some deeper investigation. I suggest holding off on any changes to the port at this point. -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by blb@…): Replying to [comment:7 ross@…]:
`webhttrack-macports-2.diff` has been submitted to the upstream maintainer of httrack, who says that it will be included in the next release. I didn't add it to patchfiles because my understanding was that, if it's been accepted as an upstream patch, we wait until the next release rather than modifying the port. Is that right?
That's up to you (as maintainer), but usually if there's a problem with a port and you do know how to fix it, it makes sense to fix it now, then just remove the patch when there's a new upstream version which fixes it.
Also, in testing the webhttrack patch, I found a segfault problem in the
http server it starts (htsserver), so there needs to be some deeper investigation. I suggest holding off on any changes to the port at this point. That's a good reason to otherwise hold off on it, however. -- Ticket URL: <http://trac.macports.org/ticket/20856#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: httrack --------------------------------+------------------------------------------- Changes (by jmr@…): * version: => 1.7.1 Comment: Was this fixed by the update to 3.43.9? -- Ticket URL: <https://trac.macports.org/ticket/20856#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error --------------------------------+------------------------------------------- Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: httrack --------------------------------+------------------------------------------- Comment(by ggles.fi@…): Reinstalled, works great. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/20856#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20856: webhttrack error ---------------------------------+------------------------------------------ Reporter: ggles.fi@… | Owner: ross@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: httrack | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/20856#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts