[MacPorts] #26708: apt building error

MacPorts noreply at macports.org
Sun Oct 3 16:04:01 PDT 2010


#26708: apt building error
-----------------------------+----------------------------------------------
 Reporter:  damec56@…        |       Owner:  landonf@…           
     Type:  defect           |      Status:  new                 
 Priority:  Normal           |   Milestone:                      
Component:  ports            |     Version:  1.9.1               
 Keywords:                   |        Port:  apt                 
-----------------------------+----------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => landonf@…


Old description:

> On snow leopard, when trying
>
> sudo port -v install apt, I obtain this error
>
> --->  Building apt
> Compiling contrib/md5.cc to
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/md5.opic
> Compiling contrib/hashes.cc to
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/hashes.opic
> Compiling contrib/sha1.cc to
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/sha1.opic
> Compiling sourcelist.cc to
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/sourcelist.opic
> contrib/hashes.cc: In member function 'bool Hashes::AddFD(int, long
> unsigned int)':
> contrib/hashes.cc:33: error: expected primary-expression before '?' token
> contrib/hashes.cc:33: error: expected `:' before ')' token
> contrib/hashes.cc:33: error: expected primary-expression before ')' token
> contrib/hashes.cc:34: error: expected primary-expression before '?' token
> contrib/hashes.cc:34: error: expected `:' before ')' token
> contrib/hashes.cc:34: error: expected primary-expression before ')' token
> gnumake[2]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/hashes.opic] Error 1
> gnumake[2]: *** Waiting for unfinished jobs....
> contrib/md5.cc: In member function 'bool MD5Summation::AddFD(int, long
> unsigned int)':
> contrib/md5.cc:302: error: expected primary-expression before '?' token
> contrib/md5.cc:302: error: expected `:' before ')' token
> contrib/md5.cc:302: error: expected primary-expression before ')' token
> contrib/md5.cc:303: error: expected primary-expression before '?' token
> contrib/md5.cc:303: error: expected `:' before ')' token
> contrib/md5.cc:303: error: expected primary-expression before ')' token
> gnumake[2]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/md5.opic] Error 1
> contrib/sha1.cc: In member function 'bool SHA1Summation::AddFD(int, long
> unsigned int)':
> contrib/sha1.cc:348: error: expected primary-expression before '?' token
> contrib/sha1.cc:348: error: expected `:' before ')' token
> contrib/sha1.cc:348: error: expected primary-expression before ')' token
> contrib/sha1.cc:349: error: expected primary-expression before '?' token
> contrib/sha1.cc:349: error: expected `:' before ')' token
> contrib/sha1.cc:349: error: expected primary-expression before ')' token
> gnumake[2]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
> /apt-pkg/sha1.opic] Error 1
> gnumake[1]: *** [all] Error 2
> gnumake: *** [all] Error 2
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build"
> && /usr/bin/gnumake all " returned error 2
> Error: Target org.macports.build returned: shell command failed
> Warning: the following items did not execute (for apt):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Log for apt is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 On snow leopard, when trying

 sudo port -v install apt, I obtain this error
 {{{
 --->  Building apt
 Compiling contrib/md5.cc to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/md5.opic
 Compiling contrib/hashes.cc to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/hashes.opic
 Compiling contrib/sha1.cc to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/sha1.opic
 Compiling sourcelist.cc to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/sourcelist.opic
 contrib/hashes.cc: In member function 'bool Hashes::AddFD(int, long
 unsigned int)':
 contrib/hashes.cc:33: error: expected primary-expression before '?' token
 contrib/hashes.cc:33: error: expected `:' before ')' token
 contrib/hashes.cc:33: error: expected primary-expression before ')' token
 contrib/hashes.cc:34: error: expected primary-expression before '?' token
 contrib/hashes.cc:34: error: expected `:' before ')' token
 contrib/hashes.cc:34: error: expected primary-expression before ')' token
 gnumake[2]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/hashes.opic] Error 1
 gnumake[2]: *** Waiting for unfinished jobs....
 contrib/md5.cc: In member function 'bool MD5Summation::AddFD(int, long
 unsigned int)':
 contrib/md5.cc:302: error: expected primary-expression before '?' token
 contrib/md5.cc:302: error: expected `:' before ')' token
 contrib/md5.cc:302: error: expected primary-expression before ')' token
 contrib/md5.cc:303: error: expected primary-expression before '?' token
 contrib/md5.cc:303: error: expected `:' before ')' token
 contrib/md5.cc:303: error: expected primary-expression before ')' token
 gnumake[2]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/md5.opic] Error 1
 contrib/sha1.cc: In member function 'bool SHA1Summation::AddFD(int, long
 unsigned int)':
 contrib/sha1.cc:348: error: expected primary-expression before '?' token
 contrib/sha1.cc:348: error: expected `:' before ')' token
 contrib/sha1.cc:348: error: expected primary-expression before ')' token
 contrib/sha1.cc:349: error: expected primary-expression before '?' token
 contrib/sha1.cc:349: error: expected `:' before ')' token
 contrib/sha1.cc:349: error: expected primary-expression before ')' token
 gnumake[2]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj
 /apt-pkg/sha1.opic] Error 1
 gnumake[1]: *** [all] Error 2
 gnumake: *** [all] Error 2
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build"
 && /usr/bin/gnumake all " returned error 2
 Error: Target org.macports.build returned: shell command failed
 Warning: the following items did not execute (for apt):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for apt is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, and to cc the
 maintainer.

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


More information about the macports-tickets mailing list