workdir/ExternalProject/libatomic_ops/build: checking build system type... ./config.guess: unable to guess system type

classic Classic list List threaded Threaded
4 messages Options
Paul Menzel Paul Menzel
Reply | Threaded
Open this post in threaded view
|

workdir/ExternalProject/libatomic_ops/build: checking build system type... ./config.guess: unable to guess system type

Dear LibreOffice,


On ppc64le with Ubuntu 18.04 and latest LibreOffice from master, the build
fails with the error below.

```
$ uname -m
ppc64le
$ git describe --dirty
libreoffice-6-1-branch-point-897-gd776263a9968
$ git log --oneline -1
d776263a9968 (HEAD -> master, origin/master, origin/HEAD) uitest Calc-Statistics- Descriptive statistics
$ ./configure
[…]
$ make
[…]
checking build system type... ./config.guess: unable to guess system type

This script, last modified 2011-05-11, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[hidden email]> in order to provide the needed
information to handle your system.

config.guess timestamp = 2011-05-11

uname -m = ppc64le
uname -r = 4.17.0-rc6+
uname -s = Linux
uname -v = #1 SMP Sun May 27 18:16:57 CEST 2018

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = ppc64le
UNAME_RELEASE = 4.17.0-rc6+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Sun May 27 18:16:57 CEST 2018
configure: error: cannot guess build type; you must specify one
/dev/shm/libreoffice-core/external/libatomic_ops/ExternalProject_libatomic_ops.mk:19: recipe for target '/dev/shm/libreoffice-core/workdir/ExternalProject/libatomic_ops/build' failed
make[1]: *** [/dev/shm/libreoffice-core/workdir/ExternalProject/libatomic_ops/build] Error 1
make[1]: *** Waiting for unfinished jobs....
[…]
```


Kind regards,

Paul


_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

smime.p7s (6K) Download Attachment
sberg sberg
Reply | Threaded
Open this post in threaded view
|

Re: workdir/ExternalProject/libatomic_ops/build: checking build system type... ./config.guess: unable to guess system type

On 11/06/18 19:44, Paul Menzel wrote:
> configure: error: cannot guess build type; you must specify one
> /dev/shm/libreoffice-core/external/libatomic_ops/ExternalProject_libatomic_ops.mk:19: recipe for target '/dev/shm/libreoffice-core/workdir/ExternalProject/libatomic_ops/build' failed

Looks like external/libatomic_ops/UnpackedTarball_libatomic_ops.mk
misses a call to gb_UnpackedTarball_update_autoconf_configs.  See its
documentation in solenv/gbuild/UnpackedTarball.mk and uses in other
external/*/UnpackedTarball_*.mk for details.
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
David Tardon David Tardon
Reply | Threaded
Open this post in threaded view
|

Re: workdir/ExternalProject/libatomic_ops/build: checking build system type... ./config.guess: unable to guess system type

In reply to this post by Paul Menzel
Hi,

On Mon, 2018-06-11 at 19:44 +0200, Paul Menzel wrote:
> configure: error: cannot guess build type; you must specify one
> /dev/shm/libreoffice-
> core/external/libatomic_ops/ExternalProject_libatomic_ops.mk:19:
> recipe for target '/dev/shm/libreoffice-
> core/workdir/ExternalProject/libatomic_ops/build' failed
> make[1]: *** [/dev/shm/libreoffice-
> core/workdir/ExternalProject/libatomic_ops/build] Error 1
> make[1]: *** Waiting for unfinished jobs....

Add

$(eval $(call gb_UnpackedTarball_update_autoconf_configs,libatomic_ops))

to external/libatomic_ops/UnpackedTarball_libatomic_ops.mk . This will
replace the library's config.sub and config.guess by our internal--more
up-to-date--copies.

D.
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Paul Menzel Paul Menzel
Reply | Threaded
Open this post in threaded view
|

Re: workdir/ExternalProject/libatomic_ops/build: checking build system type... ./config.guess: unable to guess system type

Dear David,


On 06/12/18 10:52, David Tardon wrote:

> On Mon, 2018-06-11 at 19:44 +0200, Paul Menzel wrote:
>> configure: error: cannot guess build type; you must specify one
>> /dev/shm/libreoffice-
>> core/external/libatomic_ops/ExternalProject_libatomic_ops.mk:19:
>> recipe for target '/dev/shm/libreoffice-
>> core/workdir/ExternalProject/libatomic_ops/build' failed
>> make[1]: *** [/dev/shm/libreoffice-
>> core/workdir/ExternalProject/libatomic_ops/build] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>
> Add
>
> $(eval $(call gb_UnpackedTarball_update_autoconf_configs,libatomic_ops))
>
> to external/libatomic_ops/UnpackedTarball_libatomic_ops.mk . This will
> replace the library's config.sub and config.guess by our internal--more
> up-to-date--copies.
Thank you, that fixed it. I can submit a patch.

In the future, I should just use the system libraries.


Kind regards,

Paul


_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

smime.p7s (6K) Download Attachment