Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LibreOffice and CUPS

60 views
Skip to first unread message

Sergey Manucharian

unread,
May 14, 2016, 2:27:54 PM5/14/16
to FreeBSD Current
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...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"

Matthias Apitz

unread,
May 14, 2016, 2:47:53 PM5/14/16
to freebsd...@freebsd.org
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, ✉ gu...@unixarea.de, ⌂ http://www.unixarea.de/+49-176-38902045
8 мая 1945: Спасибо, Советского Союза! -- May 8, 1945: Thank you, Soviet Union!

Sergey Manucharian

unread,
May 14, 2016, 5:19:35 PM5/14/16
to Matthias Apitz, freebsd...@freebsd.org
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.

Poul-Henning Kamp

unread,
May 14, 2016, 6:17:22 PM5/14/16
to Sergey Manucharian, Matthias Apitz, freebsd...@freebsd.org
--------
In message <2016051421...@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.

Hans Petter Selasky

unread,
May 15, 2016, 3:49:00 AM5/15/16
to Matthias Apitz, freebsd...@freebsd.org
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

Kevin Oberman

unread,
May 15, 2016, 1:34:29 PM5/15/16
to Hans Petter Selasky, Matthias Apitz, FreeBSD Current
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: rkob...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

On Sun, May 15, 2016 at 12:51 AM, Hans Petter Selasky <h...@selasky.org>
wrote:

Matthias Apitz

unread,
May 15, 2016, 1:55:44 PM5/15/16
to FreeBSD Current
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, ✉ gu...@unixarea.de, ⌂ http://www.unixarea.de/+49-176-38902045
8 мая 1945: Спасибо, Советского Союза! -- May 8, 1945: Thank you, Soviet Union!

Sergey Manucharian

unread,
May 15, 2016, 2:42:46 PM5/15/16
to Matthias Apitz, FreeBSD Current
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.
cupd-err.txt

Kevin Oberman

unread,
May 15, 2016, 4:24:07 PM5/15/16
to Sergey Manucharian, Matthias Apitz, FreeBSD Current
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: rkob...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Sergey Manucharian

unread,
May 15, 2016, 4:50:17 PM5/15/16
to Kevin Oberman, FreeBSD Current
Excerpts from Kevin Oberman's message from Sun 15-May-16 13:23:
> On Sun, May 15, 2016 at 11:42 AM, Sergey Manucharian <s...@ara-ler.com> 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.

Kevin Oberman

unread,
May 15, 2016, 6:45:26 PM5/15/16
to Sergey Manucharian, FreeBSD Current, s...@freebsd.org
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: rkob...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Sergey Manucharian

unread,
May 15, 2016, 10:12:08 PM5/15/16
to Kevin Oberman, FreeBSD Current, s...@freebsd.org
Excerpts from Kevin Oberman's message from Sun 15-May-16 15:45:
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.

bmake.log

Sergey Manucharian

unread,
Oct 10, 2016, 11:49:33 PM10/10/16
to FreeBSD Current
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.
0 new messages