projects/guix·blob python-team · refs

44 lines · 2.0 KiB

1diff -urN a/lib/Makefile.am b/lib/Makefile.am
2
3Without this patch the build phase fails during linking with:
4
5ld:./libguestfs.syms: file format not recognized; treating as linker script
6ld:./libguestfs.syms:23: syntax error
7collect2: error: ld returned 1 exit status
8make[3]: *** [Makefile:1252: libguestfs.la] Error 1
9make[3]: *** Waiting for unfinished jobs....
10Wide character in print at /tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/podwrapper.pl line 633.
11touch stamp-guestfs.pod
12make[3]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib'
13make[2]: *** [Makefile:1161: all] Error 2
14make[2]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib'
15make[1]: *** [Makefile:1083: all-recursive] Error 1
16make[1]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1'
17make: *** [Makefile:989: all] Error 2
18error: in phase 'build': uncaught exception:
19
20--- a/lib/Makefile.am 2023-07-20 17:35:16.489080853 +0200
21+++ b/lib/Makefile.am 2023-07-20 17:35:47.305793499 +0200
22@@ -160,8 +160,7 @@
23 # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'.
24 # Include the version script to limit which symbols are exported.
25 libguestfs_la_LDFLAGS = \
26- -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \
27- $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms
28+ -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
29
30 if HAVE_FUSE
31 # XXX Unfortunately FUSE_CFLAGS defines _FILE_OFFSET_BITS=64.
32diff -urN a/lib/Makefile.in b/lib/Makefile.in
33--- a/lib/Makefile.in 2023-07-20 17:35:16.489080853 +0200
34+++ b/lib/Makefile.in 2023-07-20 17:36:05.474213641 +0200
35@@ -1109,8 +1109,7 @@
36 # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'.
37 # Include the version script to limit which symbols are exported.
38 libguestfs_la_LDFLAGS = \
39- -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \
40- $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms
41+ -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
42
43 @HAVE_LIBVIRT_TRUE@libvirt_is_version_SOURCES = libvirt-is-version.c
44 @HAVE_LIBVIRT_TRUE@libvirt_is_version_LDADD = \