all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Builder error on package build
@ 2024-03-01 13:30 Pablo Martinez
  2024-03-03 20:47 ` Richard Sent
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Martinez @ 2024-03-01 13:30 UTC (permalink / raw)
  To: help-guix

Hello guix!

I'm trying to build a package, and I'm getting this error:



builder for `/gnu/store/x4p1bry8c5lakzjv1bs4jb118dlj2j0g-openfortivpn-webview-1.2.0.drv' failed to produce output path `/gnu/store/2r3mk9rh3ycyc905c30bwdj0xvqnpcjg-openfortivpn-webview-1.2.0'



Here's the https://pastebin.com/vgtKBKAi and here's the https://pastebin.com/i3LvZ4cp.



Any help will be greatly appreciated, as this is my first try in packaging any software!








 


Pablo Martinez 
     Cleverpy Machine Learning 


site:         http://www.cleverpy.com       


email: p.martinez@cleverpy.com

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

* Re: Builder error on package build
  2024-03-01 13:30 Builder error on package build Pablo Martinez
@ 2024-03-03 20:47 ` Richard Sent
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sent @ 2024-03-03 20:47 UTC (permalink / raw)
  To: Pablo Martinez; +Cc: help-guix

Pablo Martinez <p.martinez@cleverpy.com> writes:

> builder for
> `/gnu/store/x4p1bry8c5lakzjv1bs4jb118dlj2j0g-openfortivpn-webview-1.2.0.drv'
> failed to produce output path
> `/gnu/store/2r3mk9rh3ycyc905c30bwdj0xvqnpcjg-openfortivpn-webview-1.2.0'
>
> Here's the https://pastebin.com/vgtKBKAi and here's the https://pastebin.com/i3LvZ4cp.

Hi Pablo!

I'm not familiar with qmake, but according to
https://stackoverflow.com/a/18158261 QMAKE uses DESTDIR, not PREFIX, for
placing installation files. I found that your package built with this
configure step replacement:

--8<---------------cut here---------------start------------->8---
(replace 'configure
         (lambda* (#:key outputs #:allow-other-keys) 
                  (invoke "qmake" "." (string-append "DESTDIR="
       (assoc-ref outputs "out")))))
--8<---------------cut here---------------end--------------->8---

i.e. DESTDIR=, not PREFIX=.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.


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

end of thread, other threads:[~2024-03-03 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 13:30 Builder error on package build Pablo Martinez
2024-03-03 20:47 ` Richard Sent

Code repositories for project(s) associated with this external index

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

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.