https://bugs.kde.org/show_bug.cgi?id=368624

            Bug ID: 368624
           Summary: build-image.sh from packaging/linux/appimage/ requires
                    build-image.sh from packaging/linux/appimage/ requires
                    mesa-libGLU-devel
           Product: krita
           Version: 3.0.1
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: b...@beuc.net

build-deps.sh seems to be missing mesa-libGLU-devel

<boud> in any case, appimages shouldn't package mesa/glu/gl libs, afaik
<Beuc> Currently they ship it :) I had to install mesa-libGLU-devel because
build-image.sh looks for it and fails when not present
<boud> weird
<Beuc> I'm using the scripts from krita/3.0.1 (or master, they are the same)
<Wolthera_laptop> hm... here 3.0.1 has libglu but no libmesa
<Beuc> yeah just libEGL and libGLU actually
<Wolthera_laptop> I also ave a libglapi here...
<Wolthera_laptop> and lib-xcb-glx, but no idea if that's relevant?
<Wolthera_laptop> boud: I think we carry them because otherwise it might be
that we cannot find the gl libs, so they're a fallback... at the least I recall
it being something like that???
<boud> Wolthera_laptop: it's possible...
<boud> I sort of get antsy about it when people try the scripts that work for
me and find problems -- there is something so utterly unstable about making
builds!
...
<Wolthera_laptop> Yeah, it's been looking for libglu as long as it has been in
the repo:
https://phabricator.kde.org/rKRITA95858d5fbb8575f48c462ce0093e31bf92be3210
<Wolthera_laptop> To prevent a segfault.
<Wolthera_laptop> So it's not even a falback.

Reproducible: Always

Steps to Reproduce:
docker pull centos:6

(cd src/ && git checkout krita/3.0.1)

docker run -ti -v $(pwd)/src:/krita centos:6 /bin/bash
cd /krita/packaging/linux/appimage/
bash build-deps.sh  # 2h45mn, 5-6GB
docker commit XXXXXX  # 3-4mn
docker tag YYYYYY krita-deps

docker run -ti -v $(pwd)/src:/krita -v $(pwd)/build:/krita_build -v
$(pwd)/out:/out krita-deps /bin/bash
bash build-krita.sh  # 1h
bash build-image.sh


Actual Results:  
# bash build-image.sh
...
++ xargs
++ cut -d '>' -f 2
++ grep libsasl2.so.2
++ ldconfig -p
+ cp /usr/lib64/libsasl2.so.2 ./usr/lib/
++ xargs
++ cut -d '>' -f 2
++ grep libGL.so.1
++ ldconfig -p
+ cp /usr/lib64/libGL.so.1 ./usr/lib/
++ xargs
++ cut -d '>' -f 2
++ grep libGLU.so.1
++ ldconfig -p
+ cp ./usr/lib/
cp: missing destination file operand after `./usr/lib/'
Try `cp --help' for more information.


Expected Results:  
Find libGLU and going on with the appimage build.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to