Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others
@ 2020-05-05 20:19 klarasm
  2020-05-06  4:23 ` ericonr
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: klarasm @ 2020-05-05 20:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]

New issue by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662

Description:
I discovered this when trying to set up a print server on a Raspberry PI 1 model B. Cups complains of `unknown device: cups` It seems that ghostscript is not built with cups device support, as can be seen below.

Using `xbps-query ghostscript` on my x86_64 desktop system shlib-requires include `libcups.so.2` which is not included on the Raspberry Pi. I compiled ghostscript for x86_64, x86_64-musl, armv6l, armv6l-musl, aarch64, aarch64-musl and only the x86_64 version seems to link to `libcups.so.2`. I have posted the results of xbps-query on ghostscript for the targets below.

I also included the build log for armv6l-musl and the log for the failed cups job.

<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 4.19.115_1 armv6l-musl Unknown uptodate rrnFFF`
* package: ghostscript-9.52_1 cups-2.3.1_1 (indirectly)

### Expected behavior
Executed on a x86_64 desktop:
```
$ gs -h | grep cups
   chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet
$ echo $?
0
$
```
### Actual behavior
Executed on  a Raspberry Pi 1 model B
```
$ gs -h | grep cups
$ echo $?
1
$
```
### Steps to reproduce the behavior
Install ghostscript and execute `gs -h | grep cups` on Raspberry Pi 1 model B.

### Attached files
```
$ for i in x86_64 x86_64-musl armv6l armv6l-musl aarch64 aarch64-musl; do XBPS_ARCH=$i xbps-query -Ri --repository=. ghostscript;
```
[xbps-query-ghostscript.txt](https://github.com/void-linux/void-packages/files/4583308/xbps-query-ghostscript.txt)

```
$ ./xbps-src pkg ghostscript 2>&1 > build-ghostcript_armv6-musl.log
```
[build-ghostcript_armv6-musl.log](https://github.com/void-linux/void-packages/files/4583359/build-ghostcript_armv6-musl.log)

```
# cat error_log | grep Job\ 6
```
[cups-error.log](https://github.com/void-linux/void-packages/files/4583416/cups-error.log)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
@ 2020-05-06  4:23 ` ericonr
  2020-05-06 13:44 ` klarasm
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-05-06  4:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-624434341

Comment:
Do you have bandwidth to compile it locally? It'd be interesting to find out if the issue stems from cross compiling or something else. I think I can try it later, if you can't.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
  2020-05-06  4:23 ` ericonr
@ 2020-05-06 13:44 ` klarasm
  2020-05-06 19:17 ` ericonr
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-06 13:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-624658112

Comment:
I can try, but it may take a while as the Raspberry Pi 1 is not very powerfull.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
  2020-05-06  4:23 ` ericonr
  2020-05-06 13:44 ` klarasm
@ 2020-05-06 19:17 ` ericonr
  2020-05-07  0:29 ` klarasm
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-05-06 19:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-624839226

Comment:
I have a rasp zero only :/

Perhaps @Duncaen could aid here?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (2 preceding siblings ...)
  2020-05-06 19:17 ` ericonr
@ 2020-05-07  0:29 ` klarasm
  2020-05-07  0:34 ` klarasm
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07  0:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-624960756

Comment:
The locally built package seems to include cups device support, and it also links against libcups.so.2 so it might be a problem with the cross-compilation as you said. I'll attach the build logs as well.

[xbps-query-ghostscript-rpi-local.txt](https://github.com/void-linux/void-packages/files/4590084/xbps-query-ghostscript-rpi-local.txt)
[build-ghostscript-rpi1-local.log](https://github.com/void-linux/void-packages/files/4590086/build-ghostscript-rpi1-local.log)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (3 preceding siblings ...)
  2020-05-07  0:29 ` klarasm
@ 2020-05-07  0:34 ` klarasm
  2020-05-07 16:07 ` klarasm
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07  0:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-624960756

Comment:
The locally built package seems to include cups device support, and it also links against libcups.so.2 so it might be a problem with the cross-compilation as you said. I'll attach the build logs as well.

```
$ gs -h | grep cups
   chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet
$ echo $?
0
$
```

[xbps-query-ghostscript-rpi-local.txt](https://github.com/void-linux/void-packages/files/4590084/xbps-query-ghostscript-rpi-local.txt)
[build-ghostscript-rpi1-local.log](https://github.com/void-linux/void-packages/files/4590086/build-ghostscript-rpi1-local.log)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (4 preceding siblings ...)
  2020-05-07  0:34 ` klarasm
@ 2020-05-07 16:07 ` klarasm
  2020-05-07 16:10 ` klarasm
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625348309

Comment:
Sorry, seems I included the wrong build log for the cross-compilation for armv6-musl. I have updated with the correct one now

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (5 preceding siblings ...)
  2020-05-07 16:07 ` klarasm
@ 2020-05-07 16:10 ` klarasm
  2020-05-07 16:14 ` klarasm
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625348309

Comment:
Sorry, seems I included the wrong build log for the cross-compilation for armv6-musl. I have updated with the correct one now.

The only time cups is mentioned is on line 426-431:
```
checking for arm-linux-musleabihf-cups-config... no
checking for cups-config... /builddir/.xbps-ghostscript/wrappers/cups-config
configure: WARNING: using cross tools not prefixed with host triplet
checking for cups-config... /builddir/.xbps-ghostscript/wrappers/cups-config
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (6 preceding siblings ...)
  2020-05-07 16:10 ` klarasm
@ 2020-05-07 16:14 ` klarasm
  2020-05-07 16:32 ` klarasm
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625348309

Comment:
Sorry, seems I included the wrong build log for the cross-compilation for armv6l-musl. I have updated with the correct one now.

The only time cups is mentioned is on line 426-431:
```
checking for arm-linux-musleabihf-cups-config... no
checking for cups-config... /builddir/.xbps-ghostscript/wrappers/cups-config
configure: WARNING: using cross tools not prefixed with host triplet
checking for cups-config... /builddir/.xbps-ghostscript/wrappers/cups-config
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (7 preceding siblings ...)
  2020-05-07 16:14 ` klarasm
@ 2020-05-07 16:32 ` klarasm
  2020-05-07 16:39 ` klarasm
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625362489

Comment:
I tried building with `./xbps-src -a armv6l-musl -C pkg ghostscript`. I found something interesting in the ghostscript Makefile:
```
# Define install location for 'cups' device/filter support    
CUPSLIBS=
CUPSLIBDIRS=
CUPSSERVERBIN=
CUPSSERVERROOT=
CUPSDATA=
CUPSPDFTORASTER=0

SHARE_LCUPS=1
LCUPS_NAME=cups
LCUPSSRCDIR=./cups
LCUPSBUILDTYPE=
CUPS_CC=$(CC)

SHARE_LCUPSI=1
LCUPSI_NAME=cupsimage
LCUPSISRCDIR=./cups
CUPS_CC=$(CC)
```

If I build with `./xbps-src -C pkg ghostscript` I get this instead:
```
# Define install location for 'cups' device/filter support    
CUPSLIBS=cups
CUPSLIBDIRS=
CUPSSERVERBIN=/usr/lib/cups
CUPSSERVERROOT=/etc/cups
CUPSDATA=/usr/share/cups
CUPSPDFTORASTER=1

SHARE_LCUPS=1
LCUPS_NAME=cups
LCUPSSRCDIR=./cups
LCUPSBUILDTYPE=
CUPS_CC=$(CC)

SHARE_LCUPSI=1
LCUPSI_NAME=cupsimage
LCUPSISRCDIR=./cups
CUPS_CC=$(CC)
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (8 preceding siblings ...)
  2020-05-07 16:32 ` klarasm
@ 2020-05-07 16:39 ` klarasm
  2020-05-07 16:39 ` klarasm
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625365739

Comment:
This might be related:[6773c53b1af42eacc01075a5926632fad48887f3](https://github.com/void-linux/void-packages/commit/6773c53b1af42eacc01075a5926632fad48887f3).
This however makes me think that's not the case (from the armv6l-musl build log):
```
   cups: Enable support for CUPS (ON)
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (9 preceding siblings ...)
  2020-05-07 16:39 ` klarasm
@ 2020-05-07 16:39 ` klarasm
  2020-05-07 17:20 ` klarasm
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 16:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625365739

Comment:
This might be related:[6773c53b1af42eacc01075a5926632fad48887f3](https://github.com/void-linux/void-packages/commit/6773c53b1af42eacc01075a5926632fad48887f3).
This however makes me think that's not the case (from the armv6l-musl build log):
```
=> ghostscript-9.52_1: the following build options are set:
   cups: Enable support for CUPS (ON)
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (10 preceding siblings ...)
  2020-05-07 16:39 ` klarasm
@ 2020-05-07 17:20 ` klarasm
  2020-05-07 17:25 ` klarasm
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 17:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625388742

Comment:
Okay, so I undid the changes from that commit and fixed some resulting conflcts and ghostscript now seems to link with libcups.so.2. The changes are here: [b52d79b8d9e367f1fc2dbd23e137d8fc88fd5927](https://github.com/klarasm/void-packages/commit/b52d79b8d9e367f1fc2dbd23e137d8fc88fd5927).

[build-ghostscript_armv6l-musl-modified-template.log](https://github.com/void-linux/void-packages/files/4594663/build-ghostscript_armv6l-musl-modified-template.log)
[xbps-query-ghostscript_armv6l-musl-modified-template.txt](https://github.com/void-linux/void-packages/files/4594667/xbps-query-ghostscript_armv6l-musl-modified-template.txt)

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (11 preceding siblings ...)
  2020-05-07 17:20 ` klarasm
@ 2020-05-07 17:25 ` klarasm
  2020-05-07 18:02 ` klarasm
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 17:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625388742

Comment:
Okay, so I undid the changes from that commit and fixed some resulting conflcts and ghostscript now seems to link with libcups.so.2. The changes are here: [b52d79b8d9e367f1fc2dbd23e137d8fc88fd5927](https://github.com/klarasm/void-packages/commit/b52d79b8d9e367f1fc2dbd23e137d8fc88fd5927).

[build-ghostscript_armv6l-musl-modified-template.log](https://github.com/void-linux/void-packages/files/4594663/build-ghostscript_armv6l-musl-modified-template.log)
[xbps-query-ghostscript_armv6l-musl-modified-template.txt](https://github.com/void-linux/void-packages/files/4594667/xbps-query-ghostscript_armv6l-musl-modified-template.txt)

Unfortunately it seems  that the packages still don't work:
```
$ gs -h | grep cups
$ echo $?
1
$
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (12 preceding siblings ...)
  2020-05-07 17:25 ` klarasm
@ 2020-05-07 18:02 ` klarasm
  2020-05-07 18:02 ` [ISSUE] [CLOSED] " klarasm
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625410003

Comment:
Hmm. The Makefile still looks like this with the modified template:
```
# Define install location for 'cups' device/filter support
CUPSLIBS=
CUPSLIBDIRS=
CUPSSERVERBIN=
CUPSSERVERROOT=
CUPSDATA=
CUPSPDFTORASTER=0

SHARE_LCUPS=1
LCUPS_NAME=cups
LCUPSSRCDIR=
LCUPSBUILDTYPE=
CUPS_CC=$(CC)

SHARE_LCUPSI=1
LCUPSI_NAME=cupsimage
LCUPSISRCDIR=
CUPS_CC=$(CC)
```

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [ISSUE] [CLOSED] ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (13 preceding siblings ...)
  2020-05-07 18:02 ` klarasm
@ 2020-05-07 18:02 ` klarasm
  2020-05-07 18:21 ` klarasm
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 18:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2230 bytes --]

Closed issue by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662

Description:
I discovered this when trying to set up a print server on a Raspberry PI 1 model B. Cups complains of `unknown device: cups` It seems that ghostscript is not built with cups device support, as can be seen below.

Using `xbps-query ghostscript` on my x86_64 desktop system shlib-requires include `libcups.so.2` which is not included on the Raspberry Pi. I compiled ghostscript for x86_64, x86_64-musl, armv6l, armv6l-musl, aarch64, aarch64-musl and only the x86_64 version seems to link to `libcups.so.2`. I have posted the results of xbps-query on ghostscript for the targets below.

I also included the build log for armv6l-musl and the log for the failed cups job.

<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 4.19.115_1 armv6l-musl Unknown uptodate rrnFFF`
* package: ghostscript-9.52_1 cups-2.3.1_1 (indirectly)

### Expected behavior
Executed on a x86_64 desktop:
```
$ gs -h | grep cups
   chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cups declj250 deskjet
$ echo $?
0
$
```
### Actual behavior
Executed on  a Raspberry Pi 1 model B
```
$ gs -h | grep cups
$ echo $?
1
$
```
### Steps to reproduce the behavior
Install ghostscript and execute `gs -h | grep cups` on Raspberry Pi 1 model B.

### Attached files
```
$ for i in x86_64 x86_64-musl armv6l armv6l-musl aarch64 aarch64-musl; do XBPS_ARCH=$i xbps-query -Ri --repository=. ghostscript; done
```
[xbps-query-ghostscript.txt](https://github.com/void-linux/void-packages/files/4583308/xbps-query-ghostscript.txt)

```
$ ./xbps-src -a armv6l-musl pkg ghostscript 2>&1 > build-ghostcript_armv6-musl.log
```
[build-ghostscript_armv6l-musl.log](https://github.com/void-linux/void-packages/files/4594138/build-ghostscript_armv6l-musl.log)

```
# cat error_log | grep Job\ 6
```
[cups-error.log](https://github.com/void-linux/void-packages/files/4583416/cups-error.log)

EDIT: corrected the cross-compiled build log for armv6l-musl

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (14 preceding siblings ...)
  2020-05-07 18:02 ` [ISSUE] [CLOSED] " klarasm
@ 2020-05-07 18:21 ` klarasm
  2020-05-08  4:25 ` fosslinux
  2020-05-09 11:42 ` klarasm
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-07 18:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625419782

Comment:
(sorry for spamming, accidentally closed the issue earlier)
Ok, this is interesting. With the modified template the x86_64 Makefile also looks like this (seems I also missed an important line earlier):
```
# Define install location for 'cups' device/filter support                                                
CUPSLIBS=
CUPSLIBDIRS=
CUPSSERVERBIN=
CUPSSERVERROOT=
CUPSDATA=
CUPSPDFTORASTER=0

SHARE_LCUPS=1
LCUPS_NAME=cups
LCUPSSRCDIR=
LCUPSBUILDTYPE=
CUPS_CC=$(CC)

SHARE_LCUPSI=1
LCUPSI_NAME=cupsimage
LCUPSISRCDIR=
CUPS_CC=$(CC)

CUPSCFLAGS= -DSHARE_LCUPS=$(SHARE_LCUPS) -DSHARE_LCUPSI=$(SHARE_LCUPSI)
```

With original template (x86_64):
```
# Define install location for 'cups' device/filter support                                                  
CUPSLIBS= cups
CUPSLIBDIRS=
CUPSSERVERBIN=/usr/lib/cups
CUPSSERVERROOT=/etc/cups
CUPSDATA=/usr/share/cups
CUPSPDFTORASTER=1

SHARE_LCUPS=1
LCUPS_NAME=cups
LCUPSSRCDIR=./cups
LCUPSBUILDTYPE=
CUPS_CC=$(CC)

SHARE_LCUPSI=1
LCUPSI_NAME=cupsimage
LCUPSISRCDIR=./cups
CUPS_CC=$(CC)

CUPSCFLAGS= -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -DHAVE_RESTRICT=1 -DUSE_LIBPAPER  -DSHARE_LCUPS=$(SHARE_LCUPS) -DSHARE_LCUPSI=$(SHARE_LCUPSI)
```

So it seems my change instead breaks build for x86_64 non-cross as well.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (15 preceding siblings ...)
  2020-05-07 18:21 ` klarasm
@ 2020-05-08  4:25 ` fosslinux
  2020-05-09 11:42 ` klarasm
  17 siblings, 0 replies; 19+ messages in thread
From: fosslinux @ 2020-05-08  4:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-625622694

Comment:
Let me confirm - when you cross build for `armv6l-musl`, it does show cups support to be on?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: ghostscript does not include cups device support on armv6-musl and probably others
  2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
                   ` (16 preceding siblings ...)
  2020-05-08  4:25 ` fosslinux
@ 2020-05-09 11:42 ` klarasm
  17 siblings, 0 replies; 19+ messages in thread
From: klarasm @ 2020-05-09 11:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

New comment by klarasm on void-packages repository

https://github.com/void-linux/void-packages/issues/21662#issuecomment-626162973

Comment:
> Let me confirm - when you cross build for `armv6l-musl`, it does show cups support to be on?

The xbps-src build option is turned on as per the build logs, but the generated Makefile does not seem to include it.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-05-09 11:42 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 20:19 [ISSUE] ghostscript does not include cups device support on armv6-musl and probably others klarasm
2020-05-06  4:23 ` ericonr
2020-05-06 13:44 ` klarasm
2020-05-06 19:17 ` ericonr
2020-05-07  0:29 ` klarasm
2020-05-07  0:34 ` klarasm
2020-05-07 16:07 ` klarasm
2020-05-07 16:10 ` klarasm
2020-05-07 16:14 ` klarasm
2020-05-07 16:32 ` klarasm
2020-05-07 16:39 ` klarasm
2020-05-07 16:39 ` klarasm
2020-05-07 17:20 ` klarasm
2020-05-07 17:25 ` klarasm
2020-05-07 18:02 ` klarasm
2020-05-07 18:02 ` [ISSUE] [CLOSED] " klarasm
2020-05-07 18:21 ` klarasm
2020-05-08  4:25 ` fosslinux
2020-05-09 11:42 ` klarasm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).