[MacPorts] #47693: xxdiff @ 3.2 installation failed
#47693: xxdiff @ 3.2 installation failed ------------------------+-------------------------------- Reporter: mattoon1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: xxdiff ------------------------+-------------------------------- Trying to install xxdiff on a new Macbook Pro. Software version information: OS X 10.10.3, XCode 6.3.1 (6D1002), MacPorts 2.3.3 All dependencies seem to have installed without a problem, so the entire log when I try installing xxdiff is now: {{{ sudo port install xxdiff ---> Computing dependencies for xxdiff ---> Fetching archive for xxdiff ---> Attempting to fetch xxdiff-3.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/xxdiff ---> Attempting to fetch xxdiff-3.2_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/xxdiff ---> Attempting to fetch xxdiff-3.2_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/xxdiff ---> Fetching distfiles for xxdiff ---> Verifying checksums for xxdiff ---> Extracting xxdiff ---> Applying patches to xxdiff ---> Configuring xxdiff ---> Building xxdiff Error: org.macports.build for port xxdiff returned: command execution failed Please see the log file for port xxdiff for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_xxdiff/xxdiff/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port xxdiff failed }}} I will attach the suggested log file in a moment... -- Ticket URL: <https://trac.macports.org/ticket/47693> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt4-mac: links with libGLU though no dependency declared -------------------------+------------------------- Reporter: mattoon1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: xxdiff => qt4-mac Comment: The log gives this reason for the problem: {{{ :info:build dyld: Library not loaded: /opt/local/lib/libGLU.1.dylib :info:build Referenced from: /opt/local/bin/uic :info:build Reason: image not found }}} So it looks like xxdiff builds with uic (a part of qt4-mac), and that uic is linked with libGLU (from the libGLU port), but that libGLU is not present now. You could work around the problem by installing the libGLU port: {{{ sudo port install libGLU }}} On my system, uic does not link with libGLU. Do you perhaps have qt4-mac installed with the +openvg variant? I see that that variant adds a dependency on mesa, and I know that mesa used to provide libGLU, but that libGLU was split off into its own port recently. The +openvg variant may need to have a dependency on the libGLU port added. -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt4-mac: links with libGLU though no dependency declared -------------------------+------------------------- Reporter: mattoon1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by mattoon1@…): {{{ sudo port install libGLU }}} followed by {{{ sudo port install xxdiff }}} worked fine: I can now use xxdiff. As for qt4-mac, I do not have it installed: {{{ port installed | grep qt qt3 @3.3.8_14 (active) }}} From your answer it sounds like you were expecting xxdiff to use qt4 instead? I notice another recent tracker item (https://trac.macports.org/ticket/44526) that modifies the port file to use qt4, but that doesn't seem to be the default right now. -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt4-mac: links with libGLU though no dependency declared -------------------------+------------------------- Reporter: mattoon1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by michaelld@…): What does "port provides /opt/local/bin/uic" return? -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt4-mac: links with libGLU though no dependency declared -------------------------+------------------------- Reporter: mattoon1@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by mattoon1@…): Replying to [comment:3 michaelld@…]:
What does "port provides /opt/local/bin/uic" return?
{{{
port provides /opt/local/bin/uic /opt/local/bin/uic is provided by: qt3 }}}
-- Ticket URL: <https://trac.macports.org/ticket/47693#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt3: links with libGLU though no dependency declared -------------------------+------------------- Reporter: mattoon1@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt3 | -------------------------+------------------- Changes (by michaelld@…): * cc: michaelld@… (added) * owner: michaelld@… => * port: qt4-mac => qt3 Comment: OK; so this is a qt3 issue, not a qt4 issue. Is there any reason you can't use qt4-mac instead of qt3? Qt4 is still being maintained, and they even expect a new release sometime later this year. Given how old qt3 is, I think the best we can do is just add the dependency to the port; I don't think anybody has really touched that port in ages. -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt3: links with libGLU though no dependency declared -------------------------+------------------- Reporter: mattoon1@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt3 | -------------------------+------------------- Comment (by mattoon1@…): Replying to [comment:5 michaelld@…]:
OK; so this is a qt3 issue, not a qt4 issue. Is there any reason you can't use qt4-mac instead of qt3? Qt4 is still being maintained, and they even expect a new release sometime later this year. Given how old qt3 is, I think the best we can do is just add the dependency to the port; I don't think anybody has really touched that port in ages.
Yes, I'm happy to try qt4. In fact, the only reason I have qt3 is installed is that it was on the list of dependencies for xxdiff. How should I proceed with using qt4? I assume the xxdiff portfile needs to change to show the new dependency? -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt3: links with libGLU though no dependency declared -------------------------+------------------- Reporter: mattoon1@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: qt3 | -------------------------+------------------- Comment (by michaelld@…): xxdiff is at 3.2, which is quite old & looks to work with Qt3 and older Qt4; probably won't work with the current qt4-mac. xxdiff 4.0 looks like it should work with current qt4-mac, but it's non- trivial to do the update -- some patch fixes & other changes to the Portfile. so, I think adding in a dependency on libGLU is the way to go for now -- simple and quick! -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt3: links with libGLU though no dependency declared -------------------------+-------------------- Reporter: mattoon1@… | Owner: Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: qt3 | -------------------------+-------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Done in r136235. Thanks for reporting this! If you want xxdiff updated to 4.0, please create a new ticket to that effect & add me as owner & I'll see what I can do. -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47693: qt3: links with libGLU though no dependency declared -------------------------+-------------------- Reporter: mattoon1@… | Owner: Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: qt3 | -------------------------+-------------------- Comment (by larryv@…): #44526 is already open for this. -- Ticket URL: <https://trac.macports.org/ticket/47693#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts