Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10209 closed defect (fixed)

Build fails when openwrt is managed in git

Reported by: Christian Kapeller <christian.kapeller@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

I checked out openwrt backfire from svn, and put the whole tree into a git repo to save my own changes. (Not the wisest way to do, but that's how it went)

When trying to build the git repo cloned from a backup location, I saw this output:

> make
++ mkdir -p /home/chrkap/tmp/try-wrt/staging_dir/toolchain-arm_gcc-4.4.3_glibc-2.7_eabi
++ cd /home/chrkap/tmp/try-wrt/staging_dir/toolchain-arm_gcc-4.4.3_glibc-2.7_eabi
++ mkdir -p stamp lib usr/include usr/lib
Collecting package info: done
Collecting target info: done
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
make[2]: Entering directory `/home/chrkap/tmp/try-wrt/scripts/config'
make[2]: *** No rule to make target `conf.o', needed by `conf'.  Stop.
make[2]: Leaving directory `/home/chrkap/tmp/try-wrt/scripts/config'
make[1]: *** [scripts/config/conf] Error 2
make: *** [world] Error 2

It seems some source files in the scripts/config directory are ignored in git by mistake.

This proposed patch removes those files from the .gitignore blacklist.

Attachments (1)

fix-build-from-git-repo.patch (229 bytes) - added by Christian Kapeller <christian.kapeller@…> 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Christian Kapeller <christian.kapeller@…>

comment:1 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r27244

comment:2 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.