Problem with building packages (missing libjpeg.la)

Hi, Building cups-filter (and openjpeg) I noticed following problem. /bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory libtool: error: '/usr/lib/libjpeg.la' is not a valid libtool archive make[1]: *** [Makefile:2509: libfontembed.la] Error 1 make[1]: Leaving directory '/home/build/cups-filters/src/cups-filters-1.24.0' make: *** [Makefile:2086: all] Error 2 =======> ERROR: Building '/usr/ports/opt/cups-filters/cups-filters#1.24.0-1.pkg.tar.gz' failed. I don't see libjpeg.la in any package. What's wrong? Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124

I had this same issue and got help on IRC (thanks jaeger). libjpeg-turbo now produces libjpeg.a instead of libjpeg.la. To find and rebuild all ports that are affected by this change: prt-get -fr update $(for f in $(grep -lrs libjpeg.la /usr/lib); do pkginfo -o $f | awk '!/^Package/ {print $1}'; done | sort -u) On Sat, Jun 8, 2019 at 12:17 PM Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Hi, Building cups-filter (and openjpeg) I noticed following problem.
/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory libtool: error: '/usr/lib/libjpeg.la' is not a valid libtool archive make[1]: *** [Makefile:2509: libfontembed.la] Error 1 make[1]: Leaving directory '/home/build/cups-filters/src/cups-filters-1.24.0' make: *** [Makefile:2086: all] Error 2 =======> ERROR: Building '/usr/ports/opt/cups-filters/cups-filters#1.24.0-1.pkg.tar.gz' failed.
I don't see libjpeg.la in any package. What's wrong?
Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux

Fixed! On Sat, 8 Jun 2019 at 17:23, Ryan Mullen <rmmullen@gmail.com> wrote:
I had this same issue and got help on IRC (thanks jaeger). libjpeg-turbo now produces libjpeg.a instead of libjpeg.la.
To find and rebuild all ports that are affected by this change:
prt-get -fr update $(for f in $(grep -lrs libjpeg.la /usr/lib); do pkginfo -o $f | awk '!/^Package/ {print $1}'; done | sort -u)
On Sat, Jun 8, 2019 at 12:17 PM Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Hi, Building cups-filter (and openjpeg) I noticed following problem.
/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory libtool: error: '/usr/lib/libjpeg.la' is not a valid libtool archive make[1]: *** [Makefile:2509: libfontembed.la] Error 1 make[1]: Leaving directory '/home/build/cups-filters/src/cups-filters-1.24.0' make: *** [Makefile:2086: all] Error 2 =======> ERROR: Building '/usr/ports/opt/cups-filters/cups-filters#1.24.0-1.pkg.tar.gz' failed.
I don't see libjpeg.la in any package. What's wrong?
Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124 _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
-- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (2)
-
Ryan Mullen
-
Wawrzek Niewodniczanski