New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21762 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

tuntaposx not building on 10.5

Reported by: quest@… Owned by: febeling@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: michael.klein@…, remy.blank@…, stransky@…, info@…
Port: tuntaposx

Description

questmbp:~ quest$ sudo port clean tuntaposx
---> Cleaning tuntaposx
questmbp:~ quest$ sudo port -u upgrade outdated
---> Computing dependencies for tuntaposx
---> Fetching tuntaposx
---> Verifying checksum(s) for tuntaposx
---> Extracting tuntaposx
---> Applying patches to tuntaposx
---> Configuring tuntaposx
---> Building tuntaposx
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_tuntaposx/work/tuntap" && /usr/bin/make -j1 all " returned error 2
Command output: cd src/tap && make TUNTAP_VERSION=20090913 -f Makefile all /usr/bin/g++-4.0 -Wall -mkernel -force_cpusubtype_ALL -fno-builtin -fno-stack-protector -O2 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20090913\" -DTAP_KEXT_VERSION=\"20090913\" -I.. -I/System/Library/Frameworks/Kernel.framework/Headers -c ../tuntap.cc -o ../tuntap.o ../tuntap.cc: In member function 'virtual bool tuntap_interface::register_interface(const sockaddr_dl*, void*, u_int32_t)':
../tuntap.cc:329: error: invalid conversion from 'errno_t (*)(ifnet*, long unsigned int, void*)' to 'errno_t (*)(ifnet*, u_int32_t, void*)'
make[1]: * tuntap.o Error 1
make:
* [tap.kext] Error 2

Attachments

patch-leopard.diff (2.3 KB) - added by michael.klein@… 4 years ago.
tuntaposx-Portfile.diff (382 bytes) - added by michael.klein@… 4 years ago.

Change History

comment:1 Changed 4 years ago by quest@…

  • Cc quest@… added

Cc Me!

comment:2 Changed 4 years ago by toby@…

  • Keywords tuntaposx removed
  • Priority changed from High to Normal
  • Cc quest@… removed

comment:3 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to febeling@…

Changed 4 years ago by michael.klein@…

Changed 4 years ago by michael.klein@…

comment:4 Changed 4 years ago by michael.klein@…

According to the homepage, you need Snow Leopard to compile the latest tuntaposx. Upstream doesn't want to fix: http://sourceforge.net/tracker/?func=detail&aid=2871574&group_id=235725&atid=1097639

Looks like it's just about changing a few "unsigned long" back to "uint32_t", see above patch.

comment:5 Changed 4 years ago by michael.klein@…

  • Cc michael.klein@… added

Cc Me!

comment:6 Changed 4 years ago by remy.blank@…

  • Cc remy.blank@… added

Cc Me!

comment:7 Changed 4 years ago by stransky@…

  • Cc stransky@… added

Cc Me!

comment:8 Changed 3 years ago by info@…

  • Cc info@… added

Cc Me!

comment:9 in reply to: ↑ description Changed 3 years ago by info@…

michael.klein's patch does seem to fix the problem on 10.5.8 on PPC.

comment:10 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.