!kjdutkOsheZdjqYmqp:nixos.org

Empty Room

1905 Members
399 Servers

Load older messages


SenderMessageTime
11 Jan 2025
@pandapip1:matrix.orgpandapip1 joined the room.21:17:07
@emilazy:matrix.orgemilycheck debian/fedora/arch for distro patches21:45:31
@emilazy:matrix.orgemilyoh this is some awful non-free printer blob21:45:38
@emilazy:matrix.orgemilyn/m do whatever you want :p21:45:41
@pouya.abbassi:matrix.orgPouya Abbassi

K900: I'm getting new errors like

warning: ignoring return value of 'read' declared with attribute 'warn_unused_result'

Isn't there a way to suppress them all, or at least tell gcc to NOT treat warnings as errors for this package?

22:00:47
@k900:0upti.meK900It should not do that by default22:01:01
@k900:0upti.meK900 So presumably it's hitting some warnings that are being treated as errors 22:01:15
@emilazy:matrix.orgemilyyou want to search for "error:"22:18:38
@emilazy:matrix.orgemilyhave you considered using Internet Printing Protocol or whatever it is btw?22:19:19
@emilazy:matrix.orgemilythese ancient proprietary drivers are just going to bitrot more and more over time22:19:40
@pouya.abbassi:matrix.orgPouya Abbassi

have you considered using Internet Printing Protocol or whatever it is btw?
printer does not have wifi and is connected directly to my laptop.
I guess I'll just remove the driver and use my windows pc to print stuff :|

22:22:55
@pouya.abbassi:matrix.orgPouya Abbassi *

have you considered using Internet Printing Protocol or whatever it is btw?

printer does not have wifi and is connected directly to my laptop.
I guess I'll just remove the driver and use my windows pc to print stuff :|

22:23:28
@emilazy:matrix.orgemily you can just set -Wno-error 22:35:57
@emilazy:matrix.orgemilyfor the errors that appear22:35:58
@emilazy:matrix.orgemily (again search error: in the compile log) 22:36:03
@emilazy:matrix.orgemilyideally send a PR22:36:13
@pouya.abbassi:matrix.orgPouya Abbassi

you can just set -Wno-error

how do I set this?

I fixed two issues. Now I'm getting the third one and I'm not a C programmer so they're a bit cryptic.

getipc.c:62:72: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
   62 |         while( (client_fd = accept(server_fd, (struct sockaddr *)&sun, &len)) >= 0 )
      |                                                                        ^~~~
22:39:24
@emilazy:matrix.orgemily-Wno-error=incompatible-pointer-types22:39:42
@emilazy:matrix.orgemilyit's not really worth patching because it's an unfree source dump that will never be updated22:40:00
@emilazy:matrix.orgemily just env.NIX_CFLAGS_COMPILE = "-Wno-error=a -Wno-error=b …"; until it compiles 22:40:12
@pouya.abbassi:matrix.orgPouya Abbassi Thanks.
I found a file in the project that has CFLAGS definition. I have added -Wno-error to it 🤞
I would add yet another patch to the patches that are availabele in the nixpkgs for this package. That should help others. If I can fix it at all.
22:43:01
@kuruczgy:matrix.orgkuruczgy joined the room.22:59:44
@emilazy:matrix.orgemily Colin: guessing you use the libcap tools, so might want to participate in the discussion re: your PR in https://matrix.to/#/!UNVBThoJtlIiVwiDjU:nixos.org/$QjE6OLK38mYL4jjoy0IlAqolVHJmHoGHOYh5oIrFkNk?via=nixos.org&via=matrix.org&via=tchncs.de 23:20:58
@snowflake100:matrix.orgCoda-Coda changed their display name from snowflake100 to Coda-Coda.23:55:46
12 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/NixOS/nixpkgs/pull/370832 unbreaks qtox which has been broken for a long time, but the maintainers aren't responding and aren't in this channel09:11:00
@matthewcroughan:defenestrate.itmatthewcroughanI'm thinking of merging it, any objections?09:11:08
@matthewcroughan:defenestrate.itmatthewcroughantox.chat appears to reference this "TokTok" fork now, so seems legit09:11:30
@aurora0:matrix.orgAurora0 joined the room.16:20:50
@glepage:matrix.orgGaétan Lepage K900 should we merge the kernel bump ?
https://github.com/NixOS/nixpkgs/pull/370410
16:41:34
@k900:0upti.meK900No? 6.13 is not out yet16:41:46

Show newer messages


Back to Room ListRoom Version: 6