Re: xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-28 Thread Markus Hoenicka
Mel Flynn writes:
  -PP will fail if for some reason the package is not available on the 
  servers. 
  It is better to use -P when crossing major releases, so that any restricted 
  packages that are unavailable on the buildservers are built from source.
  I suspect this is the root of the problem, though they look to be available:

I resorted to reinstalling everything, using -Pk instead of -PP this
time. This apparently helped fix this problem.

thanks
Markus

-- 
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-28 Thread Markus Hoenicka
Manolis Kiagias writes:
  Upgrading between major versions requires all installed ports to be
  rebuilt, so they get linked to the new versions of the libraries.
  I suppose you missed this step, older apps may still work but there is a
  problem installing new ones.
  
[...]
  (AFAIR,  if you upgraded via source, you will also need to run make
  delete-old-libs in /usr/src after successfully recompiling ports)

This was kind of an experience, as make delete-old-libs almost bricked
my laptop. Apparently portupgrade failed to upgrade quite a few apps,
for whatever reasons. I deleted all cached packages to make sure
portupgrade -P would fetch the newest. I also had to coerce
/usr/bin/objformat to return elf as the installed objformat
prevented building many ports that could not be installed as
packages. Anyway, everything seems to work ok now.

thanks a lot
Markus

-- 
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-26 Thread Markus Hoenicka

Quoting Manolis Kiagias son...@otenet.gr:


Upgrading between major versions requires all installed ports to be
rebuilt, so they get linked to the new versions of the libraries.
I suppose you missed this step, older apps may still work but there is a
problem installing new ones.

Please see the instructions at the end of section 24.2.3 (portupgrade etc):



This is why I'm at a loss here. I upgraded the base system from the  
sources and then used portupgrade -af to rebuild all installed  
packages. Right after upgrading the base system, essentially  
everything from X to Emacs was broken (I tried, just for the heck of  
it). After running portupgrade, these problems were all fixed - except  
for xfburn.



(AFAIR,  if you upgraded via source, you will also need to run make
delete-old-libs in /usr/src after successfully recompiling ports)


I'll try that, as I've never seen this before. I definitely didn't do that.

regards,
Markus

--
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-25 Thread Markus Hoenicka
Hi,

I've upgraded my laptop from 6.4 to 7.2-RELEASE. Essentially
everything went fine, except that for some reason xfburn no longer
works. If I install a package using portupgrade -f -PP, I see the
following at runtime:

mar...@yeti:/usr/home/markus# xfburn 
[1] 47214
mar...@yeti:/usr/home/markus# /libexec/ld-elf.so.1: /lib/libpthread.so.2: 
Undefined symbol __malloc_lock

If I build xfburn in the ports tree, I get the following error at
compile time:

/usr/bin/ld: warning: libcam.so.3, needed by /usr/local/lib/libburn.so, may 
conflict with libcam.so.4
/lib/libpthread.so.2: undefined reference to `__malloc_lock'

I assume that I somehow managed to botch the 6-7 upgrade, but would
anyone know how to fix this particular problem?

regards,
Markus

-- 
Markus Hoenicka
markus.hoeni...@cats.de
(Spam-protected email: replace the quadrupeds with mhoenicka)
http://www.mhoenicka.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-25 Thread Manolis Kiagias
Markus Hoenicka wrote:
 Hi,

 I've upgraded my laptop from 6.4 to 7.2-RELEASE. Essentially
 everything went fine, except that for some reason xfburn no longer
 works. If I install a package using portupgrade -f -PP, I see the
 following at runtime:

 mar...@yeti:/usr/home/markus# xfburn 
 [1] 47214
 mar...@yeti:/usr/home/markus# /libexec/ld-elf.so.1: /lib/libpthread.so.2: 
 Undefined symbol __malloc_lock

 If I build xfburn in the ports tree, I get the following error at
 compile time:

 /usr/bin/ld: warning: libcam.so.3, needed by /usr/local/lib/libburn.so, may 
 conflict with libcam.so.4
 /lib/libpthread.so.2: undefined reference to `__malloc_lock'

 I assume that I somehow managed to botch the 6-7 upgrade, but would
 anyone know how to fix this particular problem?

 regards,
 Markus
   

Upgrading between major versions requires all installed ports to be
rebuilt, so they get linked to the new versions of the libraries.
I suppose you missed this step, older apps may still work but there is a
problem installing new ones.

Please see the instructions at the end of section 24.2.3 (portupgrade etc):

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html#FREEBSDUPDATE-UPGRADE

These are still applicable even if you used the traditional source-based
way of upgrading the base system (instead of freebsd-update)

(AFAIR,  if you upgraded via source, you will also need to run make
delete-old-libs in /usr/src after successfully recompiling ports)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xfburn fails with 'Undefined symbol __malloc_lock'

2009-06-25 Thread Mel Flynn
On Thursday 25 June 2009 14:55:37 Markus Hoenicka wrote:

 I've upgraded my laptop from 6.4 to 7.2-RELEASE. Essentially
 everything went fine, except that for some reason xfburn no longer
 works. If I install a package using portupgrade -f -PP

-PP will fail if for some reason the package is not available on the servers. 
It is better to use -P when crossing major releases, so that any restricted 
packages that are unavailable on the buildservers are built from source.
I suspect this is the root of the problem, though they look to be available:
$ curl --silent --list-only \
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/|\
grep -E '(lib|xf)burn'
libburn-0.6.4.tbz
xfburn-0.4.1.tbz

Without a log it's hard to tell what went wrong. Perhaps portupgrade found the 
package locally in $PACKAGES (/usr/ports/packages by default) and decided not 
to download it.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org