[MacPorts] #36867: openssl: 'stdlib.h' file not found (was: install wine @1.4.1 and wine-devel @1.5.16 fail because of openssl)
MacPorts
noreply at macports.org
Sat Nov 3 04:54:49 PDT 2012
#36867: openssl: 'stdlib.h' file not found
-------------------------+-------------------
Reporter: tsmail05@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: openssl |
-------------------------+-------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => mww@…
* cc: ryandesign@… (added)
* port: => openssl
Old description:
> ts at petunia ~ 0% sudo port install wine
> ---> Computing dependencies for openssl
> ---> Fetching archive for openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://lil.fr.packages.macports.org/openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://packages.macports.org/openssl
> ---> Fetching distfiles for openssl
> ---> Verifying checksum(s) for openssl
> ---> Extracting openssl
> ---> Applying patches to openssl
> ---> Configuring openssl
> ---> Building openssl
> Error: org.macports.build for port openssl returned: command execution
> failed
> Please see the log file for port openssl for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
> Error: Unable to upgrade port: 1
> Error: Unable to execute port: upgrade openssl failed
>
> ###
>
> ts at petunia ~ 0% sudo port install wine-devel
> ---> Computing dependencies for openssl
> ---> Fetching archive for openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://lil.fr.packages.macports.org/openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
> ---> Attempting to fetch
> openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
> http://packages.macports.org/openssl
> ---> Fetching distfiles for openssl
> ---> Verifying checksum(s) for openssl
> ---> Extracting openssl
> ---> Applying patches to openssl
> ---> Configuring openssl
> ---> Building openssl
> Error: org.macports.build for port openssl returned: command execution
> failed
> Please see the log file for port openssl for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
> Error: Unable to upgrade port: 1
> Error: Unable to execute port: upgrade openssl failed
>
> ###
>
> although port install openssl itself installed just fine:
>
> ts at petunia ~ 1% sudo port upgrade openssl
> ---> Scanning binaries for linking errors: 100.0%
> ---> No broken files found.
> ts at petunia ~ 0% port list installed | grep ssl
> openssl @1.0.1c devel/openssl
New description:
{{{
ts at petunia ~ 0% sudo port install wine
---> Computing dependencies for openssl
---> Fetching archive for openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://lil.fr.packages.macports.org/openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://packages.macports.org/openssl
---> Fetching distfiles for openssl
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl
Error: org.macports.build for port openssl returned: command execution
failed
Please see the log file for port openssl for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade openssl failed
}}}
###
{{{
ts at petunia ~ 0% sudo port install wine-devel
---> Computing dependencies for openssl
---> Fetching archive for openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://lil.fr.packages.macports.org/openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/openssl
---> Attempting to fetch
openssl-1.0.1c_0+universal.darwin_11.i386-x86_64.tbz2 from
http://packages.macports.org/openssl
---> Fetching distfiles for openssl
---> Verifying checksum(s) for openssl
---> Extracting openssl
---> Applying patches to openssl
---> Configuring openssl
---> Building openssl
Error: org.macports.build for port openssl returned: command execution
failed
Please see the log file for port openssl for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade openssl failed
}}}
###
although port install openssl itself installed just fine:
{{{
ts at petunia ~ 1% sudo port upgrade openssl
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
ts at petunia ~ 0% port list installed | grep ssl
openssl @1.0.1c devel/openssl
}}}
--
Comment:
Yes, openssl is installed, but without the universal variant. Wine
requires that openssl be installed with the universal variant, which is
why MacPorts is trying to rebuild openssl now.
The log you attached says:
{{{
:info:build In file included from cryptlib.c:117:
:info:build ./cryptlib.h:62:10: fatal error: 'stdlib.h' file not found
:info:build #include <stdlib.h>
:info:build ^
:info:build 1 error generated.
}}}
stdlib.h is supposed to be in /usr/include. Are you sure you have
installed the Xcode command line tools? They are required. Open Xcode.app,
open its Preferences window, and check the Downloads tab.
P.S: Remember to use WikiFormatting when writing in Trac.
P.P.S: Note that [wiki:FAQ#portlist port list doesn't do what you think it
does].
--
Ticket URL: <https://trac.macports.org/ticket/36867#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list