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

APT whitelist request for qt5-default #442

Closed
BanzaiMan opened this issue Jul 24, 2015 · 24 comments
Closed

APT whitelist request for qt5-default #442

BanzaiMan opened this issue Jul 24, 2015 · 24 comments

Comments

@BanzaiMan
Copy link
Contributor

This replaces travis-ci/travis-ci#4518.

The original text by @mcmire follows


This is necessary in order to run capybara-webkit tests against a project that requires Qt 5 (using features that weren't available in Qt 4, such as ES5 getters/setters). (Source)

Thanks!

@BanzaiMan
Copy link
Contributor Author

Ran tests and found setuid bits by purely textual search. Further analysis is required.

If these are found to be benign, add:

libqt5core5a libqt5gui5 libqt5libqgtk2 libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake qtbase5-examples qtbase5-dbg qtbase5-dev-tools-dbg qtbase5-examples-dbg qt5-default qtbase5-doc-html

See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72545681.

@rochers
Copy link

rochers commented Aug 20, 2015

We also need this whitelisted. 👍

@Predelnik
Copy link

Also 👍

@basiszwo
Copy link

👍 to get this onto the whitelist

@The-Compiler
Copy link

This is currently the blocker keeping me on legacy infrastructure as well, and the checks seem to be false-positives.

Also, #316 #365 #408 all seem to be covered by this issue as well.

basiszwo added a commit to basiszwo/openproject that referenced this issue Aug 23, 2015
See travis-ci/apt-package-safelist#442 for
whitelisting status of qt5 on ubuntu 12.04 or wait until 14.04 is
available on travis
@bjorn
Copy link

bjorn commented Aug 24, 2015

👍

@JesseTG
Copy link

JesseTG commented Sep 4, 2015

Any updates on this?

@jonasschnelli
Copy link

👍

@bjorn
Copy link

bjorn commented Oct 6, 2015

What may be useful for people stumbling over this issue, is that you can use apt-get to install Qt 5 on the new Docker-enabled images. Somewhere in your .travis.yml you'd need:

sudo: required
services:
  - docker

And then you can do:

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq qt5-default qttools5-dev-tools
  - qmake -version

You'll see it installed Qt version 5.2.1, as available on Ubuntu 14.04.

@mcmire
Copy link

mcmire commented Oct 6, 2015

Oh that's sweet, I didn't know about this.

Well then this makes this issue kind of obsolete, now doesn't it...

@bjorn
Copy link

bjorn commented Oct 6, 2015

Well then this makes this issue kind of obsolete, now doesn't it...

Well, it relies on a somewhat experimental environment that was announced in this blog post: http://blog.travis-ci.com/2015-08-19-using-docker-on-travis-ci/

So far I'm not aware of more recent news on whether this new environment would replace the container based one, which as of that blog post was still preferable in terms of boot times. So whitelisting qt5-default could still be helpful for now.

@JesseTG
Copy link

JesseTG commented Oct 7, 2015

Docker is all fine and good, but I want a newer version of Qt, and I want dependency caching. When that's introduced into the docker infrastructure, I'll bite.

@jpsecher
Copy link

👍

@BanzaiMan
Copy link
Contributor Author

Does anyone know what these are? https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72545681#L544-L545

./qtbase-opensource-src-5.4.2+dfsg/src/corelib/doc/snippets/code/src_corelib_io_qprocess.cpp:    ::setgid(safeGid);
./qtbase-opensource-src-5.4.2+dfsg/src/corelib/doc/snippets/code/src_corelib_io_qprocess.cpp:    ::setuid(safeUid);

Other occurrences are benign; I just want to be sure that these are, too.

@The-Compiler
Copy link

@BanzaiMan I think those are from the code snippet in the docs here:

http://doc.qt.io/qt-5/qprocess.html#setupChildProcess

travisbot pushed a commit to travis-ci/apt-whitelist-checker that referenced this issue Oct 21, 2015
@travisbot
Copy link

_This is an automated comment._

Ran tests and found setuid bits by purely textual search. Further analysis is required.

If these are found to be benign, examine http://github.com/travis-ci/apt-package-whitelist/compare/test-apt-package-whitelist-442 and its PR.

Packages found: libqt5core5a libqt5gui5 libqt5libqgtk2 libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake qtbase5-examples qtbase5-dbg qtbase5-dev-tools-dbg qtbase5-examples-dbg qt5-default qtbase5-doc-html

See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/86679088 for details.

travisbot pushed a commit that referenced this issue Oct 21, 2015
Packages: libqt5core5a libqt5gui5 libqt5libqgtk2 libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake qtbase5-examples qtbase5-dbg qtbase5-dev-tools-dbg qtbase5-examples-dbg qt5-default qtbase5-doc-html
@BanzaiMan
Copy link
Contributor Author

I closed this with #1148 (which resolves #1135, which is an effective duplicate of this issue).

@MartinDelille
Copy link

I just tried to use qt5 but the apt step failed: https://travis-ci.org/Phonations/TravisTest#L83-L84

What's wrong?

@BanzaiMan
Copy link
Contributor Author

It's in the debian-sid source. So you need that source added as well.

https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/86679088#L467-L473

@JesseTG
Copy link

JesseTG commented Oct 23, 2015

🎉

@jonasschnelli
Copy link

Nice!

@techtonik
Copy link

This stuff worked for me:

addons:
  apt:
    sources:
    - debian-sid
    packages:
    - qt5-default

@annejan
Copy link

annejan commented Jun 10, 2016

Unfortunately this solution currently gives me an error:

W: There is no public key available for the following key IDs: 7638D0442B90D010

Which is a secondary key for Debian archive it seems . .

@DamienCassou
Copy link

DamienCassou commented Apr 16, 2017

@annejan I have the same issue with silversearcher-ag

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

No branches or pull requests