unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: Re: 'guix-build' returns 'unknown package', Bison's testsuite fails
Date: Sat, 26 Jan 2013 18:21:33 +0100	[thread overview]
Message-ID: <201301261821.33888.andreas@enge.fr> (raw)
In-Reply-To: <87sj5ot7he.fsf@karetnikov.org>

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

Am Samstag, 26. Januar 2013 schrieb Nikita Karetnikov:
> I'm trying to package 'gobject-introspection', but I'm facing some
> problems:
>   1. 'guix-build' doesn't work for new packages; it returns
>      "<package>: unknown package."  I'm using the '-e' option as a
>      workaround, but it's not very convenient.
> 
>      For instance, if I copy the recipe for 'sed' to 'newsed.scm', then
>      replace 'sed' with 'newsed' in that file, and try to build it via
>      'guix-build newsed', it will return the mentioned error message.
>      However, it will work if I use the '-e' option.  Also, I won't get
>      any errors if I try to import it in the REPL.
> 
>   2. Bison's testsuite fails and I'm not able to fix it.  So I'd like to
>      disable it because I want to test 'gobject-introspection'.  Why
>      doesn't '(arguments `(#:tests? #f))' disable the testsuite?
> 
> These issues may seem unrelated, but there is a similarity: My changes
> have no effect.  I've just replaced 'gnu/packages/bison.scm' with an
> empty file, but 'guix-build bison' doesn't raise any errors.  Is it
> related?

That has happened to me before when I forgot to execute "make install" or 
to add a file to Makefile.am.

Also, after deleting a file, it is not deleted from $PREFIX/share/...; in 
this way, it has happened to me that I had two versions of a package, one 
from a deleted/renamed file, one from the file with the new name; and the 
wrong one was built...

Andreas

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

  reply	other threads:[~2013-01-26 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-26 13:10 'guix-build' returns 'unknown package', Bison's testsuite fails Nikita Karetnikov
2013-01-26 17:21 ` Andreas Enge [this message]
2013-01-26 21:03 ` Ludovic Courtès
2013-01-28 14:35   ` Bison: testsuite failed (was: 'guix-build' returns 'unknown package', Bison's testsuite fails) Nikita Karetnikov
2013-01-28 16:35     ` Bison: testsuite failed Ludovic Courtès
2013-01-31  5:18       ` Nikita Karetnikov

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=201301261821.33888.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=bug-guix@gnu.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.
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).