LinuxQuestions.org
Help answer threads with 0 replies.
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 01-15-2016, 06:08 PM   #1
K4rolis
LQ Newbie
 
Registered: Jan 2016
Posts: 23

Rep: Reputation: Disabled
Potential bug in NetworkManager.Slackbuild on -current (patches not applied)


Hi,

In the slackbuild for NM on -current there appears to be a mistake on lines 88-97 where patches are supposed to be applied. I believe the output of zcat should be piped to patch and not OR'ed with it.

I might be completely wrong here (have barely any experience in shell scripting) - the reason why I looked at the NM slackbuild is because I'm still experiencing same issues as with unpatched NM and this seems to be incorrect.

Thanks!

Last edited by K4rolis; 01-17-2016 at 01:13 PM. Reason: Change of title to indicate which version of slackware I'm reporting for
 
Old 01-15-2016, 06:34 PM   #2
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Yep, that's a bug - those patches aren't being applied. Well spotted.

I've just been through the rest of the slackware64-current source tree and no other SlackBuilds suffer from the same problem, so fortunately this is an isolated incident.
 
1 members found this post helpful.
Old 01-15-2016, 09:48 PM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Well, just damn. Thanks.
 
1 members found this post helpful.
Old 01-16-2016, 04:09 AM   #4
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,224

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
it seem just the 0001 patch who has a problem
 
Old 01-16-2016, 04:21 AM   #5
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by gmgf View Post
it seem just the 0001 patch who has a problem
No, it affects all of them:

Code:
# Some patches to nm-1.0 stable branch in git
zcat $CWD/patches/0001-man-fix-typos.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0002-core-fix-failure-to-configure-routes-due-to-wrong-de.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0003-ppp-manager-clear-ppp_watch_id-upon-pppd-termination.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0004-device-update-ip_iface-only-if-IP-interface-exists.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0005-device-infiniband-take-interface-down-to-set-transpo.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0006-wifi-olpc-refactor-NMDeviceOlpcMesh-to-hold-pointer-.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0007-wifi-don-t-fail-construction-of-NMDeviceWifi-in-cons.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0008-wifi-refactor-creation-of-NMDeviceWifi-NMDeviceOlpcM.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0009-build-use-symlinks-for-nmtui.patch.gz || patch -p1 --verbose || exit 1
zcat $CWD/patches/0010-build-minor-change-creating-symlinks-in-install-exec.patch.gz || patch -p1 --verbose || exit 1
 
Old 01-16-2016, 04:28 AM   #6
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,224

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
here, with modified SlackBuild only 0001 patch no work
 
Old 01-16-2016, 05:49 AM   #7
K4rolis
LQ Newbie
 
Registered: Jan 2016
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gmgf View Post
here, with modified SlackBuild only 0001 patch no work
True, man/NetworkManager.xml does not seem to exist in source code tree anymore but is still being patched in the 0001.

EDIT: Just checked NM GIT repo, and it appears that the man/NetworkManager.xml should be there.

Last edited by K4rolis; 01-16-2016 at 06:11 AM.
 
Old 01-17-2016, 11:23 AM   #8
CTM
Member
 
Registered: Apr 2004
Distribution: Slackware
Posts: 308

Rep: Reputation: 287Reputation: 287Reputation: 287
Closure:

Code:
Sun Jan 17 07:24:08 UTC 2016
n/NetworkManager-1.0.10-x86_64-3.txz:  Rebuilt.
  Fixed build script to properly apply the patches.
  Thanks to K4rolis and rworkman.
 
1 members found this post helpful.
Old 01-17-2016, 01:13 PM   #9
K4rolis
LQ Newbie
 
Registered: Jan 2016
Posts: 23

Original Poster
Rep: Reputation: Disabled
Hehe, my first ever bug report. And things got fixed within two days... Really cool. Going to put [SOLVED] in.

Thank you guys!
 
2 members found this post helpful.
  


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
[SOLVED] lsroot local exploit *Old Bug, but still Applied* willysr Slackware 7 04-02-2011 03:48 AM
Command to find list of patches applied to standard kernel in Red Hat? ndh_singh80 Linux - Newbie 2 01-17-2009 06:42 PM
Command to get list of patches applied pavan_pnv Linux - Newbie 7 03-12-2008 05:29 PM
Slackbuild and Patches stormtracknole Slackware 4 03-30-2006 08:12 PM

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

All times are GMT -5. The time now is 10:44 PM.

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