[Macports] enblend baut nicht.

15/03/2009 - 16:43 von Michael Lestinsky | Report spam
Hallo zusammen,

ich habe hier einen Port aus dem Macports-System, enblend, der will nicht
bauen. Die Macports sind heute aktualisiert worden und die nötigen Abhàngig-
keiten sind aufgelöst und bereits ebenfalls erfolgreich frisch gebaut. Die
unten bemàngelten Zeilen in glut.h habe ich mal geschwind inspiziert und
kann keinen auffàlligen Fehler finden.

Das System ist ein MBP early 08, mit MacOSX 10.5.6.

Hatte hier jemand Erfolg dabei, diesen Port zu bauen? Kann jemand entdecken,
woran das Bauen scheitert?

Vielen Dank,
Michael

- Transskript:

Ich habe für das folgende Transskript des Outputs zusàtzlch das Debugging
eingeschaltet, daher ist das jetzt recht umfangreich:

$ port -dcuv upgrade enblend
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/enblend
DEBUG: enblend is *not* installed by MacPorts
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/enblend
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port enblend.
DEBUG: Requested variant i386 is not provided by port enblend.
DEBUG: Requested variant macosx is not provided by port enblend.
DEBUG: Searching for dependency: enblend
DEBUG: Didn't find receipt, going to depspec regex for: enblend
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port tiff.
DEBUG: Requested variant i386 is not provided by port tiff.
DEBUG: Executing variant macosx provides macosx
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: tiff
DEBUG: Found Dependency: receipt exists for tiff
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/boost
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant i386 is not provided by port boost.
DEBUG: Requested variant macosx is not provided by port boost.
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Executing variant darwin provides darwin
DEBUG: Searching for dependency: boost
DEBUG: Found Dependency: receipt exists for boost
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/lcms
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/lcms
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port lcms.
DEBUG: Requested variant i386 is not provided by port lcms.
DEBUG: Requested variant macosx is not provided by port lcms.
DEBUG: Searching for dependency: lcms
DEBUG: Found Dependency: receipt exists for lcms
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glew
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/glew
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port glew.
DEBUG: Requested variant i386 is not provided by port glew.
DEBUG: Requested variant macosx is not provided by port glew.
DEBUG: Searching for dependency: glew
DEBUG: Found Dependency: receipt exists for glew
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libxmi
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libxmi
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port libxmi.
DEBUG: Requested variant i386 is not provided by port libxmi.
DEBUG: Requested variant macosx is not provided by port libxmi.
DEBUG: Searching for dependency: libxmi
DEBUG: Found Dependency: receipt exists for libxmi
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/mesa
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port mesa.
DEBUG: Requested variant i386 is not provided by port mesa.
DEBUG: Requested variant macosx is not provided by port mesa.
DEBUG: Executing variant hw_render provides hw_render
DEBUG: Searching for dependency: mesa
DEBUG: Found Dependency: receipt exists for mesa
DEBUG: Executing org.macports.main (enblend)
DEBUG: Skipping completed org.macports.fetch (enblend)
DEBUG: Skipping completed org.macports.checksum (enblend)
DEBUG: Skipping completed org.macports.extract (enblend)
DEBUG: Skipping completed org.macports.patch (enblend)
DEBUG: Skipping completed org.macports.configure (enblend)

Building enblend


DEBUG: Executing org.macports.build (enblend)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_enblend/work/enblend-3.0" && nice -n 17 make all'
make all-recursive
Making all in include
Making all in vigra
make[3]: Nothing to be done for `all'.
Making all in vigra_ext
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
Making all in vigra_impex
make[3]: Nothing to be done for `all'.
Making all in win32helpers
make[3]: Nothing to be done for `all'.
if /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -g -O3 -ffast-math -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITSd -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -pipe -O2 -MT enblend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c -o enblend-enblend.o `test -f 'enblend.cc' || echo './'`enblend.cc; \
then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f ".deps/enblend-enblend.Tpo"; exit 1; fi
/usr/X11R6/include/GL/glut.h:538: error: expected initializer before 'glutInit'
/usr/X11R6/include/GL/glut.h:546: error: expected initializer before 'glutInitDisplayMode'
/usr/X11R6/include/GL/glut.h:548: error: expected initializer before 'glutInitDisplayString'
/usr/X11R6/include/GL/glut.h:550: error: expected initializer before 'glutInitWindowPosition'
/usr/X11R6/include/GL/glut.h:551: error: expected initializer before 'glutInitWindowSize'
/usr/X11R6/include/GL/glut.h:552: error: expected initializer before 'glutMainLoop'
/usr/X11R6/include/GL/glut.h:555: error: expected initializer before 'glutCreateWindow'
/usr/X11R6/include/GL/glut.h:563: error: expected initializer before 'glutCreateSubWindow'
/usr/X11R6/include/GL/glut.h:564: error: expected initializer before 'glutDestroyWindow'
/usr/X11R6/include/GL/glut.h:565: error: expected initializer before 'glutPostRedisplay'
/usr/X11R6/include/GL/glut.h:567: error: expected initializer before 'glutPostWindowRedisplay'
/usr/X11R6/include/GL/glut.h:569: error: expected initializer before 'glutSwapBuffers'
/usr/X11R6/include/GL/glut.h:570: error: expected initializer before 'glutGetWindow'
/usr/X11R6/include/GL/glut.h:571: error: expected initializer before 'glutSetWindow'
/usr/X11R6/include/GL/glut.h:572: error: expected initializer before 'glutSetWindowTitle'
/usr/X11R6/include/GL/glut.h:573: error: expected initializer before 'glutSetIconTitle'
/usr/X11R6/include/GL/glut.h:574: error: expected initializer before 'glutPositionWindow'
/usr/X11R6/include/GL/glut.h:575: error: expected initializer before 'glutRehapeWindow'
/usr/X11R6/include/GL/glut.h:576: error: expected initializer before 'glutPopWindow'
/usr/X11R6/include/GL/glut.h:577: error: expected initializer before 'glutPushWindow'
/usr/X11R6/include/GL/glut.h:578: error: expected initializer before 'glutIconifyWindow'
/usr/X11R6/include/GL/glut.h:579: error: expected initializer before 'glutShowWindow'
/usr/X11R6/include/GL/glut.h:580: error: expected initializer before 'glutHideWindow'
/usr/X11R6/include/GL/glut.h:582: error: expected initializer before 'glutFullScreen'
/usr/X11R6/include/GL/glut.h:583: error: expected initializer before 'glutSetCursor'
/usr/X11R6/include/GL/glut.h:585: error: expected initializer before 'glutWarpPointer'
/usr/X11R6/include/GL/glut.h:589: error: expected initializer before 'glutEstablishOverlay'
/usr/X11R6/include/GL/glut.h:590: error: expected initializer before 'glutRemoveOverlay'
/usr/X11R6/include/GL/glut.h:591: error: expected initializer before 'glutUseLayer'
/usr/X11R6/include/GL/glut.h:592: error: expected initializer before 'glutPostOverlayRedisplay'
/usr/X11R6/include/GL/glut.h:594: error: expected initializer before 'glutPostWindowOverlayRedisplay'
/usr/X11R6/include/GL/glut.h:596: error: expected initializer before 'glutShowOverlay'
/usr/X11R6/include/GL/glut.h:597: error: expected initializer before 'glutHideOverlay'
/usr/X11R6/include/GL/glut.h:601: error: expected initializer before 'glutCreateMenu'
/usr/X11R6/include/GL/glut.h:609: error: expected initializer before 'glutDestroyMenu'
/usr/X11R6/include/GL/glut.h:610: error: expected initializer before 'glutGetMenu'
/usr/X11R6/include/GL/glut.h:611: error: expected initializer before 'glutSetMenu'
/usr/X11R6/include/GL/glut.h:612: error: expected initializer before 'glutAddMenuEntry'
/usr/X11R6/include/GL/glut.h:613: error: expected initializer before 'glutAddSubMenu'
/usr/X11R6/include/GL/glut.h:614: error: expected initializer before 'glutChangeToMenuEntry'
/usr/X11R6/include/GL/glut.h:615: error: expected initializer before 'glutChangeToSubMenu'
/usr/X11R6/include/GL/glut.h:616: error: expected initializer before 'glutRemoveMenuItem'
/usr/X11R6/include/GL/glut.h:617: error: expected initializer before 'glutAttachMenu'
/usr/X11R6/include/GL/glut.h:618: error: expected initializer before 'glutDetachMenu'
/usr/X11R6/include/GL/glut.h:621: error: expected initializer before 'glutDisplayFunc'
/usr/X11R6/include/GL/glut.h:622: error: expected initializer before 'glutReshapeFunc'
/usr/X11R6/include/GL/glut.h:623: error: expected initializer before 'glutKeyboardFunc'
/usr/X11R6/include/GL/glut.h:624: error: expected initializer before 'glutMouseFunc'
/usr/X11R6/include/GL/glut.h:625: error: expected initializer before 'glutMotionFunc'
/usr/X11R6/include/GL/glut.h:626: error: expected initializer before 'glutPassiveMotionFunc'
/usr/X11R6/include/GL/glut.h:627: error: expected initializer before 'glutEntryFunc'
/usr/X11R6/include/GL/glut.h:628: error: expected initializer before 'glutVisibilityFunc'
/usr/X11R6/include/GL/glut.h:629: error: expected initializer before 'glutIdleFunc'
/usr/X11R6/include/GL/glut.h:630: error: expected initializer before 'glutTimerFunc'
/usr/X11R6/include/GL/glut.h:631: error: expected initializer before 'glutMenuStateFunc'
/usr/X11R6/include/GL/glut.h:633: error: expected initializer before 'glutSpecialFunc'
/usr/X11R6/include/GL/glut.h:634: error: expected initializer before 'glutSpaceballMotionFunc'
/usr/X11R6/include/GL/glut.h:635: error: expected initializer before 'glutSpaceballRotateFunc'
/usr/X11R6/include/GL/glut.h:636: error: expected initializer before 'glutSpaceballButtonFunc'
/usr/X11R6/include/GL/glut.h:637: error: expected initializer before 'glutButtonBoxFunc'
/usr/X11R6/include/GL/glut.h:638: error: expected initializer before 'glutDialsFunc'
/usr/X11R6/include/GL/glut.h:639: error: expected initializer before 'glutTabletMotionFunc'
/usr/X11R6/include/GL/glut.h:640: error: expected initializer before 'glutTabletButtonFunc'
/usr/X11R6/include/GL/glut.h:642: error: expected initializer before 'glutMenuStatusFunc'
/usr/X11R6/include/GL/glut.h:643: error: expected initializer before 'glutOverlayDisplayFunc'
/usr/X11R6/include/GL/glut.h:645: error: expected initializer before 'glutWindowStatusFunc'
/usr/X11R6/include/GL/glut.h:648: error: expected initializer before 'glutKeyboardUpFunc'
/usr/X11R6/include/GL/glut.h:649: error: expected initializer before 'glutSpecialUpFunc'
/usr/X11R6/include/GL/glut.h:650: error: expected initializer before 'glutJoystickFunc'
/usr/X11R6/include/GL/glut.h:656: error: expected initializer before 'glutSetColor'
/usr/X11R6/include/GL/glut.h:657: error: expected initializer before 'glutGetColor'
/usr/X11R6/include/GL/glut.h:658: error: expected initializer before 'glutCopyColormap'
/usr/X11R6/include/GL/glut.h:661: error: expected initializer before 'glutGet'
/usr/X11R6/include/GL/glut.h:662: error: expected initializer before 'glutDeviceGet'
/usr/X11R6/include/GL/glut.h:665: error: expected initializer before 'glutExtensionSupported'
/usr/X11R6/include/GL/glut.h:668: error: expected initializer before 'glutGetModifiers'
/usr/X11R6/include/GL/glut.h:669: error: expected initializer before 'glutLayerGet'
/usr/X11R6/include/GL/glut.h:673: error: expected initializer before 'glutGetProcAddress'
/usr/X11R6/include/GL/glut.h:677: error: expected initializer before 'glutBitmapCharacter'
/usr/X11R6/include/GL/glut.h:678: error: expected initializer before 'glutBitmapWidth'
/usr/X11R6/include/GL/glut.h:679: error: expected initializer before 'glutStrokeCharacter'
/usr/X11R6/include/GL/glut.h:680: error: expected initializer before 'glutStrokeWidth'
/usr/X11R6/include/GL/glut.h:682: error: expected initializer before 'glutBitmapLength'
/usr/X11R6/include/GL/glut.h:683: error: expected initializer before 'glutStrokeLength'
/usr/X11R6/include/GL/glut.h:687: error: expected initializer before 'glutWireSphere'
/usr/X11R6/include/GL/glut.h:688: error: expected initializer before 'glutSolidSphere'
/usr/X11R6/include/GL/glut.h:689: error: expected initializer before 'glutWireCone'
/usr/X11R6/include/GL/glut.h:690: error: expected initializer before 'glutSolidCone'
/usr/X11R6/include/GL/glut.h:691: error: expected initializer before 'glutWireCube'
/usr/X11R6/include/GL/glut.h:692: error: expected initializer before 'glutSolidCube'
/usr/X11R6/include/GL/glut.h:693: error: expected initializer before 'glutWireTorus'
/usr/X11R6/include/GL/glut.h:694: error: expected initializer before 'glutSolidTorus'
/usr/X11R6/include/GL/glut.h:695: error: expected initializer before 'glutWireDodecahedron'
/usr/X11R6/include/GL/glut.h:696: error: expected initializer before 'glutSolidDodecahedron'
/usr/X11R6/include/GL/glut.h:697: error: expected initializer before 'glutWireTeapot'
/usr/X11R6/include/GL/glut.h:698: error: expected initializer before 'glutSolidTeapot'
/usr/X11R6/include/GL/glut.h:699: error: expected initializer before 'glutWireOctahedron'
/usr/X11R6/include/GL/glut.h:700: error: expected initializer before 'glutSolidOctahedron'
/usr/X11R6/include/GL/glut.h:701: error: expected initializer before 'glutWireTetrahedron'
/usr/X11R6/include/GL/glut.h:702: error: expected initializer before 'glutSolidTetrahedron'
/usr/X11R6/include/GL/glut.h:703: error: expected initializer before 'glutWireIcosahedron'
/usr/X11R6/include/GL/glut.h:704: error: expected initializer before 'glutSolidIcosahedron'
/usr/X11R6/include/GL/glut.h:708: error: expected initializer before 'glutVideoResizeGet'
/usr/X11R6/include/GL/glut.h:709: error: expected initializer before 'glutSetupVideoResizing'
/usr/X11R6/include/GL/glut.h:710: error: expected initializer before 'glutStopVideoResizing'
/usr/X11R6/include/GL/glut.h:711: error: expected initializer before 'glutVideoResize'
/usr/X11R6/include/GL/glut.h:712: error: expected initializer before 'glutVideoPan'
/usr/X11R6/include/GL/glut.h:715: error: expected initializer before 'glutReportErrors'
/usr/X11R6/include/GL/glut.h:731: error: expected initializer before 'glutIgnoreKeyRepeat'
/usr/X11R6/include/GL/glut.h:732: error: expected initializer before 'glutSetKeyRepeat'
/usr/X11R6/include/GL/glut.h:733: error: expected initializer before 'glutForceJoystickFunc'
/usr/X11R6/include/GL/glut.h:745: error: expected initializer before 'glutGameModeString'
/usr/X11R6/include/GL/glut.h:746: error: expected initializer before 'glutEnterGameMode'
/usr/X11R6/include/GL/glut.h:747: error: expected initializer before 'glutLeaveGameMode'
/usr/X11R6/include/GL/glut.h:748: error: expected initializer before 'glutGameModeGet'
make[3]: *** [enblend-enblend.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_enblend/work/enblend-3.0" && nice -n 17 make all " returned error 2
Command output: /usr/X11R6/include/GL/glut.h:692: error: expected initializer before 'glutSolidCube'
/usr/X11R6/include/GL/glut.h:693: error: expected initializer before 'glutWireTorus'
/usr/X11R6/include/GL/glut.h:694: error: expected initializer before 'glutSolidTorus'
[...]
 

Lesen sie die antworten

#1 schlu-do
15/03/2009 - 17:14 | Warnen spam
Michael Lestinsky schrieb:

ich habe hier einen Port aus dem Macports-System, enblend, der will nicht
bauen. Die Macports sind heute aktualisiert worden und die nötigen Abhàngig-
keiten sind aufgelöst und bereits ebenfalls erfolgreich frisch gebaut. Die
unten bemàngelten Zeilen in glut.h habe ich mal geschwind inspiziert und
kann keinen auffàlligen Fehler finden.



Ich habe vor ca. einem Jahr auch mal entsprechende Portfiles gebaut, ich
habe es aber nie geschafft, die GPU-Unterstützung korrekt zum Laufen zu
bringen. Bei meinem Port gab es das deshalb nur als separate Variante.

Hatte hier jemand Erfolg dabei, diesen Port zu bauen? Kann jemand entdecken,
woran das Bauen scheitert?



Ich habe das mal wie unter <http://dev.ultravelours.com/ports/enblend/>
beschrieben gemacht - als "static build", damit meine Versionen nicht
dem MacPorts-System in die Quere kommen. Ich glaube, ich muss den
Artikel mal aktualisieren und das mit einem frischen Snapshot probieren.

Ansonsten würde ich vorschlagen, dass du den Bug im MacPorts-Trac
eingibst. Leider ist Bradley Froehle nicht mehr Maintainer dafür
<https://trac.macports.org/ticket/18397>, mit dem habe ich damals ein
paar Mails gewechselt.


Gruß,

Dominik.

Ähnliche fragen