Solved Cannot upgrade x11-toolkits/gtk30 with portmaster

Hi,

I'm trying to upgrade my existing ports collection with portmaster (BTW: I was doing it the same way for months now and never had any problems with any of the ports).
Recently I did run the usual:

$ portsnap fetch update
$ pkg version -l "<"
$ portmaster -a

Most of the ports did upgrade correctly during the process.. But during the installation of gtk30 I'm getting the following error message:


Bash:
===>>> Launching child to install x11-toolkits/gtk30
 
===>>> All >> x11-toolkits/gtk30 (3/8)
 
===>>> Currently installed version: gtk3-3.24.23_2
===>>> Port directory: /usr/ports/x11-toolkits/gtk30
 
===>>> Starting check for build dependencies
===>>> Gathering dependency list for x11-toolkits/gtk30 from ports
===>>> Launching child to update mesa-libs-20.2.0_2 to mesa-libs-20.2.3
 
===>>> All >> gtk3-3.24.23_2 >> mesa-libs-20.2.0_2 (4/8)
 
===>>> Currently installed version: mesa-libs-20.2.0_2
===>>> Port directory: /usr/ports/graphics/mesa-libs
 
===>>> Starting check for build dependencies
===>>> Gathering dependency list for graphics/mesa-libs from ports
===>>> Launching child to update py37-mako-1.0.14 to py37-mako-1.0.14_1
 
===>>> All >> gtk3-3.24.23_2 >> mesa-libs-20.2.0_2 >> py37-mako-1.0.14 (5/8)
 
===>>> Currently installed version: py37-mako-1.0.14
===>>> Port directory: /usr/ports/textproc/py-mako@py37
 
===>>> Starting check for build dependencies
===>>> Gathering dependency list for textproc/py-mako@py37 from ports
===>>> Dependency check complete for textproc/py-mako@py37
 
===>>> All >> gtk3-3.24.23_2 >> mesa-libs-20.2.0_2 >> py37-mako-1.0.14 (5/8)
 
===>  Cleaning for py37-mako-1.0.14_1
===>  License MIT accepted by the user
===>   py37-mako-1.0.14_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py37-mako-1.0.14_1 for building
===>  Extracting for py37-mako-1.0.14_1
=> SHA256 Checksum OK for Mako-1.0.14.tar.gz.
===>  Patching for py37-mako-1.0.14_1
===>   py37-mako-1.0.14_1 depends on package: py37-beaker>=1.1 - found
===>   py37-mako-1.0.14_1 depends on package: py37-markupsafe>=0.9.2 - not found
===>  Installing for py37-markupsafe-1.1.1
===>  Checking if py37-markupsafe is already installed
===>   Registering installation for py37-markupsafe-1.1.1 as automatic
*** Error code 70
Stop.
make[1]: stopped in /usr/ports/textproc/py-markupsafe
*** Error code 1
 
Stop.
make: stopped in /usr/ports/textproc/py-mako
 
===>>> make build failed for textproc/py-mako@py37
===>>> Aborting update
 
===>>> Update for py37-mako-1.0.14 failed
===>>> Aborting update
 
===>>> Update for mesa-libs-20.2.0_2 failed
===>>> Aborting update
 
===>>> Update for x11-toolkits/gtk30 failed
===>>> Aborting update
 
===>>> The following actions were performed:
        Upgrade of pciids-20201025 to pciids-20201127
        Upgrade of bash-5.0.18_3 to bash-5.1
 
 
===>>> You can restart from the point of failure with this command line:
       portmaster <flags> x11-toolkits/gtk30 graphics/mesa-libs textproc/py-mako@py37 devel/py-cffi@py37 devel/py-packaging@py37 devel/swig
 
This command has been saved to ~/portmasterfail.txt


Can I ask if there is a way to fix this?

Any help would be greatly appreciated.
 
I hit this upgrading mesa-libs. I removed py-markupsafe, which fixed it by reinstalling it as required. It might be "flavour" issue and the py37 won't install over the older p27 one, maybe. Just guessing, but the fix worked and nothing else seems to have broken in the mean time,
 
pkg delete py37-MarkupSafe-1.1.1
cd /usr/ports/textproc/py-markupsafe && make install clean

Note, It might remove some other dependant ports as well, but it will list them on the screen and prompt you for a confirmation.
You should write those down and reinstall them afterwards.
 
I've had the same issue with the mesa-libs >> py37-mako >> py37-markupsafe update and the following error:
Code:
===>   Registering installation for py37-markupsafe-1.1.1 as automatic
*** Error code 70

It has been successfully resolved, but now I have another issue with the opencv-core >> eigen3 >> mesa-libs update and the following error:

Code:
===>  Installing for mesa-libs-20.2.3
===>  Checking if mesa-libs is already installed
===>   mesa-libs-20.2.3 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of mesa-libs
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/eigen3
*** Error code 1

Stop.
make: stopped in /usr/ports/math/eigen3

===>>> make build failed for math/eigen3
===>>> Aborting update

===>>> Update for math/eigen3 failed
===>>> Aborting update

===>>> Update for graphics/opencv-core failed
===>>> Aborting update

I've tried to reinstall, deinstall, install mesa-libs prior to update but nothing helps.
I'm looking for advice how to fix it.
 
Last edited by a moderator:
I have the same issue. Error 70 on installation. I always thought error 70 was a disk space or permissions issue, is it? I have plenty of disk space and I was able to upgrade/install a handfull of other packages from the port collection after I tried to upgrade py-markupsafe. I also tried deleteing the current installed version, removing and re-svn-up the port, make clean / make install. All comes up with error 70 on install.
 
same issue here with the vague error code 1.

Except for me removing the old port didnt fix it, it still fails to install even with no existing version installed.

Code:
===>  Installing for py36-markupsafe-1.1.1
===>  Checking if py36-markupsafe is already installed
===>   Registering installation for py36-markupsafe-1.1.1
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/py-markupsafe
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/py-markupsafe
 
Back
Top