[MacPorts] #24821: installation of freetds +mssql +odbc +universal fails

MacPorts noreply at macports.org
Fri May 7 19:15:46 PDT 2010


#24821: installation of freetds +mssql +odbc +universal fails
----------------------------------------+-----------------------------------
 Reporter:  stephanie.wissel@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  1.8.2                                
 Keywords:                              |        Port:  freetds                              
----------------------------------------+-----------------------------------
Changes (by jmr@…):

  * keywords:  freetds universal mssql odbc =>
  * type:  request => defect
  * port:  => freetds


Old description:

> I'm copying the portion of the output where it seems to fail, when
> compiling on Snow Leopard (Mac OS X 10.6.3) with MacPorts version 1.8.2.
> (I'll attach the full output.)
>
> commad line: sudo port -d install freetds +mssql +odbc +universal
>
> Output snippets
> libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -I/opt/local/include -I/opt/local/include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
> -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE
> -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c native.c
> -fno-common -DPIC -o .libs/native.o
> connectparams.c:90: error: static declaration of
> 'SQLGetPrivateProfileString' follows non-static declaration
> /opt/local/include/odbcinst.h:468: error: previous declaration of
> 'SQLGetPrivateProfileString' was here
> connectparams.c:90: error: static declaration of
> 'SQLGetPrivateProfileString' follows non-static declaration
> /opt/local/include/odbcinst.h:468: error: previous declaration of
> 'SQLGetPrivateProfileString' was here
> lipo: can't figure out the architecture type of: /var/tmp//ccIKrMXA.out
> make[3]: *** [connectparams.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
>
> libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -I/opt/local/include -I/opt/local/include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
> -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE
> -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c
> odbc_checks.c -o odbc_checks.o >/dev/null 2>&1
> libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -I/opt/local/include -I/opt/local/include
> -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
> -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
> -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE
> -O2 -arch x86_64 -arch i386 -Wdeclaration-after-statement -c error.c -o
> error.o >/dev/null 2>&1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82"
> && /usr/bin/make -j8 all " returned error 2
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82"
> && /usr/bin/make -j8 all " returned error 2
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 9)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for freetds):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.

New description:

 I'm copying the portion of the output where it seems to fail, when
 compiling on Snow Leopard (Mac OS X 10.6.3) with MacPorts version 1.8.2.
 (I'll attach the full output.)

 commad line: sudo port -d install freetds +mssql +odbc +universal

 Output snippets
 {{{
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
 -I../../include -I../../include -I/opt/local/include -I/opt/local/include
 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
 -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch
 x86_64 -arch i386 -Wdeclaration-after-statement -c native.c  -fno-common
 -DPIC -o .libs/native.o
 connectparams.c:90: error: static declaration of
 'SQLGetPrivateProfileString' follows non-static declaration
 /opt/local/include/odbcinst.h:468: error: previous declaration of
 'SQLGetPrivateProfileString' was here
 connectparams.c:90: error: static declaration of
 'SQLGetPrivateProfileString' follows non-static declaration
 /opt/local/include/odbcinst.h:468: error: previous declaration of
 'SQLGetPrivateProfileString' was here
 lipo: can't figure out the architecture type of: /var/tmp//ccIKrMXA.out
 make[3]: *** [connectparams.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....

 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
 -I../../include -I../../include -I/opt/local/include -I/opt/local/include
 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
 -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch
 x86_64 -arch i386 -Wdeclaration-after-statement -c odbc_checks.c -o
 odbc_checks.o >/dev/null 2>&1
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.
 -I../../include -I../../include -I/opt/local/include -I/opt/local/include
 -D_FREETDS_LIBRARY_SOURCE -DUNIXODBC -DHAVE_UNISTD_H -DHAVE_PWD_H
 -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
 -I/opt/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Wno-long-long -D_THREAD_SAFE -O2 -arch
 x86_64 -arch i386 -Wdeclaration-after-statement -c error.c -o error.o
 >/dev/null 2>&1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82"
 && /usr/bin/make -j8 all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_freetds/work/freetds-0.82"
 && /usr/bin/make -j8 all " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for freetds):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, fill in the Port field,
 and set the correct ticket type (see the guidelines linked from the New
 Ticket page).

-- 
Ticket URL: <http://trac.macports.org/ticket/24821#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list