Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Create rejection file from dry runs?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Create rejection file from dry runs?  (Read 8878 times)

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #15 on: October 31, 2006, 06:07:07 PM »
This is what debian says when I 'make':

Quote
Makefile:11: Consider upgrading to GNU make 3.81+ for optimum build performance

Then it continues as normal.

I didnt get that before I ran the rockboxdev.sh script.


If its of any use, I typed the following to get more detail:

I ran gcc -v and have gcc version 3.3.5 (Debian 1:3.3.5-13).

$ m68k-elf-gcc --version gives m68k-elf-gcc (GCC) 3.4.6

$ arm-elf-gcc --version gives arm-elf-gcc (GCC) 4.0.2
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Create rejection file from dry runs?
« Reply #16 on: October 31, 2006, 06:11:53 PM »
Notice that it says consider upgrading GNU make.

NOWHERE does it say upgrading GCC. And, as I said, if you read my discussion, that is to be expected. The debian image only comes with make 3.80 anyway. The fact that you first noticed it after running the .sh is either coincidence or due to the fact that you hadn't compiled a new enough copy of the source prior to running it to get the message.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #17 on: October 31, 2006, 06:36:49 PM »
Fair enough. I assumed gnu, gcc, make was all interlinked someway.

Ill put it down to coincidence for the update message!

So Llorean, do I delete the vmware folder which has a .nvram, .vmx and a couple of .vmdk files in?
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Create rejection file from dry runs?
« Reply #18 on: October 31, 2006, 06:40:36 PM »
Yes.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #19 on: October 31, 2006, 07:03:30 PM »
Thanks.

Do appreciate it.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Create rejection file from dry runs?
« Reply #20 on: November 05, 2006, 06:49:25 PM »
It seems you can create rejection files from dry runs like this :
Code: [Select]
patch -p0 --dry-run --global-reject-file=foo.rej < path-to-your-diffI haven't tried it personally (found it here)
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #21 on: November 06, 2006, 07:01:18 PM »
Hmm.

Looked at it and tried it out but it returns with:

patch: unrecognized option `--global-reject=foo.rej'
patch: Try `patch --help' for more information.


So I looked at help and there was an option called --reject-file, so I used that like so:

patch -p0 --dry-run --reject-file=foo.rej < path-to-your-diff

But no file gets created.  >:(
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Create rejection file from dry runs?
« Reply #22 on: November 07, 2006, 07:51:58 AM »
looks to me like you did
Quote
patch -p0 --dry-run --global-reject=foo.rej < path-to-your-diff
and not
Quote
patch -p0 --dry-run --global-reject-file=foo.rej < path-to-your-diff
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #23 on: November 07, 2006, 09:13:51 AM »
sorry. forgot to type the "file" bit. It doesnt change anything though. Still doesnt recognise the command.

 :(
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Create rejection file from dry runs?
« Reply #24 on: November 07, 2006, 09:21:34 AM »
Quote from: ipodfoo on November 07, 2006, 09:13:51 AM
sorry. forgot to type the "file" bit. It doesnt change anything though. Still doesnt recognise the command.


I can confirm that the --global-reject-file=foo.rej option does not work for me, either, under the VMware environment.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline NicolasP

  • Developer
  • Member
  • *
  • Posts: 195
Re: Create rejection file from dry runs?
« Reply #25 on: November 08, 2006, 07:03:16 PM »
from the PATCH manpage :
Quote
--global-reject-file=rejectfile
Put all rejects into rejectfile instead of creating separate reject files for all files that have rejects. The rejectfile will contain headers that identify which file each reject refers to. Note that the global reject file is created even if --dry-run is specified (while non-global reject files will only be created without --dry-run).
I tried it on my system and it did work. I'm on kubuntu and my 'patch' version is 2.5.9.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Create rejection file from dry runs?
« Reply #26 on: November 08, 2006, 07:15:41 PM »
I have patch version 2.5.9 for debian.

I asked the guy from that website how he has that working, he said:
Quote
IU found the solution: the --global-reject-file is a Debian patch
addition. Sorry for this.
I assume you'd have to patch debian itself with a patch that does the global-reject-file command? ???

Is is possible to update debian?
« Last Edit: November 08, 2006, 07:23:19 PM by ipodfoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Create rejection file from dry runs?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.167 seconds with 21 queries.