bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2023-08-29 Thread Maxim Cournoyer
retitle 57402 webkitgtk-with-libsoup2 fails to build on powerpc64le, breaking 
freecad
reopen 57402
quit

Hi,

Marcel van der Boom  writes:

> This still fails for me, same error.

OK, thanks for the reply.

> To be clear, substitutable means there is a binary available from one
> of the substituation servers?

Yes.

> If so, guix is not using it as it tries to build freecad, starting
> with a configure, where it then fails.
>
> What am I missing?
>
>
> I am using a manifest where some of the dependencies of freecad skip
> tests, as in:
>
> (options->transformation
>   '((without-tests . "ffmpeg")
> (without-tests . "hwloc")
> (without-tests . "hdf4-alt")
> (without-tests . "python-pandas")
> (without-tests . "gst-plugins-bad")
> (without-tests . "gtk")
> (without-tests . "qtbase")))
>
> these are needed for a number of packages on ppc64le.

Ah, so it seems a problem specific to the powerpc64le architecture.

By using transformations as above, the derivations are changed so you
must build them locally.  But it seems the problem is bigger than that,
as there's no substitute for the powerpc64le-linux system:

--8<---cut here---start->8---
$ guix weather freecad --system=powerpc64le-linux
calcul de 1 dérivations de paquets pour powerpc64le-linux…
recherche de 1 éléments du dépôt sur https://ci.guix.gnu.org...
https://ci.guix.gnu.org ⛈
  0.0 % des substituts sont disponibles (0 sur 1)
  taille des substituts inconnue
  0,0 Mo sur le disque (décompressé)
  0,609 secondes par requête (0,6 secondes en tout)
  1,6 requêtes par seconde

  0.0 % (0 sur 1) des éléments manquants sont dans la queue
  au moins 1 000 constructions dans la queue
  aarch64-linux : 986 (98.6 %)
  powerpc64le-linux : 10 (1.0 %)
  armhf-linux : 4 (.4 %)
  vitesse de construction : 60.75 constructions par l'heure
  i686-linux : 30.72 constructions par heure
  x86_64-linux : 26.97 constructions par heure
  powerpc64le-linux : 2.98 constructions par heure
  aarch64-linux : 0.87 constructions par heure
recherche de 1 éléments du dépôt sur https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ⛈
  0.0 % des substituts sont disponibles (0 sur 1)
  taille des substituts inconnue
  0,0 Mo sur le disque (décompressé)
  0,539 secondes par requête (0,5 secondes en tout)
  1,9 requêtes par seconde
  (informations sur l’intégration continue indisponibles)
--8<---cut here---end--->8---

The last failed completed build can be seen here:
https://ci.guix.gnu.org/build/1778461/details.

There are multiple packages that do not currently build on powerpc64le
as can be seen by inspecting the 'Dependencies' section on that page.
I've restarted some builds that were spurious CI failures (connection
timeouts), but some are real ones, such as for the
webkitgtk-with-libsoup2 transitive dependency [0]:

--8<---cut here---start->8---
FAILED: ext/aalib/libgstaasink.so 
gcc  -o ext/aalib/libgstaasink.so ext/aalib/libgstaasink.so.p/gstaasink.c.o 
ext/aalib/libgstaasink.so.p/gstaatv.c.o 
ext/aalib/libgstaasink.so.p/gstaaplugin.c.o -Wl,--as-needed -Wl,--no-undefined 
-shared -fPIC -Wl,--start-group -Wl,-soname,libgstaasink.so 
-Wl,-Bsymbolic-functions -Wl,-z,nodelete 
-Wl,-rpath=/gnu/store/275kk2wrasb9gqacaxz45a0x5s24qnd9-gst-plugins-good-1.22.2/lib
 
/gnu/store/0l9aglwxbrkva96c7lrh334gb31rwbxc-gst-plugins-base-1.22.2/lib/libgstvideo-1.0.so
 
/gnu/store/pm16mb257n6c0dh7g74ns3f54pzpwkly-gstreamer-1.22.2/lib/libgstbase-1.0.so
 
/gnu/store/pm16mb257n6c0dh7g74ns3f54pzpwkly-gstreamer-1.22.2/lib/libgstreamer-1.0.so
 /gnu/store/iz2my9wgqvv088hnirdyxfa3q14xbh3m-glib-2.72.3/lib/libgobject-2.0.so 
/gnu/store/iz2my9wgqvv088hnirdyxfa3q14xbh3m-glib-2.72.3/lib/libglib-2.0.so -laa 
-Wl,--end-group
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aarender.o):
 in function `aa_renderpalette':
(.text+0x708): undefined reference to `pow'
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0xe8):
 undefined reference to `curs_set'
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x130):
 undefined reference to `wrefresh'
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x18c):
 undefined reference to `wmove'
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):(.text+0x1d4):
 undefined reference to `waddnstr'
ld: 
/gnu/store/s2jbrqa6j96j00q69kdnp4xzijjdd7jf-aalib-1.4rc5/lib/../lib/libaa.a(aacurses.o):
 in function `curses_init':
(.text+0x248): undefined reference to `initscr'
ld: (.text+0x278): undefined reference to `termattrs'
ld: (.text+0x2d0): undefined reference to `intrflush'
ld: (.text+0x344): undefined reference to `wclear'
ld: (.text+0x354): undefined reference to `intrflush'
ld: (.text+0x360): 

bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2023-08-29 Thread Marcel van der Boom



This still fails for me, same error.

To be clear, substitutable means there is a binary available from 
one of the substituation servers?


If so, guix is not using it as it tries to build freecad, starting 
with a configure, where it then fails.


What am I missing?


I am using a manifest where some of the dependencies of freecad 
skip tests, as in:


(options->transformation
  '((without-tests . "ffmpeg")
(without-tests . "hwloc")
(without-tests . "hdf4-alt")
(without-tests . "python-pandas")
(without-tests . "gst-plugins-bad")
(without-tests . "gtk")
(without-tests . "qtbase")))

these are needed for a number of packages on ppc64le.





bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2023-08-28 Thread Maxim Cournoyer
Hi,

Marcel van der Boom  writes:

> [Thiago Jung Bauermann]:
>> Is this on master, or core-updates? On master, freecad-0.20.1 builds
>> fine on x86_64-linux, but on powerpc64le-linux it doesn't get built
>> because of a dependency failure:
>
> I get the same build failure in 'hdf4-alt' as you posted above. This
> is in the check phase on 'master' indeed.
>
> When building using '--without-tests=hdf4-alt' the error I submitted
> as bug appears. I should have mentioned that.

Closing this old bug report as freecad is currently substitutable with
Guix 1dce887.

-- 
Thanks,
Maxim





bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2022-08-30 Thread Marcel van der Boom



[Thiago Jung Bauermann]:
Is this on master, or core-updates? On master, freecad-0.20.1 
builds
fine on x86_64-linux, but on powerpc64le-linux it doesn't get 
built

because of a dependency failure:


I get the same build failure in 'hdf4-alt' as you posted 
above. This is in the check phase on 'master' indeed.


When building using '--without-tests=hdf4-alt' the error I 
submitted as bug appears. I should have mentioned that.






bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2022-08-29 Thread Thiago Jung Bauermann via Bug reports for GNU Guix


Hello Marcel,

Marcel van der Boom  writes:

> The freecad package fails to build. The following error is the 
> relevant part from the log.
>
> I'm on powerpc64le, which is usually somewhat problematic in 
> building. Not sure if that is relevant for this issue though.
>
> CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:28 
> (find_package):
>   By not providing "FindQt5WebKitWidgets.cmake" in 
>   CMAKE_MODULE_PATH this
>   project has asked CMake to find a package configuration file 
>   provided by
>   "Qt5WebKitWidgets", but CMake did not find one.
>
>   Could not find a package configuration file provided by 
>   "Qt5WebKitWidgets"
>   with any of the following names:
>
> Qt5WebKitWidgetsConfig.cmake
> qt5webkitwidgets-config.cmake
>
>   Add the installation prefix of "Qt5WebKitWidgets" to 
>   CMAKE_PREFIX_PATH or
>   set "Qt5WebKitWidgets_DIR" to a directory containing one of the 
>   above
>   files.  If "Qt5WebKitWidgets" provides a separate development 
>   package or
>   SDK, be sure it has been installed.
> Call Stack (most recent call first):
>   CMakeLists.txt:69 (include)
>
>
> -- Configuring incomplete, errors occurred!

Is this on master, or core-updates? On master, freecad-0.20.1 builds
fine on x86_64-linux, but on powerpc64le-linux it doesn't get built
because of a dependency failure:

--8<---cut here---start->8---
*** HDF-SD test fails ***
make[5]: *** [Makefile:1202: hdftest.chkexe_] Error 1
make[5]: Leaving directory 
'/tmp/guix-build-hdf4-alt-4.2.14.drv-0/hdf-4.2.14/mfhdf/test'
make[4]: *** [Makefile:1188: build-check-s] Error 2
make[4]: Leaving directory 
'/tmp/guix-build-hdf4-alt-4.2.14.drv-0/hdf-4.2.14/mfhdf/test'
make[3]: *** [Makefile:1183: test] Error 2
make[3]: Leaving directory 
'/tmp/guix-build-hdf4-alt-4.2.14.drv-0/hdf-4.2.14/mfhdf/test'
make[2]: *** [Makefile:999: check-am] Error 2
make[2]: Leaving directory 
'/tmp/guix-build-hdf4-alt-4.2.14.drv-0/hdf-4.2.14/mfhdf/test'
make[1]: *** [Makefile:428: check-recursive] Error 1
make[1]: Leaving directory 
'/tmp/guix-build-hdf4-alt-4.2.14.drv-0/hdf-4.2.14/mfhdf'
make: *** [Makefile:515: check-recursive] Error 1

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #< program: "make" arguments: ("check") exit-status: 2 
term-signal: #f stop-signal: #f>
phase `check' failed after 8.3 seconds
command "make" "check" failed with status 2
builder for `/gnu/store/1szzq357gdplnjd15kbs2m5zb3xrdz7q-hdf4-alt-4.2.14.drv' 
failed with exit code 1
build of /gnu/store/1szzq357gdplnjd15kbs2m5zb3xrdz7q-hdf4-alt-4.2.14.drv failed
View build log at 
'/var/log/guix/drvs/1s/zzq357gdplnjd15kbs2m5zb3xrdz7q-hdf4-alt-4.2.14.drv.gz'.
cannot build derivation 
`/gnu/store/a8df1igdk1b15x06bkk7rvyq1maqkf8v-netcdf-4.7.4.drv': 1 dependencies 
couldn't be built
applying 2 grafts for postgresql-13.7 ...
cannot build derivation 
`/gnu/store/35bapv6z5fsalaxapmhymj7m8z8yrjph-freecad-0.20.1.drv': 1 
dependencies couldn't be built
guix build: error: build of 
`/gnu/store/35bapv6z5fsalaxapmhymj7m8z8yrjph-freecad-0.20.1.drv' failed
--8<---cut here---end--->8---

Unfortunately I can't test on core-updates because of a kernel issue on
guixp9 which triggers a libaio testsuite failure, and thus most of
core-updates is unbuildable there...

-- 
Thanks
Thiago





bug#57402: FreeCAD build fails to configure / Qt5WebKitWidgets related.

2022-08-25 Thread Marcel van der Boom



The freecad package fails to build. The following error is the 
relevant part from the log.


I'm on powerpc64le, which is usually somewhat problematic in 
building. Not sure if that is relevant for this issue though.



--8<---cut here---start->8---
CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:28 
(find_package):
 By not providing "FindQt5WebKitWidgets.cmake" in 
 CMAKE_MODULE_PATH this
 project has asked CMake to find a package configuration file 
 provided by

 "Qt5WebKitWidgets", but CMake did not find one.

 Could not find a package configuration file provided by 
 "Qt5WebKitWidgets"

 with any of the following names:

   Qt5WebKitWidgetsConfig.cmake
   qt5webkitwidgets-config.cmake

 Add the installation prefix of "Qt5WebKitWidgets" to 
 CMAKE_PREFIX_PATH or
 set "Qt5WebKitWidgets_DIR" to a directory containing one of the 
 above
 files.  If "Qt5WebKitWidgets" provides a separate development 
 package or

 SDK, be sure it has been installed.
Call Stack (most recent call first):
 CMakeLists.txt:69 (include)


-- Configuring incomplete, errors occurred!
--8<---cut here---end--->8---