[MacPorts] #16220: textinfo 4.12 fails to compile
#16220: textinfo 4.12 fails to compile ----------------------------------+----------------------------------------- Reporter: cabanela@mnstate.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ----------------------------------+----------------------------------------- In attempting to upgrade my ports on both my MacBook Pro (Core do, 32 bit) and my Mac Pro (64-bit), I got the following errors: {{{ ---> Fetching texinfo ---> Verifying checksum(s) for texinfo ---> Extracting texinfo ---> Configuring texinfo Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12" && ./configure --prefix=/opt/local " returned error 1 Command output: sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12: No such file or directory Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/16220> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by blb@macports.org): * owner: macports-tickets@lists.macosforge.org => vincent- opdarw@vinc17.org * milestone: => Port Bugs Comment: Assigning to maintainer. Try cleaning it first, then try again: {{{ sudo port clean texinfo }}} -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by cabanela@mnstate.edu): Actually, I should have been clear, I did in fact 'clean'. I always do if there is a problem. But in any case, here's the capture: {{{ [Baryon:~] username% sudo port clean texinfo Password: ---> Cleaning texinfo [Baryon:~] username% sudo port upgrade texinfo ---> Fetching texinfo ---> Verifying checksum(s) for texinfo ---> Extracting texinfo ---> Configuring texinfo Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12" && ./configure --prefix=/opt/local " returned error 1 Command output: sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12: No such file or directory Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by vinc17@macports.org): Could you try with option -v? {{{ sudo port -v upgrade texinfo }}} Note that you may need to install lzmautils first (unfortunately this cannot be done automatically with the current version of MacPorts). I don't know why MacPorts gives the correct error message and runs the configure target while the extract target has failed. I'll update the port to display an informational message since MacPorts doesn't do it. -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by vinc17@macports.org): Replying to [comment:3 vinc17@macports.org]:
I'll update the port to display an informational message since MacPorts doesn't do it.
Done in r38986. -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by cabanela@mnstate.edu): I did a {{{ sudo port -d sync }}} to update the port. Then I did {{{ sudo port -v upgrade texinfo }}} which returned {{{ ---> Configuring texinfo sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12: No such file or directory Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12" && ./configure --prefix=/opt/local " returned error 1 Command output: sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/work/texinfo-4.12: No such file or directory Warning: the following items did not execute (for texinfo): org.macports.destroot org.macports.configure org.macports.build Error: Unable to upgrade port: 1 }}} Just in case, I did {{{ sudo port install lzmautils }}} and then {{{ sudo port upgrade texinfo }}} That did it, it compiled. So that is it. I should note the there was no obvious information message in texinfo, at least to me. -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by raimue@macports.org): Replying to [comment:3 vinc17@macports.org]:
Note that you may need to install lzmautils first (unfortunately this cannot be done automatically with the current version of MacPorts). I don't know why MacPorts gives the correct error message and runs the configure target while the extract target has failed.
At least it can be done with some workaround. Adding `depends_build bin:unlzma:lzmautils` will work when running commands like `port install` or `port upgrade`, although `port extract` will still fail without lzmautils. But this workaround would at least make the issue go away for most users. See also #15161. -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16220: textinfo 4.12 fails to compile -----------------------------------+---------------------------------------- Reporter: cabanela@mnstate.edu | Owner: vincent-opdarw@vinc17.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: -----------------------------------+---------------------------------------- Changes (by vinc17@macports.org): * status: new => closed * resolution: => fixed Comment: Replying to [comment:6 raimue@macports.org]:
At least it can be done with some workaround. Adding `depends_build bin:unlzma:lzmautils` will work when running commands like `port install` or `port upgrade`, although `port extract` will still fail without lzmautils. But this workaround would at least make the issue go away for most users.
OK, thanks. I now confirm that this works. Done in r38987. It seems that I did my previous test with "port extract" first or something like that. Also, depends_build has no effect if lzmautils is just deactivated. Concerning problems with "port extract", I've reported #16223. -- Ticket URL: <http://trac.macports.org/ticket/16220#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts