Opened 3 years ago

Closed 3 years ago

#64974 closed defect (fixed)

frescobaldi, frescobaldi-devel: error: Multiple top-level packages discovered in a flat-layout

Reported by: ferdy (Giuseppe `ferdy` Miceli) Owned by: dliessi (Davide Liessi)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: dliessi (Davide Liessi)
Port: frescobaldi py-py2app

Description

ciao,

frescobaldi @3.1.3 and frescobaldi-devel @20201226 fail to build with following error:

error: Multiple top-level packages discovered in a flat-layout: ['i18n', 'linux', 'macosx', 'windows', 'frescobaldi_app'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
Command failed: /opt/mp/bin/python3.9  macosx/mac-app.py -f -v 3.1.3-20201226 -s /opt/mp/bin/frescobaldi
Exit code: 1

main.log output attached.

ferdy@wabi:~$ sw_vers
ProductName:	macOS
ProductVersion:	11.6.5
BuildVersion:	20G527
ferdy@wabi:~$ xcodebuild -version
Xcode 13.2.1
Build version 13C100

cheers,
--
ferdy

Attachments (1)

frescobaldi main.log (1.7 MB) - added by ferdy (Giuseppe `ferdy` Miceli) 3 years ago.
frescobaldi failing mail log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by ferdy (Giuseppe `ferdy` Miceli)

Attachment: frescobaldi main.log added

frescobaldi failing mail log

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: frescobaldi removed
Owner: set to dliessi
Status: newassigned
Summary: frescobaldi and frescobaldi-devel fails to build on bigsurfrescobaldi, frescobaldi-devel: error: Multiple top-level packages discovered in a flat-layout

comment:2 Changed 3 years ago by ferdy (Giuseppe `ferdy` Miceli)

ciao,

for your kind information, I have just upgraded py39-py2app to version 0.28 and just to double-check I gave a try to frescobaldi-devel again which this time build successfully.

cheers -- ferdy

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Port: py-py2app added
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.