[Craft] [Bug 380206] New: mpir fails to install on Architecture != x86 and buildtype != Release

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu May 25 20:55:54 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=380206

            Bug ID: 380206
           Summary: mpir fails to install on Architecture != x86 and
                    buildtype != Release
           Product: Craft
           Version: stable
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Portage
          Assignee: vonreth at kde.org
          Reporter: mahueb55 at gmail.com
                CC: kde-windows at kde.org
  Target Milestone: ---

crafting mpir fails in the install step when building on Windows for
architecture != Win32 and/or build type != Release. The issue seems to be
caused by the fact that <craft>/portage/win32libs/mpir/mpir.py has "Win32" and
"Release" hardwired in the install method.


[...]
Der Buildvorgang wurde erfolgreich ausgef\x81hrt.
    0 Warnung(en)
    0 Fehler

Verstrichene Zeit 00:00:53.13
*** Action: cleanimage for win32libs/mpir ***
*** Action: install for win32libs/mpir ***
None
[Errno 2] No such file or directory:
'r:\\build\\win32libs\\mpir\\work\\mpir-2.7.2\\dll\\Win32\\Release\\gmp.h'
Traceback (most recent call last):
  File "D:\kmm_dep\craft\bin\craft.py", line 507, in <module>
    success = main()
  File "D:\kmm_dep\craft\bin\craft.py", line 486, in main
    if not handleSinglePackage( packageName, action, tempArgs ):
  File "D:\kmm_dep\craft\bin\craft.py", line 261, in handleSinglePackage
    if not handlePackage( info.category, info.package, action, args.doContinue,
args.update_fast ):
  File "D:\kmm_dep\craft\bin\craft.py", line 103, in handlePackage
    success = success and doExec( package, "install" )
  File "D:\kmm_dep\craft\bin\craft.py", line 70, in doExec
    ret = package.execute( action )
  File "D:\kmm_dep\craft\bin\Package\PackageBase.py", line 173, in execute
    return self.runAction(command)
  File "D:\kmm_dep\craft\bin\Package\PackageBase.py", line 221, in runAction
    ok = getattr(self, functions[command])()
  File "D:\kmm_dep\craft\bin\..\portage\win32libs\mpir\mpir.py", line 101, in
install
    utils.copyFile(os.path.join( self.sourceDir(), 'dll', 'Win32', bt,
'gmp.h'), os.path.join( self.installDir() , "include" , "gmp.h") )
  File "D:\kmm_dep\craft\bin\utils.py", line 598, in copyFile
    shutil.copy(src,dest)
  File "D:\coding\python\Python36-32\lib\shutil.py", line 241, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "D:\coding\python\Python36-32\lib\shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory:
'r:\\build\\win32libs\\mpir\\work\\mpir-2.7.2\\dll\\Win32\\Release\\gmp.h'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list