Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lftp-4.9.3 build fails if use --with-modules and --with-openssl #743

Open
4fury-c3440d8 opened this issue Nov 9, 2024 · 1 comment
Open

Comments

@4fury-c3440d8
Copy link

gcc-13.3.0
kernel-headers-5.15.171
glibc-2.39
openssl-3.3.2

configured with

--prefix=/usr',
--with-modules',
--with-openssl',
--disable-static

build log

mv -f .deps/MirrorJob.Tpo .deps/MirrorJob.Plo
/bin/sh ../libtool --silent  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -avoid-version -rpath /usr/lib/lftp/4.9.3 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -o liblftp-pty.la -rpath /usr/lib/lftp/4.9.3 PtyShell.lo lftp_pty.lo SSH_Access.lo  -lcurses  -lidn2
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_init_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:81: multiple definition of `md5_init_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:81: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_process_bytes':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:87: multiple definition of `md5_process_bytes'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:87: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_process_block':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:90: multiple definition of `md5_process_block'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:90: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_finish_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:96: multiple definition of `md5_finish_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:96: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_buffer':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:100: multiple definition of `md5_buffer'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:100: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_read_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:104: multiple definition of `md5_read_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:104: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_init_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:81: multiple definition of `sha1_init_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:81: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_process_bytes':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:87: multiple definition of `sha1_process_bytes'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:87: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_process_block':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:90: multiple definition of `sha1_process_block'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:90: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_finish_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:96: multiple definition of `sha1_finish_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:96: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_buffer':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:100: multiple definition of `sha1_buffer'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:100: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_read_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:104: multiple definition of `sha1_read_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:104: first defined here
mv -f .deps/Bencode.Tpo .deps/Bencode.Plo
/bin/sh ../libtool --silent  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -avoid-version -rpath /usr/lib/lftp/4.9.3 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -o liblftp-network.la -rpath /usr/lib/lftp/4.9.3 liblftp_network_la-NetAccess.lo liblftp_network_la-Resolver.lo liblftp_network_la-lftp_ssl.lo liblftp_network_la-buffer_ssl.lo liblftp_network_la-RateLimit.lo liblftp_network_la-network.lo liblftp_network_la-buffer_zlib.lo   -lssl -lcrypto   ../lib/libgnu.la -L/usr/lib -lz -lcurses  -lidn2
/bin/sh ../libtool --silent  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -module -avoid-version -rpath /usr/lib/lftp/4.9.3 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -o proto-file.la -rpath /usr/lib/lftp/4.9.3 LocalAccess.lo  -lcurses  -lidn2
mv -f .deps/TorrentTracker.Tpo .deps/TorrentTracker.Plo
/bin/sh ../libtool --silent  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -module -avoid-version -rpath /usr/lib/lftp/4.9.3 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -o cmd-mirror.la -rpath /usr/lib/lftp/4.9.3 MirrorJob.lo  -lcurses  -lidn2
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_init_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:81: multiple definition of `md5_init_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:81: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_process_bytes':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:87: multiple definition of `md5_process_bytes'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:87: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_process_block':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:90: multiple definition of `md5_process_block'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:90: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_finish_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:96: multiple definition of `md5_finish_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:96: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_buffer':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:100: multiple definition of `md5_buffer'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:100: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-md5.o): in function `md5_read_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5.c:104: multiple definition of `md5_read_ctx'; ../lib/.libs/libgnu.a(libgnu_la-md5-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/md5-stream.c:104: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_init_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:81: multiple definition of `sha1_init_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:81: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_process_bytes':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:87: multiple definition of `sha1_process_bytes'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:87: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_process_block':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:90: multiple definition of `sha1_process_block'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:90: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_finish_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:96: multiple definition of `sha1_finish_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:96: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_buffer':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:100: multiple definition of `sha1_buffer'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:100: first defined here
/usr/bin/ld: ../lib/.libs/libgnu.a(libgnu_la-sha1.o): in function `sha1_read_ctx':
/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1.c:104: multiple definition of `sha1_read_ctx'; ../lib/.libs/libgnu.a(libgnu_la-sha1-stream.o):/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/lib/sha1-stream.c:104: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2807: liblftp-tasks.la] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/SFtp.Tpo .deps/SFtp.Plo
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2801: liblftp-network.la] Error 1
mv -f .deps/ftpclass.Tpo .deps/ftpclass.Plo
mv -f .deps/DHT.Tpo .deps/DHT.Plo
mv -f .deps/Torrent.Tpo .deps/Torrent.Plo
make[2]: Leaving directory '/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3/src'
make[1]: *** [Makefile:2414: all-recursive] Error 1
make[1]: Leaving directory '/var/pisi/lftp-4.9.3-2/work/lftp-4.9.3'
make: *** [Makefile:2359: all] Error 2
DEBUG: return value for "make -j8" is 2
@4fury-c3440d8 4fury-c3440d8 changed the title lftp-4.9.3 build fails if use --with-modules lftp-4.9.3 build fails if use --with-modules and --with-openssl Nov 19, 2024
@4fury-c3440d8
Copy link
Author

Update gnulib to this commit if you please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant