Opened 2 weeks ago

Last modified 2 weeks ago

#69751 assigned defect

poppler @24.04.0_0: Couldn't find include 'GObject-2.0.gir'

Reported by: breun (Nils Breunese) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: deldotvee, kickingvegas (Charles Choi), dershow, dbevans (David B. Evans), captainproton1971 (Captain Proton), RobK88, neverpanic (Clemens Lang), wyuenho (Jimmy Yuen Ho Wong), randymortensen (Randy Mortensen), laughingtiger, amagela (Anthony M. Agelastos)
Port: poppler

Description

While trying to upgrade poppler 24.03.0_0 to 24.04.0 (sudo port upgrade poppler), I get this error on macOS 14.4.1 arm64:

:info:build Couldn't find include 'GObject-2.0.gir' (search path: '['/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-24.04.0/glib', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/.home/.local/share/gir-1.0', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/opt/local/share/gir-1.0', '/opt/local/share/gir-1.0', '/usr/share/gir-1.0']')
:info:build make[2]: *** [glib/Poppler-0.18.gir] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/build'
:info:build make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/build" && /usr/bin/make -j10 -w all CFLAGS="-Os -pipe -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64" LDFLAGS="-L/opt/local/libexec/boost/1.76/lib -Wl,-headerpad_max_install_names -liconv -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64" VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build poppler: command execution failed
:debug:build Error code: CHILDSTATUS 46693 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log for details.

Change History (13)

comment:1 Changed 2 weeks ago by JohnFHall (John Hall)

Same error occurs on Mac 10.13, Xcode 10.1.

comment:2 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: deldotvee mascguy kickingvegas added
Summary: poppler 24.04.0_0: Couldn't find include 'GObject-2.0.gir'poppler @24.04.0_0: Couldn't find include 'GObject-2.0.gir'

Has duplicate #69752.

comment:3 Changed 2 weeks ago by dershow

Cc: dershow added

comment:4 Changed 2 weeks ago by mascguy (Christopher Nielsen)

Cc: dbevans added; mascguy removed
Owner: changed from dbevans to mascguy

For everyone's awareness, I believe this is caused by the glib2/gobject-introspection failures seen, via issue:69748 / issue:69750. And this is simply a downstream failure.

So once I've gotten this sorted out - and currently digging into the details as this is being written - this should be resolved.

Don't hesitate to CC yourself on those other two tickets too, though I'll certainly keep all of this updated as progress is made.

comment:5 Changed 2 weeks ago by captainproton1971 (Captain Proton)

Cc: captainproton1971 added

comment:6 Changed 2 weeks ago by RobK88

Cc: RobK88 added

comment:7 Changed 2 weeks ago by neverpanic (Clemens Lang)

Cc: neverpanic added

comment:8 Changed 2 weeks ago by wyuenho (Jimmy Yuen Ho Wong)

Cc: wyuenho added

comment:9 Changed 2 weeks ago by randymortensen (Randy Mortensen)

Cc: randymortensen added

comment:10 Changed 2 weeks ago by laughingtiger

Cc: laughingtiger added

comment:11 Changed 2 weeks ago by eirnym (Eir Nym)

The same for pango and other tools and libraries which depend on \GObject-2.0.gir. Thus I can't build ffmpeg6 and few other tools I use.

I can't revert in this case as it's a fresh install

comment:12 Changed 2 weeks ago by amagela (Anthony M. Agelastos)

Cc: amagela added

comment:13 Changed 2 weeks ago by mascguy (Christopher Nielsen)

For anyone who isn't CCed on issue:69748, we've gone ahead and reverted glib2 and gobject-introspection to their previous versions.

Wait at least 3-4 hours - we're still rev-bumping dependent ports, to ensure any broken binaries are fixed - and then resync your ports tree via sudo port selfupdate. Then upgrade all ports.

Note: See TracTickets for help on using tickets.