Opened 13 months ago

Last modified 13 months ago

#67141 new defect

octave-specfun 1.1.0_10 build failure : Failed to extract

Reported by: jeff-kelley Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: Schamschula (Marius Schamschula)
Port: octave-specfun

Description

octave-specfun 1.1.0_10 fails to build with message 'Failed to extract'.

This installation has successfully installed octave and a selection of ports, except this one. It also built octave-specfun 1.1.0_9 prior to this upgrade.

The file /opt/local/var/macports/distfiles/octave-specfun/specfun-1.1.0.tar.gz is manually extractible with tar.

OS is Mavericks, XCode 6.2, architecture x86_64.

version:1
:debug:main Starting logging for octave-specfun @1.1.0_10
:debug:sysinfo OS X 10.9.5 (darwin/13.4.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 6.2, CLT 6.2.0.0.1.1424975374
:debug:sysinfo SDK 10.9
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.9
:msg:main --->  Computing dependencies for octave-specfun:info:main .:debug:main octave-specfun has no conflicts
:debug:main Searching for dependency: clang-14
:debug:main Found Dependency: receipt exists for clang-14
:debug:main Searching for dependency: octave
:debug:main Found Dependency: receipt exists for octave
:debug:main Executing org.macports.main (octave-specfun)
:debug:main dropping privileges: euid changed to 503, egid changed to 502.
:debug:archivefetch archivefetch phase started at Fri Mar 24 00:42:28 CET 2023
:debug:archivefetch Executing org.macports.archivefetch (octave-specfun)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Mar 24 00:42:28 CET 2023
:notice:fetch --->  Fetching distfiles for octave-specfun
:debug:fetch Executing org.macports.fetch (octave-specfun)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Mar 24 00:42:28 CET 2023
:notice:checksum --->  Verifying checksums for octave-specfun
:debug:checksum Executing org.macports.checksum (octave-specfun)
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Mar 24 00:42:28 CET 2023
:notice:extract --->  Extracting octave-specfun
:debug:extract Executing org.macports.extract (octave-specfun)
:debug:extract Executing proc-post-org.macports.extract-extract-0
:error:extract Failed to extract octave-specfun: 0
:error:extract child process exited abnormally
:debug:extract Error code: NONE
:debug:extract Backtrace: 0
:debug:extract child process exited abnormally
:debug:extract     while executing
:debug:extract "$post $targetname"
:error:extract See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-specfun/octave-specfun/main.log for details.
version:1
:debug:main Starting logging for octave-specfun @1.1.0_10
:debug:sysinfo OS X 10.9.5 (darwin/13.4.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode 6.2, CLT 6.2.0.0.1.1424975374
:debug:sysinfo SDK 10.9
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.9
:msg:main --->  Computing dependencies for octave-specfun:info:main .:debug:main octave-specfun has no conflicts
:debug:main Searching for dependency: clang-14
:debug:main Found Dependency: receipt exists for clang-14
:debug:main Searching for dependency: octave
:debug:main Found Dependency: receipt exists for octave
:debug:main Executing org.macports.main (octave-specfun)
:debug:main dropping privileges: euid changed to 503, egid changed to 502.
:debug:archivefetch archivefetch phase started at Fri Mar 24 11:25:19 CET 2023
:debug:archivefetch Executing org.macports.archivefetch (octave-specfun)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (octave-specfun)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (octave-specfun)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Mar 24 11:25:21 CET 2023
:notice:extract --->  Extracting octave-specfun
:debug:extract Executing org.macports.extract (octave-specfun)
:debug:extract Executing proc-post-org.macports.extract-extract-0
:error:extract Failed to extract octave-specfun: 0
:error:extract child process exited abnormally
:debug:extract Error code: NONE
:debug:extract Backtrace: 0
:debug:extract child process exited abnormally
:debug:extract     while executing
:debug:extract "$post $targetname"
:error:extract See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_octave_octave-specfun/octave-specfun/main.log for details.

Change History (6)

comment:1 Changed 13 months ago by jmroot (Joshua Root)

Cc: Schamschula added
Keywords: mavericks removed

This port was supposed to be marked as obsolete in [a89ef1aa3fc3268623a54b7f52aa2f7fa879c336/macports-ports], but that doesn't seem to have worked very well since it doesn't indicate that anywhere in the description or message when you try to install it.

comment:2 Changed 13 months ago by Schamschula (Marius Schamschula)

This seems to be a problem with the obsolete PortGroup. I did nothing different in marking the port obsolete than I have done in the past.

comment:3 Changed 13 months ago by jmroot (Joshua Root)

It could be an interaction with the octave portgroup. But on the other hand, why not just delete the port if it is obsolete and there is no replacement?

comment:4 Changed 13 months ago by Schamschula (Marius Schamschula)

The octave PG could well be at fault with the recent move to the octave category. I'll have a look.

comment:5 Changed 13 months ago by Schamschula (Marius Schamschula)

The problem seems to only occur when trying to upgrade an existing install. On my build machine I had previously uninstalled octave-specfun, and I get

% sudo port -v install octave-specfun
octave-specfun is known to fail. Try to install anyway? [y/N]: y
--->  Computing dependencies for octave-specfun.
--->  Fetching distfiles for octave-specfun
--->  Verifying checksums for octave-specfun
--->  Extracting octave-specfun
Error: Failed to extract octave-specfun: 0
child process exited abnormally
Error: See /opt/local/var/macports/logs/_Users_marius_Development_MacPorts_ports_octave_octave-specfun/octave-specfun/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port octave-specfun failed

comment:6 Changed 13 months ago by jeff-kelley

Package obsoleted. Error should have no incidence on the operation of Octave, except confusing ppl. who have the package installed and try to upgrade.

Probable reason why I had this package was a confusion between Octave's core 'Special functions' (bessel etc) and package specfun which are different things under a same name. It may be the case that I never used the package. I was not able to check if specfun functions have been migrated to another place. However that's an upstream concern.

User-side fix pretty straightforward : Uninstall octave-specfun.

Note: See TracTickets for help on using tickets.