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

New package: eric-ide-24.8 #51523

Closed
wants to merge 2 commits into from
Closed

New package: eric-ide-24.8 #51523

wants to merge 2 commits into from

Conversation

Eloitor
Copy link
Contributor

@Eloitor Eloitor commented Jul 29, 2024

Testing the changes

  • I tested the changes in this PR: NO

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

I don't know why it doesn't launch.

@classabbyamp classabbyamp added the new-package This PR adds a new package label Jul 29, 2024
@Eloitor Eloitor force-pushed the eric branch 4 times, most recently from 1191cf0 to dae1d11 Compare July 29, 2024 21:27
@Eloitor
Copy link
Contributor Author

Eloitor commented Jul 29, 2024

@Eloitor Eloitor force-pushed the eric branch 3 times, most recently from 2eb4ab2 to 7365a66 Compare July 30, 2024 07:10
@Eloitor Eloitor changed the title [WIP] Eric [WIP] New package: eric-ide-24.8 Jul 30, 2024
@Eloitor
Copy link
Contributor Author

Eloitor commented Jul 30, 2024

@sgn qscintilla-qt6 does not cross-compile to arm... Do you know how to fix it?
I took the template from #31621

=> qscintilla-qt6-2.14.1_1: running do_configure ...
Info: creating stash file /builddir/qscintilla-qt6-2.14.1/src/.qmake.stash
=> qscintilla-qt6-2.14.1_1: running post_configure ...
Could not find qmake spec 'linux-g++'.
Error processing project file: /builddir/qscintilla-qt6-2.14.1/designer/designer.pro
=> ERROR: qscintilla-qt6-2.14.1_1: post_configure: '/usr/lib/qt6/bin/qmake ${qmake_args} PREFIX=/usr QT_INSTALL_PREFIX=/usr LIB=/usr/lib QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_LINK_C=$CC QMAKE_CFLAGS="${CFLAGS} -I$wrksrc/src" QMAKE_CXXFLAGS="${CXXFLAGS} -I$wrksrc/src" QMAKE_LFLAGS="${LDFLAGS}" ${_qt_arch:+"QT_TARGET_ARCH=$_qt_arch"} CONFIG+=no_qt_rpath' exited with 3
=> ERROR:   in post_configure() at srcpkgs/qscintilla-qt6/template:35

@Eloitor
Copy link
Contributor Author

Eloitor commented Jul 30, 2024

I attempted to build on another machine with this changes and I get

=> python3-pyqt6-qsci-2.14.1_1: running do_configure ...
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Querying qmake about your Qt installation...
Checking to see if the Qsci bindings can be built...
These bindings will be built: Qsci.
Generating the Qsci bindings...
/usr/lib/python3.12/site-packages/PyQt6/bindings/QtCore/QtCoremod.sip: line 64: '%Plugin' is deprecated and will be removed in SIP v7.0.0
/void-packages/common/build-style/sip-build.sh: line 5: 19136 Segmentation fault      sip-build --no-make ${_qt:+--qmake "$XBPS_WRAPPERDIR/sip-qmake"} --api-dir /usr/share/$_qt/qsci/api/python $configure_args --build-dir "$sip_builddir"
=> ERROR: python3-pyqt6-qsci-2.14.1_1: do_configure: 'sip-build --no-make ${_qt:+--qmake "$XBPS_WRAPPERDIR/sip-qmake"} --api-dir /usr/share/$_qt/qsci/api/python $configure_args --build-dir "$sip_builddir"' exited with 139
=> ERROR:   in do_configure() at common/build-style/sip-build.sh:124

It has 4Gb of RAM, maybe that's the issue...

Edit: In a second attempt it worked.

running eric7_ide I get

The background client for Python3 disconnected because of an unknown reason.
Should it be restarted?

@sgn
Copy link
Member

sgn commented Jul 31, 2024

I attempted to build on another machine with this changes and I get

=> python3-pyqt6-qsci-2.14.1_1: running do_configure ...
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Querying qmake about your Qt installation...
Checking to see if the Qsci bindings can be built...
These bindings will be built: Qsci.
Generating the Qsci bindings...
/usr/lib/python3.12/site-packages/PyQt6/bindings/QtCore/QtCoremod.sip: line 64: '%Plugin' is deprecated and will be removed in SIP v7.0.0
/void-packages/common/build-style/sip-build.sh: line 5: 19136 Segmentation fault      sip-build --no-make ${_qt:+--qmake "$XBPS_WRAPPERDIR/sip-qmake"} --api-dir /usr/share/$_qt/qsci/api/python $configure_args --build-dir "$sip_builddir"
=> ERROR: python3-pyqt6-qsci-2.14.1_1: do_configure: 'sip-build --no-make ${_qt:+--qmake "$XBPS_WRAPPERDIR/sip-qmake"} --api-dir /usr/share/$_qt/qsci/api/python $configure_args --build-dir "$sip_builddir"' exited with 139
=> ERROR:   in do_configure() at common/build-style/sip-build.sh:124

You need the patch at srcpkgs/python3-pyqt6-qsci/patches/cross.patch

@sgn
Copy link
Member

sgn commented Jul 31, 2024

I will push python3-pyqt6-qsci first, so you can work on other packages.

@Eloitor Eloitor force-pushed the eric branch 2 times, most recently from e73df7b to 825d7b6 Compare July 31, 2024 10:01
@Eloitor Eloitor changed the title [WIP] New package: eric-ide-24.8 New package: eric-ide-24.8 Jul 31, 2024
@Eloitor
Copy link
Contributor Author

Eloitor commented Jul 31, 2024

Thank you!

The only minor issue that remains to be solved is that the .desktop entry does not appear in the menu in gnome...
I don't know what's wrong.

Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Oct 30, 2024
@sgn
Copy link
Member

sgn commented Oct 30, 2024

Did you look into the menu entry problem?

@Eloitor
Copy link
Contributor Author

Eloitor commented Oct 30, 2024

mmm... Right now it appears in my menu, but I don't remember if I updated this package accordingly... I'll take a look later today

@github-actions github-actions bot removed the Stale label Oct 31, 2024
Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Jan 30, 2025
@github-actions github-actions bot closed this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants