After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787115 - Missing files and file permission issues when gimp-master build tests are run
Missing files and file permission issues when gimp-master build tests are run
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Jenkins
git master
Other All
: Normal normal
: ---
Assigned To: Sam Gleske
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2017-09-01 07:14 UTC by Michael Schumacher
Modified: 2018-05-24 18:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Schumacher 2017-09-01 07:14:02 UTC
gimp-master builds fail on build.gimp.org right now.

https://build.gimp.org/job/gimp-master/4174/parsed_console/


GIMP-Error: Error opening file “/var/lib/jenkins/workspace/gimp-master/gimp-2.9.7/app/tests/gimpdir/themerc”: Permission denied

GIMP-Error: Failed to open file “/var/lib/jenkins/workspace/gimp-master/gimp-2.9.7/_inst/etc/gimp/2.0/templaterc”: open() failed: No such file or directory

GIMP-Error: Error opening file “/var/lib/jenkins/workspace/gimp-master/gimp-2.9.7/app/tests/gimpdir/pluginrc”: Permission denied

GIMP-Error: Failed to open file “/var/lib/jenkins/workspace/gimp-master/gimp-2.9.7/_inst/etc/gimp/2.0/controllerrc”: open() failed: No such file or directory
Comment 1 Sam Gleske 2018-01-01 23:40:00 UTC
Running a test build now: https://build.gimp.org/job/gimp-master/4612/
Comment 2 Sam Gleske 2018-01-01 23:59:38 UTC
Seems there's an issue with GIMP building via GCC 7.2.0.  I updated the system to use GCC 6.4.0.

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 10
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10

NEW VERSIONS:
gcc --version -> gcc (Debian 6.4.0-11) 6.4.0 20171206
g++ --version -> g++ (Debian 6.4.0-11) 6.4.0 20171206

I also built a new version of libmypaint from master branch by running https://build.gimp.org/job/libmypaint-master/
Comment 3 Sam Gleske 2018-01-02 01:03:58 UTC
Just created the mypaint-brushes job because it's a missing dependency for gimp-master https://build.gimp.org/job/mypaint-brushes-1.3.0/
Comment 4 Sam Gleske 2018-01-02 01:32:44 UTC
gimp-master configured to copy from latest mypaint-brushes job.  Now waiting on the status of https://build.gimp.org/job/gimp-master/4618/
Comment 5 Sam Gleske 2018-01-02 03:03:05 UTC
Mitch just pushed up a fix for the failed build.  I'm now waiting for the status of https://build.gimp.org/job/gimp-master/4619/
Comment 6 Sam Gleske 2018-01-02 03:36:52 UTC
Now we're back to the original error [1].

Example error message:

cp: cannot create regular file ...: Permission denied

[1]: https://build.gimp.org/job/gimp-master/4619/console
Comment 7 Sam Gleske 2018-01-02 03:46:52 UTC
Doing some more troubleshooting on a single file.  I've found that the gimp-2.9.9 build directory has 555 permissions.  Perhaps the issue is with the gimp project build?

WALKING DOWN THE PATH: Notice, the last command shows the gimp-2.9.9 directory having 555 permissions.  This was encountered running "VERBOSE=1 make distcheck"

--------------------------------

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets/html/gimp-prefs-image-windows.png

-r--r--r-- 1 jenkins jenkins 671 Jan  2 03:24 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets/html/gimp-prefs-image-windows.png

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets/html
drwxr-xr-x 2 jenkins jenkins 20480 Jan  2 03:24 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets/html

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets
drwxr-xr-x 5 jenkins jenkins 4096 Jan  2 03:24 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs/libgimpwidgets

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs
drwxr-xr-x 12 jenkins jenkins 4096 Jan  2 03:11 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/devel-docs

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/
drwxr-xr-x 33 jenkins jenkins 4096 Jan  2 03:12 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build/sub/

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build
drwxr-xr-x 3 jenkins jenkins 4096 Jan  2 03:11 /srv/jenkins/workspace/gimp-master/gimp-2.9.9/_build

jenkins@gimptest2:~$ ls -ld /srv/jenkins/workspace/gimp-master/gimp-2.9.9
dr-xr-xr-x 35 jenkins jenkins 4096 Jan  2 03:11 /srv/jenkins/workspace/gimp-master/gimp-2.9.9
Comment 8 Sam Gleske 2018-01-02 09:25:40 UTC
Ell updated gimp and fixed the upstream issue.  https://build.gimp.org/job/gimp-master/4620/
Comment 9 Michael Schumacher 2018-01-02 09:50:25 UTC
What puzzles me is how this connects to file permission issues. Can you shed some light on this?
Comment 10 Michael Schumacher 2018-01-19 15:47:56 UTC
This is happening again.

For the record, the change by Ell was completely unrelated.
Comment 11 GNOME Infrastructure Team 2018-05-24 18:24:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1185.