Opened 6 months ago
Last modified 6 months ago
#69594 assigned defect
Totem install fails during installing phase of gtkdoc. — at Version 3
Reported by: | christophecvr (christophecvr) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.99 |
Keywords: | Cc: | mascguy (Christopher Nielsen) | |
Port: | totem |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
On my macbookpro mid 2010 so I'm limited to 10.13.6 (High Sierra). The totem does build fine but fails during install phase self. Looks to be a python related issue with gtk-doc. I had also A couple off warnings about wrong escape sequence from python script /opt/local/share/gtk-doc/python/gtkdoc/scan.py which I solved by correcting the escape sequence in a string '\...'
by depending where r'\s...'
or '\\s'
. But anyway this was not required since at this stage it is still only a warning and will become a error as from python 3.6 . As far I can see we are using python 3.1.2 .
I cleaned totem rebuild yes those warning are gone but still a real error. It looks python related. Included with this ticket. main totem build log and terminal-out txt. I build with option -v.
Change History (5)
Changed 6 months ago by christophecvr (christophecvr)
Attachment: | totem-build-main.log added |
---|
Changed 6 months ago by christophecvr (christophecvr)
Attachment: | Totem-build-v-term-out.txt added |
---|
Terminal output text of totem build with -v option
comment:1 Changed 6 months ago by christophecvr (christophecvr)
Description: | modified (diff) |
---|
comment:2 Changed 6 months ago by christophecvr (christophecvr)
Description: | modified (diff) |
---|
comment:3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mascguy added; clang removed |
---|---|
Description: | modified (diff) |
Owner: | set to dbevans |
Status: | new → assigned |
Generally ports should be using python 3.12 at this time. (It's 3.12, not 3.1.2.)
Unfortunately, determining which python version is used for what is a bit confusing here:
- totem has variants to let you select which python version it uses: python38, python39, python310. The default is python310. Ideally we would add python311 and python312 to that list and make python312 the default since python312 is the currently recommended version.
- totem uses meson. meson uses python312.
- totem uses gtk-doc. gtk-doc has variants to let you select which python version it uses: python38, python39, python310, python311, python312. The default is python312.
The warnings about invalid escape sequences are new in python 3.12 and we've seen them in many other ports when updating them to python 3.12. As far as I know these are only warnings and don't affect functionality but should still be fixed. See https://docs.python.org/3/library/re.html
And yes you're right the error seems to be:
:info:destroot Building documentation for totem :info:destroot ERROR: Error in gtkdoc helper script: :info:destroot ERROR: ['/opt/local/bin/gtkdoc-scangobj', '--types=/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/totem-3.38.2/docs/reference/totem.types', '--module=totem', '--run=', '--cflags=-I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/totem-3.38.2/src/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/src/. -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/orc-0.4 -I/opt/local/include/clutter-1.0 -I/opt/local/include/cogl -I/opt/local/include/atk-1.0 -I/opt/local/include/json-glib-1.0 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/fribidi -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/clutter-gst-3.0 -I/opt/local/include/clutter-gtk-1.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gsettings-desktop-schemas -I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/pygobject-3.0 -I/opt/local/include/totem-pl-parser/1/plparser -I/opt/local/include/libxml2 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include/libpeas-1.0 -I/opt/local/include/grilo-0.3 -I/opt/local/include/gnome-desktop-3.0 -DLIBGD_GTK_HACKS=1 -DLIBGD__VIEW_COMMON=1 -DLIBGD_MAIN_ICON_VIEW=1 -DLIBGD_MAIN_LIST_VIEW=1 -DLIBGD_MAIN_VIEW=1 -DLIBGD_TAGGED_ENTRY=1 -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/totem-3.38.2/src/gst/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/src/gst/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/totem-3.38.2/src/backend/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/src/backend/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/totem-3.38.2/subprojects/libgd/. -I/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/subprojects/libgd/. -pipe -Os -arch x86_64 -I/opt/local/include -DHAVE_CONFIG_H -D_REENTRANT -DGCONF_DISABLE_DEPRECATED -DGCONF_DISABLE_SINGLE_INCLUDES -DBONOBO_DISABLE_DEPRECATED -DBONOBO_DISABLE_SINGLE_INCLUDES -DBONOBO_UI_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_SINGLE_INCLUDES -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_SINGLE_INCLUDES -DLIBGLADE_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_SINGLE_INCLUDES -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_SINGLE_INCLUDES -DWNCK_DISABLE_DEPRECATED -DWNCK_DISABLE_SINGLE_INCLUDES -DLIBSOUP_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_SINGLE_INCLUDES -fno-strict-aliasing -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith', '--ldflags=-L/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/src -Wl,-rpath,/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/src -L/opt/local/lib -Wl,-rpath,/opt/local/lib -ltotem -L/opt/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lgstbase-1.0 -lgstpbutils-1.0 -lgstaudio-1.0 -lgstvideo-1.0 -lgsttag-1.0 -lclutter-1.0 -lcogl-path -latk-1.0 -lcogl-pango -lcogl -lgmodule-2.0 -lXrandr -ljson-glib-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lX11 -lXext -lXdamage -lXfixes -lXcomposite -lXi -lclutter-gst-3.0 -lclutter-gtk-1.0 -lgtk-3 -lm -ltotem-plparser -lgirepository-1.0 -lpeas-1.0 -lpeas-gtk-1.0 -lgrilo-0.3 -lxml2 -lgrlpls-0.3 -lgnome-desktop-3 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -pipe -Os -arch x86_64 -I/opt/local/include', '--cc=/usr/bin/clang', '--ld=/usr/bin/clang', '--output-dir=/opt/local/var/macports/build/_opt_mports_macports-ports_gnome_totem/totem/work/build/docs/reference'] failed with status 245 :info:destroot 2024-03-26 12:15:55,980:scangobj.py:execute_command:1199:WARNING:Running scanner failed: -11, command: ./totem-scan
Totem-build-main.log