[SOLVED] LibreOffice and CUPS
Excerpts from Sergey Manucharian's message from Sat 14-May-16 12:27: > After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) > LibreOffice doesn't see CUPS printers. It shows only "Generic printer", > but doesn't actually print anything. > I've found and posted the solution: https://forums.freebsd.org/threads/57815 Sergey. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
Excerpts from Kevin Oberman's message from Sun 15-May-16 15:45: > On Sun, May 15, 2016 at 1:49 PM, Sergey Manucharianwrote: > > > Excerpts from Kevin Oberman's message from Sun 15-May-16 13:23: > > > On Sun, May 15, 2016 at 11:42 AM, Sergey Manucharian > > wrote: > > > > I've checked other programs like GIMP and Firefox. In the Print dialog > > > > the show only "Print to file" and "Print to LPR", and they DO PRINT on > > > > the default printer when the second option is chosen. LibreOffice does > > > > not print on the "Generic printer" it shows. > > > > > > > > So that means that CUPS behaviour has changed, not LibreOffice's. > > > > > > > > I cannot build CUPS from ports, see the error log atatched. > > > > > > What is the output "make showconfig" in print/cups? It is failing to > > > properly understand something related to lib-frprnfd and the config has a > > > lot to do with lib-depends. > > > > It's default minus docs: > > > > # make showconfig > > ===> The following configuration options are available for cups-2.1.3_2: > > AVAHI=on: Zeroconf support via Avahi > > DBUS=on: D-Bus IPC system support > > DOCS=off: Build and/or install documentation > > GNUTLS=on: SSL/TLS support via GnuTLS > > IPPTOOL=off: Internet Printing Protocol testing tool > > LIBPAPER=on: Paper size selection support via libpaper > > NLS=on: Native Language Support > > X11=off: Install desktop menu item > > ===> Use 'make config' to modify these settings > > > > > That said, this looks a lot like an issue with the .Mk files which are > > part > > > of ports, not the base system. Not sure that this is absolute, though, > > and > > > is clearly linked to the make program, itself, which may have changed. I > > > see the latest update was a couple of months ago. > > > > > > Do you know when your prior system was built? Was it earlier than > > r297040? > > > (The old kernel should be /boot/kernel.old/kernel.) > > > > Well, my previous system was r296485, however, since I don't use > > printers frequently, not sure for 100% it wasn't broken, but it was > > definitely working fine with r292595. > > > > Thanks, > > S > > > sjg@ added in CC as most commits to bmake have been done by him. > > Looks like the config is not an issue. I am really suspicious of make. If > you feel comfortable in doing so, you might try rolling back bmake (in > contrib and usr.bin) to 291978. That was the most recent change to bmake > before r292595. I'd also open a PR (https://bugs.freebsd.org/bugzilla/). > Please include the build log. I've rolled back "bmake" to r292595 (the revison I had no issues with). I've built it, the log is attached. Then I was able to build "print/cups" with no problem at all. It didn't rectify the issue with cups, but that's a different story. S. root@dendrobates:/usr/src/usr.bin/bmake # make cc -O2 -pipe -DNO_PWD_OVERRIDE -I/usr/src/usr.bin/bmake -DBMAKE_PATH_MAX=1024 -DUSE_META -DMAKE_NATIVE -DHAVE_CONFIG_H -DHAVE_CONFIG_H -DBMAKE_PATH_MAX=1024 -DUSE_META -DMAKE_NATIVE -DHAVE_CONFIG_H -D_PATH_DEFSYSPATH=\".../share/mk:/usr/share/mk\" -I. -I/usr/src/contrib/bmake -DMAKE_NATIVE -g -MD -MP -MF.depend.main.o -MTmain.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments "-DMAKE_VERSION=\"20151201\"" -c /usr/src/contrib/bmake/main.c -o main.o cc -O2 -pipe -DNO_PWD_OVERRIDE -I/usr/src/usr.bin/bmake -DBMAKE_PATH_MAX=1024 -DUSE_META -DMAKE_NATIVE -DHAVE_CONFIG_H -DHAVE_CONFIG_H -DBMAKE_PATH_MAX=1024 -DUSE_META -DMAKE_NATIVE -DHAVE_CONFIG_H -D_PATH_DEFSYSPATH=\".../share/mk:/usr/share/mk\" -I. -I/usr/src/contrib/bmake -DMAKE_NATIVE -g -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Qunused-arguments -static -o make.full arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o make_malloc.o meta.o metachar.o parse.o str.o strlist.o suff.o targ.o trace.o util.o var.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstPrev.o lstRemove.o lstReplace.o lstSucc.o stresep.o
Re: LibreOffice and CUPS
On Sun, May 15, 2016 at 1:49 PM, Sergey Manucharianwrote: > Excerpts from Kevin Oberman's message from Sun 15-May-16 13:23: > > On Sun, May 15, 2016 at 11:42 AM, Sergey Manucharian > wrote: > > > I've checked other programs like GIMP and Firefox. In the Print dialog > > > the show only "Print to file" and "Print to LPR", and they DO PRINT on > > > the default printer when the second option is chosen. LibreOffice does > > > not print on the "Generic printer" it shows. > > > > > > So that means that CUPS behaviour has changed, not LibreOffice's. > > > > > > I cannot build CUPS from ports, see the error log atatched. > > > > What is the output "make showconfig" in print/cups? It is failing to > > properly understand something related to lib-frprnfd and the config has a > > lot to do with lib-depends. > > It's default minus docs: > > # make showconfig > ===> The following configuration options are available for cups-2.1.3_2: > AVAHI=on: Zeroconf support via Avahi > DBUS=on: D-Bus IPC system support > DOCS=off: Build and/or install documentation > GNUTLS=on: SSL/TLS support via GnuTLS > IPPTOOL=off: Internet Printing Protocol testing tool > LIBPAPER=on: Paper size selection support via libpaper > NLS=on: Native Language Support > X11=off: Install desktop menu item > ===> Use 'make config' to modify these settings > > > That said, this looks a lot like an issue with the .Mk files which are > part > > of ports, not the base system. Not sure that this is absolute, though, > and > > is clearly linked to the make program, itself, which may have changed. I > > see the latest update was a couple of months ago. > > > > Do you know when your prior system was built? Was it earlier than > r297040? > > (The old kernel should be /boot/kernel.old/kernel.) > > Well, my previous system was r296485, however, since I don't use > printers frequently, not sure for 100% it wasn't broken, but it was > definitely working fine with r292595. > > Thanks, > S sjg@ added in CC as most commits to bmake have been done by him. Looks like the config is not an issue. I am really suspicious of make. If you feel comfortable in doing so, you might try rolling back bmake (in contrib and usr.bin) to 291978. That was the most recent change to bmake before r292595. I'd also open a PR (https://bugs.freebsd.org/bugzilla/). Please include the build log. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
Excerpts from Kevin Oberman's message from Sun 15-May-16 13:23: > On Sun, May 15, 2016 at 11:42 AM, Sergey Manucharianwrote: > > I've checked other programs like GIMP and Firefox. In the Print dialog > > the show only "Print to file" and "Print to LPR", and they DO PRINT on > > the default printer when the second option is chosen. LibreOffice does > > not print on the "Generic printer" it shows. > > > > So that means that CUPS behaviour has changed, not LibreOffice's. > > > > I cannot build CUPS from ports, see the error log atatched. > > What is the output "make showconfig" in print/cups? It is failing to > properly understand something related to lib-frprnfd and the config has a > lot to do with lib-depends. It's default minus docs: # make showconfig ===> The following configuration options are available for cups-2.1.3_2: AVAHI=on: Zeroconf support via Avahi DBUS=on: D-Bus IPC system support DOCS=off: Build and/or install documentation GNUTLS=on: SSL/TLS support via GnuTLS IPPTOOL=off: Internet Printing Protocol testing tool LIBPAPER=on: Paper size selection support via libpaper NLS=on: Native Language Support X11=off: Install desktop menu item ===> Use 'make config' to modify these settings > That said, this looks a lot like an issue with the .Mk files which are part > of ports, not the base system. Not sure that this is absolute, though, and > is clearly linked to the make program, itself, which may have changed. I > see the latest update was a couple of months ago. > > Do you know when your prior system was built? Was it earlier than r297040? > (The old kernel should be /boot/kernel.old/kernel.) Well, my previous system was r296485, however, since I don't use printers frequently, not sure for 100% it wasn't broken, but it was definitely working fine with r292595. Thanks, S. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
On Sun, May 15, 2016 at 11:42 AM, Sergey Manucharianwrote: > Excerpts from Matthias Apitz's message from Sun 15-May-16 19:42: > > > > Please note that the OP said he only updated kernel and world and not the > > ports (I know that there is some issue updating the older cups-* ports > > to now only one cups port, but this is not the case here). > > I've checked other programs like GIMP and Firefox. In the Print dialog > the show only "Print to file" and "Print to LPR", and they DO PRINT on > the default printer when the second option is chosen. LibreOffice does > not print on the "Generic printer" it shows. > > So that means that CUPS behaviour has changed, not LibreOffice's. > > I cannot build CUPS from ports, see the error log atatched. > > S. What is the output "make showconfig" in print/cups? It is failing to properly understand something related to lib-frprnfd and the config has a lot to do with lib-depends. That said, this looks a lot like an issue with the .Mk files which are part of ports, not the base system. Not sure that this is absolute, though, and is clearly linked to the make program, itself, which may have changed. I see the latest update was a couple of months ago. Do you know when your prior system was built? Was it earlier than r297040? (The old kernel should be /boot/kernel.old/kernel.) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
Excerpts from Matthias Apitz's message from Sun 15-May-16 19:42: > > Please note that the OP said he only updated kernel and world and not the > ports (I know that there is some issue updating the older cups-* ports > to now only one cups port, but this is not the case here). I've checked other programs like GIMP and Firefox. In the Print dialog the show only "Print to file" and "Print to LPR", and they DO PRINT on the default printer when the second option is chosen. LibreOffice does not print on the "Generic printer" it shows. So that means that CUPS behaviour has changed, not LibreOffice's. I cannot build CUPS from ports, see the error log atatched. S. root@dendrobates:/usr/ports/print/cups # make --- stage --- --- /usr/ports/print/cups/work/.patch_done.cups._usr_local --- --- build-depends --- ===> cups-2.1.3_2 depends on executable: gmake - found ===> cups-2.1.3_2 depends on package: libiconv>=1.14_9 - found ===> cups-2.1.3_2 depends on package: pkgconf>=0.9.10 - found `lib-depends' was not built (made 1, flags 2019, type b410001)! `lib-depends' has .ORDER dependency against run-depends (made 1, flags 9, type 3010001) `lib-depends' has .ORDER dependency against run-depends (made 1, flags 9, type 3010001) `configure-message' was not built (made 1, flags 2009, type b010001)! `configure-message' has .ORDER dependency against lib-depends (made 1, flags 2019, type b410001) `run-autotools-fixup' was not built (made 1, flags 2009, type b010001)! `run-autotools-fixup' has .ORDER dependency against configure-message (made 1, flags 2009, type b010001) `do-configure' was not built (made 1, flags 2009, type b010001)! `do-configure' has .ORDER dependency against run-autotools-fixup (made 1, flags 2009, type b010001) `build-message' was not built (made 1, flags 2009, type b010001)! `build-message' has .ORDER dependency against configure (made 1, flags 3009, type 3010001) `do-build' was not built (made 1, flags 2009, type b010001)! `do-build' has .ORDER dependency against build-message (made 1, flags 2009, type b010001) `stage-message' was not built (made 1, flags 2009, type b010001)! `stage-message' has .ORDER dependency against build (made 1, flags 3009, type 3010001) `stage-dir' was not built (made 1, flags 2009, type b010001)! `stage-dir' has .ORDER dependency against stage-message (made 1, flags 2009, type b010001) `run-depends' was not built (made 1, flags 2009, type 3010001)! `run-depends' has .ORDER dependency against stage-dir (made 1, flags 2009, type b010001) `apply-slist' was not built (made 1, flags 2009, type b010001)! `apply-slist' has .ORDER dependency against lib-depends (made 1, flags 2019, type b410001) `/usr/ports/print/cups/work' was not built (made 0, flags 2009, type b010001)! `create-users-groups' was not built (made 1, flags 2009, type b010001)! `create-users-groups' has .ORDER dependency against generate-plist (made 1, flags 3009, type b010001) `do-install' was not built (made 1, flags 2009, type b010001)! `do-install' has .ORDER dependency against create-users-groups (made 1, flags 2009, type b010001) `post-install' was not built (made 1, flags 2009, type b010001)! `post-install' has .ORDER dependency against do-install (made 1, flags 2009, type b010001) `compress-man' was not built (made 1, flags 2009, type b010001)! `compress-man' has .ORDER dependency against post-install (made 1, flags 2009, type b010001) `install-rc-script' was not built (made 1, flags 2009, type b010001)! `install-rc-script' has .ORDER dependency against compress-man (made 1, flags 2009, type b010001) `install-ldconfig-file' was not built (made 1, flags 2009, type 3010001)! `install-ldconfig-file' has .ORDER dependency against install-rc-script (made 1, flags 2009, type b010001) `install-license' was not built (made 1, flags 2009, type b010001)! `install-license' has .ORDER dependency against install-ldconfig-file (made 1, flags 2009, type 3010001) *** [stage] Error code 1 make: stopped in /usr/ports/print/cups 1 error make: stopped in /usr/ports/print/cups ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
El día Sunday, May 15, 2016 a las 10:34:08AM -0700, Kevin Oberman escribió: > cups and foomatic seem to have had some refactoring. > I had to delete foomatic-filters to upgrade cups-filters and then > re-install it.I then realized that hplip no longer required > foomatic-filters, so I simply deleted it. I assume that the required > filters moved from one port to the other as the printer still works fine. > (Note that this was cups-filters and not the base print/cups port.) Please note that the OP said he only updated kernel and world and not the ports (I know that there is some issue updating the older cups-* ports to now only one cups port, but this is not the case here). matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 8 мая 1945: Спасибо, Советского Союза! -- May 8, 1945: Thank you, Soviet Union! ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
cups and foomatic seem to have had some refactoring. I had to delete foomatic-filters to upgrade cups-filters and then re-install it.I then realized that hplip no longer required foomatic-filters, so I simply deleted it. I assume that the required filters moved from one port to the other as the printer still works fine. (Note that this was cups-filters and not the base print/cups port.) Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sun, May 15, 2016 at 12:51 AM, Hans Petter Selasky <h...@selasky.org> wrote: > On 05/14/16 20:47, Matthias Apitz wrote: > >> El día Saturday, May 14, 2016 a las 12:27:28PM -0600, Sergey Manucharian >> escribió: >> >> After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) >>> LibreOffice doesn't see CUPS printers. It shows only "Generic printer", >>> but doesn't actually print anything. >>> >> >> Libreoffice and cups are ports or packages made from ports, what are the >> versions of >> them or your overall ports tree? And what do you mean by 'after recent >> update', have you just updated kernel and world? >> >> matthias >> >> > Hi, > > I've seen sometimes pkg uninstall ports due to upgrade conflicts. Maybe > you need to re-install cups. > > --HPS > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
On 05/14/16 20:47, Matthias Apitz wrote: El día Saturday, May 14, 2016 a las 12:27:28PM -0600, Sergey Manucharian escribió: After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) LibreOffice doesn't see CUPS printers. It shows only "Generic printer", but doesn't actually print anything. Libreoffice and cups are ports or packages made from ports, what are the versions of them or your overall ports tree? And what do you mean by 'after recent update', have you just updated kernel and world? matthias Hi, I've seen sometimes pkg uninstall ports due to upgrade conflicts. Maybe you need to re-install cups. --HPS ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
In message <20160514211909.gc1...@dendrobates.araler.com>, Sergey Manucharian w rites: >I've built kernel and world, cups and libreoffice were isnstalled as >packages: I just spent two hours finding out that shell pipes on -current(-ish), r297556, returns EAGAIN when full: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209509 If, as I suspect, this affects any pipe, it has the potential to break all sorts of things, including possibly this. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
Excerpts from Matthias Apitz's message from Sat 14-May-16 20:47: > El día Saturday, May 14, 2016 a las 12:27:28PM -0600, Sergey Manucharian > escribió: > > > After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) > > LibreOffice doesn't see CUPS printers. It shows only "Generic printer", > > but doesn't actually print anything. > > Libreoffice and cups are ports or packages made from ports, what are the > versions of > them or your overall ports tree? And what do you mean by 'after recent > update', have you just updated kernel and world? I've built kernel and world, cups and libreoffice were isnstalled as packages: cups-2.1.3_2 libreoffice-5.0.5_1 I've reisntalled them just in case. I can try building them from ports, of course. Thanks, S. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: LibreOffice and CUPS
El día Saturday, May 14, 2016 a las 12:27:28PM -0600, Sergey Manucharian escribió: > After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) > LibreOffice doesn't see CUPS printers. It shows only "Generic printer", > but doesn't actually print anything. Libreoffice and cups are ports or packages made from ports, what are the versions of them or your overall ports tree? And what do you mean by 'after recent update', have you just updated kernel and world? matthias -- Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 8 мая 1945: Спасибо, Советского Союза! -- May 8, 1945: Thank you, Soviet Union! ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
LibreOffice and CUPS
After recent system update (I'm on FreeBSD 11.0-CURRENT r298793) LibreOffice doesn't see CUPS printers. It shows only "Generic printer", but doesn't actually print anything. Thanks for advices! S. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"