pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/mk/wrapper



Hi,

This commit breaks databases/unixodbc build.
What problem should be resolved with this change?

Thank you.

--- isql ---
libtool: link: gcc -O2 -I/usr/tmp/pkgsrc/databases/unixodbc/work/.buildlink/include -pthread -Wl,-R/usr/pkg/lib -o .libs/isql isql.o  -L/usr/tmp/pkgsrc/databases/unixodbc/work/.buildlink/lib 
-L../DriverManager/.libs -lodbc -lltdl ../extras/.libs/libodbcextraslc.a -lreadline -ltermcap -lpthread -pthread -Wl,-rpath,/usr/pkg/lib 
-Wl,-rpath,/usr/tmp/pkgsrc/databases/unixodbc/work/.buildlink/lib
../DriverManager/.libs/libodbc.so: undefined reference to `logOn'
../DriverManager/.libs/libodbc.so: undefined reference to `logClear'
../DriverManager/.libs/libodbc.so: undefined reference to `iniAppend'
../DriverManager/.libs/libodbc.so: undefined reference to `iniPropertyUpdate'
../DriverManager/.libs/libodbc.so: undefined reference to `iniObject'
../DriverManager/.libs/libodbc.so: undefined reference to `logPushMsg'
../DriverManager/.libs/libodbc.so: undefined reference to `logPeekMsg'
../DriverManager/.libs/libodbc.so: undefined reference to `iniCommit'
../DriverManager/.libs/libodbc.so: undefined reference to `logOpen'
../DriverManager/.libs/libodbc.so: undefined reference to `iniPropertySeek'
*** [isql] Error code 1


From: "Tobias Nygren" <tnn%netbsd.org@localhost>, Date: Sat, 25 Apr 2015 22:15:38 +0000

> Module Name:  pkgsrc
> Committed By: tnn
> Date:         Sat Apr 25 22:15:38 UTC 2015
> 
> Modified Files:
>       pkgsrc/mk/wrapper: buildcmd
> 
> Log Message:
> If we have -Wl,--whole-archive -lfoo -lbar -Wl,--no-whole-archive
> surrounding a list of static libraries, we must preserve that order so the
> effect of --whole-archive is as intended by the package.
> cwrappers does this correctly but classic wrappers didn't.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.6 -r1.7 pkgsrc/mk/wrapper/buildcmd
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index