freebsd dub linker error

Alain De Vos devosalain at ymail.com
Fri Mar 18 03:03:48 UTC 2022


I disabled 32bit code maybe this created the following error 
while building dub :

[00:02:18] 
===========================================================================
[00:02:18] =======================<phase: configure      
 >============================
[00:02:18] ===>  Configuring for dub-1.14.0
[00:02:23] 
===========================================================================
[00:02:23] =======================<phase: build          
 >============================
[00:02:23] ===>  Building for dub-1.14.0
[00:02:41] build.sh: cannot open 2.069.0: No such file or 
directory
[00:02:41] Using existing version file.
[00:02:41] Running ldmd2...
[00:02:58] Serializing composite type BuildRequirements which has 
no serializable fields
[00:02:58] Serializing composite type BuildOptions which has no 
serializable fields
[00:02:59] source/dub/dub.d(1602): Deprecation: function 
`std.typecons.Nullable!(PackageRecipe).Nullable.get_` is 
deprecated - Implicit conversion with `alias Nullable.get this` 
will be removed after 2.096. Please use `.get` explicitly.
[00:02:59] source/dub/packagesuppliers/maven.d(81): Deprecation: 
module `std.xml` is deprecated - Will be removed from Phobos in 
2.101.0. If you still need it, go to 
https://github.com/DigitalMars/undeaD
[00:02:59] source/dub/project.d(288): Deprecation: variable `c` 
is shadowing variable `dub.project.Project.validate.c`. Rename 
the `foreach` variable.
[00:03:00] source/dub/generators/build.d(338): Deprecation: 
module `std.digest.digest` is deprecated - import std.digest 
instead of std.digest.digest. std.digest.digest will be removed 
in 2.101
[00:04:19] ld: error: undefined hidden symbol: __start___minfo
[00:04:19] >>> referenced by sdl.d
[00:04:19] >>>               bin/dub.o:(ldc.register_dso)
[00:04:19]
[00:04:19] ld: error: undefined hidden symbol: __stop___minfo
[00:04:19] >>> referenced by sdl.d
[00:04:19] >>>               bin/dub.o:(ldc.register_dso)
[00:04:19] cc: error: linker command failed with exit code 1 (use 
-v to see invocation)
[00:04:19] Error: /usr/bin/cc failed with status: 1
[00:04:19] *** Error code 1
[00:04:19]
[00:04:19] Stop.
[00:04:19] make: stopped in /usr/ports/devel/dub
[00:04:20] =>> Cleaning up wrkdir
[00:04:20] ===>  Cleaning for dub-1.14.0
[00:04:23] build of devel/dub | dub-1.14.0 ended at Fri Mar 18 
03:59:34 CET 2022
[00:04:23] build time: 00:04:23
[00:04:23] !!! build failure encountered !!!



More information about the Digitalmars-d-learn mailing list