[MacPorts] #33150: Io Rebuilds multiple times before failing
#33150: Io Rebuilds multiple times before failing ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.4 Component: ports | Version: 2.0.99 Keywords: linking | Port: Io ---------------------------+------------------------------------------------ When trying to install Io on 10.7, I get the following: ---> Scanning binaries for linking errors: 95% Warning: Error parsing file /opt/local/lib/io/addons/LZO/CMakeFiles/IoLZO.dir/source/minilzo.c.o: Premature end of data, possibly corrupt file ---> Scanning binaries for linking errors: 96% Warning: Could not open /opt/local/lib/libIoSystemCall.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoBlowfish.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoSocket.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoBox.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoYajl.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoMD5.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 97% Warning: Could not open /opt/local/lib/libIoRange.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 98% Warning: Could not open /opt/local/lib/libIoOgg.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 100% It then rebuilds 3 times before giving up. -- Ticket URL: <https://trac.macports.org/ticket/33150> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io Rebuilds multiple times before failing ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: | Port: Io ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * keywords: linking => * component: ports => base * milestone: MacPorts 2.0.4 => Old description:
When trying to install Io on 10.7, I get the following:
---> Scanning binaries for linking errors: 95% Warning: Error parsing file /opt/local/lib/io/addons/LZO/CMakeFiles/IoLZO.dir/source/minilzo.c.o: Premature end of data, possibly corrupt file ---> Scanning binaries for linking errors: 96% Warning: Could not open /opt/local/lib/libIoSystemCall.dylib: Error opening or reading file
Warning: Could not open /opt/local/lib/libIoBlowfish.dylib: Error opening or reading file
Warning: Could not open /opt/local/lib/libIoSocket.dylib: Error opening or reading file
Warning: Could not open /opt/local/lib/libIoBox.dylib: Error opening or reading file
Warning: Could not open /opt/local/lib/libIoYajl.dylib: Error opening or reading file
Warning: Could not open /opt/local/lib/libIoMD5.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 97% Warning: Could not open /opt/local/lib/libIoRange.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 98% Warning: Could not open /opt/local/lib/libIoOgg.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 100%
It then rebuilds 3 times before giving up.
New description: When trying to install Io on 10.7, I get the following: {{{ ---> Scanning binaries for linking errors: 95% Warning: Error parsing file /opt/local/lib/io/addons/LZO/CMakeFiles/IoLZO.dir/source/minilzo.c.o: Premature end of data, possibly corrupt file ---> Scanning binaries for linking errors: 96% Warning: Could not open /opt/local/lib/libIoSystemCall.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoBlowfish.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoSocket.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoBox.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoYajl.dylib: Error opening or reading file Warning: Could not open /opt/local/lib/libIoMD5.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 97% Warning: Could not open /opt/local/lib/libIoRange.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 98% Warning: Could not open /opt/local/lib/libIoOgg.dylib: Error opening or reading file ---> Scanning binaries for linking errors: 100% }}} It then rebuilds 3 times before giving up. -- -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io Rebuilds multiple times before failing ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: brett@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Changes (by cal@…): * keywords: => rev-upgrade * owner: macports-tickets@… => brett@… -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: brett@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Comment(by cal@…): `for file in $(find $prefix/lib/io/addons -iname '*.dylib'); do otool -L $file | grep "$prefix/lib/libIo"; done | sort | uniq` shows some libraries in `lib/io/addons` link against files that do not exist. Those files can be found in `$prefix/lib/io/addons/$extension_name/_build/dll/libIo$extension_name.dylib`. The maintainer should consider fixing the broken linkage paths by adjusting the build process or after the build with `install_name_tool -change`. If a non-issue or not-fixable we can also have problems in these files ignored by rev-upgrade, however this should be the last resort in such cases. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * owner: brett@… => macports-tickets@… Comment: Brett has retired from MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Changes (by cal@…): * component: base => ports -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Changes (by jmr@…): * cc: ryandesign@… (added) -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * cc: crazy808s@… (added) Comment: Has duplicate #36073. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------------+------------------------------------------------ Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: rev-upgrade | Port: Io ---------------------------+------------------------------------------------ Comment(by crazy808s@…): Replying to [comment:7 ryandesign@…]:
Has duplicate #36073. Is there currently a way to fix this without uninstalling Io?
-- Ticket URL: <https://trac.macports.org/ticket/33150#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------+-------------------------------- Reporter: emer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: rev-upgrade Port: Io | ---------------------+-------------------------------- Comment (by crossd@…): I have successfully gotten Io to build using the Portfile diff I just attached (though I had to build with gcc; building with clang seems to cause some kind of infinite loop in io_static during the build). -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------+-------------------------- Reporter: emer@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: Io | ---------------------+-------------------------- Changes (by ryandesign@…): * keywords: rev-upgrade => haspatch * status: new => assigned * owner: macports-tickets@… => ryandesign@… * cc: ryandesign@… (removed) Comment: Thanks. Since this changes the files that get installed, the revision must also be increased. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------+-------------------------- Reporter: emer@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: Io | ---------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Using a variable called "name" is confusing because portfiles already have a variable called "name" (the port name). I've committed a modified version of your patch in r101673 which results in only one invocation of `install_name_tool` per library. I nested the loops, so I had to rename the other variables to not collide. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33150: Io: Addon libraries in $prefix/lib/io/addons link against non-existant paths ---------------------+-------------------------- Reporter: emer@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: Io | ---------------------+-------------------------- Comment (by crossd@…): Replying to [comment:11 ryandesign@…]:
Using a variable called "name" is confusing because portfiles already have a variable called "name" (the port name).
I've committed a modified version of your patch in r101673 which results in only one invocation of `install_name_tool` per library. I nested the loops, so I had to rename the other variables to not collide.
Thanks! This is great. -- Ticket URL: <https://trac.macports.org/ticket/33150#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts