Error while making sysutils/u-boot-beaglebone

Stefan Esser se at freebsd.org
Wed Apr 11 07:54:49 UTC 2018


Am 10.04.18 um 21:59 schrieb Udit agarwal:
> Hi,
> I am trying to make uboot for beaglebone black using
> sysutils/u-boot-beaglebone port package, but getting the following error.
> How to resolve this? I tried with FORCE_PKG_REGISTER also, but no success.
> 
> root at rtemsbuild1:/usr/ports/sysutils/u-boot-beaglebone # make install
> ===>   u-boot-beaglebone-2018.03 depends on executable: gsed - not found
> ===>   gsed-4.2.2_1 depends on executable: makeinfo - not found
> ===>   texinfo-6.5,1 depends on executable: help2man - not found
> ===>   help2man-1.47.6 depends on package: p5-Locale-gettext>=0 - not found
> ===>   p5-Locale-gettext-1.07 depends on executable: msgfmt - not found
> ===>   gettext-tools-0.19.8.1 depends on package: libiconv>=1.14_11 - not
> found
> ===>  Installing for libiconv-1.14_11
> ===>  Checking if libiconv already installed
> ===>   An older version of libiconv is already installed (libiconv-1.14_10)
>       You may wish to ``make deinstall'' and install this port again
>       by ``make reinstall'' to upgrade it properly.
>       If you really wish to overwrite the old port of libiconv
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1
> 
> Stop.
> make[11]: stopped in /usr/ports/converters/libiconv
> *** Error code 1

You have libiconv-1.14_10 installed and that does not satisfy
the requirement of this port.

You could just delete the installed libiconv with:

# pkg delete -f libiconv

which will allow the dependency to be installed from within the
sysutils/u-boot-beaglebone port.

Alternatively go to /usr/ports/converters/libiconv and upgrade
that library to the latest version with:

# cd /usr/ports/converters/libiconv
# make clean
# make all deinstall install clean

That will allow the u-boot port to build with the required
libiconv version.

I'd go with the first method (which is simpler) but the second
method reduces the time during which libiconv has been de-installed
but the new version is not ready for installation.

Regards, STefan


More information about the freebsd-ports mailing list