Re: definition of UDF_INIT missing in mariadb-connector-c-devel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm the package maintainer of mariadb-connector-c.
I began to investigate.

I think I already found the possible cause and solution, I'll continue
the discussion in the BZ ticket.

Thanks for the heads up.

Michal

--

Michal Schorm
Software Engineer
Databases Team
Red Hat

--

On Thu, Feb 27, 2025 at 8:30 AM Martin Gansser <martin.gansser@xxxxxxxxx> wrote:
>
> Hi,
>
> I want to compile the package vdr-epg-daemon for rawhide, but this fails because in the devel-package mariadb-connector-c-devel-3.4.4-1.fc43.x86_64.rpm the definition of mariadb_com.h:} UDF_INIT; is no longer available.
> Is there a way to re-enable this definition or get it from another package.
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1. rpmbuild -ba vdr-epg-daemon.spec [1]
>
> Actual Results:
> fails with this error message:
> gcc -c  -Wall -fPIC -L/usr/lib64/mariadb -L/usr/lib64/ -lmariadb -I/usr/include/mysql -I/usr/include/mysql/mysql -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -I/usr/include/mysql -I/usr/include/mysql/mysql -I/usr/include/python3.13 -I/usr/include/python3.13 -ggdb -fno-stack-protector -O -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/mysql -I/usr/include/mysql/mysql -I/usr/include/python3.13 -I/usr/include/python3.13 -ggdb -fno-stack-protector -O -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -shared src/epglvbase.c -o src/
epglvbase.o        make[1]: Leaving directory '/builddir/build/BUILD/vdr-epg-daemon-1.3.29-build/vdr-epg-daemon-1.3.29/epglv' In file included from src/epglvbase.c:10: src/epglv.h:44:25: error: unknown type name ‘UDF_INIT’ 44 | my_bool base_epglv_init(UDF_INIT* init, UDF_ARGS* args, char* message); |                         ^~~~~~~~ src/epglv.h:44:41: error: unknown type name ‘UDF_ARGS’ 44 | my_bool base_epglv_init(UDF_INIT* init, UDF_ARGS* args, char* message); |                                         ^~~~~~~~ src/epglv.h:45:24: error: unknown type name ‘UDF_INIT’ 45 | void base_epglv_deinit(UDF_INIT* init); |                        ^~~~~~~~ src/epglv.h:46:22: error: unknown type name ‘UDF_INIT’ 46 | long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, |                      ^~~~~~~~ src/epglv.h:46:38: error: unknown type name ‘UDF_ARGS’ 46 | long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, |                                      ^~~~~~~~ src/epglvbase.c:47:25: error: unknown type name ‘UDF_INIT’ 47 | my_bool base_epglv_init(UDF_INIT* init, UDF_ARGS* args, char* message) |                         ^~~~~~~~ src/epglvbase.c:47:41: error: unknown type name ‘UDF_ARGS’ 47 | my_bool base_epglv_init(UDF_INIT* init, UDF_ARGS* args, char* message) |                                         ^~~~~~~~ src/epglvbase.c:100:24: error: unknown type name ‘UDF_INIT’ 100 | void base_epglv_deinit(UDF_INIT* init) |                        ^~~~~~~~ src/epglvbase.c:125:22: error: unknown type name ‘UDF_INIT’ 125 | long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, char* error, |                      ^~~~~~~~ src/epglvbase.c:125:38: error: unknown type name ‘UDF_ARGS’ 125 | long long base_epglv(UDF_INIT* init, UDF_ARGS* args, char* is_null, char* error, |                                      ^~~~~~~~ make[1]: *** [Makefile:52: src/epglvbase.o] Error 1
>
> Expected Results:
> compilig w/o errors
>
> [1} https://src.fedoraproject.org/rpms/vdr-epg-daemon/blob/rawhide/f/vdr-epg-daemon.spec
> Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2347087
>
> How can I solve this ?
>
> Regards
> Martin
> --
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux