Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long output pauses in build #85

Closed
Schamschula opened this issue Jun 24, 2017 · 11 comments
Closed

Long output pauses in build #85

Schamschula opened this issue Jun 24, 2017 · 11 comments

Comments

@Schamschula
Copy link

Schamschula commented Jun 24, 2017

Hi, I just took over as maintainer for gmic under MacPorts.

Although, the current version (2.0.2) builds cleanly on my local machine, I have run had two problems reported by other users:

  1. Memory usage during parallel builds. I have disabled this, and heard back that the build now succeeds on machines with smaller amounts of RAM.

  2. There are long pauses in output. So long (more than 20 minutes), that our build bots time out. See
    https://trac.macports.org/ticket/54370

Marius

@karo11
Copy link
Collaborator

karo11 commented Jun 24, 2017 via email

@Schamschula
Copy link
Author

Yup. I mistyped (see edit of my original post).

Since I updated the Portfile to prevent parallel builds, I haven't rebuilt gmic on my own machine. However, I've also heard my iMac rev up the fans during the last build. Given that machine has a i7 and lots of memory, it can only mean the CPU load was high.

I haven't had time to test the Gimp plug-in.

@ryandesign
Copy link

2. There are long pauses in output. So long (more than 20 minutes), that our build bots time out. See
https://trac.macports.org/ticket/54370

Even after increasing our timeout to 60 minutes, the problem still occurs.

Why was this issue closed?

@karo11
Copy link
Collaborator

karo11 commented Feb 5, 2020 via email

@ryandesign
Copy link

Hmm, I'm a humble Mac user. Your log shows the usage of gmic 2.0.2. Actually the stable mac port version is gmic 2.8.3, which builds by installing. Maybe there is some change already?

The original bug report from several years ago was about 2.0.2. The problem remains with 2.8.3, per the log I've added to the original bug report.

The other side is, possibly you try to do the things bit too good! For the gmic app I wonder why you have gimp-2.0 in include and link pathes. Possibly showing your port file might be helpful .

You may view the Portfile at https://github.com/macports/macports-ports/blob/master/science/gmic/Portfile

@karo11
Copy link
Collaborator

karo11 commented Feb 5, 2020 via email

@ryandesign
Copy link

The build log I linked to was from a machine running OS X 10.10. MacPorts usually specifies that the deployment target (the macosx-version-min, if you like) be the same as the OS version. We build for each OS version separately. I don't think the deployment target version should have any effect on this. It is probable that this build machine (which is a virtual machine) was slightly delayed by other busy virtual machines running on the same host. Nevertheless, a build process that allows an hour, 20 minutes, 5 minutes, or even 1 minute to elapse without printing some kind of status information to the console is broken as far as I'm concerned, and redesigning the gmic build system so that that no longer happens is what I would have expected to occur prior to this issue being closed.

@karo11
Copy link
Collaborator

karo11 commented Feb 5, 2020 via email

@ryandesign
Copy link

if the mac build system

There is no "mac build system". There is the gmic build system, being used on a Mac.

produces the unacceptable build times depending on OS version rspv. deployment target

I have no reason to believe that that is the case. The gmic build system simply takes too long to build some things.

I think you should send this issue either to MacPorts or to apple.

Apple has nothing to do with how long something takes to compile, neither does MacPorts. @Schamschula and I are MacPorts developers, reporting this defect in the gmic build system to the developers of gmic who are the only ones who can fix it.

@karo11
Copy link
Collaborator

karo11 commented Feb 5, 2020 via email

@ryandesign
Copy link

Ah. From the gmic web site, the Report Issue link goes to https://github.com/dtschump/gmic/issues. I guess this should have been reported there.

No, I don't know why there is such a difference in time. Our servers are probably a bit slower than your MacBook, but I would not have expected such a large difference. But as I said the fact that it takes longer on our server than on your MacBook is not the problem; the fact that any individual step of the build takes more than, say, a minute is the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants