[MacPorts] #45607: bibledit @4.8: cannot pass non-POD object of type 'const_reference' to variadic function (was: Bibledit "port install" failed)

MacPorts noreply at macports.org
Fri Oct 24 22:20:23 PDT 2014


#45607: bibledit @4.8: cannot pass non-POD object of type 'const_reference' to
variadic function
---------------------------------+--------------------------------
  Reporter:  acurtis.preacher@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.2
Resolution:                      |   Keywords:
      Port:  bibledit            |
---------------------------------+--------------------------------
Changes (by ryandesign@…):

 * port:   => bibledit


Old description:

> I recently tried to install Bibledit on Mac OS X (10.10 Yosemite). I have
> Xcode and the command line tools installed, along with several other gtk
> tools, evertything I *should* need to install the program. I tried the
> "sudo port install bibledit" command from the docs found in the .tar.gz
> file from "http://download-
> mirror.savannah.gnu.org/releases//bibledit/source/gtk/". I got:
>
> Error: org.macports.build for port bibledit returned: command execution
> failed
> Please see the log file for port bibledit for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_bibledit/bibledit/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port bibledit failed
>
> Is there anyway to fix the problem?

New description:

 I recently tried to install Bibledit on Mac OS X (10.10 Yosemite). I have
 Xcode and the command line tools installed, along with several other gtk
 tools, evertything I *should* need to install the program. I tried the
 "sudo port install bibledit" command from the docs found in the .tar.gz
 file from "http://download-
 mirror.savannah.gnu.org/releases//bibledit/source/gtk/". I got:

 {{{
 Error: org.macports.build for port bibledit returned: command execution
 failed
 Please see the log file for port bibledit for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_bibledit/bibledit/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port bibledit failed
 }}}

 Is there anyway to fix the problem?

--

Comment:

 The relevant error seems to be:

 {{{
 :info:build keyterms.cpp:1074:207: error: cannot pass non-POD object of
 type 'const_reference' (aka '__bit_const_reference<std::__1::vector<bool,
 std::__1::allocator<bool> > >') to variadic function; expected type from
 format string was 'int' [-Wnon-pod-varargs]
 :info:build       sql = g_strdup_printf("insert into renderings values
 ('%s', '%s', '%s', %d, %d);", double_apostrophy(keyterm).c_str(),
 double_apostrophy(collection).c_str(),
 double_apostrophy(renderings[i]).c_str(), wholewords[i],
 casesensitives[i]);
 :info:build
 ~~
 ^~~~~~~~~~~~~
 :info:build keyterms.cpp:1074:222: error: cannot pass non-POD object of
 type 'const_reference' (aka '__bit_const_reference<std::__1::vector<bool,
 std::__1::allocator<bool> > >') to variadic function; expected type from
 format string was 'int' [-Wnon-pod-varargs]
 :info:build       sql = g_strdup_printf("insert into renderings values
 ('%s', '%s', '%s', %d, %d);", double_apostrophy(keyterm).c_str(),
 double_apostrophy(collection).c_str(),
 double_apostrophy(renderings[i]).c_str(), wholewords[i],
 casesensitives[i]);
 :info:build
 ~~
 ^~~~~~~~~~~~~~~~~
 }}}

 This seems like a programming error in bibledit. It should be reported to
 the developers of bibledit so that they can correct it.

-- 
Ticket URL: <https://trac.macports.org/ticket/45607#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list