unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* error at "aclocal -I m4" during packaging
@ 2020-11-05 16:23 mbcladwell
  0 siblings, 0 replies; 2+ messages in thread
From: mbcladwell @ 2020-11-05 16:23 UTC (permalink / raw)
  To: help-guix


Hi,

I am working with Artanis-4.1 on Guile-2.2.7 in a Guix protected environment.
I have a bug-fix branch of Artanis called artanis-fix-ssql.
I need to package artanis-fix-ssql for testing.
I tried to import the package recipe from artanis

------manifest.scm----------------------------------
(specifications->manifest
		'("guile@2.2.7" "artanis" "coreutils" "gawk" "sed" "findutils"  
"glibc" "grep"  "openssl"
		"guix" "automake" "autoconf" "libtool" "bzip2" "gcc-toolchain"  
"gettext" "libgcrypt"
		"pkg-config" "m4" "make"))
----------------------------------------------------

--------artanis-fix-ssql.scm------------------------
(use-modules
  (guix packages)
  (gnu)
  (gnu packages)
  (guix download)
  (guix build-system gnu)
  (guix licenses)
  (guix store)
  (gnu packages pkg-config)
  (gnu packages guile-xyz)
  (artanis artanis))

(define-public artanis-fix-ssql
   (package (inherit artanis)
     (name "artanis-fix-ssql")
     (version "4.1")
     (source (origin
               (method url-fetch)
               (uri  
"https://gitlab.com/NalaGinrut/artanis/-/archive/fix/ssql/artanis-fix-ssql.tar.gz")
               (sha256
                (base32
                 "1lg2grj8qiw8hg0712qw1zldljg3mfph1m9nmgwyp11axgn18k99"))))

  (build-system gnu-build-system)
   (native-inputs
    `(("pkg-config" ,pkg-config)))

     (license gpl3+)
     ))

artanis-fix-ssql
----------------------------------------------------

$ guix environment --pure  --manifest=manifest.scm
$ guix package --install-from-file=artanis-fix-ssql.scm

The build fails with the terminal output:
  'bootstrap' phasebuilder for  
`/gnu/store/z19wxyr945l8piq00fy6bbn400rj6i03-artanis-fix-ssql-4.1.drv'  
failed with exit code 1
build of  
/gnu/store/z19wxyr945l8piq00fy6bbn400rj6i03-artanis-fix-ssql-4.1.drv  
failed
View build log at  
'/var/log/guix/drvs/z1/9wxyr945l8piq00fy6bbn400rj6i03-artanis-fix-ssql-4.1.drv.bz2'.
cannot build derivation  
`/gnu/store/klps0a6zb1fybc167kxyz95kpw2ad8lx-profile.drv': 1  
dependencies couldn't be built
guix package: error: build of  
`/gnu/store/klps0a6zb1fybc167kxyz95kpw2ad8lx-profile.drv' failed


The last few lines of the log file are:

running './autogen.sh'
patch-shebang: ./autogen.sh: changing `/bin/sh' to  
`/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh'
aclocal -I m4
make: aclocal: No such file or directory
make: *** [.Makefile.dist:5: configure] Error 127
command "./autogen.sh" failed with status 2


at the terminal:
$ echo $ACLOCAL_PATH
/usr/share/aclocal

Where did I go wrong?
Thanks
Mortimer





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error at "aclocal -I m4" during packaging
@ 2020-11-06 11:24 mbcladwell
  0 siblings, 0 replies; 2+ messages in thread
From: mbcladwell @ 2020-11-06 11:24 UTC (permalink / raw)
  To: help-guix


To update my previous email - by including  "bash" "bash-minimal" in  
the manifest and importing modules
(guix build utils) (guix build-system guile)

I get past the aclocal error and now the error is:

cat: build.err.cache.go: No such file or directory
make: *** [Makefile:79: obj/artanis/artanis.go] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:79: obj/artanis/cache.go] Error 1
make[1]: 'artanis/version.scm' is up to date.
make[1]: Leaving directory  
'/tmp/guix-build-artanis-fix-ssql-4.1.drv-0/artanis-fix-ssql'
command "make" "-j" "4"  
"MOD_PATH=/gnu/store/a7b5389pb4nycx9lwywirxslhvchb52c-artanis-fix-ssql-4.1/share/guile/site/2.2"  
"MOD_COMPILED_PATH=/gnu/store/a7$


So I am guessing that I am missing dependencies of the build system.   
What are they?
And I thought import was supposed to provide all dependencies and  
procedures utilized by the parent package.  Why isn't that happening?
Thanks
Mortimer



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-06 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 16:23 error at "aclocal -I m4" during packaging mbcladwell
2020-11-06 11:24 mbcladwell

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git