#66556 closed defect (fixed)

poppler-qt4-mac: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *' (aka 'volatile unsigned long *')

Reported by: neilt (Neil Tiffin) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: cooljeanius (Eric Gallager), dliessi (Davide Liessi)
Port: poppler-qt4-mac

Description

version:1
:debug:main Starting logging for poppler-qt4-mac @0.61.1_3
:debug:sysinfo macOS 12.6.2 (darwin/21.6.0) arch i386
:debug:sysinfo MacPorts 2.8.0
:debug:sysinfo Xcode 14.2, CLT 14.2.0.0.1.1668646533
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler-qt4-mac/poppler-qt4-mac/work/poppler-0.61.1/glib/poppler-action.cc:28:1: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *' (aka 'volatile unsigned long *')

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler-qt4-mac/poppler-qt4-mac/work/poppler-0.61.1/glib/poppler-action.cc:96:1: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *' (aka 'volatile unsigned long *')

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler-qt4-mac/poppler-qt4-mac/work/poppler-0.61.1/glib/poppler-document.cc:1743:1: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *' (aka 'volatile unsigned long *')

Change History (7)

comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: Error Building poppler-qt4-macpoppler-qt4-mac: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&g_define_type_id__volatile))>::type *' (aka 'volatile unsigned long *')

comment:2 Changed 16 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 16 months ago by cooljeanius (Eric Gallager)

noticed this after rev-upgrade tried to rebuild it due to the tiff update; it's blocking the rest of the rebuilds that rev-upgrade is trying to do for me:

You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 emacs-app @28.2+imagemagick+rsvg+xwidgets
 djview @4.12
 squirrel-ime @0.15.2
 py27-Pillow @6.2.1
 py35-Pillow @6.2.1
 py39-wxpython-4.0 @4.1.1
 wxPython-3.0 @3.0.2+debug+stdlib
 emacs @28.2+dbus+imagemagick+motif+x11
 enblend @4.2
 oath-toolkit @2.6.6
 gegl-0.3 @0.3.34+html_doc+quartz+workshop
 poppler-qt4-mac @0.61.1

comment:4 Changed 15 months ago by dliessi (Davide Liessi)

Cc: dliessi added

comment:5 in reply to:  3 Changed 13 months ago by cooljeanius (Eric Gallager)

Replying to cooljeanius:

noticed this after rev-upgrade tried to rebuild it due to the tiff update; it's blocking the rest of the rebuilds that rev-upgrade is trying to do for me:

You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 emacs-app @28.2+imagemagick+rsvg+xwidgets
 djview @4.12
 squirrel-ime @0.15.2
 py27-Pillow @6.2.1
 py35-Pillow @6.2.1
 py39-wxpython-4.0 @4.1.1
 wxPython-3.0 @3.0.2+debug+stdlib
 emacs @28.2+dbus+imagemagick+motif+x11
 enblend @4.2
 oath-toolkit @2.6.6
 gegl-0.3 @0.3.34+html_doc+quartz+workshop
 poppler-qt4-mac @0.61.1

Now this list is:

You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 poedit1 @1.5.7+transmem
 stellarium @1.2+RemoteControl+python310
 enblend @4.2
 gdal @3.4.3+cfitsio+hdf4+hdf5+heif+libkml+lto+lzma+native+netcdf+openjpeg+poppler+postgresql13+proj7+xerces
 nomacs @3.16.224+debug
 qlandkartegt @1.8.1-macports-20200922+debug+proj7
 gnome-terminal @3.26.2+migration
 gpredict @202120807-0f3beb6a
 MediaInfo-gui @22.12
 podofo @0.9.7
 oath-toolkit @2.6.6
 gegl-0.3 @0.3.34+html_doc+quartz+workshop
 marble @4.14.3+debug+docs
 alembic @1.7.12+docs+hdf5
 lutok @0.4
 opencv3 @3.4.16+avx2+contrib+debug+eigen+gdal+java+nonfree+opencl+openmp+openni+qt5+tbb+tests+vtk
 llvm-10 @10.0.1+debug+emulated_tls+ocaml+polly
 lldb-10 @10.0.1+debug+emulated_tls
 poppler-qt4-mac @0.61.1
Continue? [Y/n]: 

comment:6 Changed 13 months ago by kencu (Ken)

upstream issue, leads to a potential patch:

https://gitlab.freedesktop.org/poppler/poppler/-/issues/1060

comment:7 Changed 13 months ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In dcfcfa91dbbfeb6bd7bcf19cd45453bdd2ba0b24/macports-ports (master):

poppler-qt4-mac: fix volatile

closes: #66556

Note: See TracTickets for help on using tickets.