Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26775 closed defect (worksforme)

slib @3b2_0 prevents gnucash from starting up

Reported by: nstanger (Nigel Stanger) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: slib-guile16 slib gnucash

Description (last modified by mf2k (Frank Schima))

The new update of slib from @3b1_0 to @3b2_0 stops gnucash (@2.2.9_5 and @2.2.9_6 tested) from starting up. I get a brief flash of the startup screen, then it disappears, and this error message is displayed:

ERROR: In procedure open-file:
ERROR: Permission denied: "/opt/local/share/guile/1.6/slibcat"

Deactivating @3b2_0 and activating @3b1_0 fixes the problem. Reactivating @3b2_ reliably reproduces the problem.

See also Ticket #16961 which dealt with a similar problem going from @3a3_0 to @3b1_0.

Change History (11)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: slib gnucash added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

What permissions does /opt/local/share/guile/1.6/slibcat have?

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

I see this problem too. The file does not even exist for me.

comment:4 Changed 14 years ago by nstanger (Nigel Stanger)

/opt/local/share/guile/1.6/slibcat doesn’t exist for me either. However, /opt/local/share/guile/site/slibcat does exist.

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

Port: slib-guile16 added

The slibcat under guile/1.6/ seems to be created by slib-guile16. Maybe it just needs a rev bump. What happens if you reinstall it?

comment:6 in reply to:  5 Changed 14 years ago by nstanger (Nigel Stanger)

Replying to jmr@…:

The slibcat under guile/1.6/ seems to be created by slib-guile16. Maybe it just needs a rev bump. What happens if you reinstall it?

Nope, no difference, still no slibcat under guile/1.6/ and gnucash still fails to launch. It actually looks like slib-guile16 is installing guile/site/slibcat rather than guile/1.6/slibcat:

$ ls /opt/local/share/guile/site
slibcat
$ port provides /opt/local/share/guile/site/slibcat
/opt/local/share/guile/site/slibcat is not provided by a MacPorts port.
$ ls /opt/local/share/guile/1.6
guile-procedures.txt  oop/                  slib@
ice-9/                scripts/              srfi/
$ sudo rm /opt/local/share/guile/site/slibcat
$ ls /opt/local/share/guile/site
$ sudo port -f uninstall slib-guile16
--->  Unable to uninstall slib-guile16 1.0_2, the following ports depend on it:
--->      gnucash
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating slib-guile16 @1.0_2
--->  Uninstalling slib-guile16 @1.0_2
$ sudo port install slib-guile16
--->  Computing dependencies for slib-guile16
--->  Fetching archive for slib-guile16
--->  Unpacking tgz archive for slib-guile16 1.0_2
--->  Installing slib-guile16 @1.0_2
--->  Activating slib-guile16 @1.0_2
--->  Cleaning slib-guile16
$ ls /opt/local/share/guile/site
slibcat
$ ls /opt/local/share/guile/1.6
guile-procedures.txt  oop/                  slib@
ice-9/                scripts/              srfi/
$ port provides /opt/local/share/guile/site/slibcat
/opt/local/share/guile/site/slibcat is not provided by a MacPorts port.

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Well, I can't reproduce this. I have an empty /opt/local/share/guile/site/, slibcat in /opt/local/share/guile/1.6/, and gnucash starts normally.

I notice you didn't actually rebuild slib-guile16, since there was an archive.

comment:8 Changed 14 years ago by hypocrite@…

I had a similar problem, but I did have a file at /opt/local/share/guile/1.6/slibcat . After giving myself full permissions, Gnucash now starts.

comment:9 in reply to:  7 Changed 14 years ago by nstanger (Nigel Stanger)

Replying to jmr@…:

Well, I can't reproduce this. I have an empty /opt/local/share/guile/site/, slibcat in /opt/local/share/guile/1.6/, and gnucash starts normally.

I notice you didn't actually rebuild slib-guile16, since there was an archive.

Whoops, my bad, I wasn’t paying close enough attention when I generated that, but a full rebuild of slib-guile16 (including cleaning the archive) that I did previous to the one shown above did yield the same failure.

However, today I tried scorched earth:

  • port -f uninstall all installed versions of slib-guile16, guile16 and slib
  • port clean --archive on all of the above
  • rm -rf /opt/local/share/guile to get rid of the dangling slibcat
  • port install all of the above

Result: slibcat ended up in guile/1.6/, and gnucash now works happily with slib @3b2. There was obviously something slightly kinked up in there somewhere.

I think we can call this one fixed now, thanks ☺.

comment:10 Changed 14 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

reinstalling those ports works for me too.

comment:11 Changed 14 years ago by jmroot (Joshua Root)

I rev bumped slib-guile16 anyway based on comment:8, in r72362.

Note: See TracTickets for help on using tickets.