[MacPorts] #28926: ossp-uuid: 'optarg' undeclared (was: Installing Postgres90 fails)
MacPorts
noreply at macports.org
Sun Mar 27 03:59:49 PDT 2011
#28926: ossp-uuid: 'optarg' undeclared
-----------------------------+----------------------------------------------
Reporter: zakay@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: ossp-uuid
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):
* port: => ossp-uuid
* priority: High => Normal
Old description:
> $ sudo port install postgresql90
> ---> Computing dependencies for postgresql90
> ---> Dependencies to be installed: ossp-uuid readline
> ---> Building ossp-uuid
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Error: Failed to install ossp-uuid
> Log for ossp-uuid is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/main.log
> Error: The following dependencies were not installed: ossp-uuid readline
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
>
> From the log file:
>
> :notice:main ---> Building ossp-uuid
> :debug:build build phase started at Sun Mar 27 11:29:47 CEST 2011
> :debug:build Executing org.macports.build (ossp-uuid)
> :debug:build Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.7'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j2
> -w all'
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/work/uuid-1.6.2'
> :info:build /Developer/usr/bin/llvm-gcc-4.2 -I. -I. -I/opt/local/include
> -DHAVE_CONFIG_H -pipe -O2 -D_POSIX_C_SOURCE -arch x86_64 -c uuid_cli.c
> :info:build uuid_cli.c: In function 'main':
> :info:build uuid_cli.c:110: error: 'optarg' undeclared (first use in this
> function)
> :info:build uuid_cli.c:110: error: (Each undeclared identifier is
> reported only once
> :info:build uuid_cli.c:110: error: for each function it appears in.)
> :info:build uuid_cli.c:157: error: 'optopt' undeclared (first use in this
> function)
> :info:build uuid_cli.c:160: error: 'optind' undeclared (first use in this
> function)
> :info:build make: *** [uuid_cli.o] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/work/uuid-1.6.2'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_devel_ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j2
> -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
New description:
{{{
$ sudo port install postgresql90
---> Computing dependencies for postgresql90
---> Dependencies to be installed: ossp-uuid readline
---> Building ossp-uuid
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install ossp-uuid
Log for ossp-uuid is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/main.log
Error: The following dependencies were not installed: ossp-uuid readline
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
From the log file:
{{{
:notice:main ---> Building ossp-uuid
:debug:build build phase started at Sun Mar 27 11:29:47 CEST 2011
:debug:build Executing org.macports.build (ossp-uuid)
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j2
-w all'
:info:build make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/work/uuid-1.6.2'
:info:build /Developer/usr/bin/llvm-gcc-4.2 -I. -I. -I/opt/local/include
-DHAVE_CONFIG_H -pipe -O2 -D_POSIX_C_SOURCE -arch x86_64 -c uuid_cli.c
:info:build uuid_cli.c: In function 'main':
:info:build uuid_cli.c:110: error: 'optarg' undeclared (first use in this
function)
:info:build uuid_cli.c:110: error: (Each undeclared identifier is reported
only once
:info:build uuid_cli.c:110: error: for each function it appears in.)
:info:build uuid_cli.c:157: error: 'optopt' undeclared (first use in this
function)
:info:build uuid_cli.c:160: error: 'optind' undeclared (first use in this
function)
:info:build make: *** [uuid_cli.o] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/work/uuid-1.6.2'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_devel_ossp-uuid/work/uuid-1.6.2" && /usr/bin/make -j2
-w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/28926#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list