All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Freihofer <adrian.freihofer@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>
Subject: [meta-oe][PATCH] srecord: build fix
Date: Wed,  6 Apr 2022 13:34:34 +0200	[thread overview]
Message-ID: <20220406113434.533132-1-adrian.freihofer@siemens.com> (raw)

build failed with:
ln: failed to create symbolic link '...srecord-1.64/configure.ac': File exists

As expected, the existing file was a symlink pointing to etc/configure.ac

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 meta-oe/recipes-support/srecord/srecord_1.64.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/srecord/srecord_1.64.bb b/meta-oe/recipes-support/srecord/srecord_1.64.bb
index 85deabde1..5765272ce 100644
--- a/meta-oe/recipes-support/srecord/srecord_1.64.bb
+++ b/meta-oe/recipes-support/srecord/srecord_1.64.bb
@@ -21,7 +21,7 @@ inherit autotools-brokensep
 do_configure:prepend() {
     # To autoreconf we need the script in ${S}, we can't tell autotools to use
     # etc/ because then it can't find the Makefile.in
-    ln -s ${S}/etc/configure.ac ${S}
+    ln -sf ${S}/etc/configure.ac ${S}
 }
 
 PACKAGECONFIG ??= "gcrypt"
-- 
2.35.1



                 reply	other threads:[~2022-04-06 16:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220406113434.533132-1-adrian.freihofer@siemens.com \
    --to=adrian.freihofer@gmail.com \
    --cc=adrian.freihofer@siemens.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.