﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
22627	Inkscape FTBFS with poppler-26.01.0	Douglas R. Reno	Bruce Dubbs	"Inkscape doesn't build with poppler-26.01.0:

{{{
/sources/inkscape-1.4.3/inkscape-1.4.3_2025-12-25_0d15f75042/src/extension/internal/pdfinput/pdf-input.cpp: In destructor ‘virtual Inkscape::Extension::Internal::PdfImportDialog::~PdfImportDialog()’:
/sources/inkscape-1.4.3/inkscape-1.4.3_2025-12-25_0d15f75042/src/extension/internal/pdfinput/pdf-input.cpp:286:13: error: ‘gfree’ was not declared in this scope; did you mean ‘g_free’?
  286 |             gfree(_thumb_data);
      |             ^~~~~
      |             g_free
/sources/inkscape-1.4.3/inkscape-1.4.3_2025-12-25_0d15f75042/src/extension/internal/pdfinput/pdf-input.cpp: In member function ‘void Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)’:
/sources/inkscape-1.4.3/inkscape-1.4.3_2025-12-25_0d15f75042/src/extension/internal/pdfinput/pdf-input.cpp:514:13: error: ‘gfree’ was not declared in this scope; did you mean ‘g_free’?
  514 |             gfree(_thumb_data);
      |             ^~~~~
      |             g_free
}}}

I was able to work around this one with:

sed -i 's/gfree/g_free/' src/extension/internal/pdfinput/pdf-input.cpp 

After that though, I got an error about the reset function similar to what we saw in Libreoffice, so I did another sed for that:

sed -i 's/gfree/g_free/' src/extension/internal/pdfinput/pdf-input.cpp 

Now though I'm getting hit with:


{{{
/sources/inkscape-1.4.3/inkscape-1.4.3_2025-12-25_0d15f75042/src/extension/internal/pdfinput/svg-builder.cpp:1632:42: error: ‘gmallocn’ was not declared in this scope; did you mean ‘malloc’?
 1632 |     auto cairo_glyphs = (cairo_glyph_t *)gmallocn(_glyphs.size(), sizeof(cairo_glyph_t));
      |                                          ^~~~~~~~
      |                                          malloc
}}}

This one I'm not sure about. That seems to be a wrapper that used to be in the xpdf headers."	defect	closed	normal	13.0	BOOK	git	medium	fixed		
