Build failure Arch Linux due to ui element

Bug #1745875 reported by Conner Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
New
Undecided
Unassigned

Bug Description

Up to date Arch Build trying to build master as of today, I get the following build error. Not entirely sure how these are supposed to be created from the Qt *.ui files but these elements are present there.

src/library/dlgtrackinfo.cpp: In member function ‘void DlgTrackInfo::init()’:
src/library/dlgtrackinfo.cpp:84:13: error: ‘btnImportMetadataFromFile’ was not declared in this scope
     connect(btnImportMetadataFromFile, SIGNAL(clicked()),
             ^~~~~~~~~~~~~~~~~~~~~~~~~
src/library/dlgtrackinfo.cpp:84:13: note: suggested alternative: ‘slotImportMetadataFromFile’
     connect(btnImportMetadataFromFile, SIGNAL(clicked()),
             ^~~~~~~~~~~~~~~~~~~~~~~~~
             slotImportMetadataFromFile
src/library/dlgtrackinfo.cpp:86:13: error: ‘btnImportMetadataFromMusicBrainz’ was not declared in this scope
     connect(btnImportMetadataFromMusicBrainz, SIGNAL(clicked()),
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/library/dlgtrackinfo.cpp:86:13: note: suggested alternative: ‘slotImportMetadataFromMusicBrainz’
     connect(btnImportMetadataFromMusicBrainz, SIGNAL(clicked()),
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             slotImportMetadataFromMusicBrainz
scons: *** [lin64_build/library/dlgtrackinfo.o] Error 1

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

This error indicates that you are compiling outdated code generated from the .ui files.

If you are using SCons 3 then this is a known issue. The dependencies between the .ui and the corresponding .cpp/.h files that need to be generated are either broken or non-existent. You need to downgrade to SCons 2.5.1.

Revision history for this message
Conner Phillips (lindybalboa) wrote :

Yup. I set up a virtual env with py2.7 and SCons 2.5.1 and it went through fine.

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/9114

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.