unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "daniel.maksymow--- via Guix-patches" via <guix-patches@gnu.org>
To: 57453 <57453@debbugs.gnu.org>
Subject: [bug#57453] WIP
Date: Sun, 11 Sep 2022 15:28:26 +0200 (CEST)	[thread overview]
Message-ID: <NBgj90x--3-2@tuta.io> (raw)
In-Reply-To: <NATslO3--3-2@tuta.io>

[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]

Finally I found the time for building this package. I removed those generated flags and added
native-inputs autoconf automake. Looks like there is an error in configure.ac file

But during build I get this error:
./configure: line 4921: syntax error near unexpected token `$flag,'
./configure: line 4921: `    JAPHAR_GREP_CFLAGS($flag,  CFLAGS="$CFLAGS $flag" )'
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" arguments: ("./configure" "CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/skdzrcbnmvafa5zk2i0jxw6sxl2b7hz9-chrpath-0.16" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu") exit-status: 2 term-signal: #f stop-signal: #f>
phase `configure' failed after 1.5 seconds

I checked configure.ac file and I found this:
if eval "test x$GCC = xyes"; then
  for flag in \
      -W \
      -Wall \
      -Wcast-align \
      -Wcast-qual \
      -Wcomments \
      -Wmissing-declarations \
      -Wmissing-prototypes \
      -Wpointer-arith \
      -Wreturn-type \
      -Wstrict-prototypes
  do
    JAPHAR_GREP_CFLAGS($flag, [ CFLAGS="$CFLAGS $flag" ])
  done
fi

Have you idea what can be wrong here?

Best Regards,
Daniel

[-- Attachment #2: Type: text/html, Size: 2613 bytes --]

  parent reply	other threads:[~2022-09-11 16:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 10:40 [bug#57453] Add chrpath package damaxi via Guix-patches via
2022-08-28 16:10 ` [bug#57453] Add new package chrpath damaxi via Guix-patches via
2022-08-28 16:33 ` [bug#57453] Add chrpath package Maxime Devos
2022-08-28 19:16 ` [bug#57453] WIP daniel.maksymow--- via Guix-patches via
2022-08-28 22:24   ` Maxime Devos
2022-09-11 13:28 ` daniel.maksymow--- via Guix-patches via [this message]
2022-09-12 14:22   ` [bug#57453] WIP (chrpath) Maxime Devos
     [not found]     ` <NCBSkq3--3-2@tuta.io>
2022-09-17 19:57       ` Maxime Devos

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=NBgj90x--3-2@tuta.io \
    --to=guix-patches@gnu.org \
    --cc=57453@debbugs.gnu.org \
    --cc=daniel.maksymow@tuta.io \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).