Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 12:04:09 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Niclas Zeising <zeising+freebsd@daemonic.se>
Cc:        Johannes Lundberg <johalun0@gmail.com>, freebsd-x11@freebsd.org
Subject:   Re: fence_wait returned with error -512
Message-ID:  <20180927190409.GA27756@troutmask.apl.washington.edu>
In-Reply-To: <daf96fc7-3902-6461-a1b6-554ed24f1518@daemonic.se>
References:  <20180926170105.GA8906@troutmask.apl.washington.edu> <CAECmPwvFXoBqjC7YZ3ZE=W6u0YHmSGAHuJ9hzLDwC2=VnG7fDQ@mail.gmail.com> <20180926232051.GA13774@troutmask.apl.washington.edu> <CAECmPwt8ptE1P_-2qY23KFfnbPAE9Nj=-2cXFVGMRCSUqb_pJw@mail.gmail.com> <20180927014128.GA14820@troutmask.apl.washington.edu> <daf96fc7-3902-6461-a1b6-554ed24f1518@daemonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 27, 2018 at 09:13:46AM +0200, Niclas Zeising wrote:
> On 9/27/18 3:41 AM, Steve Kargl wrote:
> > On Wed, Sep 26, 2018 at 04:45:10PM -0700, Johannes Lundberg wrote:
> >>
> >> I’ve attached what I think is the correct ports patch for this if you want
> >> to build yourself. I don’t know when the package will be updated but it
> >> will definitely be before 12 is released.
> >>
> >> You can also always clone the git repo and build from there for latest
> >> version.
> >> github.com/freebsddesktop/drm-legacy
> >>
> >> I don’t have the hardware to test myself so I’d be grateful if you can give
> >> the patch a try and see if firmware loading works.
> >>
> > 
> > I'll see if I can pull the source tomorrow.
> > 
> 
> Hi!
> The port has been updated with the latest version of drm-legacy-kmod.  I 
> don't exactly know when packages are updated, but you can build it from 
> ports in the meantime.
> Regards

Ugh.  Seems I have to build a new world. :(


--- i915_drv.o ---
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/drm2/i915/i915_drv.c:1240:26: error: too few arguments provided to function-like macro invocation
    nitems(pciidlist) - 1);
                         ^
/usr/src/sys/sys/module.h:181:9: note: macro 'MODULE_PNP_INFO' defined here
#define MODULE_PNP_INFO(d, b, unique, t, l, n)                          \
        ^
/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/src/dev/drm2/i915/i915_drv.c:1239:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
MODULE_PNP_INFO("U32:vendor;U32:device;P:#;D:#", vgapci, i915, pciidlist,
^
2 errors generated.
*** [i915_drv.o] Error code 1

make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/drm2/i915kms
1 error

make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/drm2/i915kms
*** [all_subdir_drm2/i915kms] Error code 2

make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/drm2
1 error

make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b/drm2
*** [all_subdir_drm2] Error code 2

make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b
1 error

make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-226834b
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-legacy-kmod

===>>> make build failed for graphics/drm-legacy-kmod
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> graphics/drm-legacy-kmod 

This command has been saved to /root/tmp/portmasterfail.txt


-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180927190409.GA27756>