pkgsrc-Bugs archive

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

pkg/45408: devel/scmcvs does not compile



>Number:         45408
>Category:       pkg
>Synopsis:       devel/scmcvs does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 27 11:05:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
What problem does patches/patch-lib_getline.* in devel/scmcvs try to solve? The 
package does neither compile on NetBSD-5.1:

cc  -O2 -I/usr/include  -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o cvs 
add.o admin.o annotate.o  buffer.o checkin.o checkout.o  classify.o client.o 
commit.o  create_adm.o cvsrc.o diff.o  edit.o entries.o error.o  expand_path.o 
fileattr.o filesubr.o  find_names.o hardlink.o hash.o  history.o ignore.o 
import.o  lock.o log.o login.o logmsg.o  main.o mkmodules.o modules.o  myndbm.o 
no_diff.o parseinfo.o  patch.o rcs.o rcscmds.o  recurse.o release.o remove.o  
repos.o root.o run.o  scramble.o server.o stack.o  status.o subr.o tag.o 
update.o  version.o vers_ts.o watch.o  wrapper.o zlib.o ../diff/libdiff.a  
../lib/libcvs.a  -lz -lcrypt
client.o: In function `notified_a_file':
client.c:(.text+0x16e6): undefined reference to `getline'
client.c:(.text+0x1732): undefined reference to `getline'
cvsrc.o: In function `read_cvsrc':
cvsrc.c:(.text+0x87): undefined reference to `getline'
edit.o: In function `cvs_notify_check':
edit.c:(.text+0x283): undefined reference to `getline'
edit.o: In function `notify_do':
edit.c:(.text+0x884): undefined reference to `getline'
edit.o:edit.c:(.text+0x13ff): more undefined references to `getline' follow
*** Error code 1

nor on Solaris:

gcc  -O -I/usr/pkgsrc/20110926/include -I/usr/pkgsrc/20110926/gcc34/include 
-I/usr/include  
-L/software/pkgsrc/sunos5.10-x64/20110926/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
 
-Wl,-R/software/pkgsrc/sunos5.10-x64/20110926/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
 -L/software/pkgsrc/sunos5.10-x64/20110926/gcc34/bin/../lib 
-Wl,-R/software/pkgsrc/sunos5.10-x64/20110926/gcc34/bin/../lib 
-L/usr/pkgsrc/20110926/lib -Wl,-R/usr/pkgsrc/20110926/lib 
-L/usr/pkgsrc/20110926/gcc34/lib -L/usr/lib -Wl,-R/usr/lib -o cvs add.o admin.o 
annotate.o  buffer.o checkin.o checkout.o  classify.o client.o commit.o  
create_adm.o cvsrc.o diff.o  edit.o entries.o error.o  expand_path.o fileattr.o 
filesubr.o  find_names.o hardlink.o hash.o  history.o ignore.o import.o  lock.o 
log.o login.o logmsg.o  main.o mkmodules.o modules.o  myndbm.o no_diff.o 
parseinfo.o  patch.o rcs.o rcscmds.o  recurse.o release.o remove.o  repos.o 
root.o run.o  scramble.o server.o stack.o  status.o subr.o tag.o update.o 
  version.o vers_ts.o watch.o  wrapper.o zlib.o ../diff/libdiff.a  
../lib/libcvs.a  -lz -lxnet -lnsl
Undefined                       first referenced
 symbol                             in file
getline                             client.o
ld: fatal: Symbol referencing errors. No output written to cvs
collect2: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:

>Fix:
Probably s/getline/getline_cvs/ has to be done in more places. But again: What 
is the problem trying to be solved?



Home | Main Index | Thread Index | Old Index