Re: [gdm-list] Error building master with jhbuild: No rule to make target `dconf-override-db`



On Sun, Feb 27, 2011 at 10:05 AM, Ray Strode <halfline gmail com> wrote:
> Hi,
>
> On Sat, Feb 26, 2011 at 1:30 PM, Daniel Trebbien <dtrebbien gmail com> wrote:
>> I am attempting to build GDM master (last commit: 898fa07cd96ec...)
>> with jhbuild, but each time that I start the build, `make` eventually
>> fails with:
>>
>> *** No rule to make target `dconf-override-db', needed by `install-data-hook'.
>> Leaving directory `/home/gnomedev/projects/build/gnome/gdm/data'
> That should get created during the autogen.sh step.
>
> what happens if you drop to a shell and run it manually?
>
> cd data
> ./make-dconf-override-db.sh

When I ran `make-dconf-override-db.sh` manually, I got the error
message "bad trap".  I figured out that the problem was that /bin/sh
on my system is dash (the default system shell implementation on
Debian), which apparently does not support the "ERR" trap.
Re-running, I found out that I was missing some dependencies (namely
dconf and gnome-power-manager).  Re-running a third time, I got an
error message explaining that "accessibility" did not exist.  This
third problem is due to commit
8768a4636d9175c53d680c05a331845be59a2504 to gsettings-desktop-schemas
(http://git.gnome.org/browse/gsettings-desktop-schemas/commit/?id=8768a4636d9175c53d680c05a331845be59a2504),
which renamed "accessibility" to "toolkit-accessibility".

Attached are a couple of patches.
`0001-Update-data-make-dconf-override-db.sh.patch` fixes the "bad
trap" and problem with "accessibility".
`0002-Cause-make-to-fail-if-make-dconf-override-db.sh-fail.patch`
improves the make process by causing `make` to fail if the
`data/make-dconf-override-db.sh
` script fails.

These two patches are to the `gnome3` branch, but they should probably
be applied to master as well.

Attachment: 0001-Update-data-make-dconf-override-db.sh.patch
Description: Binary data

Attachment: 0002-Cause-make-to-fail-if-make-dconf-override-db.sh-fail.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]