Ok, I updated the package definition as follow:
```
(define-public python-etebase
(package
(name "python-etebase")
(version "0.31.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/etesync/etebase-py/releases/download/v0.31.2/ete
pip" "install"
"/gnu/store/pbv52yan4xnwbi426qywcfkls681k3lg-etebase-0.31.2-cp38-cp38-manylinux2010_x86_64.whl"
"--prefix=/gnu/store/18vg8h9yh2a3f6vlqn2kcxhbrfzrchns-python-etebase-0.31.2")
exit-status: 1
term-signal: #f
stop-signal: #f
--
Hamzeh Nasajpour
PantherX Team
Hi,
https://unix.stackexchange.com/questions/7013/why-do-we-use-su-and-not-just-su/7021#7021
>su - invokes a login shell after switching the user. A login shell resets most
>environment variables, providing a clean base.
>su just switches the user, providing a normal shell with an environment n
Hi Gio,
> please can you show us only the relevant parts [1] of your bash profile
> (or other shell profile) for "user" and "root"?
This is my `/etc/profile` content:
```
# Crucial variables that could be missing in the profiles' 'etc/profile'
# because they would require combining both profiles
e are env variables in
`root`. My main issue is why these variables in `root` point to `USER` paths?
--
Hamzeh Nasajpour
PantherX Team
Hi,
I've a weird issue with all `XDG_..` env paths in the `root`. These are
`XDG_...` env paths in `user` and `root`, exactly are same:
```
XDG_CONFIG_DIRS=/home/hamzeh/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg:/home/hamzeh/.guix-profile/etc/xdg:/run/current-system/profile/etc/xd
ssed?
Regards,
Hamzeh Nasajpour
PantherX Team
Hi guys.
I have a cpp Application that should be build with `gcc-toolchain-10.2.0`. I
could build it in local. But seems that in package building the
`cmake-build-system` is using the `gcc-7.5.0`. How can I set a specific version
of gcc for building my package definition?
```
...
/tmp/guix-bu
Hi guys,
Anybody has any solution? For now I face with this error in package
installation:
```
...
Compiling etebase-python v0.30.0
(/tmp/guix-build-python-etebase-py-0.30.0.drv-0/etebase-0.30.0)
error: unterminated double quote string
--> src/lib.rs:63:44
|
63 | include!(concat!(env!("
Thanks for your quick reply.
> (native-inputs
>`(...
> ("rust:cargo" ,rust "cargo")
> ...))
Thanks this step passed, but now I face with another error in dependencies.
```
...
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
Hi Hartmut,
> You could validate $PATH like this: Add a phase before the
> build-phase, containing just "(pk (getenv PATH))".
This is the output of this line:
```
/gnu/store/wc4xh9wj49rlbyivxi4lsws6whhzx4ab-python-wrapper-3.8.2/bin:/gnu/store/axjq514q8gqk90hi7r7wpfbba3id6h18-rust-1.39.0/bin:/gn
Hi Efraim,
> I'd add in a substitution here for openssl like this (untested):
>;; Don't depend on vendored sources
>(("0.10.30.*") "0.10.30\" }\n")
>
Thanks, I added it and this step passed and now I don't get the previous error
in building.
Now I faced with an
Hello John,
Thanks for your following up.
I put the `openssl` in `inputs` too and the problem wasn't resolved. I also I
packaged the `openssl-src` and repackage the `openssl-sys` and this is didn't
resolved the problem too.
The point is with the following package definitions the `rust-openssl
I'm so sorry I had a mistake in the previous package definition, I was in
testing. Please remove these lines in the previous definition:
```
(substitute* "Cargo.toml"
(("0.10.30\"" all) "0.10.30\"}# "))
```
It means that my package definition is:
```
(define-public pytho
This is my package definition till now. The repository of the package is here:
https://github.com/etesync/etebase-py/
Also I should to say I package these (since they aren't available in the
upstream packages):
* openssl@0.10.30
* cpython@0.3
* etebase-rs
* flapigen-0.6
I didn't attach them here
Hello John,
Thanks for your quick reply.
But as you see in `Cargo.toml`, this feature mentioned and I think it's needed.
In the other side setting the `OPENSSL_DIR` didn't resolve my issue.
Do you have any other suggestion?
Can I repackage `rust-openssl-sys-0.9` and remove this line in the pac
Hi,
I face with an issue in one library that I'm packaging by myself. This library
has one dependency to `rust-openssl@0.10.30`, I updated the `rust-openssl` to
`0.10.30` and now I get this error in the package building:
```
...
patch-cargo-checksums: generate-checksums for
guix-vendor/rust-z
Hi,
Thanks for your quick and helpful reply.
The problem resolved.
Regards,
Hamzeh
On Mon, Oct 19, 2020, at 12:36 PM, Arun Isaac wrote:
>
> To enable the unstable inner_deref feature, you need to add the line
> "#![feature(inner_deref)]" to the top of src/lib.rs. And, you might need
> to enabl
Hi,
I want to package the `etebase-py` library:
https://github.com/etesync/etebase-py/
It's using the `setuptools_rust` for build/install. Also it has some rust
dependencies that I packaged them. And now I create a package definition by
`guix import ...`:
```
(define-public python-etebase
(p
Hi,
I'm not expert in `rust`. I need to work with a library that has some
dependencies to rust and I had to package a few libraries in GuixSD. Anyway now
I faced with an error in building one rust package:
```
error[E0658]: use of unstable library feature 'inner_deref': newly added
--> src/htt
Hi,
I'm using `dlib` in a project and I found that the static library will be
deleted in the `delete-static-library` phase in the package installation. Why?
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/machine-learning.scm#n814
Is there any problem to comment these lines for us
ple,
multi-login/multi instance of shepherd and so on.
Do you have any idea?
On Fri, Oct 4, 2019, at 6:49 PM, Gábor Boskovits wrote:
> Hello,
>
> Hamzeh Nasajpour ezt írta (időpont: 2019.
> okt. 4., Pén 10:31):
> > Thanks for your reply.
> >
> > It's
Thanks for your reply.
It's a good example. But my main problem is running `shepherd` as normal user
automatically.
For now, I've to run it manually.
On Fri, Oct 4, 2019, at 4:28 AM, ison wrote:
> On Fri, Oct 04, 2019, Hamzeh Nasajpour wrote:
> > Hi,
> >
> >
Hi,
I'm going to run `shepherd` as a normal user automatically (at startup). How
can I do that?
I know the `shepherd` will be run as root with PID=1 in the init system, but I
have some services that should be run by `shepherd` for normal users.
Regards,
Hamzeh
:42 PM, Ricardo Wurmus wrote:
>
> Hamzeh Nasajpour writes:
>
> >> The problem appears to be that qtbase contains references to both sqlite
> >> and sqlite-with-column-metadata. It should contain references to only
> >> one of the two, preferably the one with
-metadata`
here:
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n578
Did you see the `qtbase` package definition? I don't see `sqlite` in it's
package definition.
Regards,
Hamzeh
On Wed, Aug 7, 2019, at 4:13 PM, Hamzeh Nasajpour wrote:
>
>
> On Wed, Aug
On Wed, Aug 7, 2019, at 4:04 PM, Ricardo Wurmus wrote:
>
> Ricardo Wurmus writes:
>
> >> This is the package definition for `trojita` […]
> >
> > I copied this to the bottom of qt.scm (didn’t want to have to adjust any
> > module imports) and built it just fine.
> >
> > So it looks like nothi
uts `(
("pkg-config", pkg-config)
("qttools",qttools)))
(home-page "http://trojita.flaska.net";)
(synopsis "A Qt IMAP e-mail client")
(description "A Qt IMAP e-mail client")
(license license:gpl2)))
```
On
Hi,
I want to package `trojita` for GuixSD. I created a package definition and it
was build and installed successfully. When I run it I get the following error:
```
/gnu/store/890yw9i7lcjnnxhlza8r121352xp1hi-qtbase-5.11.3/lib/qt5/plugins/sqldrivers/libqsqlite.so:
undefined symbol: sqlite3_colum
Hi,
I have a configuration file that written based on `scm` file like as `guixSD`
config.scm file.
https://www.gnu.org/software/guix/manual/en/html_node/User-Accounts.html#User-Accounts
I want to read/write/modify this config file in python or C/C++.
Do you know any `scm` file parsing or any
30 matches
Mail list logo