libera/#devuan/ Sunday, 2021-03-07

masononefang: Zapping the grub-efi-amd64-signed package worked on the one system that had an issue here.00:10
masonThere's also elilo.00:10
fsmithredand it happened to someone who did not have the signed package installed00:14
masonGRUB grubbing.00:21
DPALooks like this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=90820002:12
fsmithredyeah, it keeps coming back02:28
tuxd3vthe secure boot thing that in the ends plagues everything :)02:46
parabyteokay i cant get nfs shares to automount on latest 3.116:46
parabyteim getting this error and other errors16:46
parabyteSun Mar  7 15:19:07 2021: /etc/init.d/rpcbind: 42: /etc/init.d/rpcbind: stat: not found16:46
parabytethis is the first error16:46
parabyteanyone got any insight?16:46
parabytei can mount shares manually from my fstab for example mount /mnt/share16:47
ErRandirstat is in coreutils16:47
parabyteyeah i got coreutils installed16:49
parabyteits some sort of bug im hitting i think ErRandir16:49
parabyteim only a user, but from what i can tell the rpcbind script cant find stat16:50
ErRandirIt's in /usr/bin/ for me. Maybe that directory is not in the PATH when /etc/init.d/rpcbind is invoked.17:13
parabyteErRandir, yes it was a bug with stat19:07
parabytein the network if up script, it calls the script for nfs eventually well in the initial script in the PATH there was no path to where stat lives19:08
parabytedo i need to make a bug report or can someone here follow this up?19:08
numzobso I've got a program the compiles in other distros, and it fails to compile in devuan.  near as I can tell, it fails to find ncurses.  fought with it a while. got a little crazy.  even did "apt-get install ncurses*" (note the wildard, using the shotgun aproach there).  error message has moved from the compile phase (.h file) to the link phase (library).  Near as I can tell I've included anything even19:12
numzobremotely related to ncurses.  can i have a hint please?  Oh, here is a one line sample of the errors it gives me: /usr/bin/ld: xci.c:(.text+0x77f5): undefined reference to `wrefresh'19:12
iv4nshm4k0vnumzob: How does your linking command look like?  Specifically, does it include "-lncurses"?19:13
numzobfull command (small program): cc -o xci -lncurses xci.c19:14
numzobworked previously in lfs and slackware19:14
numzobi know debian, and this devuan, breaks things into package and package-devel but even so it's dirving me bonkers19:15
numzobs/this/thus/19:15
golinuxparabyte: Have you checked Debian bugs?19:16
parabytei sent a bug email to devuan explaining what i have done to make nfs mounting via fstab work19:16
golinuxThat's probably where you'll have to file one if it's not already there.19:16
fluffywolfdo you have lib64ncurses-dev (or 32)?19:16
masonnumzob: Have you checked your ld.so.conf and ruled out a funny LD_LIBRARY_PATH and so forth?19:16
iv4nshm4k0vnumzob: Try putting -lncurses last; like: $ cc -o xci xci.c -lncurses .19:16
golinuxIf we don't fork the package, we don't fix it19:17
parabytegolinux, was a really really really easy fix i just altered the PATH variable in /etc/network/if-up.d/mountnfs19:17
parabyteso that the nfs script that mountnfs calls could see stat19:17
masonparabyte: Do you have a separate /usr or somesuch?19:18
parabytemason, no19:18
numzobfluffywolf: no.  looks like i have to explicitely install the 64 version.  that is unexpected, being that this is on a 64 bit cpu19:19
fluffywolfdoes that make it compile?19:21
numzobwell, I don't have a funny $LD_LIBRARY_PATH ... but then again, I haven't got a $LD_LIBRARY_PATH.  Hmm.19:21
numzobfluffywolf: trryinh that next19:21
fluffywolfalthough I think installing libncurses-dev should magically get everything...19:23
numzoblibncurse-dev i installed before even trying to compile19:23
fluffywolfI have a multi-arch system; could be you don't need the extra 32/64 versions...19:24
iv4nshm4k0vI see that ld does /not/ report it can't find the library; only that it can't find specific functions that are ought to come from that library.  It looks like an ordering issue; ISTR that in ld (cc) invocations the objects can only use other objects or libraries specified /after/ said objects.  For that reason, all the '-l's would be specified after all the '.o's (and '.c's and whatnot.)19:25
numzobinstalling the 64 bit ncurses explicitly, did two things: one: it told me that i already had the 64 bit versions installed.  two: it installed the 32 bit versions.19:25
numzobreording, ok.  tryng that next19:25
numzobreordering fixedit.  wow.19:27
numzobthank you  :)19:27
fluffywolfthat's an issue I've never seen.  I always put all my -ls first.  lol19:27
numzobyeah, that's a thing i was not expecting19:28
iv4nshm4k0vfluffywolf: There may be some inconsistencies in how different compilers / linkers / builds / environments handle ordering.  I think I've either seen myself or heard from others about either "-l can be anywhere" or "-l should go last" only, though.19:30
masonnumzob: You normally don't *want* LD_LIBRARY_PATH. But it's the cause of similar errors sometimes.19:30
numzobmason: ohhhh, ok.  thank you, as my next was to try and set it (and probably go crazy :p )19:32
masonnumzob: Sometimes at work we see people who have one fork special purposes applications, and it ends up hosing a vast array of unrelated software.19:32
masonThey'll set it in their environment generally rather than in a start-up script for whatever the odd software is.19:32

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!