Download raw body.
textproc/wkhtmltopdf build failure
let's just kill it, chromium headless works now.
--
Sent from a phone, apologies for poor formatting.
On 12 May 2025 15:55:29 Christian Weisgerber <naddy@mips.inka.de> wrote:
> textproc/wkhtmltopdf failed to build in my latest amd64 bulk build:
>
> ------------------->
> c++ -c -pipe --std=gnu++98 -O2 --std=gnu++98 -pthread -fPIC -Wall -W -fPIC
> -DENABLE_VIDEO=0 -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII
> -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I/usr/obj/ports/wkhtmltopdf-0.12.6.1/wkhtmltopdf-024b2b2bb459dd904d15b911d04c6df4ff2c9031/qt/mkspecs/openbsd-g++
> -I/usr/obj/ports/wkhtmltopdf-0.12.6.1/wkhtmltopdf-024b2b2bb459dd904d15b911d04c6df4ff2c9031/qt/src/plugins/sqldrivers/tds
> -I../../../../include/QtCore -I../../../../include/QtSql
> -I../../../../include -I.moc/release-static -I/usr/local/include -I. -o
> .obj/release-static/main.o
> /usr/obj/ports/wkhtmltopdf-0.12.6.1/wkhtmltopdf-024b2b2bb459dd904d15b911d04c6df4ff2c9031/qt/src/plugins/sqldrivers/tds/main.cpp
> In file included from
> /usr/obj/ports/wkhtmltopdf-0.12.6.1/wkhtmltopdf-024b2b2bb459dd904d15b911d04c6df4ff2c9031/qt/src/plugins/sqldrivers/tds/main.cpp:50:
> In file included from
> /usr/obj/ports/wkhtmltopdf-0.12.6.1/wkhtmltopdf-024b2b2bb459dd904d15b911d04c6df4ff2c9031/qt/src/plugins/sqldrivers/tds/../../../sql/drivers/tds/qsql_tds.h:60:
> In file included from /usr/local/include/sybfront.h:23:
> In file included from /usr/local/include/sybdb.h:31:
> /usr/local/include/tds_sysdep_public.h:55:28: error: typedef redefinition
> with different types ('long' vs '__int64_t' (aka 'long long'))
> typedef signed long int64_t; /* 64-bit int */
> ^
> /usr/include/sys/types.h:105:20: note: previous definition is here
> typedef __int64_t int64_t;
> ^
> <-------------------
>
> Looking at tds_sysdep_public.h, I see that it would usually include
> <stdint.h>, but --std=gnu++98 causes a fallback to hand-rolled
> typedefs for the standard types. I don't know why the port failed
> to build in this instance, but not previously; maybe it picked up
> tds_sysdep_public.h only by accident?
>
> The complete build log is absurdly large, 117M, even the .xz is
> still 0.5M, so I won't include it here.
>
> --
> Christian "naddy" Weisgerber naddy@mips.inka.de
textproc/wkhtmltopdf build failure