Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mixxx-9999 now fails... diy mixxx-2.3 rules ;)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Sun Jun 20, 2021 4:48 pm    Post subject: mixxx-9999 now fails... diy mixxx-2.3 rules ;) Reply with quote

While building almost daily, last working build timestamp:
Code:
     Thu Jun 17 07:34:26 2021 >>> media-sound/mixxx-9999-r1
       merge time: 3 hours, 35 minutes and 16 seconds.
Thrown error:
Code:
>>> Preparing source in /var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999 ...
 * Working in BUILD_DIR: "/var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999_build"
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the typ
>>> Source prepared.
>>> Configuring source in /var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999 ...
 * Working in BUILD_DIR: "/var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999_build"
cmake -C /var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DFAAD=off -DFFMPEG=on -DHID=off -DLILV=on -DMAD=on -DOPTIMIZE=off -DCCACHE_SUPPORT=off -DOPUS=on -DBROADCAST=off -DVINYLCONTROL=on -DINSTALL_USER_UDEV_RULES=OFF -DWAVPACK=off -DQTKEYCHAIN=off -DKEYFINDER=off -DENGINEPRIME=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999_build/gentoo_toolchain.cmake  /var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999
loading initial cache file /var/no-tmpfs/portage/media-sound/mixxx-9999-r1/work/mixxx-9999_build/gentoo_common_config.cmake
CMake Error at CMakeLists.txt:57 (message):
  CMAKE_BUILD_TYPE=Gentoo is not supported, use one of Debug, Release or
  RelWithDebInfo.
Patch for 'Release' build:
Code:
diff -Naur /var/db/repos/local-repo/media-sound/mixxx/mixxx-9999-r1.ebuild /var/db/repos/local-repo/media-sound/mixxx/mixxx-9999-r2.ebuild
--- /var/db/repos/local-repo/media-sound/mixxx/mixxx-9999-r1.ebuild   2021-04-06 21:57:46.800811354 +0300
+++ /var/db/repos/local-repo/media-sound/mixxx/mixxx-9999-r2.ebuild   2021-06-20 18:26:22.049498525 +0300
@@ -115,6 +115,7 @@
 
    )
    fi
+   CMAKE_BUILD_TYPE=Release
    cmake_src_configure
 }
Fixed here.
Ajust variable value to your liking according to above reported expected values.
Thks 4 ur attention, interest & support
_________________
Poor testing hurts everyone... climate included :)


Last edited by CaptainBlood on Sun Jul 18, 2021 11:01 am; edited 2 times in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 2286
Location: KUUSANKOSKI, Finland

PostPosted: Sun Jun 20, 2021 8:14 pm    Post subject: Reply with quote

Please submit a bug. ;)
_________________
..: Zucca :..
Gentoo IRC channels no longer reside on freenode but instead on Libera.Chat.
[Quick IRC quide]
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Thu Jul 01, 2021 4:53 pm    Post subject: Reply with quote

Latest git update fails to build here, whatever CMAKE_BUILD_TYPE defined in ebuild.

Anyone succeded to fix it?

Thks 4 ur attention, interest & support.
_________________
Poor testing hurts everyone... climate included :)
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Thu Jul 01, 2021 5:22 pm    Post subject: Reply with quote

SidebarModel feature implementation causes ebuild to fail.
My QT stack may be missing something.

As a side note: back in april, I've commented doc patch which is applied unconditionnaly (which seems to be the rule in the few ebuilds I have inspected):
Code:
diff mixxx-9999.ebuild mixxx-9999-r2.ebuild
55d54
<    media-libs/vamp-plugin-sdk
77a77
> #   media-libs/vamp-plugin-sdk
84,86c84,87
< PATCHES=(
<    "${FILESDIR}"/mixxx-9999-docs.patch
<    )
---
> #2021/04/06
> #PATCHES=(
> #   "${FILESDIR}"/mixxx-9999-docs.patch
> #   )
116a118
>    CMAKE_BUILD_TYPE=Release
media-libs/vamp-plugin-sdk requirement has been removed upstream while ago.

Thks 4 ur attention, interest & support.
_________________
Poor testing hurts everyone... climate included :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 17475

PostPosted: Fri Jul 02, 2021 1:41 am    Post subject: Reply with quote

CaptainBlood wrote:
As a side note: back in april, I've commented doc patch which is applied unconditionnaly (which seems to be the rule in the few ebuilds I have inspected)
I believe this rule arose as a sanity measure. It was easier to apply all patches unconditionally, and require that the patch's effect be conditionally enabled (such as via autoconf or preprocessor option) than to conditionally apply the patches individually. The latter made it too complicated to maintain multiple conditional patches, and ensure that all supported combinations applied cleanly, since one patch could depend on another.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Sat Jul 17, 2021 11:20 pm    Post subject: Reply with quote

9999 last built version: 2.4-alpha-6372-g0244af2e04-modified (HEAD)
Code:
cat /var/db/repos/local-repo/media-sound/mixxx/mixxx-2.3-r0.ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake xdg udev

DESCRIPTION="Advanced Digital DJ tool based on Qt"
HOMEPAGE="https://www.mixxx.org/"
if [[ "${PV}" == 9999 || ?.?.9999 ]] ; then
   inherit git-r3
   EGIT_REPO_URI="https://github.com/mixxxdj/${PN}.git"
else
   SRC_URI="https://github.com/mixxxdj/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
   S="${WORKDIR}/${PN}-release-${PV}"
   KEYWORDS="~amd64 ~x86"
fi

if [[ "${PV}" == ?.?.9999 ]] ; then
   EGIT_BRANCH=${PV%.9999}
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="aac doc ffmpeg hid keyfinder lv2 mp3 mp4 opus qtkeychain shout wavpack"

RDEPEND="
   dev-db/sqlite
   dev-libs/glib:2
   dev-libs/protobuf:0=
   dev-qt/qtconcurrent:5
   dev-qt/qtcore:5
   dev-qt/qtdbus:5
   dev-qt/qtgui:5
   dev-qt/qtnetwork:5
   dev-qt/qtopengl:5
   dev-qt/qtscript:5[scripttools]
   dev-qt/qtsql:5
   dev-qt/qtsvg:5
   dev-qt/qtwidgets:5
   dev-qt/qtx11extras:5
   dev-qt/qtxml:5
   media-libs/chromaprint
   media-libs/flac
   media-libs/libebur128
   media-libs/libid3tag
   media-libs/libogg
   media-libs/libsndfile
   media-libs/libsoundtouch
   media-libs/libvorbis
   media-libs/portaudio
   media-libs/portmidi
   media-libs/rubberband
   media-libs/taglib
   media-libs/vamp-plugin-sdk
   sci-libs/fftw:3.0=
   sys-power/upower
   virtual/glu
   virtual/libusb:1
   virtual/opengl
   virtual/udev
   x11-libs/libX11
   aac? (
      media-libs/faad2
      media-libs/libmp4v2:0
   )
   ffmpeg? ( media-video/ffmpeg:0= )
   hid? ( dev-libs/hidapi )
   keyfinder? ( media-libs/libkeyfinder )
   lv2? ( media-libs/lilv )
   mp3? ( media-libs/libmad )
   mp4? ( media-libs/libmp4v2:= )
   opus? (   media-libs/opusfile )
   qtkeychain? ( dev-libs/qtkeychain )
   shout? ( >=media-libs/libshout-2.4.5 )
   wavpack? ( media-sound/wavpack )
   "

DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
   dev-qt/qttest:5
   dev-qt/qtxmlpatterns:5"

#PATCHES=(
#   "${FILESDIR}"/mixxx-9999-docs.patch
#   )

src_prepare() {
   cmake_src_prepare
}

src_configure() {

   local mycmakeargs=(
      -DFAAD="$(usex aac on off)"
      -DFFMPEG="$(usex ffmpeg on off)"
      -DHID="$(usex hid on off)"
      -DLILV="$(usex lv2 on off)"
      -DMAD="$(usex mp3 on off)"
      -DOPTIMIZE="off"
      -DCCACHE_SUPPORT="off"
      -DOPUS="$(usex opus on off)"
      -DBROADCAST="$(usex shout on off)"
      -DVINYLCONTROL="on"
      -DINSTALL_USER_UDEV_RULES=OFF
      -DWAVPACK="$(usex wavpack on off)"
      -DQTKEYCHAIN="$(usex qtkeychain on off)"
      -DKEYFINDER="$(usex keyfinder on off)"
   )

   if [[ "${PV}" == 9999 ]] ; then
   local mycmakeargs+=(
      -DENGINEPRIME="OFF"

   )
   fi
   CMAKE_BUILD_TYPE=Release
   cmake_src_configure
}

src_compile() {
   cmake_src_compile
}

src_install() {
   cmake_src_install
   udev_newrules "${S}"/res/linux/mixxx-usb-uaccess.rules 69-mixxx-usb-uaccess.rules

   if use doc ; then
      dodoc README Mixxx-Manual.pdf
   fi
}
just built version: 2.4-alpha-681-g705955a920-modified (HEAD).

Thks 4 ur attention, interest & support.
_________________
Poor testing hurts everyone... climate included :)
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Sun Jul 18, 2021 10:44 am    Post subject: Reply with quote

Code:
FEATURES=-network-sandbox
required here.

Thks 4 ur attention, interest & support.
_________________
Poor testing hurts everyone... climate included :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 17475

PostPosted: Sun Jul 18, 2021 4:48 pm    Post subject: Reply with quote

CaptainBlood wrote:
Code:
FEATURES=-network-sandbox
required here.
That should not be necessary, and indicates a bug either in the ebuild or the upstream code. How does it fail when the sandbox is enabled?
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2136

PostPosted: Sun Jul 18, 2021 5:52 pm    Post subject: Reply with quote

Have you recently been a mixxx-9999 user?
Round [89/817] build step, some sub package gets downloaded...
No academic ebuild supply intended, just a workaround to get things updated & working.

Other packages do require
Code:
FEATURES=-network-sandbox
to be build here, e.g. app-emacs/* from melpa repository.

Thks 4 ur attention, interest & support.
_________________
Poor testing hurts everyone... climate included :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 17475

PostPosted: Sun Jul 18, 2021 7:04 pm    Post subject: Reply with quote

I have not. It sounds then as if the melpa repository also has unresolved bugs in this area. Packages must not require an Internet connection to build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum