Bug 426393 - build of alkimia package fails for MacOSX
Summary: build of alkimia package fails for MacOSX
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: stable
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-11 07:11 UTC by Ralf Habacker
Modified: 2020-09-15 10:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2020-09-11 07:11:49 UTC
https://binary-factory.kde.org/job/Alkimia_Nightly_macos/6/console

02:28:56  expected str, bytes or os.PathLike object, not bool
02:28:56  Traceback (most recent call last):
02:28:56    File "/Users/packaging/Craft/BinaryFactory/macos-64-clang/craft/bin/craft.py", line 268, in <module>
02:28:56      success = main(timer)
02:28:56    File "/Users/packaging/Craft/BinaryFactory/macos-64-clang/craft/bin/craft.py", line 258, in main
02:28:56      if not CraftCommands.run(package, action, tempArgs):
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/CraftCommands.py", line 416, in run
02:28:56      if not handlePackage(info, action, directTargets=directTargets):
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/CraftCommands.py", line 93, in handlePackage
02:28:56      success = doExec(package, action)
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/CraftCommands.py", line 57, in doExec
02:28:56      ret = package.instance.runAction(action)
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/Package/PackageBase.py", line 246, in runAction
02:28:56      if not getattr(self, step)():
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/Packager/TypePackager.py", line 81, in createPackage
02:28:56      return self.__packager.createPackage(self)
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/Packager/MacDMGPackager.py", line 34, in createPackage
02:28:56      if not self.internalCreatePackage(defines):
02:28:56    File "/Users/packaging/Craft/BinaryFactory/craft-clone/bin/Packager/MacBasePackager.py", line 50, in internalCreatePackage
02:28:56      targetLibdir = os.path.join(appPath, "Contents", "Frameworks")
02:28:56    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/posixpath.py", line 78, in join
02:28:56      a = os.fspath(a)
02:28:56  TypeError: expected str, bytes or os.PathLike object, not bool
02:28:56  Command /usr/local/bin/python3 -u /Users/packaging/Craft/BinaryFactory/macos-64-clang/craft/bin/craft.py --target master --package libalkimia failed
Comment 1 Hannah von Reth 2020-09-11 08:21:03 UTC
The error is now handled correctly:
04:28:56  Failed to detect libalkimia.app for extragear/libalkimia, please provide a correct self.defines['apppath'] or a relative path to the app as self.defines['apppath']

The real question is, why was this added to binary factory? this is a lib not  an app and thus cant be redistributed on its own?
Comment 2 Hannah von Reth 2020-09-11 08:40:51 UTC
I added the missing parts, now you need to update the dependencies.
Comment 3 Ralf Habacker 2020-09-11 08:48:55 UTC
(In reply to Hannah von Reth from comment #1)
> The error is now handled correctly:
thanks

> The real question is, why was this added to binary factory? this is a lib
> not  an app and thus cant be redistributed on its own?

Your informations are outdated, see https://community.kde.org/Alkimia
/Usecases#Editor_for_online_quotes_.28available_since_version_8.0.29

see https://phabricator.kde.org/T13567 for the associated request.
Comment 4 Ralf Habacker 2020-09-15 09:51:55 UTC
(In reply to Hannah von Reth from comment #2)
> I added the missing parts, now you need to update the dependencies.

How needs this to be done ? https://binary-factory.kde.org/job/Alkimia_Nightly_macos/11/console is still failing