[ITA] libexif-0.6.22-1
Lemures Lemniscati
lemures.lemniscati@gmail.com
Thu Dec 31 09:32:37 GMT 2020
On Thu, 31 Dec 2020 09:49:33 +0100, Achim Gratz
> Achim Gratz writes:
> > # Work around a libpopt-devel-1.16-2 packaging issue that causes the error:
> > # libtool: error: cannot find the library '/usr/lib/libintl.la' or unhandled argument '/usr/lib/libintl.la'
> > # See http://www.cygwin.com/ml/cygwin-apps/2017-07/msg00005.html
> > - cmd: if [%CONFIG%]==[cygwin] (
> > C:\%CONFIG%\bin\bash -e -l -c "rm /usr/lib/libpopt.la" )
> >
> > …and indeed that makes things work. :-)
>
> This is the reason it works on the CI:
>
> curl -fsSL https://gist.githubusercontent.com/jon-turney/0338af595313f598bfab15a0ac0df847/raw/bd0eeca6be899e7846aa988fbcf15e4e12f5f842/zp_libtool_cleanlafiles.sh -o %CYGWIN_ROOT%\etc\postinstall\zp_libtool_cleanlafiles.sh
>
> --8<---------------cut here---------------start------------->8---
> rmla=()
> for la in $(find /usr/lib/ -maxdepth 1 -name '*.la')
> do
> # modules in /usr/lib (e.g. aRts, guile) are generally libltdl-based
> if grep -q '^shouldnotlink=yes$' $la
> then
> continue
> fi
> case ${la##*/} in
> # ltdl.m4 requires this to be present
> libltdl.la) continue ;;
> # gnucash relies on .la loading due to the 'cyg' prefix
> libgnc-*.la) continue ;;
> esac
>
> rmla+=($la)
> done
>
> rm -f ${rmla[*]}
> --8<---------------cut here---------------end--------------->8---
>
>
>
> Regards,
> Achim.
Thank you very much!
It works like a magic.
libpopt-devel-1.16-2 for x86 has /usr/lib/libpopt.la
$ uname -srm; cygcheck -c libpopt-devel; cygcheck -l libpopt-devel
CYGWIN_NT-10.0-WOW 3.1.7(0.340/5/3) i686
Cygwin Package Information
Package Version Status
libpopt-devel 1.16-2 Incomplete
/usr/include/popt.h
/usr/lib/libpopt.dll.a
/usr/lib/libpopt.la
/usr/lib/pkgconfig/popt.pc
/usr/share/man/man3/popt.3.gz
Regards,
Lem
P.S. By the way, I'm also planning to package popt :)
More information about the Cygwin-apps
mailing list