Skip to content

Commit

Permalink
log4cpp: update to 1.1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelld committed Apr 18, 2017
1 parent 9aca3cf commit 05583ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devel/log4cpp/Portfile
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0

name log4cpp
version 1.1.1
version 1.1.2
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel
platforms darwin
Expand All @@ -20,8 +20,8 @@ long_description Log4cpp is library of C++ classes for flexible logging to \
homepage http://log4cpp.sourceforge.net/
master_sites sourceforge:project/log4cpp/log4cpp-${branch}.x%20%28new%29/log4cpp-${branch}

checksums rmd160 269c90d9739de2ed07ff05ad6f2929cd269744a8 \
sha256 35abf332630a6809c969276b1d60b90c81a95daf24c86cfd7866ffef72f9bed0
checksums rmd160 497d0af40fd70fe9944457daf384e5e20d5cb28d \
sha256 a92bb210cddca7a1d6e7ea89f52b6eecbee7c3e7c1bc22a6e2593ef46fe8798b

depends_build port:autoconf \
port:automake \
Expand Down

4 comments on commit 05583ab

@nkwood
Copy link

@nkwood nkwood commented on 05583ab Apr 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelld This commit (on my machine) breaks the installation of the gr-fcdproplus port with:

:info:build Undefined symbols for architecture x86_64:
:info:build "log4cpp::Appender::AppenderMapStorageInitializer::AppenderMapStorageInitializer()", referenced from:
:info:build __GLOBAL__sub_I_fcdproplus_impl.cc in fcdproplus_impl.cc.o
:info:build "log4cpp::Appender::AppenderMapStorageInitializer::~AppenderMapStorageInitializer()", referenced from:
:info:build __GLOBAL__sub_I_fcdproplus_impl.cc in fcdproplus_impl.cc.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reverting to the previous version of the portfile (with 1.1.1) fixes the compile issue. I haven't tracked down if this is a log4cpp issue or a gr-fcdproplus, but wanted to give everyone a heads-up since gr-fcdproplus is a dependency of gr-osmosdr.

@michaelld
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this issue too. Strangely, not all OOT modules exhibit it. I have a few ideas that I'll be checking out.

@michaelld
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gr-fcdproplus doesn't even reference log4cpp ... so, I'm guessing this is a related to moving to using "-defined dynamic_lookup" so-as to not link directly to a specific Python library (in core GNU Radio libraries). Any OOT either needs to link to liblog4cpp or use the -undefined flag. I'm investigating further.

@michaelld
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.