LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2016, 07:30 PM   #1
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Rep: Reputation: 21
vim 8.0.0055 - garbage after any build


Using slackBuild script from -current in source.

During the make cycle, cc* (.c, .o, .s, .le, .ls) appear, then are removed in /tmp.

In 8.0.0055, I'm left with 3 empty .c, .o, .le files + a .ld file giving the allowable ld options since it did not like an option or was missing a file.

In configure.log, I see a test result for dlopen() with a fail due to undefined reference related to the linker.

Everything seems to function properly & there are NO reported errors otherwise.

Can anybody replicate?

Anyone know when this crept into vim? It's been there awhile. Never had this with the 7 series.

NOT a big deal, though!

Patch?

Thanks.
 
Old 11-10-2016, 09:25 PM   #2
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I don't know about that, but I tried the new vim and found it not behaving well. For one example, some commands seemed to not work when placed in vimrc, even though they did work when entered interactively. After struggling with it for awhile, I decided the trouble wasn't worth it. Anyway, I don't know if this has anything to do with the issue you brought up -- probably not -- but IMO vim 8 isn't ready yet.
 
Old 11-10-2016, 10:30 PM   #3
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by montagdude View Post
I don't know about that, but I tried the new vim and found it not behaving well. For one example, some commands seemed to not work when placed in vimrc, even though they did work when entered interactively. After struggling with it for awhile, I decided the trouble wasn't worth it. Anyway, I don't know if this has anything to do with the issue you brought up -- probably not -- but IMO vim 8 isn't ready yet.
I have been using vi/vim for circa 40 years. With each release, I custom build my own spec, actually 3 (vim-nox, vim-athena, vim-gtk2|3), based on a single .vimrc. It always works. That includes the latest 8.0.0055.

What I'm noticing is a minor nuisance in the build of each type. In the past, going over many decades, the build is "perfect" & clean. It seems to be some mismatch of lib release versions that causes ld to complain lately.

It could be just my particular system or maybe it's more general?
 
Old 11-10-2016, 10:54 PM   #4
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
rdsherman,
As a fan of vi/vim, may I ask your thoughts on elvis?
What makes vim preferable for you?
 
Old 11-10-2016, 11:35 PM   #5
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by STDOUBT View Post
rdsherman,
As a fan of vi/vim, may I ask your thoughts on elvis?
What makes vim preferable for you?
I use a lot of features now readily available with vim. I have written a few vim scripts that perform convenient operations within the vim environment. Examples are compiling/linking *.c code, building LaTeX documents, performing some arithmetic functions on various lines/columns of numbers, .... All this occurs in a colorful environment via the syntax files that accompany the package.

Most of this, maybe all, is not in elvis, which is intended mainly as a rescue editor; it works fine. However, to keep matters simple & consistent, I built a vim-nox, to serve as a base, but, it still retains lots of the enhanced version features.

While some folks use emacs for many of these tasks I do, I find vim a far simpler & quicker environment to do all the same.

elvis is fine. But, it is just too lacking in add-ons for "heavy duty production".
 
1 members found this post helpful.
Old 11-13-2016, 09:51 PM   #6
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
For anyone who stumbles across this thread during a search, this problem is due to a regression in grep 2.26, which is now in -current. The solution is to roll back to 2.25 or apply the patch in this post.

Last edited by CTM; 11-13-2016 at 09:52 PM.
 
2 members found this post helpful.
Old 11-14-2016, 05:56 AM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by STDOUBT View Post
rdsherman,
As a fan of vi/vim, may I ask your thoughts on elvis?
What makes vim preferable for you?
I've always felt more comfortable in elvis than vim (though adding some options to .vimrc helps a lot) but the biggest drawback of elvis is that it doesn't handle unicode characters. As Pat is changing to unicode by default for the next release, this may become a bigger issue for elvis in future.
 
Old 11-15-2016, 11:06 AM   #8
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
It may be this grep bug, which breaks vim builds as well as upgradepkg: http://www.linuxquestions.org/questi...nt-4175593054/ . See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24941, which references that posting. If that is the problem, the easiest answer is to revert grep to version 2.25 from slackware-14.2
 
Old 11-15-2016, 11:22 PM   #9
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by chrisVV View Post
It may be this grep bug, which breaks vim builds as well as upgradepkg: http://www.linuxquestions.org/questi...nt-4175593054/ . See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24941, which references that posting. If that is the problem, the easiest answer is to revert grep to version 2.25 from slackware-14.2
It is indeed the same!

I have elsewhere recommended a revert to grep-2.25 until grep upstream & the Slackware gurus converge on a path forward.

We're waiting ...
 
Old 11-20-2016, 05:13 PM   #10
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
From latest ChangeLog.txt:
Code:
Sat Nov 19 22:45:38 UTC 2016
a/grep-2.26-x86_64-2.txz:  Rebuilt.
  Reverted a speedup patch that is causing regressions when output is directed
  to /dev/null.  Thanks to SeB.
which has fixed the residual garbage issue for me.

chris
 
Old 11-20-2016, 11:39 PM   #11
rdsherman
Member
 
Registered: Aug 2009
Location: Santa Monica CA
Distribution: Slackware, Fedora, Debian
Posts: 114

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by chris.willing View Post
From latest ChangeLog.txt:
Code:
Sat Nov 19 22:45:38 UTC 2016
a/grep-2.26-x86_64-2.txz:  Rebuilt.
  Reverted a speedup patch that is causing regressions when output is directed
  to /dev/null.  Thanks to SeB.
which has fixed the residual garbage issue for me.

chris
let's hope it remains that way.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Garbage, absolute garbage. orasis General 16 12-27-2014 03:57 PM
VIM, NANO, Gedit, CAT display VISUDO as garbage xtropx Linux - Newbie 7 04-30-2012 01:18 PM
[SOLVED] Getting clang build correctly to use in vim for autocompletetion george-lappies Slackware 4 09-19-2011 02:02 PM
[SOLVED] vim 7.2 won't build properly on 9.10 mk27 Ubuntu 1 12-04-2009 12:15 PM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration