pkgsrc-Bugs archive

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

pkg/28661: libtool problem with fortran



>Number:         28661
>Category:       pkg
>Synopsis:       libtool problem with fortran
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 14 23:13:00 +0000 2004
>Originator:     Krister Walfridsson
>Release:        NetBSD 1.6.2, pkgsrc as of 2004-12-15
>Organization:
        
>Environment:
        
        
System: NetBSD pc2 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004
Architecture: i386
Machine: i386
>Description:
parallel/pvm3 fails during installation with the error:
  ls: /usr/pkg/pvm3/bin/NETBSDI386/fgexample: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/fmaster1: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/frsg: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/fslave1: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/fspmd: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/gs: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/hitc: No such file or directory
  ls: /usr/pkg/pvm3/bin/NETBSDI386/hitc_slave: No such file or directory
which in turn is due to the libtool being unable to infer tagged
configuration:
  libtool  --mode=link g77  -Wl,-R/usr/pkg/pvm3/lib/NETBSDI386 -O  -o fgexample 
../../examples/gexample.f   -L../../lib/NETBSDI386 -lfpvm3 -lgpvm3 -lpvm3 
  *** [buildlink3] Warning: libtool replaced -lfpvm3 with 
/usr/local/tmp/f/pkgsrc/parallel/pvm3/work/pvm3/libfpvm/NETBSDI386/libfpvm3.la
  *** [buildlink3] Warning: libtool replaced -lgpvm3 with 
/usr/local/tmp/f/pkgsrc/parallel/pvm3/work/pvm3/pvmgs/NETBSDI386/libgpvm3.la
  *** [buildlink3] Warning: libtool replaced -lpvm3 with 
/usr/local/tmp/f/pkgsrc/parallel/pvm3/work/pvm3/src/NETBSDI386/libpvm3.la
  libtool: link: unable to infer tagged configuration
  libtool: link: specify a tag with `--tag'
  *** Error code 1

This used to work, and I believe that the error was introduced by
a change to pkgsrc/mk.  The reason for this belief is the following:
1. Nuke all packages by e.g. rm -rf /usr/pkg /var/db/pkg
2. Check out pkgsrc from 2004-11-20 and build parallel/pvm3.
   Note that this works.
3. Update pkgsrc/mk to today's source, and build parallel/pvm3 again.
   Note that this does work too.
4. pkg_delete libtool-base and build parallel/pvm3 again. This will
   rebuild libtool-base too, but now with newer pkgsrc/mk.
   Note that parallel/pvm3 fails.
 
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index