public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: "Iorga, Cristian" <cristian.iorga@intel.com>
Cc: "ltp-list@lists.sourceforge.net" <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] ltp: Add patch to correct failing build from archive
Date: Fri, 15 Jun 2012 07:37:42 +0800	[thread overview]
Message-ID: <4FDA75C6.2090000@cn.fujitsu.com> (raw)
In-Reply-To: <969F26A8BAB325438E7EB80D3C3134FB16155EEE@IRSMSX102.ger.corp.intel.com>

On 06/06/2012 03:29 PM, Iorga, Cristian wrote:
> ltp: Add patch to correct failing build from archive
> 
>  
> 
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>

Thanks Cristian, this already fixed in upstream.
refer to, 
https://github.com/linux-test-project/ltp/commit/dbd8b819c293d001b6ee6cb879871833ab23af8b

Wanlong Gao

> 
> 
> fix_building_fom_archive.patch
> 
> 
> ltp: Add patch to correct failing build
>     
>     ltp makefile does not interpret correctly the result of git describe
>     command and assumes that it is working with a git repo, while in fact
>     working with a source code archive.
>     Added a patch to corect makefile system.
>     Tested using dash as shell.
> 
> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
> 
> Index: ltp-20120401/Makefile
> ===================================================================
> --- ltp-20120401.orig/Makefile
> +++ ltp-20120401/Makefile
> @@ -173,7 +173,7 @@ SRCDIR_INSTALL_TARGETS	:= $(SRCDIR_INSTA
>  #
>  .PHONY: Version
>  Version:
> -	if git describe &> /dev/null; then \
> +	if git describe > /dev/null 2>&1; then \
>  		git describe > "$@"; \
>  	else \
>  		cp VERSION "$@"; \



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2012-06-15  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-06  7:29 [LTP] ltp: Add patch to correct failing build from archive Iorga, Cristian
2012-06-14 23:37 ` Wanlong Gao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FDA75C6.2090000@cn.fujitsu.com \
    --to=gaowanlong@cn.fujitsu.com \
    --cc=cristian.iorga@intel.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox