[MacPorts] #31261: root: configure fails when file port is installed and xorg-libX11 is universal
#31261: root: configure fails when file port is installed and xorg-libX11 is universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: root -------------------------------------+-------------------------------------- The root port fails to install if the file port is installed, and the xorg-libX11 port is installed with the universal variant. The root port's configure script attempts to verify that its dependencies are installed for the correct architectures. While this is a fine goal, it does so using the `file` command and grepping the output for "64-bit". Apple's version of the `file` command shipped with Mac OS X does have this output for universal and non-universal 64-bit files, but the file port's `file` command only does this for non-universal files; it [ticket:11747 doesn't understand universal files]. The simplest solution for us is to just rip out this architecture verification code from root's configure script, since MacPorts base already includes architecture verification code. -- Ticket URL: <https://trac.macports.org/ticket/31261> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31261: root: configure fails when file port is installed and xorg-libX11 is universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: root | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Sorry, duplicate of #31260. -- Ticket URL: <https://trac.macports.org/ticket/31261#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31261: root: configure fails when file port is installed and xorg-libX11 is universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: root | --------------------------------------+------------------------------------- Comment(by jonesc@…): Ok, this appears to be outside the realms of the various options I tried. If I follow correctly, the real problem is with MacPorts 'file' port, so we the simplest solution is to get wait for this to be fixed ? Getting a fix into ROOT itself will be difficult I think ... Chris -- Ticket URL: <https://trac.macports.org/ticket/31261#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31261: root: configure fails when file port is installed and xorg-libX11 is universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: root | --------------------------------------+------------------------------------- Comment(by ryandesign@…): #11747 has been open for 4.5 years; I doubt it will be fixed soon. Whether the developers of root wish to make their software work or not is up to them; if they don't, we can patch it locally so that it works for us. -- Ticket URL: <https://trac.macports.org/ticket/31261#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31261: root: configure fails when file port is installed and xorg-libX11 is universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: root | --------------------------------------+------------------------------------- Comment(by jonesc@…): OK.... The age of the bug report against file is not really relevant, regardless, it is still it seems the reason for the problems with root. if there is a way to patch this in root, let me know and I'll give it a try. cheers Chris -- Ticket URL: <https://trac.macports.org/ticket/31261#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31261: root: configure fails when file port is installed and xorg-libX11 is universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jonesc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: root | --------------------------------------+------------------------------------- Comment(by ryandesign@…): There are a couple approaches you could use. 1. call `/usr/bin/file` instead of `file` 2. delete the entire function that involves the calls to `file` (or rather replace them with no-ops that always set the flag variable to true) since they're not needed within the confines of MacPorts -- Ticket URL: <https://trac.macports.org/ticket/31261#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts