[MacPorts] #27533: Soundtouch fails to configure
#27533: Soundtouch fails to configure -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: soundtouch | Port: soundtouch -------------------------------------------+-------------------------------- When upgrading from soundtouch 1.5.0_0 to 1.5.0_1, soundtouch fails during the configure stage: {{{ autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config/m4 aclocal: aclocal: file `config/m4/lt~obsolete.m4' does not exist autoreconf: aclocal failed with exit status: 1 }}} See attached logs for more details. I'm running MacPorts 1.9.2 under Mac OS X 10.5.8, and Xcode is version 3.1.2 -- Ticket URL: <https://trac.macports.org/ticket/27533> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch fails to configure -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: soundtouch | Port: soundtouch -------------------------------------------+-------------------------------- Comment(by jmr@…): Works on 10.6, which suggests it's using the system aclocal dir for some reason. -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: soundtouch -------------------------------------------+-------------------------------- Changes (by jmr@…): * keywords: soundtouch => -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: soundtouch -------------------------------------------+-------------------------------- Comment(by devans@…): Confirming that it fails in similar fashion on both 10.4 and 10.5. -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: elelay@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: soundtouch -------------------------------------------+-------------------------------- Changes (by elelay@…): * status: new => assigned * owner: macports-tickets@… => elelay@… Comment: I'd say this is because {{{config/m4/lt~obsolete.m4}}} is a symlink to {{{/usr/share/aclocal/lt~obsolete.m4}}} see : {{{ $ ll config/m4/ total 40 lrwxrwxrwx 1 root admin 29 19 déc 18:15 libtool.m4 -> /usr/share/aclocal/libtool.m4 lrwxrwxrwx 1 root admin 31 19 déc 18:15 ltoptions.m4 -> /usr/share/aclocal/ltoptions.m4 lrwxrwxrwx 1 root admin 29 19 déc 18:15 ltsugar.m4 -> /usr/share/aclocal/ltsugar.m4 lrwxrwxrwx 1 root admin 31 19 déc 18:15 ltversion.m4 -> /usr/share/aclocal/ltversion.m4 lrwxrwxrwx 1 root admin 33 19 déc 18:15 lt~obsolete.m4 -> /usr/share/aclocal/lt~obsolete.m4 }}} Deleting everything inside soundtouch/config/m4 seems to fix the issue (the .m4 files get regenerated from /opt/local/share/aclocal). soundtouch then builds correctly. -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 --------------------------------------------+------------------------------- Reporter: ygramul.el.multiple@… | Owner: elelay@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: soundtouch | --------------------------------------------+------------------------------- Changes (by elelay@…): * status: assigned => closed * resolution: => fixed Comment: fixed in r74502 I used {{{exec rm}}} because the {{{delete}}} macro failed. If somebody knows a better way ?... -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 --------------------------------------------+------------------------------- Reporter: ygramul.el.multiple@… | Owner: elelay@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: soundtouch | --------------------------------------------+------------------------------- Comment(by jmr@…): Unfortunately `delete` doesn't accept multiple file args. `file delete` does, and will work fine in this case since you're not deleting any non- empty directories. -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27533: Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5 --------------------------------------------+------------------------------- Reporter: ygramul.el.multiple@… | Owner: elelay@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: soundtouch | --------------------------------------------+------------------------------- Changes (by elelay@…): * cc: jmr@… (added) Comment: Replying to [comment:7 jmr@…]:
Unfortunately `delete` doesn't accept multiple file args. `file delete` does, and will work fine in this case since you're not deleting any non- empty directories.
Thanks for the answer. the guide is misleading then : {{{ delete file ... Deletes each of the given files/directories. Behaves similarly to file delete -force except that file delete -force will fail to delete directories properly on 10.3 systems. }}} {{{ file delete [glob ${worksrcpath}/config/m4/*.m4] }}} didn't work either. Only {{{ eval file delete [glob ${worksrcpath}/config/m4/*.m4]}}} did the trick. I updated the portfile to use file delete in r74523. -- Ticket URL: <https://trac.macports.org/ticket/27533#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts