Bug 51428

Summary: No rule to make target 'install' for osmesa
Product: Mesa Reporter: Alexandre Demers <alexandre.f.demers>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alexandre Demers 2012-06-25 19:41:09 UTC
Making install in osmesa
make[5]: Entering directory `/home/dema1701/projects/display/mesa/src/mesa/drivers/osmesa'
make[5]: *** No rule to make target `install'.  Stop.
make[5]: Leaving directory `/home/dema1701/projects/display/mesa/src/mesa/drivers/osmesa'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/dema1701/projects/display/mesa/src/mesa/drivers'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/dema1701/projects/display/mesa/src/mesa'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/dema1701/projects/display/mesa/src/mesa'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/dema1701/projects/display/mesa/src'
make: *** [install-recursive] Error 1


I have a feeling it is related to commit bd18a236dead98ae34467d59f76c77d94226399e
Comment 2 Alexandre Demers 2012-06-26 07:26:37 UTC
(In reply to comment #1)
> See http://lists.freedesktop.org/archives/mesa-dev/2012-June/023206.html

I'll test it later today.
Comment 3 Alexandre Demers 2012-06-26 13:23:14 UTC
(In reply to comment #1)
> See http://lists.freedesktop.org/archives/mesa-dev/2012-June/023206.html

This patch is a no go when applied on latest git:

configure.ac:2151: error: required file 'src/mesa/drivers/osmesa/Makefile.in' not found
src/egl/drivers/dri2/Makefile.am: installing 'bin/depcomp'
autoreconf: automake failed with exit status: 1
make: *** No targets specified and no makefile found.  Stop.
Comment 4 Johannes Obermayr 2012-06-27 13:45:16 UTC
This patch works on my OBS Project:
https://build.opensuse.org/package/show?package=Mesa&project=home%3Ajobermayr

I had to "s/lib at /lib@/g" and then "patch -p1 <$PATCH_FILE".
Comment 5 Alexandre Demers 2012-06-27 21:05:03 UTC
(In reply to comment #4)
> This patch works on my OBS Project:
> https://build.opensuse.org/package/show?package=Mesa&project=home%3Ajobermayr
> 
> I had to "s/lib at /lib@/g" and then "patch -p1 <$PATCH_FILE".

Even with the proposed change, I'm unable to build when firstly cleaning. I end up with:
configure.ac:2151: error: required file 'src/mesa/drivers/osmesa/Makefile.in' not found
Comment 6 Kevin DeKorte 2012-06-29 06:28:43 UTC
This appears to still be broken in current git, should be a simple change to get in I would think.
Comment 7 Alexandre Demers 2012-07-19 05:03:25 UTC
It seems to be fixed. I can't reproduce the error anymore.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.