[MacPorts] #46814: wget gmp configure error - installation failure
#46814: wget gmp configure error - installation failure -------------------------------------+-------------------------------- Reporter: subhashsamuel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.3 Keywords: Failed to configure gmp | Port: wget -------------------------------------+-------------------------------- Hello. As part of building linphone package, the following ports are being installed. However, wget installation fails at dependency gap. Logs are attached. sh-3.2# sudo port install automake autoconf libtool pkgconfig intltool wget cunit antlr3 speex libvpx readline sqlite3 libsoup openldap libupnp ffmpeg-devel -gpl2 ---> Computing dependencies for automake ---> Cleaning automake ---> Computing dependencies for autoconf ---> Cleaning autoconf ---> Computing dependencies for libtool ---> Cleaning libtool ---> Computing dependencies for pkgconfig ---> Cleaning pkgconfig ---> Computing dependencies for intltool ---> Cleaning intltool ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0-x86_64/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Error: Failed to install gmp Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: The following dependencies were not installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wget failed -- Ticket URL: <https://trac.macports.org/ticket/46814> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+-------------------------------- Reporter: subhashsamuel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+-------------------------------- Changes (by larryv@…): * cc: subhashsamuel@… (removed) * priority: High => Normal * keywords: Failed to configure gmp => * port: wget => gmp Old description:
Hello.
As part of building linphone package, the following ports are being installed. However, wget installation fails at dependency gap. Logs are attached.
sh-3.2# sudo port install automake autoconf libtool pkgconfig intltool wget cunit antlr3 speex libvpx readline sqlite3 libsoup openldap libupnp ffmpeg-devel -gpl2 ---> Computing dependencies for automake ---> Cleaning automake ---> Computing dependencies for autoconf ---> Cleaning autoconf ---> Computing dependencies for libtool ---> Cleaning libtool ---> Computing dependencies for pkgconfig ---> Cleaning pkgconfig ---> Computing dependencies for intltool ---> Cleaning intltool ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0-x86_64/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Error: Failed to install gmp Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: The following dependencies were not installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wget failed
New description: Hello. As part of building linphone package, the following ports are being installed. However, wget installation fails at dependency gap. Logs are attached. {{{ sh-3.2# sudo port install automake autoconf libtool pkgconfig intltool wget cunit antlr3 speex libvpx readline sqlite3 libsoup openldap libupnp ffmpeg-devel -gpl2 ---> Computing dependencies for automake ---> Cleaning automake ---> Computing dependencies for autoconf ---> Cleaning autoconf ---> Computing dependencies for libtool ---> Cleaning libtool ---> Computing dependencies for pkgconfig ---> Cleaning pkgconfig ---> Computing dependencies for intltool ---> Cleaning intltool ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0-x86_64/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Error: Failed to install gmp Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log Error: The following dependencies were not installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wget failed }}} -- Comment: Replying to [ticket:46814 subhashsamuel@…]:
{{{ ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp }}}
The fact that MacPorts jumped directly to configuring `gmp` implies that the build attempt was not clean. [https://guide.macports.org/chunked/project.html#project.tickets.prerequisite... As per the MacPorts Guide], please run `sudo port clean gmp wget` and try installing it again. If that fails, please upload the `main.log` file as an attachment to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => mcalhoun@… Comment: The log says: {{{ configure: error: C++ compiler not available, see config.log for details }}} Have you installed the compiler—in other words, Xcode and the Xcode command line tools? What does the config.log say? -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by subhashsamuel@…): Thanks for the quick response. Please note, this installation was the Nth attempt, hence, port directly went to wget as few other packages preceding it were already installed. Xcode - version 6.1 is on the system (MacOS version - 10.10.2) Command line tools are installed on the system (Please see version of compiler below) clang++ -v Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix Have attached config.log also. Kindly advise. Replying to [comment:2 ryandesign@…]:
The log says:
{{{ configure: error: C++ compiler not available, see config.log for details }}}
Have you installed the compiler—in other words, Xcode and the Xcode command line tools?
What does the config.log say?
-- Ticket URL: <https://trac.macports.org/ticket/46814#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by subhashsamuel@…): Hi, the recommended step was done. The install attempt still results in the same error. Replying to [comment:1 larryv@…]:
Replying to [ticket:46814 subhashsamuel@…]:
{{{ ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp }}}
The fact that MacPorts jumped directly to configuring `gmp` implies that the build attempt was not clean. [https://guide.macports.org/chunked/project.html#project.tickets.prerequisite... As per the MacPorts Guide], please run `sudo port clean gmp wget` and try installing it again. If that fails, please upload the `main.log` file as an attachment to this ticket.
-- Ticket URL: <https://trac.macports.org/ticket/46814#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by larryv@…): Replying to [comment:3 subhashsamuel@…]:
Command line tools are installed on the system (Please see version of compiler below)
That doesn’t tell us whether the CLT are installed. Does the `/usr/include` directory exist? -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by larryv@…): Replying to [comment:4 subhashsamuel@…]:
Hi, the recommended step was done. The install attempt still results in the same error.
Please upload the `main.log` from that attempt, then. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by ryandesign@…): And the config.log. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by subhashsamuel@…): Yes ,`/usr/include` directory exists on the system.also we have attached the latest main.log. Replying to [comment:5 larryv@…]:
Replying to [comment:3 subhashsamuel@…]:
Command line tools are installed on the system (Please see version of compiler below)
That doesn’t tell us whether the CLT are installed. Does the `/usr/include` directory exist?
-- Ticket URL: <https://trac.macports.org/ticket/46814#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by larryv@…): The log you attached is, again, incomplete. Please do //exactly// this: 1. Run `sudo port clean gmp`. 1. Run `sudo port install gmp`. 1. When that fails, attach the `main.log` and `config.log` files //immediately//. Do not execute any commands prior to attaching those logs. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by subhashsamuel@…): Hello, these steps were followed and respective logs attached. Replying to [comment:9 larryv@…]:
The log you attached is, again, incomplete. Please do //exactly// this:
1. Run `sudo port clean gmp`. 1. Run `sudo port install gmp`. 1. When that fails, attach the `main.log` and `config.log` files //immediately//. Do not execute any commands prior to attaching those logs.
-- Ticket URL: <https://trac.macports.org/ticket/46814#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by cal@…): It seems you set `macosx_deployment_target` in your `macports.conf`. It's causing this problem, because it cannot be set independent from the C++ runtime, which you apparently left at its default. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: gmp | ------------------------------+------------------------ Comment (by subhashsamuel@…): Hello, We rebuilt the code without setting the macos_deployment_target as recommended for linphone build in /opt/local/etc/macports/macports.conf This helped us get past the gmp installation failure. Thank you for your help in getting past that roadblock. However, while continuing on with the linphone build, we are faced with another error configure: error: Package requirements (gtk-mac-integration >= 2.0.1) were not met: We appreciate any pointers that you can provide to get past this one. No package 'gtk-mac-integration' found Replying to [comment:11 cal@…]:
It seems you set `macosx_deployment_target` in your `macports.conf`. It's causing this problem, because it cannot be set independent from the C++ runtime, which you apparently left at its default.
-- Ticket URL: <https://trac.macports.org/ticket/46814#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46814: gmp configure error ------------------------------+------------------------ Reporter: subhashsamuel@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: gmp | ------------------------------+------------------------ Changes (by cal@…): * status: new => closed * resolution: => worksforme Comment: OK, since your problem with gmp is solved, I'm closing this ticket. For the missing gtk-mac-integration, I know we have that in MacPorts, but I'm not sure whether we have the correct version and I also don't remember which port provides it. You should as on the macports-users MailingLists. -- Ticket URL: <https://trac.macports.org/ticket/46814#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts