On Wed, Feb 16, 2022 at 9:11 AM Marc Haber
<mh+debian-packa...@zugschlus.de> wrote:
>
> On Tue, Feb 15, 2022 at 09:58:49PM +0200, Martin-Éric Racine wrote:
> > On Tue, Feb 15, 2022 at 9:10 PM Marc Haber
> > <mh+debian-packa...@zugschlus.de> wrote:
> > >
> > > On Tue, Feb 15, 2022 at 09:03:01PM +0200, Martin-Éric Racine wrote:
> > > > 1.9.8p2-1 FTBFS on Geode testing host (log attached earlier)
> > > > 1.9.9-1 FTBFS on Geode testing host (log attached earlier)
> > >
> > > I apologize, I didnt see earlier that your builds were already failing
> > > at build time. The error is
> > >
> > > config.status:1474: error: cannot find input file: 
> > > `plugins/sudoers/sudoers'
> > >
> > > Was that file actually missing in your build chroot? If not, I don't
> > > know what went wrong there.
> >
> > No idea. I unpacked the source and types debuild. That's all.
> >
> > However, here's an interesting thing. I tried building 1.9.9-1 again
> > on the Geode using a good sudo instead of fakeroot. It fails as
> > follows:
> >
> > during GIMPLE pass: cunroll
> > ../../../lib/util/event.c: In function ‘sudo_ev_add_v2’:
> > ../../../lib/util/event.c:465:1: internal compiler error: in
> > graphds_scc, at graphds.c:316
> >   465 | sudo_ev_add_v2(struct sudo_event_base *base, struct sudo_event *ev,
> >       | ^~~~~~~~~~~~~~
> > 0xb7555904 __libc_start_main
> >     ../csu/libc-start.c:332
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
>
> I think that this refers to gcc, not to sudo.

Yes, it's a GCC failure while building sudo 1.9.9-1 on the Geode host itself.

> > make[3]: *** [Makefile:653: event.lo] Virhe 1
> > make[3]: Poistutaan hakemistosta
>
> It would probably help to run those with an English locale.

/bin/bash ../../libtool --tag=disable-static --mode=compile gcc -c -o
json.lo -I../../../include -I../.. -I. -I../../../lib/util
-D_PATH_SUDO_CONF=\"/etc/sudo.conf\" -Wdate-time -D_FORTIFY_SOURCE=2
-DZLIB_CONST -DDEFAULT_TEXT_DOMAIN=\"sudo\" -g -O2
-ffile-prefix-map=/home/perkelix/sudo-1.9.9=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -pedantic -fvisibility=hidden
-fPIE -fstack-protector-strong -fstack-clash-protection
-fcf-protection ../../../lib/util/json.c
libtool: compile:  gcc -c -I../../../include -I../.. -I.
-I../../../lib/util -D_PATH_SUDO_CONF=\"/etc/sudo.conf\" -Wdate-time
-D_FORTIFY_SOURCE=2 -DZLIB_CONST -DDEFAULT_TEXT_DOMAIN=\"sudo\" -g -O2
-ffile-prefix-map=/home/perkelix/sudo-1.9.9=. -fstack-protector-strong
-Wformat -Werror=format-security -Wall -pedantic -fvisibility=hidden
-fstack-protector-strong -fstack-clash-protection -fcf-protection
../../../lib/util/json.c  -fPIC -DPIC -o .libs/json.o
during GIMPLE pass: dom
../../../lib/util/json.c: In function 'json_append_string':
../../../lib/util/json.c:122:1: internal compiler error: in
graphds_scc, at graphds.c:316
  122 | json_append_string(struct json_container *json, const char *str)
      | ^~~~~~~~~~~~~~~~~~
0xb7574904 __libc_start_main
    ../csu/libc-start.c:332
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [Makefile:968: json.lo] Error 1
make[3]: Leaving directory '/home/perkelix/sudo-1.9.9/build-simple/lib/util'
make[2]: *** [Makefile:108: all] Error 2
make[2]: Leaving directory '/home/perkelix/sudo-1.9.9/build-simple'
dh_auto_build: error: cd build-simple && make -j1 returned exit code 2
make[1]: *** [debian/rules:45: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/perkelix/sudo-1.9.9'
make: *** [debian/rules:37: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Martin-Éric

Reply via email to