Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Cannot compile cmake with `-N` option
@ 2020-10-31 22:49 RossComputerGuy
  2020-10-31 23:27 ` sgn
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-10-31 22:49 UTC (permalink / raw)
  To: ml

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

New issue by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.8.16_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFF`
* package:  `cmake-3.18.2_2`

### Expected behavior
CMake should be able to compile without relying on itself

### Actual behavior
`xbps-src` reports a cyclical dependency error between cmake and cmake.

### Steps to reproduce the behavior
`./xbps-src -N -j 16 pkg cmake`

**Note**: I'm compiling cmake with `-N` for the OS I'm building that is based on Void Linux.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
@ 2020-10-31 23:27 ` sgn
  2020-10-31 23:44 ` sgn
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-10-31 23:27 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720001349

Comment:
On 2020-10-31 15:49:31-0700, Tristan Ross <notifications@github.com> wrote:
> <!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
> ### System
> 
> * xuname:  `Void 5.8.16_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFF`
> * package:  `cmake-3.18.2_2`
> 
> ### Expected behavior
> CMake should be able to compile without relying on itself
> 
> ### Actual behavior
> `xbps-src` reports a cyclical dependency error between cmake and cmake.
> 
> ### Steps to reproduce the behavior
> `./xbps-src -N -j 16 pkg cmake`
> 
> **Note**: I'm compiling cmake with `-N` for the OS I'm building that is based on Void Linux.

Please upload your build log.
CMake shouldn't require cmake to build.
It requires cmake-bootstrap instead.

-- 
Danh


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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
  2020-10-31 23:27 ` sgn
@ 2020-10-31 23:44 ` sgn
  2020-10-31 23:47 ` RossComputerGuy
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-10-31 23:44 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720002747

Comment:
Anyway, when you're starting a fork of Void Linux, you should start the bootstrap process first ;)

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
  2020-10-31 23:27 ` sgn
  2020-10-31 23:44 ` sgn
@ 2020-10-31 23:47 ` RossComputerGuy
  2020-11-01  0:00 ` ericonr
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-10-31 23:47 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720002968

Comment:
I did run `./xbps-src binary-bootstrap` first. Then I removed everything from `srcpkgs` so I can add in what I only need.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (2 preceding siblings ...)
  2020-10-31 23:47 ` RossComputerGuy
@ 2020-11-01  0:00 ` ericonr
  2020-11-01  0:00 ` ericonr
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: ericonr @ 2020-11-01  0:00 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720003955

Comment:
You should start with `./xbps-src bootstrap` if you want to start from zero.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (3 preceding siblings ...)
  2020-11-01  0:00 ` ericonr
@ 2020-11-01  0:00 ` ericonr
  2020-11-01  0:01 ` ericonr
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: ericonr @ 2020-11-01  0:00 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720003955

Comment:
You should start with `./xbps-src bootstrap` if you want to start from zero. And then always use the packages from there.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (4 preceding siblings ...)
  2020-11-01  0:00 ` ericonr
@ 2020-11-01  0:01 ` ericonr
  2020-11-01  0:12 ` sgn
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: ericonr @ 2020-11-01  0:01 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720003955

Comment:
You should start with `./xbps-src bootstrap` if you want to start from zero. And then always use the packages from there.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (5 preceding siblings ...)
  2020-11-01  0:01 ` ericonr
@ 2020-11-01  0:12 ` sgn
  2020-11-01  0:16 ` RossComputerGuy
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  0:12 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720005355

Comment:
On 2020-10-31 16:47:47-0700, Tristan Ross <notifications@github.com> wrote:
> I did run `./xbps-src binary-bootstrap` first.

If it's binary-bootstrap, you'll use VoidLinux's for bootstrap
compiler. Which is another trusting trust problems ;)

> Then I removed everything from `srcpkgs` so I can add in what I only need.

I guess you started doing that long time ago.

Could you check if your "common/environment/build-style/cmake.sh"
matches with ours?

We've changed not long ago because bootstrapping ccache requires
cmake, too.

-- 
Danh


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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (6 preceding siblings ...)
  2020-11-01  0:12 ` sgn
@ 2020-11-01  0:16 ` RossComputerGuy
  2020-11-01  0:25 ` sgn
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  0:16 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720005759

Comment:
That script is out of date on mine, but with `xbps-src bootstrap` I'm getting a problem with glibc:
```
=> glibc-2.30_1: installing target dependencies: kernel-libc-headers-4.19.0_2 ...
=> glibc-2.30_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> glibc-devel-2.30_1: running pre-install hook: 00-lib32 ...
=> glibc-devel-2.30_1: running pre-install hook: 02-script-wrapper ...
=> glibc-devel-2.30_1: running pre-install hook: 98-fixup-gir-path ...
=> glibc-devel-2.30_1: running pkg_install ...
mv: cannot stat '/home/ross/ExpidusOS/void-packages/masterdir/destdir//glibc-2.30/usr/include': No such file or directory
=> ERROR: glibc-devel-2.30_1: pkg_install: 'mv ${_destdir}/$files ${_pkgdestdir}/${_targetdir}' exited with 1
=> ERROR:   in _vmove() at common/environment/setup/install.sh:232
=> ERROR:   in _noglob_helper() at common/environment/setup/install.sh:12
=> ERROR:   in pkg_install() at srcpkgs/glibc-devel/template:195
```

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (7 preceding siblings ...)
  2020-11-01  0:16 ` RossComputerGuy
@ 2020-11-01  0:25 ` sgn
  2020-11-01  0:40 ` RossComputerGuy
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  0:25 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720006702

Comment:
That's weird, we're always doing a full bootstrap from zero (in developers' machine) when updating any packages in base-chroot. Can you remove everything and try again? (Since you removed everything and add only what you need, your maybe broken and unsupported ;) )

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (8 preceding siblings ...)
  2020-11-01  0:25 ` sgn
@ 2020-11-01  0:40 ` RossComputerGuy
  2020-11-01  0:45 ` sgn
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  0:40 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720008165

Comment:
I removed everything and added only what `xbps-src bootstrap` said it needed and this message now shows up for `glibc`:
```
=> Transformed bash script: /home/ross/ExpidusOS/void-packages/masterdir/destdir//glibc-2.30/usr/bin/ldd.
=> glibc-devel-2.30_1: running pre-install hook: 00-lib32 ...
=> glibc-devel-2.30_1: running pre-install hook: 02-script-wrapper ...
=> glibc-devel-2.30_1: running pre-install hook: 98-fixup-gir-path ...
=> glibc-devel-2.30_1: running pkg_install ...
=> glibc-devel-2.30_1: running post-install hook: 00-compress-info-files ...
   Compressing info file: /usr/share/info/libc.info-2...
   Compressing info file: /usr/share/info/libc.info-15...
   Compressing info file: /usr/share/info/libc.info-12...
   Compressing info file: /usr/share/info/libc.info-13...
   Compressing info file: /usr/share/info/libc.info-8...
   Compressing info file: /usr/share/info/libc.info-6...
   Compressing info file: /usr/share/info/libc.info-14...
   Compressing info file: /usr/share/info/libc.info-11...
   Compressing info file: /usr/share/info/libc.info-3...
   Compressing info file: /usr/share/info/libc.info-10...
   Compressing info file: /usr/share/info/libc.info-17...
   Compressing info file: /usr/share/info/libc.info...
   Compressing info file: /usr/share/info/libc.info-1...
   Compressing info file: /usr/share/info/libc.info-4...
   Compressing info file: /usr/share/info/libc.info-7...
   Compressing info file: /usr/share/info/libc.info-5...
   Compressing info file: /usr/share/info/libc.info-9...
   Compressing info file: /usr/share/info/libc.info-16...
=> glibc-devel-2.30_1: running post-install hook: 00-lib32 ...
=> glibc-devel-2.30_1: running post-install hook: 00-uncompress-manpages ...
=> glibc-devel-2.30_1: running post-install hook: 01-remove-localized-manpages ...
=> glibc-devel-2.30_1: running post-install hook: 01-remove-misc ...
=> glibc-devel-2.30_1: running post-install hook: 02-remove-libtool-archives ...
=> glibc-devel-2.30_1: running post-install hook: 02-remove-perl-files ...
=> glibc-devel-2.30_1: running post-install hook: 02-remove-python-bytecode-files ...
=> glibc-devel-2.30_1: running post-install hook: 03-remove-empty-dirs ...
=> glibc-devel-2.30_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> ERROR: glibc-devel: unknown trigger info-files, aborting!
```

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (9 preceding siblings ...)
  2020-11-01  0:40 ` RossComputerGuy
@ 2020-11-01  0:45 ` sgn
  2020-11-01  0:45 ` [ISSUE] [CLOSED] " sgn
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  0:45 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720008744

Comment:
> => ERROR: glibc-devel: unknown trigger info-files, aborting!

Check your `srcpkgs/xbps-triggers/files` ;)

Anyway, from now on, each questions will NOT be answered without payment ;)

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

* Re: [ISSUE] [CLOSED] Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (10 preceding siblings ...)
  2020-11-01  0:45 ` sgn
@ 2020-11-01  0:45 ` sgn
  2020-11-01  0:47 ` RossComputerGuy
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  0:45 UTC (permalink / raw)
  To: ml

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

Closed issue by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.8.16_1 x86_64 AuthenticAMD uptodate rrrrmmnFFFFF`
* package:  `cmake-3.18.2_2`

### Expected behavior
CMake should be able to compile without relying on itself

### Actual behavior
`xbps-src` reports a cyclical dependency error between cmake and cmake.

### Steps to reproduce the behavior
`./xbps-src -N -j 16 pkg cmake`

**Note**: I'm compiling cmake with `-N` for the OS I'm building that is based on Void Linux.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (11 preceding siblings ...)
  2020-11-01  0:45 ` [ISSUE] [CLOSED] " sgn
@ 2020-11-01  0:47 ` RossComputerGuy
  2020-11-01  0:47 ` sgn
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  0:47 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720008843

Comment:
Okay adding the `xbps-triggers` fixes that error but the previous error is back.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (12 preceding siblings ...)
  2020-11-01  0:47 ` RossComputerGuy
@ 2020-11-01  0:47 ` sgn
  2020-11-01  0:48 ` q66
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  0:47 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720008905

Comment:
> Okay adding the `xbps-triggers` fixes that error but the previous error is back.

Remove everything and try again. 100 bucks accounted.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (13 preceding siblings ...)
  2020-11-01  0:47 ` sgn
@ 2020-11-01  0:48 ` q66
  2020-11-01  0:55 ` RossComputerGuy
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: q66 @ 2020-11-01  0:48 UTC (permalink / raw)
  To: ml

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

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720008918

Comment:
we don't provide support for self-inflicted errors in random forks, sorry

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (14 preceding siblings ...)
  2020-11-01  0:48 ` q66
@ 2020-11-01  0:55 ` RossComputerGuy
  2020-11-01  1:03 ` RossComputerGuy
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  0:55 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720009518

Comment:
@sgn I already did that and got that error

@q66 Is there someone where I can ask for help when I get errors for making a Void Linux based distro?

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (15 preceding siblings ...)
  2020-11-01  0:55 ` RossComputerGuy
@ 2020-11-01  1:03 ` RossComputerGuy
  2020-11-01  1:10 ` sgn
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  1:03 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720010287

Comment:
I got glibc to compile now.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (16 preceding siblings ...)
  2020-11-01  1:03 ` RossComputerGuy
@ 2020-11-01  1:10 ` sgn
  2020-11-01  4:36 ` RossComputerGuy
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01  1:10 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720010876

Comment:
> I got glibc to compile now.

Congrats, you still owe me 100 bucks ;)

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (17 preceding siblings ...)
  2020-11-01  1:10 ` sgn
@ 2020-11-01  4:36 ` RossComputerGuy
  2020-11-01  6:27 ` RossComputerGuy
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  4:36 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720026243

Comment:
```
=> ccache-4.0_1: building [cmake] (dependency of base-chroot) for x86_64...
   [host] cmake-bootstrap-3.18.2_1: found (/home/ross/ExpidusOS/void-packages/hostdir/binpkgs)
   [target] libzstd-devel-1.4.5_1: found (/home/ross/ExpidusOS/void-packages/hostdir/binpkgs)
   [target] zlib-devel-1.2.11_3: found (/home/ross/ExpidusOS/void-packages/hostdir/binpkgs)
=> ccache-4.0_1: installing host dependencies: cmake-bootstrap-3.18.2_1 ...
=> ccache-4.0_1: installing target dependencies: libzstd-devel-1.4.5_1 zlib-devel-1.2.11_3 ...
=> ccache-4.0_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> ccache-4.0_1: running pre-configure hook: 01-override-config ...
=> ccache-4.0_1: running pre-configure hook: 02-script-wrapper ...
=> ccache-4.0_1: running do_configure ...
-- Ccache version: 4.0
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  please install libzstd or use -DZSTD_FROM_INTERNET=ON (missing:
  ZSTD_INCLUDE_DIR ZSTD_LIBRARY) (Required is at least version "1.1.2")
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  cmake/Findzstd.cmake:48 (find_package_handle_standard_args)
  CMakeLists.txt:57 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ross/ExpidusOS/void-packages/masterdir/builddir/ccache-4.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/ross/ExpidusOS/void-packages/masterdir/builddir/ccache-4.0/build/CMakeFiles/CMakeError.log".
=> ERROR: ccache-4.0_1: do_configure: 'CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} $(echo ${cmake_builddir}|sed 			-e 's|[^/]$|/|' -e 's|[^/]*||g' -e 's|/|../|g')' exited with 1
=> ERROR:   in do_configure() at common/build-style/cmake.sh:6
```
And now libzstd isn't found for ccache. I've pulled the latest commits and merged them in to be sure.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (18 preceding siblings ...)
  2020-11-01  4:36 ` RossComputerGuy
@ 2020-11-01  6:27 ` RossComputerGuy
  2020-11-01 12:40 ` sgn
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01  6:27 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720041426

Comment:
```
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  please install libzstd or use -DZSTD_FROM_INTERNET=ON (missing:
  ZSTD_INCLUDE_DIR ZSTD_LIBRARY) (Required is at least version "1.1.2")
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  cmake/Findzstd.cmake:48 (find_package_handle_standard_args)
  CMakeLists.txt:57 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ross/void-packages/masterdir/builddir/ccache-4.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/ross/void-packages/masterdir/builddir/ccache-4.0/build/CMakeFiles/CMakeError.log".
=> ERROR: ccache-4.0_1: do_configure: 'CFLAGS="${CFLAGS/ -pipe / }" CXXFLAGS="${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} $(echo ${cmake_builddir}|sed 			-e 's|[^/]$|/|' -e 's|[^/]*||g' -e 's|/|../|g')' exited with 1
=> ERROR:   in do_configure() at common/build-style/cmake.sh:62
```
Okay, this error happens with upstream.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (19 preceding siblings ...)
  2020-11-01  6:27 ` RossComputerGuy
@ 2020-11-01 12:40 ` sgn
  2020-11-01 15:30 ` RossComputerGuy
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01 12:40 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720082242

Comment:
The ccache error is valid bug. https://github.com/void-linux/void-packages/pull/26039


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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (20 preceding siblings ...)
  2020-11-01 12:40 ` sgn
@ 2020-11-01 15:30 ` RossComputerGuy
  2020-11-01 15:35 ` sgn
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01 15:30 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720106216

Comment:
Alright, I merged in the fix for my repo but now I'm getting a utf8 error with ca-certificates:
```
=> ca-certificates-20200601_2: running do-pkg hook: 00-gen-pkg ...
=> Creating ca-certificates-20200601_2.x86_64.xbps for repository /home/ross/ExpidusOS/void-packages/hostdir/binpkgs ...
xbps-create: ERROR: cannot write ./usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt to archive: Can't translate pathname './usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt' to UTF-8
=> ERROR: Failed to created binary package: ca-certificates-20200601_2.x86_64.xbps!
```
I checked the pull requests and other issues, seems like nobody else has reported it. Yet again, this is an upstream issue:
```
=> ca-certificates-20200601_2: running pre-pkg hook: 999-collected-rdeps ...
   libressl>=2.2.4_2 run-parts>=0
=> ca-certificates-20200601_2: running do-pkg hook: 00-gen-pkg ...
=> Creating ca-certificates-20200601_2.x86_64.xbps for repository /home/ross/void-packages/hostdir/binpkgs ...
xbps-create: ERROR: cannot write ./usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt to archive: Can't translate pathname './usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt' to UTF-8
=> ERROR: Failed to created binary package: ca-certificates-20200601_2.x86_64.xbps!
```

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (21 preceding siblings ...)
  2020-11-01 15:30 ` RossComputerGuy
@ 2020-11-01 15:35 ` sgn
  2020-11-01 15:37 ` RossComputerGuy
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01 15:35 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720107005

Comment:
On 2020-11-01 07:30:20-0800, Tristan Ross <notifications@github.com> wrote:
> Alright, I merged in the fix for my repo but now I'm getting a utf8 error with ca-certificates:
> ```
> => ca-certificates-20200601_2: running do-pkg hook: 00-gen-pkg ...
> => Creating ca-certificates-20200601_2.x86_64.xbps for repository /home/ross/ExpidusOS/void-packages/hostdir/binpkgs ...
> xbps-create: ERROR: cannot write ./usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt to archive: Can't translate pathname './usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt' to UTF-8
> => ERROR: Failed to created binary package: ca-certificates-20200601_2.x86_64.xbps!
> ```
> I checked the pull requests and other issues, seems like nobody else has reported it. Yet again, this is an upstream issue:
> ```
> => ca-certificates-20200601_2: running pre-pkg hook: 999-collected-rdeps ...
>    libressl>=2.2.4_2 run-parts>=0
> => ca-certificates-20200601_2: running do-pkg hook: 00-gen-pkg ...
> => Creating ca-certificates-20200601_2.x86_64.xbps for repository /home/ross/void-packages/hostdir/binpkgs ...
> xbps-create: ERROR: cannot write ./usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt to archive: Can't translate pathname './usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_Főtanúsítvány.crt' to UTF-8
> => ERROR: Failed to created binary package: ca-certificates-20200601_2.x86_64.xbps!
> ```

Please report your filesystem, and locale?

Anyway, I think we set xbps-src with LC_ALL=C.UTF-8 and en_US.UTF-8

-- 
Danh


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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (22 preceding siblings ...)
  2020-11-01 15:35 ` sgn
@ 2020-11-01 15:37 ` RossComputerGuy
  2020-11-01 15:48 ` RossComputerGuy
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01 15:37 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720107231

Comment:
I am using ext4 and I'm using the same locale but it seems the installer didn't export `LANG` or `LC_ALL`.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (23 preceding siblings ...)
  2020-11-01 15:37 ` RossComputerGuy
@ 2020-11-01 15:48 ` RossComputerGuy
  2020-11-01 15:59 ` sgn
  2020-11-01 16:01 ` RossComputerGuy
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01 15:48 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720108983

Comment:
Exporting `LANG` fixed it, and `xbps-src  bootstrap` finished with no errors now.

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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (24 preceding siblings ...)
  2020-11-01 15:48 ` RossComputerGuy
@ 2020-11-01 15:59 ` sgn
  2020-11-01 16:01 ` RossComputerGuy
  26 siblings, 0 replies; 28+ messages in thread
From: sgn @ 2020-11-01 15:59 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720110502

Comment:
> Exporting `LANG` fixed it,

We still need to figure out why `LANG` wasn't set in `bootstrap`.

> and `xbps-src bootstrap` finished with no errors now.

Congrats on finishing `stage0`, you'll need to do at least 2 more full rebuild for a usable bootstrap ;)
https://github.com/void-linux/void-packages/issues/25604#issuecomment-709349377


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

* Re: Cannot compile cmake with `-N` option
  2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
                   ` (25 preceding siblings ...)
  2020-11-01 15:59 ` sgn
@ 2020-11-01 16:01 ` RossComputerGuy
  26 siblings, 0 replies; 28+ messages in thread
From: RossComputerGuy @ 2020-11-01 16:01 UTC (permalink / raw)
  To: ml

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

New comment by RossComputerGuy on void-packages repository

https://github.com/void-linux/void-packages/issues/26032#issuecomment-720110694

Comment:
That sounds like fun :smile: 

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

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

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 22:49 [ISSUE] Cannot compile cmake with `-N` option RossComputerGuy
2020-10-31 23:27 ` sgn
2020-10-31 23:44 ` sgn
2020-10-31 23:47 ` RossComputerGuy
2020-11-01  0:00 ` ericonr
2020-11-01  0:00 ` ericonr
2020-11-01  0:01 ` ericonr
2020-11-01  0:12 ` sgn
2020-11-01  0:16 ` RossComputerGuy
2020-11-01  0:25 ` sgn
2020-11-01  0:40 ` RossComputerGuy
2020-11-01  0:45 ` sgn
2020-11-01  0:45 ` [ISSUE] [CLOSED] " sgn
2020-11-01  0:47 ` RossComputerGuy
2020-11-01  0:47 ` sgn
2020-11-01  0:48 ` q66
2020-11-01  0:55 ` RossComputerGuy
2020-11-01  1:03 ` RossComputerGuy
2020-11-01  1:10 ` sgn
2020-11-01  4:36 ` RossComputerGuy
2020-11-01  6:27 ` RossComputerGuy
2020-11-01 12:40 ` sgn
2020-11-01 15:30 ` RossComputerGuy
2020-11-01 15:35 ` sgn
2020-11-01 15:37 ` RossComputerGuy
2020-11-01 15:48 ` RossComputerGuy
2020-11-01 15:59 ` sgn
2020-11-01 16:01 ` RossComputerGuy

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 NNTP newsgroup(s).