pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48513: lang/tcl 8.6.1 DragonFly 3.7-DEVELOPMENT itcl4.0.0 missing gcc -shared -fPIC



>Number:         48513
>Category:       pkg
>Synopsis:       lang/tcl 8.6.1 DragonFly 3.7-DEVELOPMENT itcl4.0.0 missing gcc 
>-shared -fPIC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 11 22:35:00 +0000 2014
>Originator:     David Shao
>Release:        DragonFly  3.7-DEVELOPMENT x86_64 and i386
>Organization:
>Environment:
DragonFly  3.7-DEVELOPMENT x86_64 and i386
>Description:
On DragonFly 3.7-DEVELOPMENT x86_64 and i386 through

commit ab58ed25e54413839e6db7c83797a623f1ddb613
Date:   Sat Jan 11 18:46:42 2014 +0100

    Remove redefinition warning in netgraph7.

lang/tcl 8.6.1 fails to build.

# cc --version
cc 4.7.3 [DragonFly] Release/2013-04-11

Configuring package 'itcl4.0.0'
...
checking for x86_64-pc-dragonfly-gcc... cc
checking for C compiler default output file name... a.out
...
checking how to build libraries... shared
...
config.status: WARNING:  
'/usr/pkgsrc/lang/tcl/work/tcl8.6.1/pkgs/sqlite3.8.0/Makefile.in' seems to 
ignore the --datarootdir setting
...
configure: WARNING: Found Makefile - using build library specs for tdbc
checking For tdbc_STUB library for LIBS... using tdbc_STUB_LIB_SPEC 
-L/usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix/pkgs/tdbc1.0.0 -ltdbcstub1.0.0
configure: WARNING: Looking for 
"/usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix/pkgs/tdbc1.0.0/Makefile"
configure: WARNING: Found Makefile - using build include spec and lib specs for 
tdbc
...
Configuring package 'tdbcsqlite3-1.0.0'
configure: WARNING: unrecognized options: --with-tclinclude, --enable-threads, 
--enable-shared, --enable-threads
...
cc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" 
-DPACKAGE_VERSION=\"4.0.0\" -DPACKAGE_STRING=\"itcl\ 4.0.0\" 
-DPACKAGE_BUGREPORT=\"\" -DBUILD_itcl= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1 
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) 
-DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_CAST_TO_UNION=1 
-DTCL_WIDE_INT_IS_LONG=1 -DHAVE_INTPTR_T=1 -DUSE_TCL_STUBS=1  -DUSE_TCLOO_STUBS 
 -DITCL_LIBRARY=\"/usr/pkg/lib/itcl4.0.0\" -I. 
-I"/usr/pkgsrc/lang/tcl/work/tcl8.6.1/pkgs/itcl4.0.0/generic" 
-I"/usr/pkgsrc/lang/tcl/work/tcl8.6.1/generic" 
-I"/usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix"    -g -pipe -O2 -DNDEBUG -Wall 
-fPIC -c `echo 
/usr/pkgsrc/lang/tcl/work/tcl8.6.1/pkgs/itcl4.0.0/generic/itclMigrate2TclCore.c`
 -o itclMigrate2TclCore.o
rm -f libitcl4.0.0
-o libitcl4.0.0 itcl2TclOO.o itclBase.o itclBuiltin.o itclClass.o itclCmd.o 
itclEnsemble.o itclHelpers.o itclInfo.o itclLinkage.o itclMethod.o itclObject.o 
itclParse.o itclStubs.o itclStubInit.o itclResolve.o itclTclIntStubsFcn.o 
itclUtil.o itclMigrate2TclCore.o  -L/usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix 
-ltclstub86
bmake: exec(-o) failed (No such file or directory)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix/pkgs/itcl4.0.0

On NetBSD 6.99.28 a similar successful build has instead the line:

gcc -shared -fPIC -o libitcl4.0.0 itcl2TclOO.o itclBase.o itclBuiltin.o 
itclClass.o itclCmd.o itclEnsemble.o itclHelpers.o itclInfo.o itclLinkage.o 
itclMethod.o itclObject.o itclParse.o itclStubs.o itclStubInit.o itclResolve.o 
itclTclIntStubsFcn.o itclUtil.o itclMigrate2TclCore.o  
-L/usr/pkgsrc/lang/tcl/work/tcl8.6.1/unix -ltclstub86
: libitcl4.0.0.so


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index