Re: FC35: undefined symbol: PyObject_Repr

2022-01-29 Thread Martin Gansser
yes that did the trick.

Thanks very much

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Mamoru TASAKA

Mamoru TASAKA wrote on 2022/01/29 8:00:

Martin Gansser wrote on 2022/01/28 22:05:

but building [1] on rawhide it fails with this error [2]:

/usr/bin/ld: cannot open linker script file 
/builddir/build/BUILD/vdr-2.6.0/.package_note-vdr-2.6.0-3.fc36.x86_64.ld: No 
such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:167: libvdr-epg2vdr.so] Error 1

[1] https://martinkg.fedorapeople.org/ErrorReports/vdr-epg2vdr.spec
[2] https://kojipkgs.fedoraproject.org//work/tasks/4542/82064542/build.log

Regards
Martin


This is that /usr/lib64/vdr/plugins.mk or /usr/lib64/vdr/Make.config in 
vdr-config
being embedding ldflags generated from package_notes .


Not vdr-config but vdr-devel rpm
Mamoru



This is very annoying... Now I think package_notes side has to reconsider this.
For now, you can add

%undefine _package_note_flags

in vdr.spec and rebuild vdr first, then build vdr-epg2vdr again.

Regards,
Mamoru
___

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Mamoru TASAKA

Martin Gansser wrote on 2022/01/28 22:05:

but building [1] on rawhide it fails with this error [2]:

/usr/bin/ld: cannot open linker script file 
/builddir/build/BUILD/vdr-2.6.0/.package_note-vdr-2.6.0-3.fc36.x86_64.ld: No 
such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:167: libvdr-epg2vdr.so] Error 1

[1] https://martinkg.fedorapeople.org/ErrorReports/vdr-epg2vdr.spec
[2] https://kojipkgs.fedoraproject.org//work/tasks/4542/82064542/build.log

Regards
Martin


This is that /usr/lib64/vdr/plugins.mk or /usr/lib64/vdr/Make.config in 
vdr-config
being embedding ldflags generated from package_notes .

This is very annoying... Now I think package_notes side has to reconsider this.
For now, you can add

%undefine _package_note_flags

in vdr.spec and rebuild vdr first, then build vdr-epg2vdr again.

Regards,
Mamoru
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Vitaly Zaitsev via devel

On 28/01/2022 14:05, Martin Gansser wrote:

/usr/bin/ld: cannot open linker script file 
/builddir/build/BUILD/vdr-2.6.0/.package_note-vdr-2.6.0-3.fc36.x86_64.ld: No 
such file or directory


This a package notes regression:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/WZKX43VDK4R7BJMA3DEPOHY35RHMGDRX/

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Martin Gansser
but building [1] on rawhide it fails with this error [2]:

/usr/bin/ld: cannot open linker script file 
/builddir/build/BUILD/vdr-2.6.0/.package_note-vdr-2.6.0-3.fc36.x86_64.ld: No 
such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:167: libvdr-epg2vdr.so] Error 1

[1] https://martinkg.fedorapeople.org/ErrorReports/vdr-epg2vdr.spec
[2] https://kojipkgs.fedoraproject.org//work/tasks/4542/82064542/build.log

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Martin Gansser
ok, i solved this by changing pyhton to python3 in the spec file.

# use python3
sed -i -e 's|PYTHON ?= python|PYTHON ?= python3|' Make.config

Thanks
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Mamoru TASAKA

Martin Gansser wrote on 2022/01/28 21:19:

Hi,

vdr plugin vdr-epg2vdr prints the following message to the log file [1]:

vdr[30484]: [30484] loading plugin: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7
vdr[30484]: [30484] ERROR: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined 
symbol: PyObject_Repr
runvdr[30484]: vdr: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined symbol: 
PyObject_Repr

the reason is, that  libpython3.10.so.1.0 isn't linked

when building this plugin [2] on my local computer, all is fine, the missing 
pyhton lib is linked.

$ ldd /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7
linux-vdso.so.1 (0x7fff4c79b000)
libm.so.6 => /lib64/libm.so.6 (0x7ff1caaa5000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x7ff1ca7b7000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x7ff1ca7ae000)
libtinyxml2.so.7 => /lib64/libtinyxml2.so.7 (0x7ff1ca796000)
libmariadb.so.3 => /lib64/libmariadb.so.3 (0x7ff1ca74)
== libpython3.10.so.1.0 => /lib64/libpython3.10.so.1.0 (0x7ff1ca3ee000) 
==
libjansson.so.4 => /lib64/libjansson.so.4 (0x7ff1ca3dc000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x7ff1ca1bd000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7ff1ca1a2000)
libc.so.6 => /lib64/libc.so.6 (0x7ff1c9f98000)
/lib64/ld-linux-x86-64.so.2 (0x7ff1cac4)
libz.so.1 => /lib64/libz.so.1 (0x7ff1c9f7e000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x7ff1c9ee1000)

how can i solve this ?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2047493
[2] 
https://src.fedoraproject.org/rpms/vdr-epg2vdr/blob/rawhide/f/vdr-epg2vdr.spec

Regards
Martin


https://koji.fedoraproject.org/koji/buildinfo?buildID=1872504
https://kojipkgs.fedoraproject.org//packages/vdr-epg2vdr/1.2.5/1.fc35/data/logs/x86_64/build.log

build log contains "make: python: No such file or directory" - maybe this is 
related.
Maybe build script searches no-versioned "python", which may exist on your 
local computer
when python-unversioned-command rpm is installed. On koji build, you may have to
use "python3" explicitly somehow.

Regards,
Mamoru
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


FC35: undefined symbol: PyObject_Repr

2022-01-28 Thread Martin Gansser
Hi,

vdr plugin vdr-epg2vdr prints the following message to the log file [1]:

vdr[30484]: [30484] loading plugin: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7
vdr[30484]: [30484] ERROR: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined 
symbol: PyObject_Repr
runvdr[30484]: vdr: /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7: undefined symbol: 
PyObject_Repr

the reason is, that  libpython3.10.so.1.0 isn't linked

when building this plugin [2] on my local computer, all is fine, the missing 
pyhton lib is linked.

$ ldd /usr/lib64/vdr/libvdr-epg2vdr.so.2.4.7
linux-vdso.so.1 (0x7fff4c79b000)
libm.so.6 => /lib64/libm.so.6 (0x7ff1caaa5000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x7ff1ca7b7000)
libuuid.so.1 => /lib64/libuuid.so.1 (0x7ff1ca7ae000)
libtinyxml2.so.7 => /lib64/libtinyxml2.so.7 (0x7ff1ca796000)
libmariadb.so.3 => /lib64/libmariadb.so.3 (0x7ff1ca74)
== libpython3.10.so.1.0 => /lib64/libpython3.10.so.1.0 
(0x7ff1ca3ee000) ==
libjansson.so.4 => /lib64/libjansson.so.4 (0x7ff1ca3dc000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x7ff1ca1bd000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7ff1ca1a2000)
libc.so.6 => /lib64/libc.so.6 (0x7ff1c9f98000)
/lib64/ld-linux-x86-64.so.2 (0x7ff1cac4)
libz.so.1 => /lib64/libz.so.1 (0x7ff1c9f7e000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x7ff1c9ee1000)

how can i solve this ?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2047493
[2] 
https://src.fedoraproject.org/rpms/vdr-epg2vdr/blob/rawhide/f/vdr-epg2vdr.spec

Regards
Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure