On 2020-07-16 16:48, Michael Schuster wrote:
Hi all,

I know I'm top-posting (this note) AND cross-posting - please bear(sp?) with me, I think I'm somewhat justified:


On Wed, Jul 15, 2020 at 9:46 PM Niclas Zeising <zeising+free...@daemonic.se <mailto:zeising%2bfree...@daemonic.se>> wrote:


     >         On 2020-07-15 14:25, Michael Schuster wrote:
     >          > Hi all,
     >          >
     >          > I got a new HP laptop (455 G7) and put latest GhostBSD
     >         (20.04, based on
     >          > 12.1 release) on it. During installation, the only
    graphics
     >         selection that
     >          > didn't fail was 'scfb', which I'm still using.
     >          >
     >          > AFAICT from my research, Renoir is supported by latest drm
     >         driver/module,
     >          > so I installed that (
     >          >
     > https://github.com/FreeBSDDesktop/kms-drm/tree/drm-v5.0-fbsd12.1).
     >
     >         That branch isn't used, and may be broken.
     >         If you want to get anything more recent than
    drm-fbds12.0-kmod,
     >         which
     >         tracks Linux 4.16, you have to upgrade to current and use
     >         drm-devel-kmod
     >         (which currently is at 5.3).
     >
     >
     >     just to be clear: by "current", you mean FreeBSD
    13.0-current, right?
     >     thx
     >
     >
     > so I went ahead and installed FreeBSD-current on this machine,
    and then
     > drm-devel-kmodas you recommended. Alas, I'm getting an error:
     >
     > KLD amdgpu.ko: depends on kernel - not available or version mismatch
     >
     > some googling showed that - since I did a fresh install of
    -current just
     > now - amdgpu must be out of sync. the version I have installed is:
     >
     > xf86_video-amdgpu-19.1.0_1.

    This means that your kernel and the drm-devel-kmod package are out of
    sync.  drm-devel-kmod installs the kernel graphics drivers, such as
    amdgpu.ko, and it has to be in sync with your kernel.  Depending a bit
    on which svn revision of current you have, you should be able to build
drm-devel-kmod (and preferably gpu-firmware-kmod) from ports.

@Niclas,
I followed your instructions; when I try to build gpu-firmware-kmod, here's what I get:

ports/graphics/gpu-firmware-kmod:16:33:50 $ pwd
/usr/ports/graphics/gpu-firmware-kmod
ports/graphics/gpu-firmware-kmod:16:33:51 $ make
make: "/usr/ports/Mk/bsd.port.mk <http://bsd.port.mk>" line 2096: warning: String comparison operator should be either == or != make: "/usr/ports/Mk/bsd.port.mk <http://bsd.port.mk>" line 2096: Malformed conditional (defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} ))
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/graphics/gpu-firmware-kmod

@ports:
I found https://docs.freebsd.org/cgi/getmsg.cgi?fetch=51789+0+current/freebsd-ports (which points to contrib/bmake svn commit: r363031). I 'git clone'd /usr/src this morning (European time) and find "reverted r363031" in the logs, so I would have assumed this is fixed ... though perhaps not in a way I can make use of. Doing "sudo ./boot-strap" in contrib/bmake didn't help (I don't know whether it should have .. it seemed the next logical step).

so, in short, what can I do to get back to building ports?

The error above was fixed in FreeBSD r363035, by reverting r363031 as you've already found out. In order to fix it locally you need to update your FreeBSD system. Updating FreeBSD Current is generally accomplished by rebuilding and installing it from source. Instructions on that can be found here:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Regards
--
Niclas
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to