[MacPorts] #44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so
#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so -----------------------+-------------------------------- Reporter: zmwangx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: coreutils -----------------------+-------------------------------- (My system environment: OS X 10.9.4, Xcode 5.1.1.) The executables `/opt/local/libexec/gnubin/stdbuf` or `/opt/local/bin/gstdbuf` from `coreutils` cannot be used due to missing `libstdbuf.so`. For instance, try {{{ $ stdbuf -oL echo 'hello, world' stdbuf: failed to find ‘libstdbuf.so’ }}} In fact, by inspecting the files related to `stdbuf` installed by `coreutils`, {{{ $ port contents coreutils | grep stdbuf /opt/local/bin/gstdbuf /opt/local/libexec/coreutils/glibstdbuf.so /opt/local/libexec/gnubin/man/man1/stdbuf.1.gz /opt/local/libexec/gnubin/stdbuf /opt/local/share/man/man1/gstdbuf.1.gz }}} it is immediately clear that we are only missing a symlink here (the `g` prefix ruined the linking). I was able to fix the issue by {{{ ln -s /opt/local/libexec/coreutils/glibstdbuf.so /opt/local/libexec/coreutils/libstdbuf.so }}} -- Ticket URL: <https://trac.macports.org/ticket/44922> MacPorts <http://www.macports.org/> Ports system for OS X
#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so ------------------------+-------------------------------- Reporter: zmwangx@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: coreutils | ------------------------+-------------------------------- Comment (by P@…): We really shouldn't be transforming any libexec binaries at all. Probably the best fix is to patch Makefile.in like so: {{{ -transform = s/ginstall/install/; $(program_transform_name) +transform = s/ginstall/install/; /libstdbuf/!$(program_transform_name) }}} -- Ticket URL: <https://trac.macports.org/ticket/44922#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so ------------------------+-------------------------------- Reporter: zmwangx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: coreutils | ------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: Thanks for report and patch - fixed in r126172 -- Ticket URL: <https://trac.macports.org/ticket/44922#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so ------------------------+-------------------------------- Reporter: zmwangx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: coreutils | ------------------------+-------------------------------- Comment (by jmr@…): Has someone reported this upstream? -- Ticket URL: <https://trac.macports.org/ticket/44922#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44922: coreutils @8.23_0 stdbuf: missing libstdbuf.so ------------------------+-------------------------------- Reporter: zmwangx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: coreutils | ------------------------+-------------------------------- Comment (by zmwangx@…):
Has someone reported this upstream?
Someone seemed to have reported, and they had an upstream fix for this a month ago. See[[BR]] http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=6f9b018 [[BR]] http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=3cf19b5 -- Ticket URL: <https://trac.macports.org/ticket/44922#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts