pkgsrc-Bugs archive

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

pkg/49130: devel/libtool-fortran DragonFly FC shared library postdeps prevent math/blas build



>Number:         49130
>Category:       pkg
>Synopsis:       devel/libtool-fortran DragonFly FC shared library postdeps 
>prevent math/blas build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 19 23:25:00 +0000 2014
>Originator:     David Shao
>Release:        DragonFly  3.9-DEVELOPMENT x86_64
>Organization:
>Environment:
DragonFly  3.9-DEVELOPMENT DragonFly v3.9.0.473.g9b938-DEVELOPMENT #54: Mon Aug 
18 18:19:47 PDT 2014     xxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
On DragonFly 3.9-DEVELOPMENT x86_64 master through

commit 13d2f99beae0359393aecfc1eece839cea651547
Date:   Mon Aug 18 14:04:44 2014 -0700

    kernel - Add EVFILT_USER

devel/libtool-fortran seems to produce wrong postdep entries for producing 
shared libraries for the FC section.

DragonFly's produced /usr/pkg/bin/libtool-fortran has entries

# Dependencies to place before and after the objects being linked to
# create a shared library.
predep_objects=""
postdep_objects="/usr/lib///crti.o 
/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2//crtbeginS.o 
/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2//crtendS.o 
/usr/lib///crtn.o"
predeps=""
postdeps="-lf95 -lm -L-L/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/ 
-L/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2 
-L/usr/pkg/lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/ -L/lib// 
-L/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/// 
-L/usr/pkg/bin/../lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/ 
-L/usr/pkg/lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/// 
-L/usr/pkg/lib/gcc-lib/x86_64-pc-dragonfly/4.1.2/ -L/lib// -L/usr/lib// -lf95 
-lm -R/usr/pkg/lib/gcc-lib/x86_64-pc-dragonfly/4.1.2 -lgcc -lgcc"

# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=""

# ### END LIBTOOL TAG CONFIG: FC

However NetBSD 7.99.1 amd64's version has simply "" for the above entries.

Replacing the above entries in /usr/pkg/bin/libtool-fortran by "" allows 
math/blas to build on DragonFly whereas before it was apparently choking trying 
to process -L /usr/lib//

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index