**** BEGIN LOGGING AT Fri May 15 02:59:57 2020 May 15 03:04:15 build #310 of octeon/generic is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/octeon%2Fgeneric/builds/310 May 15 03:04:36 build #318 of lantiq/xrx200 is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/lantiq%2Fxrx200/builds/318 May 15 06:07:14 build #319 of mpc85xx/p1020 is complete: Failure [failed dirupload] Build details are at http://buildbot.openwrt.org/master/images/builders/mpc85xx%2Fp1020/builds/319 blamelist: Koen Vandeputte , Aleksander Jan Bajkowski , Daniel Gonzalez Cabanelas , ?lvaro Fern?ndez May 15 06:07:14 Rojas May 15 09:07:09 i want to use OpenWrt for downloading & printing some daily reports, it's really a trivial task for cron job: May 15 09:07:13 wget http://example.com/$(date --iso-8601).pdf && lp $(date --iso-8601).pdf May 15 09:07:34 i just discoverer cups isn't packaged for OpenWrt :| May 15 09:07:58 (i have network printer attached to my OpenWrt network) May 15 09:08:21 i guess cups is the only option for printing client - any idea why it wasn't packaged? May 15 09:08:59 rmilecki: intersection of people with a use-case for it and people being able to package it close to zero May 15 09:09:11 the usual reason for not packaged stuff :) May 15 09:09:24 another reason could be some set of crazy dependencies May 15 09:09:32 i hope it's not the case ;) May 15 09:09:41 yeah, iirc a couple of cups printer drivers are x86 only May 15 09:10:07 ok, i'll probably give it a try, thanks May 15 09:10:56 yw May 15 09:12:18 rmilecki: hm wait... cups was packaged for openwrt at some point May 15 09:12:29 i just found https://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Fpackages.git&a=search&h=HEAD&st=commit&s=cups May 15 09:12:42 so it's a good start May 15 09:12:52 rmilecki: usually people use network printers from more powerful hosts, so simple spoolers that just pass raw data to the printer cover most usecases. And you want full ghostscript, not just cups it seems. May 15 09:13:28 (to convert pdf to something your printer can understand) May 15 09:14:37 I misunderstood your usecase a bit. You should be able to send raw PDF to the network printer if it's smart enough. May 15 09:14:51 Or is handled by a smart enough computer. May 15 09:14:52 i thought printers support pdfs natively :| May 15 09:14:59 Well, probably some do. May 15 09:15:30 iirc the lowest common denominator is postscript, which pdf is a superset of May 15 09:15:48 PaulFertser: i googled for "print pdf from command line" and all answers i found refer to "lp" command line tool which I asuumed requires cups May 15 09:16:24 afaik lp != cups May 15 09:16:27 rmilecki: that's just because most *nix systems have cups installed these days. May 15 09:16:33 lp was printing before cups iirc May 15 09:16:38 plntyk: lpr May 15 09:16:45 lp sounds like cups-specific utility May 15 09:16:45 lpr(gn) seems to be dead May 15 09:16:55 (ng) i meant May 15 09:17:05 It doesn't matter really, first thing you need to figure out if the printer understands PDF or not. May 15 09:17:18 i removed cups from a vm install and ubuntu lts offered lpr as "alternative" May 15 09:17:43 Old professional printers all supported PostScript. But not PDF. Many cheap printers supported neither, they used their own PCL/PJL/whatever tricky format. May 15 09:18:09 If your printer supports PDF directly I'm sure there exists some simple IPP client to just send it there. May 15 09:18:51 IPP is HTTP-based, so probably even a suitable curl invocation can be enough. May 15 09:19:46 Indeed, "curl --data-binary @filename ip:port" May 15 09:20:47 PDF is not a superset of PS, it's the other way round, PS is Turing-complete programming language, PDF is kind of a subset of it (but IIRC not exactly). May 15 09:21:19 "Brother print servers (...) running the lpd (line printer daemon) protocol. As a result, any host computer that supports the Berkeley remote LPR command can spool jobs to Brother print servers (...)" May 15 09:21:35 rmilecki: probably it supports IPP too if it's not too ancient. May 15 09:23:08 rmilecki: busybox has lpr implementation May 15 09:23:15 "Binary services pass data through unmodified and are therefore required for PCL or PostScript rasterized graphics printouts." May 15 09:23:24 OK, so i may be more luckly than i thought after all May 15 09:23:46 thanks PaulFertser May 15 09:25:14 rmilecki: I can't understand the quote. How a service that passes data through unmodified can be required? May 15 09:26:33 "Binary services" refers to some Brother queue, I guess that queue accepts PCL or rasterized PostScript? May 15 09:26:44 build #54 of ath79/mikrotik is complete: Failure [failed updatefeeds] Build details are at http://buildbot.openwrt.org/master/images/builders/ath79%2Fmikrotik/builds/54 blamelist: ?lvaro Fern?ndez Rojas , Aleksander Jan Bajkowski , Daniel Gonzalez Cabanelas May 15 09:26:59 Why would be they required if they do not do anything? May 15 09:27:01 It also provides text service (as they call it): "The text service can also be used for non-rasterized graphics, such as ASCII PostScript graphics or many types of PCL graphics." May 15 09:27:29 PaulFertser: no idea, it's the first time I get into printing details ;) May 15 09:27:53 rmilecki: what "printer languages" does you device claim to support? May 15 09:28:40 There should be a separate list of what specifically your printer understands. May 15 09:29:21 it's DCP-L2550DN and https://support.brother.com/g/b/spec.aspx?c=eu_ot&lang=en&prod=dcpl2550dn_eu lists "PCL6, BR-Script3, PDF Version 1.7" May 15 09:30:17 Cool, so probably you can just busybox lpr PDFs to it. May 15 09:32:20 tfw a printer supports PDF but not PostScript... May 15 09:32:46 yeah and then you could have issues with PDF/A and all different PDF variants May 15 09:35:48 rmilecki: it says it supports IPP, so probably you can send files with curl to it. May 15 09:36:17 Without legacy lpr :) May 15 10:19:49 1. ipp seems to be slightly more complex protocol and may not support sending raw file May 15 10:19:53 2. there is ipptool that talks with printer using ipp May 15 10:19:54 3. my printer just refused pdf sent over ipp using ipptool client-error-document-format-not-supported May 15 10:20:27 > ipptool -t -v ipp://192.168.26.2/ipp get-printer-attributes.test | grep document-format-supported May 15 10:20:29 document-format-supported (1setOf mimeMediaType) = application/octet-stream,image/urf,image/pwg-raster May 15 10:20:43 so I guess I need to convert PDF to image/pwg-raster May 15 10:24:56 Why do the specs say it supports PDF then? May 15 10:25:41 I wonder what happens if you send raw file May 15 10:26:04 I found that "curl" invocation on some SO answer, apparently, that worked at least for somebody. May 15 10:28:42 i tried "cat foo.pdf | lp -h 192.168.26.2:9100 -" but that resulted in printing some plain text, most likely produced by lp, i started with "POST / HTTP/1.1 Content-Length: 701 and so on) May 15 10:30:13 9100 doesn't seem to be IPP port May 15 10:30:31 it's raw AppSocket port May 15 10:30:31 Hm, but it printed it verbatim May 15 10:31:16 So what about cat foo.pdf | nc 192.168.26.2:9100 May 15 10:32:06 oh shit May 15 10:32:09 it just worked May 15 10:32:43 except nc not quitting (closing connection), but it's a minor thing May 15 10:33:39 ok, so it seems that 631 port is for IPP communication, requires using IPP protocol and support limited amount of formats May 15 10:34:18 9100 raw port (AppSocket) allows sending raw files that can be just text or e.g. PDF May 15 10:34:20 wow May 15 10:34:23 thanks PaulFertser !!! May 15 10:34:49 rmilecki: :) May 15 10:35:33 PaulFertser: get on the next summit and I get you a beer! promise May 15 10:37:09 rmilecki: it's my pleasure and honour to be able to help you, knowing how much you're doing for free software all these years. I'm not travelling to EU since you introduced mandatory fingerprinting just for the foreigners (and criminals) though :( May 15 10:38:06 i can understand that, i refused to travel to US for years due to stupid visa program May 15 10:38:17 PaulFertser: where are you from? May 15 10:38:42 (you meaning whoever does Schengen zone regulations and people that voted for their EU parliament representatives etc, not you personally of course) May 15 10:38:46 rmilecki: russia May 15 10:40:33 that's interesting though, i didn't know schengen requires that May 15 10:42:01 thinking about it, i'm not sure, is that really true? May 15 10:42:01 I remember how some kernel developers insisted on taking questionable code from broadcom people and saying how it's the necessity etc etc, but the time has proven that you're still with us and caring, and broadcom is just meh... May 15 10:42:36 i don't think i evern saw people coming to poland that were fingerscanner May 15 10:42:40 rmilecki: yeah, it's really true, all the fingers on both hands must be fingerprinted. For more than 5 years. May 15 10:43:45 PaulFertser: so does that scanning happen when you arrive to schengen? May 15 10:44:01 rmilecki: no, while you're getting a visa May 15 10:45:08 ok, i see now, I had no idea there is Schengen Visa at all :| May 15 10:45:35 PaulFertser: haha, Broadcom thing ;) May 15 10:47:02 PaulFertser: i don't like brcmsmac design as it clearly is just a stripped part of their internall wireless driver and doesn't fit Linux kernel with all its layers and abstractions May 15 10:47:51 b43 matches Linux design better but it doesn't help much as it's development is dead May 15 13:56:56 PaulFertser: too bad - but DE has currently "optional" fingerprints and requires biometric photos :/ May 15 13:57:42 crazy surveillance laws May 15 13:57:52 plntyk: I know, but while they're not really mandatory for the citizens it's probably okish for you... May 15 14:00:38 yeah fingerprints for visa is crazy - even enforcing biometrics and building all these surveillance database / infrastructure May 15 14:01:19 Well, one of the suggested places for the next meeting was Marocco May 15 14:02:01 plntyk: funny you should mention that, see this excellent doku on arte (if you are in DE): https://www.arte.tv/de/videos/083310-000-A/ueberwacht-sieben-milliarden-im-visier/ May 15 14:03:01 and getting visa to Russia is crazy as well May 15 14:05:19 Oh yeah, but russia's really sick, certainly not a good role model. May 15 14:05:35 ah quality arte content , thx for the links didnt saw that yet - recently a more "conservative" soldier from special forces was found out with weapons and explosives - great case for "terrorism" and extremism but from an unexpected angle .... May 15 14:07:33 hm... romania and bulgaria might be more western and are not in schengen it seems May 15 14:08:32 marocco has probably some hidden problems like egypt or turkey May 15 14:08:41 Montenegro is a nice place too. May 15 14:28:23 I'm trying to work with the latest snapshot and have run into a little problem. I use the collectd-exec mod to run some scripts and generate meaningful statisitcs. But now I'm getting the error ' exec plugin: exec_read_one: error = exec plugin: Failed to execute ``/etc/collectd/assocs.sh'': Permission denied'. The script permissions are 755. I May 15 14:28:24 have tried changing the user and group for the exec script to root, but luckily collectd is sane enough to reject doing so. Anybody have a suggestion as to how I can get collectd exec scripts to start working? May 15 16:53:41 I'm trying to work with the latest snapshot and have run into a little problem. I use the collectd-exec mod to run some scripts and generate meaningful statisitcs. But now I'm getting the error ' exec plugin: exec_read_one: error = exec plugin: Failed to execute ``/etc/collectd/assocs.sh'': Permission denied'. The script permissions are 755. I May 15 16:53:41 have tried changing the user and group for the exec script to root, but luckily collectd is sane enough to reject doing so. Anybody have a suggestion as to how I can get collectd exec scripts to start working? May 15 17:41:25 plntyk: that info/tip is from https://reproducible-builds.org/events/Marrakesh2019/ (Debian folks) May 15 18:35:20 build #364 of lantiq/xway_legacy is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/lantiq%2Fxway_legacy/builds/364 May 15 21:31:07 PaulFertser: BR-Script3 is just another name for postscript 3, which mustn't be called for trademark reasons (and Brother's self implemented postscript interpreter is not the best, at least in its slightly older models); I have an old MFC-8420 myself May 15 21:32:42 pkgadd: thanks for the info, curious :) May 15 22:47:41 i wrote in #openwrt a few days ago. i had a probem wiht uid and gid seemingly overflowing at 65536 / 16bit. I reproduced it on an official image now. FRITZ!Box 4040 ARMv7 - OpenWrt 19.07.2 May 15 22:49:03 when i 'chown 65540 $file' then 'ls' shows an uid of 4 . here is an strace of the chown > https://paste.debian.net/1146979/ May 15 22:51:01 i accidentally asked this question in #alpine-devel and dalias pointed out it could either be an error with changing the uid or with reading/representing it with ls/stat May 15 22:56:18 can someone confirm the issue on armv7? here are the three steps > https://paste.debian.net/1146983/ May 15 22:58:04 hbug___: ipq806x, https://paste.debian.net/1146984/ May 15 22:58:49 hbug___: I do not see the problem on master on mipsel May 15 22:59:19 hbug___: and ipq40xx: https://paste.debian.net/1146985/ May 15 23:00:03 both ARMv7/ hardfloat, cortex a15 and cortex a7 May 15 23:00:35 pkgadd: which device/soc for the a7? May 15 23:01:03 ipq4019, Asus map-ac2200 May 15 23:01:16 both using only busybox tools May 15 23:01:23 thanks for testing. but now i am confused whats wrong with my device. May 15 23:01:39 i confirmed it on my device with both busybox and coreutils. May 15 23:01:43 and my testing has been done on tmpfs (/tmp/) May 15 23:02:12 pkgadd: hm.. i testet it on / will try on /tmp May 15 23:02:57 ooooh. in tmpfs it works fine. only on 'real' storage it fails. May 15 23:03:32 maybe an overlayfs os jffs2 limitation? May 15 23:03:43 that would be really weird... May 15 23:04:09 hbug___: could you run chmod and ls in strace May 15 23:04:19 probably, although I'd rather suspect jffs2 than overlayfs (as the later is more commonly used by big (live) distros) May 15 23:04:42 with longer logs, it cut off the the syscall arguments early May 15 23:05:57 hbug___: in master I also do not see this problem on / May 15 23:07:25 Hauke: sure. chmod a+w > https://paste.debian.net/1146986/ . ls > https://paste.debian.net/1146987/ May 15 23:07:44 no issue on ubifs (map-ac2200, under /root/) either May 15 23:08:58 yeah it seems jffs2 > https://github.com/torvalds/linux/blob/master/include/uapi/linux/jffs2.h May 15 23:09:50 good meme > "The uid, gid [..] could be longer, but are left like this for space efficiency." May 15 23:10:25 jint16_t uid; May 15 23:10:52 it's not a bug it's a feature ;-) May 15 23:22:15 Hauke: jow: if .3 isn't tagged yet, and if it can wait another 24h, I might have a very tiny ar71xx fix to push. Will report tomorrow, too late now May 15 23:23:01 f00b4r0: ok May 15 23:23:09 it's not tagged yet May 15 23:24:02 Hauke: cool. Turns out this https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=fa2369e59bb243136f8e069e3c92d3b14f06b66a doesn't work correctly. May 15 23:24:23 (in fact, at all, despite being under the impression that it had been tested) May 15 23:24:42 if my understanding of the report I got is correct, the fix is trivial. I just want to triple check this time ;P May 15 23:25:19 it doesn't break anything that wasn't broken before, but it doesn't fix what it was supposed to. May 15 23:25:50 signing off for now. May 15 23:50:37 build #55 of ath79/mikrotik is complete: Success [build successful] Build details are at http://buildbot.openwrt.org/master/images/builders/ath79%2Fmikrotik/builds/55 May 15 23:52:52 can someone assist me on filing a kernel bug report for chown32 silently failing on jffs2? May 16 01:18:34 build #107 of bcm27xx/bcm2708 is complete: Failure [failed dirupload] Build details are at http://buildbot.openwrt.org/master/images/builders/bcm27xx%2Fbcm2708/builds/107 blamelist: Daniel Golle May 16 02:28:46 google discontinues json-rpc service: https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html **** ENDING LOGGING AT Sat May 16 02:59:57 2020