Your message dated Thu, 10 Sep 2026 20:22:22 +0100
with message-id 
<CAOnWdoidz=5N0e5RTwXi_V7=de_ergb_lrpn0p_bpi0ktgs...@mail.gmail.com>
and subject line Please refile this bug upstream
has caused the Debian Bug report #858024,
regarding Use -no-undefined with libtool
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
858024: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858024
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpaper1
Version: 1.1.24+nmu5
Source: libpaper

Compiling libpaper on Cygwin does not create a shared library for no good 
reason.

Commands used:
$ tar xf libpaper_1.1.24+nmu5.tar.gz
$ cd libpaper-1.1.24+nmu5
$ ./debian/autogen.sh
$ ./configure --disable-static
$ make
...
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -version-info 2:2:1  -o 
libpaper.la -rpath /usr/local/lib libpaper_la-dimen.lo libpaper_la-paper.lo  
libtool:   error: can't build x86_64-unknown-cygwin shared library unless 
-no-undefined is specified
make[3]: *** [Makefile:396: libpaper.la] Error 1
make[3]: Leaving directory '/usr/src/libpaper-1.1.24+nmu5/lib'
...

libpaper actually does not rely on undefined symbols, so -no-undefined
can be used for greater portability - like in the attached patch.

Thanks!
/haubi/
--- libpaper-1.1.24+nmu5.orig/lib/Makefile.am
+++ libpaper-1.1.24+nmu5/lib/Makefile.am
@@ -1,7 +1,7 @@
 
 lib_LTLIBRARIES = libpaper.la
 libpaper_la_SOURCES = dimen.c paper.c dimen.h paperspecs.h
-libpaper_la_LDFLAGS = -version-info 2:2:1
+libpaper_la_LDFLAGS = -no-undefined -version-info 2:2:1
 libpaper_la_CPPFLAGS = -D_REENTRANT
 
 BUILT_SOURCES = paperspecs.h

--- End Message ---
--- Begin Message ---
Hi,

libpaper has had a non-Debian upstream since version 2; please refile this
bug if it still applies at https://github.com/rrthomas/libpaper/

Thanks,

The libpaper maintainer

-- 
Web: rrt.sc3d.org

--- End Message ---

Reply via email to