Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] dev-qt/qtserialport blocked

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

[Solved] dev-qt/qtserialport blocked

  • Quote

Post by lyallp » Fri Dec 12, 2025 1:11 am

Bit confused, fully up to date gentoo system (nightly updates and builds)

Code: Select all

!!! The following installed packages are masked:
- dev-qt/qtserialport-5.15.18::gentoo (masked by: package.mask)
/data/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2025-01-23)
# Qt5 packages without any revdeps. Removal on 2025-06-01.
Problem is...

Code: Select all

# equery depends qtserialport
 * These packages depend on qtserialport:
app-misc/oscar-1.5.0 (dev-qt/qtserialport:5)
                     (dev-qt/qtserialport:5)
dev-python/pyqt6-6.9.1 (serialport ? >=dev-qt/qtserialport-6.9:6)
                       (serialport ? >=dev-qt/qtserialport-6.9:6)
dev-qt/qtpositioning-6.9.3 (nmea ? ~dev-qt/qtserialport-6.9.3:6)
                           (nmea ? ~dev-qt/qtserialport-6.9.3:6)
Oscar is a CPAP machine graphing program, for those that are interested.

and, I guess, whilst I am at it....

Code: Select all

# revdep-rebuild --pretend
 * This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
It's been the new python coded version for YEARS, is there any plan to remove this comment?
Last edited by lyallp on Fri Dec 12, 2025 1:28 am, edited 1 time in total.
...Lyall
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Fri Dec 12, 2025 1:16 am

https://gpo.zugaina.org/app-misc/oscar shows that there is an updated version of the app which uses qt6 and can let this dependency slot die gracefully
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Fri Dec 12, 2025 1:28 am

Thanks for that, I have no subscription to that overlay (at this time, will do shortly), hence the updated oscar build never showed up (hence, only having Oscar 1.5)
...Lyall
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Fri Dec 12, 2025 2:12 am

oscar-1.6.1:pkalin does not compile on my system with qt6 - errors such as memory corruption and writing too many bytes to a target location.

I guess, my global USE flags have both qt5 AND qt6 enabled, sort of destabilizes things, but not everything builds in qt6, at least not to my understanding.

But, with use flag qt5, the qtserialport raises it's head again but at least oscar-1.6.1 builds and runs.

Of course, https://www.Sleepfiles.com/OSCAR has version 1.7...

Anyway, I now know what is causing the problem, I may simply uninstall Oscar, for a quiet life.
...Lyall
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 12, 2025 12:22 pm

lyallp wrote:oscar-1.6.1:pkalin does not compile on my system with qt6 - errors such as memory corruption and writing too many bytes to a target location.

I guess, my global USE flags have both qt5 AND qt6 enabled, sort of destabilizes things
Having both qt5 and qt6 enabled is actually the norm for desktop profile, it would be a bug of the ebuild if it allowed both despite that causing errors, but your description does not sound like somthing that would be caused by USE flag configuration.
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Fri Dec 12, 2025 1:09 pm

I setup /etc/portage/package.use/oscar to have "app-misc/oscar -qt5" (leaving the globally set qt6) then built, it failed to build.

I then removed -qt5 and set "app-misc/oscar -qt6" (leaving the globally set qt5) and rebuilt successfully.

oscar runs with -qt6 (implying the remaining qt5 flag is enabled)
...Lyall
Top
Hu
Administrator
Administrator
Posts: 24400
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Dec 12, 2025 2:56 pm

I interpret that simply to mean that the version of oscar you tried does not work with Qt6. This may be dependent on other flags (for example, compiler flags that allow the compiler to analyze the program deeply enough to prove that it is broken). This would be best addressed by the maintainer of the oscar ebuild that offered you USE=qt6, either by disabling that flag or by pulling in patches that make oscar work properly with Qt6. It's possible that the newer version you referenced already fixed these problems, in which case a version bump would be the simplest solution.
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sat Dec 13, 2025 1:02 am

Agreed.

New version of Oscar possibly does but there is no ebuild for it, that I am aware of.

It's not that important to me at this time, this was more an FYI for others.
...Lyall
Top
grknight
Retired Dev
Retired Dev
Posts: 2565
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Sat Dec 13, 2025 2:26 am

Here's a quick build based on the other overlay. Simplified by removing qt5 (as it's now broken) and adding in desktop menu support:

Code: Select all

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit qmake-utils desktop

DESCRIPTION="Software used to analyze data from CPAP machines"
HOMEPAGE="https://www.sleepfiles.com/OSCAR/"

MY_PN="OSCAR-code"
SRC_URI="https://gitlab.com/CrimsonNape/${MY_PN}/-/archive/${PV}/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
S="${WORKDIR}/${MY_PN}-${PV}"

KEYWORDS="~amd64"

IUSE=""

DEPEND="
        virtual/opengl
        x11-libs/libX11
        dev-qt/qtbase:6[gui,opengl,widgets]
        dev-qt/qtserialport:6
        dev-qt/qttools:6
        virtual/glu
        virtual/libudev
        sys-libs/zlib"
RDEPEND="${DEPEND}"

src_prepare() {
        default
        #Don't die on warnings for user builds
        sed -i -e '/^QMAKE_CFLAGS += -Werror$/d' \
                -e '/^QMAKE_CXXFLAGS += -Werror$/d' \
                oscar/oscar.pro || die
}

src_configure() {
        eqmake6 OSCAR_QT.pro
}

src_install() {
        dobin oscar/OSCAR
        dodoc README
        dodoc oscar/docs/*
        doicon -s 48 Building/Linux/OSCAR.png
        domenu Building/Linux/OSCAR.desktop
        insinto /usr/share/OSCAR/Html/
        doins oscar/docs/{about,credits,release_notes}.html
}
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sat Dec 13, 2025 4:34 am

Thank you for the ebuild, I will throw a copy in my local hand-cut repository.

:)

Edit: and, of course, it builds and runs, first time.
I removed my package.use/oscar file (given it was now unnecessary).
...Lyall
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic