New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33736 (closed defect: fixed)

Opened 14 months ago

Last modified 13 months ago

mednafen (0.8.1_2): build failure

Reported by: Pesthauch666@… Owned by: adamw@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: and.damore@…
Port: mednafen

Description

While upgrading to the more recent version of mednafen the build failed with similar errors that I experienced with ffmpeg-devel 20120317_0. It seems the build stumbles across some extraneous characters:

:info:build file.cpp: In function ‘MDFNFILE* MakeMemWrap(void*, int)’:
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:158: error:   initializing argument 1 of ‘int gzgetc_(gzFile_s*)’
:info:build file.cpp:159: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:159: error:   initializing argument 1 of ‘off_t gzseek(gzFile_s*, off_t, int)’
:info:build file.cpp:166: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:166: error:   initializing argument 1 of ‘int gzread(gzFile_s*, void*, unsigned int)’
:info:build file.cpp:190: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:190: error:   initializing argument 1 of ‘int gzclose(gzFile_s*)’
:info:build make[2]: *** [file.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_mednafen/mednafen/work/mednafen/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_mednafen/mednafen/work/mednafen/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_mednafen/mednafen/work/mednafen'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_mednafen/mednafen/work/mednafen" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mednafen): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mednafen is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_mednafen/mednafen/main.log

Attachments

main.log.bz2 (17.2 KB) - added by Pesthauch666@… 14 months ago.
main.log.2.bz2 (17.2 KB) - added by Pesthauch666@… 14 months ago.

Change History

Changed 14 months ago by Pesthauch666@…

comment:1 Changed 14 months ago by macsforever2000@…

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

comment:2 Changed 14 months ago by and.damore@…

  • Cc and.damore@… added

Cc Me!

comment:3 follow-up: ↓ 4 Changed 14 months ago by and.damore@…

I cannot reproduce, could it be a locale issue, e.g. only in your terminal output?

This ticket is possibly outdated by #33853.

comment:4 in reply to: ↑ 3 Changed 14 months ago by Pesthauch666@…

Replying to and.damore@…:

I cannot reproduce, could it be a locale issue, e.g. only in your terminal output?

This ticket is possibly outdated by #33853.

I've tried installing mednafen again (after removing it completely) but it still fails to built. But at least it doesn't fail with the same error, that btw. looked like some unicode issue. Now built failure looks like this:

:info:build file.cpp: In function ‘MDFNFILE* MakeMemWrap(void*, int)’:
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: ‘void*’ is not a pointer-to-object type
:info:build file.cpp:158: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:158: error:   initializing argument 1 of ‘int gzgetc_(gzFile_s*)’
:info:build file.cpp:159: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:159: error:   initializing argument 1 of ‘off_t gzseek(gzFile_s*, off_t, int)’
:info:build file.cpp:166: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:166: error:   initializing argument 1 of ‘int gzread(gzFile_s*, void*, unsigned int)’
:info:build file.cpp:190: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
:info:build file.cpp:190: error:   initializing argument 1 of ‘int gzclose(gzFile_s*)’
:info:build make[2]: *** [file.o] Error 1

I've attached the complete new log file as well.

Changed 14 months ago by Pesthauch666@…

comment:5 Changed 13 months ago by and.damore@…

  • Status changed from new to closed
  • Resolution set to fixed

Since the error has changed ticket's description should change accordingly.

Those errors have been patched in r91933, cf. #33853.

Ticket closed.

Note: See TracTickets for help on using tickets.