Opened 5 years ago

Closed 4 years ago

#58946 closed defect (fixed)

Staging of swig-python3 fails

Reported by: dmitriykovalev (Dmitriy Kovalev) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: swig-python3

Description (last modified by mf2k (Frank Schima))

$ sudo port install swig-python3
--->  Computing dependencies for swig-python3
--->  Staging swig-python3 into destroot
Error: No files have been installed in the destroot directory!
Error: Please make sure that this software supports 'make install DESTDIR=${destroot}' or implement an alternative destroot mechanism in the Portfile.
Error: Files might have been installed directly into your system, check before proceeding.
Error: Failed to destroot swig-python3: Staging swig-python3 into destroot failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_swig/swig-python3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port swig-python3 failed

Attachments (2)

main.log (111.0 KB) - added by dmitriykovalev (Dmitriy Kovalev) 5 years ago.
swig-python3.log.txt (221.0 KB) - added by mouse07410 (Mouse) 4 years ago.
Another build log that exhibits the same problem

Download all attachments as: .zip

Change History (11)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to michaelld
Port: swig-python3 added
Status: newassigned

Please attach the log.

Changed 5 years ago by dmitriykovalev (Dmitriy Kovalev)

Attachment: main.log added

comment:2 Changed 5 years ago by dmitriykovalev (Dmitriy Kovalev)

Sure, done.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

comment:5 Changed 4 years ago by mouse07410 (Mouse)

Any solution yet? Seven months later - same port, same problem.

Changed 4 years ago by mouse07410 (Mouse)

Attachment: swig-python3.log.txt added

Another build log that exhibits the same problem

comment:6 Changed 4 years ago by mouse07410 (Mouse)

No offence meant, and I understand everybody's busy - but how big a deal is it for the maintainer to add the DESTDIR/destroot to the Portfile?

Last edited 4 years ago by mouse07410 (Mouse) (previous) (diff)

comment:7 Changed 4 years ago by michaelld (Michael Dickens)

If it were just that simple! The actual error is:

:info:destroot Installing language specific files for python3
:info:destroot /bin/sh: line 0: cd: ./Lib/python3: No such file or directory
:info:destroot /bin/sh: line 0: cd: ./Lib/python3: No such file or directory
:info:destroot Installing nothing from Lib/python3

so... something is going wrong with the SWIG build system ... maybe it's been fixed on master? Patches welcome!

comment:8 Changed 4 years ago by ra1nb0w

./Lib/python3 doesn't exist; there is only ./Lib/python

comment:9 Changed 4 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.