LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 08-17-2011, 04:11 AM   #1
apatil65
LQ Newbie
 
Registered: Aug 2011
Location: INDIA
Posts: 13

Rep: Reputation: Disabled
Question Tar error


Hi,See the below script,

155 # Copy source into build tree
156
157 for COF_MAP_ENTRY in $(<${COF_SOURCE_MAP})
158 do
159 # extract source and target directory specs from map file line.
160
161 COF_MAP_SOURCE=$(print ${COF_MAP_ENTRY} | ${AWK} -F: '{print $2}')
162 COF_MAP_TARGET=$(print ${COF_MAP_ENTRY} | ${AWK} -F: '{print $1}')
163
164 print "Copying ${COF_MAP_SOURCE} to ${COF_PACKAGEDIR}/${COF_MAP_TARGET}"
165
166 # check the source directory/file exists
167
168 if [[ ! -d ${COF_MAP_SOURCE} && ! -f ${COF_MAP_SOURCE} ]]
169 then
170 Error "Package source directory/file [${COF_MAP_SOURCE}] does not exist." ${COF_EXIT_DIRECTORY_INVALID}
171 fi
172
173 export COF_MAP_SOURCE
174 export COF_MAP_TARGET
175 export COF_PACKAGEDIR
176
177 # make the target directory in the package tree
178
179 mkdir -p ${COF_PACKAGEDIR}/${COF_MAP_TARGET}
180
181 # copy the directory, or single file dependant on what the source map is defined as
182
183 if [[ -d ${COF_MAP_SOURCE} ]]
184 then
185 (cd ${COF_MAP_SOURCE}; tar hlcf - .) | (cd ${COF_PACKAGEDIR}/${COF_MAP_TARGET}; tar xf - )
186 else
187 (cd `dirname ${COF_MAP_SOURCE}` ; tar hlcf - ./`basename ${COF_MAP_SOURCE}`) | (cd ${COF_PACKAGEDIR}/${COF_MAP_TARGET}; tar xf - )
188 fi
189
190 # Make a Bill Of Materials of the source files
191 COF_BOM_DIR=${COF_PACKAGEDIR}/bom/${COF_MAP_TARGET}
192 COF_BOM_FILE="$( basename ${COF_MAP_TARGET}).txt"
193 mkdir -p ${COF_BOM_DIR}
194 CreateInventory ${COF_MAP_SOURCE} > ${COF_BOM_DIR}/${COF_BOM_FILE}
195
196 done


Then i got the below error, Please help me to resolve this error.

Copying /vob/cm/EME/utility_scripts to /vob/utils/build/ngmlx400.dev.uk.capitalone.com/build/eme_project_delivery/15.0.1/utility_scripts

tar: ./project_promotion: Cannot open: No such device or address

tar: ./project_promotion.conf: Cannot open: No such device or address

tar: ./checkout_listed_projects.ksh: Cannot open: No such device or address

tar: ./load_listed_projects.ksh: Cannot open: No such device or address

tar: ./save_listed_projects.ksh: Cannot open: No such device or address

tar: ./dde_checkout_listed_projects.ksh: Cannot open: No such device or address

tar: ./dde_create_data_directories.ksh: Cannot open: No such device or address

tar: ./dde_load_listed_projects.ksh: Cannot open: No such device or address

tar: ./dde_parameter_override.ksh: Cannot open: No such device or address

tar: ./dde_project_list_sort.ksh: Cannot open: No such device or address

tar: Error exit delayed from previous errors
 
Old 08-17-2011, 05:31 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Please do not post a question twice.
 
Old 08-17-2011, 02:17 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Follow-ups here
 
  


Closed Thread



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
"Invalid tar magic" error msg. when I try to tar ldmud *.tar file in DSL pixxi451 Linux - Newbie 4 07-04-2010 08:32 AM
Error in TAR - tar: GNU features wanted on incompatible archive format. kuldeep.k Linux - General 3 08-14-2009 11:09 AM
tar this does not look like a tar archive exit depalyed from previous error tasay Linux - Software 1 07-01-2009 03:34 PM
tar & un tar Data integrity error ShadowHywind Linux - General 1 08-13-2008 08:29 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:45 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