Bug 6947 - nettools_do_patch
Summary: nettools_do_patch
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.7
Hardware: x86 x86
: Medium normal
Target Milestone: 1.8
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-11-07 23:15 UTC by John
Modified: 2014-11-18 05:22 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Log file for the build. (1.89 KB, application/octet-stream)
2014-11-07 23:15 UTC, John
no flags Details
Log file for do_patch (7.02 KB, application/octet-stream)
2014-11-14 20:50 UTC, John
no flags Details
Output for update, patch, clean, patch (3.58 KB, application/octet-stream)
2014-11-14 20:55 UTC, John
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2014-11-07 23:15:10 UTC
Created attachment 2237 [details]
Log file for the build.

Can't continue Hob, because of net-tools can't do_patch it. Did this multiple times, still the same outcome. The only change I made was add the smart package manager to the list of to-build packages.
Comment 1 Saul Wold 2014-11-13 00:53:56 UTC
 Can you also provide the logfile from the original failure, located here:

/home/john/Develop/poky/build/tmp/work/core2-32-poky-linux/net-tools/1.60-25-r0/temp/log.do_patch.22287

Then please try running the following from the command line instead of with in hob and report the results:

bitbake -c patch net-tools
bitbake -c clean net-tools
bitbake -c patch net-tools

This attempting to reproduce what hob is going but just with net-tools not the rest of the system.  The first one may or may not fail, that's what I want to determine.  If the second one fails you might have some other setup issue. If the second one does fail, please provide it's log file also.
Comment 2 John 2014-11-14 20:46:47 UTC
Alright, I got an error at the first try with the patch command but then after I cleaned it and ran the patch command again it was fine. I haven't ran the build again with hob....yet. Also I read your comment wrong so I actually did 4 steps instead:

update--->patch--->clean--->patch

I have also attached the log your requested with the log of the steps you have requested.
Comment 3 John 2014-11-14 20:50:12 UTC
Created attachment 2246 [details]
Log file for do_patch
Comment 4 John 2014-11-14 20:55:09 UTC
Created attachment 2247 [details]
Output for update, patch, clean, patch

bitbake -c update net-tools (Could not retrieve URL)
bitbake -c patch net-tools (Error Found)
bitbake -c clean net-tools (Completed)
bitbake -c patch net-tools (Completed)
Comment 5 Stephen K Jolley 2014-11-17 17:02:21 UTC
Saul,  It appears the NEEDINFO should be cleared.
Comment 6 Saul Wold 2014-11-17 22:41:47 UTC
So a clean followed by the patch worked, I am still unclear about your failure 
since you seem to have patch files that are not part of 1.7, also "update" is 
not a a task in bitbake so it just gave you an error.  The Warning for 
net-tools was the tarball was not found in the upstream, but was found in the 
mirror.  If you run bitbake -c patch again back to back, do you get the failure 
again?

It seems net-tools is one of the few with a special patch function.
Comment 7 John 2014-11-18 02:13:24 UTC
Ah, Okay. Well seems that it's not throwing errors when I run it back to back. I have several other instances where I get the same "can't do_patch", with sato but that was on 1.6. I would have to redo it again and see if it threw a warning at some other packages.
Comment 8 Saul Wold 2014-11-18 05:22:43 UTC
Ok, for now I am going to close this as notabug, if you can get a reproducible 
failure please reopen this bug and provide details along with the log files.