Opened 13 years ago
Closed 13 years ago
#33736 closed defect (fixed)
mednafen (0.8.1_2): build failure
Reported by: | Pesthauch666@… | Owned by: | adamw@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | anddam (Andrea D'Amore) | |
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 (2)
Change History (7)
Changed 13 years ago by Pesthauch666@…
Attachment: | main.log.bz2 added |
---|
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to adamw@… |
---|
comment:2 Changed 13 years ago by anddam (Andrea D'Amore)
Cc: | and.damore@… added |
---|
comment:3 follow-up: 4 Changed 13 years ago by anddam (Andrea D'Amore)
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 Changed 13 years 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 13 years ago by Pesthauch666@…
Attachment: | main.log.2.bz2 added |
---|
comment:5 Changed 13 years ago by anddam (Andrea D'Amore)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!