Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pyside6 -- freecad dependeny fails to compile
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 129

PostPosted: Thu Oct 31, 2024 3:22 pm    Post subject: Reply with quote

@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.
See below from my first post.

Code:

ERROR: dev-python/pyside6-6.7.3::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3458:  Called python_foreach_impl 'pyside6_configure'
 *   environment, line 3066:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2613:  Called _multibuild_run '_python_multibuild_wrapper' 'pyside6_configure'
 *   environment, line 2611:  Called _python_multibuild_wrapper 'pyside6_configure'
 *   environment, line  811:  Called pyside6_configure
 *   environment, line 3456:  Called cmake_src_configure
 *   environment, line 1558:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 213

PostPosted: Thu Oct 31, 2024 3:32 pm    Post subject: Reply with quote

tckosvic wrote:
@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.
See below from my first post.


You have already been informed in no uncertain terms and without any ambiguosity whatsoever that those are NOT the actual errors and that portage itself says the actual errors are in the build.log

So yes, there is more info in build.log that you are not conversant with -- which is the entire point of this discussion.

Nowa wrote:
"cmake failed" is not the real error, some job that cmake was running failed and we need to know which job and why.


eschwartz wrote:
I routinely look through far, far longer pastebins than a mere tiny 18k lines worth, in order to debug the problems users report.

It is exceedingly easy to grep for specific bug keywords or manually inspect only the last couple hundred lines -- you just need to have a lot of familiarity with debugging user problems, know how to recognize and analyze compiler errors, make/ninja error statuses, etc. It is domain-specific knowledge, that's why users ask experts for help, but the experts absolutely do know how to find the real issue in *seconds*.

The reason we ask for the full 18k lines of text is because long experience has proven that when people try to shorten the text in order to be "helpful" they accidentally remove the 5 lines that were actually needed and which we could have found immediately, if only they were actually there to be found...

... and instead we end up spending multiple *days* arguing back and forth about the correct way to report a bug.

In summary, please stop overthinking this. We ask for certain information for a reason. It's because the best way to ensure a FAST response is to provide ALL the information that you have available, so that we are able to look at the information *we* know matters.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9605
Location: beyond the rim

PostPosted: Fri Nov 01, 2024 2:39 pm    Post subject: Reply with quote

tckosvic wrote:
@genome,

I understand what you are saying but the actual errors that are listed by emerge were included in my first post. The errors listed in the build.log file look to me to be a repetition of the errors listed by emerge.
But perhaps there is more info in build.log that I am not conversant with.

There is. A lot. What portage tells you is just where the ebuild failed (cmake_src_configure), which in case of build errors is rather useless as it is simply a result of the build process returning a non-zero exit code. That is all that portage actually knows about the problem.
But it has no insight into the build system of the actual package. Unfortunately it is not so simple to locate and forward build errors errors automatically, so portage doesn't event attempt to do so but instead refers you to build.log. There may be some repetition in particular at the beginning and the end of the file, but the actual error can appear in a completely different location hidden within an ocean of regular status messages.
Back to top
View user's profile Send private message
tckosvic
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2023
Posts: 129

PostPosted: Fri Nov 01, 2024 6:47 pm    Post subject: Reply with quote

As a sidebar to my query on pyside6 compile errors, I am doing some forced learning about pastebin apps, pastebin websites, and also how error messages from emerge differ from those in build.log.
Thanks all.

Anyone suggest an alternate to wgetpaste (that I thought was a gentoo std) that can handle whole files (not text snippets) and binary files, e.g., gz files?

Also best (non-google) pastebin site to handle whole binary files?

I know this really is a sidebar and perhaps should be an independent question.

thanks all, tom kosvic
Back to top
View user's profile Send private message
Nowa
Developer
Developer


Joined: 25 Jun 2014
Posts: 407
Location: Nijmegen

PostPosted: Fri Nov 01, 2024 6:53 pm    Post subject: Reply with quote

tckosvic wrote:
Anyone suggest an alternate to wgetpaste (that I thought was a gentoo std) that can handle whole files (not text snippets) and binary files, e.g., gz files?


-> bugs.gentoo.org

It's not a pasting service but it will accept any reasonably sized (compressed) log.
_________________
OS: Gentoo 6.10.12-gentoo-dist, ~amd64, 23.0/desktop/plasma/systemd
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum